From yvescoppe at skynet.be Thu Jan 1 05:34:41 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu, 1 Jan 2004 11:34:41 +0100 Subject: CardName Message-ID: <1B852BE4-3C46-11D8-98D6-003065E14B04@skynet.be> Hi everybody HAPPY NEW YEAR 2004 A question about cardname on Mac OS X I have a - stack A (10 cds) - stack B = drawer of stack A when I click a button in the open drawer (Stack B), I'd like to know which is the cardName of the current card in stack A ??? Can you help me ? I've gone around with that problem searching with line 1 of the recentNames of stack A but in this case, the lockRecnet my not exist when opening a new card in stack A. Is there a more direct way ??? Thank you. Greetings. Yves COPPE yvescoppe at skynet.be From klaus at major-k.de Thu Jan 1 06:04:07 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 1 Jan 2004 12:04:07 +0100 Subject: CardName In-Reply-To: <1B852BE4-3C46-11D8-98D6-003065E14B04@skynet.be> References: <1B852BE4-3C46-11D8-98D6-003065E14B04@skynet.be> Message-ID: <38421CE6-3C4A-11D8-BE11-000A27B49A96@major-k.de> Bonne Annee Yves and all :-) > Hi everybody > > HAPPY NEW YEAR 2004 > > A question about cardname > > > on Mac OS X > I have a > - stack A (10 cds) > - stack B = drawer of stack A > > > when I click a button in the open drawer (Stack B), I'd like to know > which is the cardName of the current card in stack A ??? > > Can you help me ? > > I've gone around with that problem searching with line 1 of the > recentNames of stack A > but in this case, the lockRecnet my not exist when opening a new card > in stack A. > > Is there a more direct way ??? Try this in the script of the button in stack B: on mouseup set the defaultstack to "A" put the short name of this cd into jean_jaques ## or yvette or... ;-) ## do what you want with jean_jaques :-) ... end mouseup > Thank you. You're welcome... > Greetings. Au revoir, mon ami... > Yves COPPE > yvescoppe at skynet.be Regards Klaus Major klaus at major-k.de www.major-k.de From sims at ezpzapps.com Thu Jan 1 06:37:28 2004 From: sims at ezpzapps.com (sims) Date: Thu, 1 Jan 2004 12:37:28 +0100 Subject: [ANN] WindowLab In-Reply-To: References: Message-ID: Very , very nice Scott! Thanks. sims >WindowLab allows you to experiment with different window mask >shapes and build test windows with your masks, using only Revolution (no 3rd >party bitmap editor needed). > >WindowLab is available via our stack player -- type the following in your >message box: > > go url "http://www.tactilemedia.com/tmpanel.rev" From rodmc at runrev.com Thu Jan 1 10:28:51 2004 From: rodmc at runrev.com (Rod McCall) Date: Thu, 1 Jan 2004 15:28:51 +0000 Subject: Happy New Year! Message-ID: <33DAA016-3C6F-11D8-90C3-000393B7335C@runrev.com> Happy New Year from Runtime Revolution! Thanks to all our customers, users and supporters across the globe and may 2004 be even more revolutionary than 2003! Best wishes to everyone. The Runtime Revolution Team ps. We look forward to meeting many of you during Macworld 2004. Dr Rod McCall www.runrev.com Runtime Revolution Ltd 91 Hanover Street, Edinburgh, EH2 1DJ t: +44 (0)131 718 4333 f: +44 (0) 131 718 4334 Runtime Revolution - User-Centric Development Tools All incoming emails are subject to virus and spam checking, this may delay receipt and any response. From ambassador at fourthworld.com Thu Jan 1 10:42:47 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 01 Jan 2004 07:42:47 -0800 Subject: CardName In-Reply-To: <38421CE6-3C4A-11D8-BE11-000A27B49A96@major-k.de> Message-ID: Klaus Major wrote: > Bonne Annee Yves and all :-) > >> Hi everybody >> >> HAPPY NEW YEAR 2004 >> >> A question about cardname >> >> >> on Mac OS X >> I have a >> - stack A (10 cds) >> - stack B = drawer of stack A >> >> >> when I click a button in the open drawer (Stack B), I'd like to know >> which is the cardName of the current card in stack A ??? >> >> Can you help me ? >> >> I've gone around with that problem searching with line 1 of the >> recentNames of stack A >> but in this case, the lockRecnet my not exist when opening a new card >> in stack A. >> >> Is there a more direct way ??? > > Try this in the script of the button in stack B: > > on mouseup > set the defaultstack to "A" > put the short name of this cd into jean_jaques ## or yvette or... ;-) > ## do what you want with jean_jaques :-) > ... > end mouseup As an alternative to setting the defaultStack you can also say: go this cd of stack "A" ...or: get fld 1 of this cd of stack "A" -- 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 st.king42 at ntlworld.com Thu Jan 1 10:45:07 2004 From: st.king42 at ntlworld.com (Stephen King) Date: Thu, 1 Jan 2004 15:45:07 -0000 Subject: Problem with counting numbers of groups in a stack References: <20031231204543.5AF0A93006E@mail.runrev.com> Message-ID: <000d01c3d07e$3b33c0d0$5602a8c0@athalon> Hi all, I have just come across a problem with counting the number of groups, between the IDE and built application. I have a small stack that has 20 groups (listed in the App browser). It has a main and sub stack with no groups on the substack. There are no plugins in use (according to the App browser). When I use "put the number of groups into NumF" In the IDE I get 20, as expected and the App runs fine, but when built I get 21 groups reported. This crashes my App as there is no group 21 for it to reference. Debugging the built app shows this is the reason for the crash. I have also checked this by changing the code to add "put NumF-1 into NumF " immediately after the number of groups statement. The App no longer runs OK in the IDE but does run OK when built! This is a sort of workaround, but not understanding the cause is a bit worrying. Any ideas? I am using 2.1.2 and Win XP home Any help appreciated. Cheers Steve King From ambassador at fourthworld.com Thu Jan 1 10:51:01 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 01 Jan 2004 07:51:01 -0800 Subject: Problem with counting numbers of groups in a stack In-Reply-To: <000d01c3d07e$3b33c0d0$5602a8c0@athalon> Message-ID: Stephen King wrote: > Hi all, > > I have just come across a problem with counting the number of groups, between > the IDE and built application. > I have a small stack that has 20 groups (listed in the App browser). It has a > main and sub stack with no groups on the substack. There are no plugins in use > (according to the App browser). > > When I use > "put the number of groups into NumF" > > In the IDE I get 20, as expected and the App runs fine, but when built I get > 21 groups reported. This crashes my App as there is no group 21 for it to > reference. Debugging the built app shows this is the reason for the crash. I think what's happening is that the Distribution Builder is adding a hidden group for Rev libraries, so if this is the first card of the maintStack there is very likely a 21st group. If so, I don't think it's the attempt to reference the 21st group that's causing the crash. What exactly are you doing with the groups, and is it a true crash or an error? -- 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 ambassador at fourthworld.com Thu Jan 1 12:15:58 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 01 Jan 2004 09:15:58 -0800 Subject: [OT] Market info Message-ID: For those of you who sell your software products for multiple platforms, this article from news.com might help explain why your Mac sales are disproportionately strong compared to Win sales (mine are for everything we make): Are Mac users smarter? By Ian Fried ??? ?? Those who surf the Web using a Mac tend to be better educated and make more money than their PC-using counterparts, according to a report from Nielsen/NetRatings. The study also said Mac users tend to be more Web savvy, with more than half having been online for at least five years. And the Mac faithful are 58 percent more likely than the overall online population to build their own Web page and also slightly more likely to buy goods online, according to the report. "With above-average household income and education levels, the Mac population presents a very attractive target for marketers, both online and offline," the research group said. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From st.king42 at ntlworld.com Thu Jan 1 13:09:49 2004 From: st.king42 at ntlworld.com (Stephen King) Date: Thu, 1 Jan 2004 18:09:49 -0000 Subject: Re Problem with counting numbers of groups in a stack References: <20040101170021.0FB7F930072@mail.runrev.com> Message-ID: <000801c3d092$738a4530$5602a8c0@athalon> Hi Richard, Thanks for the quick reply. I think an error rather than a crash as the app doesn't fall over completely. Should have been clearer on this. I know its the 21st group thats the problem because part of the code randomises the order of the groups and I traced via a log file the location of group 21 in the order and the point at which that button script stopped working. It always stopped when it hit the position of group 21. It is the first card of the mainstack. If it's normal for dist builder to add a group for libraries, then my workaround is robust. My concern was whether this added group was always added. Cheers Steve > > Stephen King wrote: > > > Hi all, > > > > I have just come across a problem with counting the number of groups, between > > the IDE and built application. > > I have a small stack that has 20 groups (listed in the App browser). It has a > > main and sub stack with no groups on the substack. There are no plugins in use > > (according to the App browser). > > > > When I use > > "put the number of groups into NumF" > > > > In the IDE I get 20, as expected and the App runs fine, but when built I get > > 21 groups reported. This crashes my App as there is no group 21 for it to > > reference. Debugging the built app shows this is the reason for the crash. > > I think what's happening is that the Distribution Builder is adding a hidden > group for Rev libraries, so if this is the first card of the maintStack > there is very likely a 21st group. > > If so, I don't think it's the attempt to reference the 21st group that's > causing the crash. What exactly are you doing with the groups, and is it a > true crash or an error? > > -- > 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 ambassador at fourthworld.com Thu Jan 1 13:19:32 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 01 Jan 2004 10:19:32 -0800 Subject: Re Problem with counting numbers of groups in a stack In-Reply-To: <000801c3d092$738a4530$5602a8c0@athalon> Message-ID: Stephen King wrote: >> Stephen King wrote: >>> I have a small stack that has 20 groups (listed in the App browser). It >>> has a main and sub stack with no groups on the substack. ... >>> When I use "put the number of groups into NumF" >>> >>> In the IDE I get 20, as expected and the App runs fine, but when built I >>> get 21 groups reported. This crashes my App as there is no group 21 for >>> it to reference. ... >> I think what's happening is that the Distribution Builder is adding a >> hidden group for Rev libraries, so if this is the first card of the >> maintStack there is very likely a 21st group. ... > I know its the 21st group thats the problem because part of the code > randomises the order of the groups and I traced via a log file the location > of group 21 in the order and the point at which that button script stopped > working. It always stopped when it hit the position of group 21. It is the > first card of the mainstack. > > If it's normal for dist builder to add a group for libraries, then my > workaround is robust. My concern was whether this added group was always > added. Yes, when including Rev libraries the addition of the hidden group is normal. -- 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 ops at myesa.com Thu Jan 1 13:22:36 2004 From: ops at myesa.com (Ops) Date: Thu, 1 Jan 2004 12:22:36 -0600 Subject: Dual port video card Message-ID: <004f01c3d094$3bf8bc80$f5ffa8c0@cox.net> The app I'm working on for my client will run on a windows machine that has a video card with 2 monitor ports. The setup for this card shows 2 "resources" that correspond to the 2 monitor ports (\\\display\u1 and \\\display\u2). Offhand I don't know the vendor of the video card, but I would assume that most dual video cards have a similar setup with similar resource names. I have one stack that acts as an "app-controller" (I want that stack to display on the \\\display\u1 monitor) and 2 other stacks that act as "display-stacks" (I want the 2 "display-stacks" to appear on the \\\display\u2 monitor) Does anyone know how I can "tell" rev to display one stack on one monitor (\\\display\u1) and other stacks on the other monitor (\\\display\u2)??? THANK YOU!! From dsc at swcp.com Thu Jan 1 13:29:27 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 1 Jan 2004 11:29:27 -0700 Subject: Dual port video card In-Reply-To: <004f01c3d094$3bf8bc80$f5ffa8c0@cox.net> Message-ID: <6E8289D0-3C88-11D8-A2C6-000A9567A3E6@swcp.com> On Thursday, January 1, 2004, at 11:22 AM, Ops wrote: > The app I'm working on for my client will run on a windows machine > that has > a video card with 2 monitor ports. Is the desktop on these two monitor ports? Or is this for publishing video? Dar Scott From ops at myesa.com Thu Jan 1 13:38:20 2004 From: ops at myesa.com (Ops) Date: Thu, 1 Jan 2004 12:38:20 -0600 Subject: Dual port video card References: <6E8289D0-3C88-11D8-A2C6-000A9567A3E6@swcp.com> Message-ID: <005701c3d096$702ee860$f5ffa8c0@cox.net> The desktop *is* on each monitor.....I don't quite know what you mean by "publishing video"....sorry for my green-ness....but there is no video involved... Thanks!! ----- Original Message ----- From: "Dar Scott" To: "How to use Revolution" Sent: Thursday, January 01, 2004 12:29 PM Subject: Re: Dual port video card > > On Thursday, January 1, 2004, at 11:22 AM, Ops wrote: > > > The app I'm working on for my client will run on a windows machine > > that has > > a video card with 2 monitor ports. > > Is the desktop on these two monitor ports? Or is this for publishing > video? > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Thu Jan 1 13:39:24 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 1 Jan 2004 19:39:24 +0100 Subject: Dual port video card In-Reply-To: <004f01c3d094$3bf8bc80$f5ffa8c0@cox.net> References: <004f01c3d094$3bf8bc80$f5ffa8c0@cox.net> Message-ID: Hi Ops, > The app I'm working on for my client will run on a windows machine > that has > a video card with 2 monitor ports. The setup for this card shows 2 > "resources" that correspond to the 2 monitor ports (\\\display\u1 and > \\\display\u2). Offhand I don't know the vendor of the video card, > but I > would assume that most dual video cards have a similar setup with > similar > resource names. > > I have one stack that acts as an "app-controller" (I want that stack to > display on the \\\display\u1 monitor) and 2 other stacks that act as > "display-stacks" (I want the 2 "display-stacks" to appear on the > \\\display\u2 monitor) > > Does anyone know how I can "tell" rev to display one stack on one > monitor > (\\\display\u1) and other stacks on the other monitor > (\\\display\u2)??? > > THANK YOU!! RR is not aware of more than 1 monitor... The screenrect will only return the first monitor. But it looks like you are creating a "custom" application that will run DEFINITIVELY on 2 monitors, right? In that case you can simply set the loc of your stacks to where the 2 monitors are supposed to be... I had been working with 2 monitors on win in the past and it worked just fine. 1280*1024 and 1024*768 aligned at top... So i could set a stack to the 2nd monitor with ... set the topleft of stack "monitor 2" to 1281,30 ... Hope that helps... Regards and a happy new year :-) Klaus Major klaus at major-k.de www.major-k.de From ops at myesa.com Thu Jan 1 13:43:16 2004 From: ops at myesa.com (Ops) Date: Thu, 1 Jan 2004 12:43:16 -0600 Subject: Dual port video card References: <004f01c3d094$3bf8bc80$f5ffa8c0@cox.net> Message-ID: <006801c3d097$20f879e0$f5ffa8c0@cox.net> WOW....I didn't know it'd be that simple!! That'd be GREAT!! It's a bit tough because I'm not done with the alpha version yet and have limited access to his production box. As soon as I get something *close* to an alpha working app, I shall take it to his business and test/experiment on the actual machine. Thanks again!! ----- Original Message ----- From: "Klaus Major" To: "How to use Revolution" Sent: Thursday, January 01, 2004 12:39 PM Subject: Re: Dual port video card > Hi Ops, > > > The app I'm working on for my client will run on a windows machine > > that has > > a video card with 2 monitor ports. The setup for this card shows 2 > > "resources" that correspond to the 2 monitor ports (\\\display\u1 and > > \\\display\u2). Offhand I don't know the vendor of the video card, > > but I > > would assume that most dual video cards have a similar setup with > > similar > > resource names. > > > > I have one stack that acts as an "app-controller" (I want that stack to > > display on the \\\display\u1 monitor) and 2 other stacks that act as > > "display-stacks" (I want the 2 "display-stacks" to appear on the > > \\\display\u2 monitor) > > > > Does anyone know how I can "tell" rev to display one stack on one > > monitor > > (\\\display\u1) and other stacks on the other monitor > > (\\\display\u2)??? > > > > THANK YOU!! > > RR is not aware of more than 1 monitor... > The screenrect will only return the first monitor. > > But it looks like you are creating a "custom" application that will run > DEFINITIVELY on 2 monitors, right? > > In that case you can simply set the loc of your stacks to where the 2 > monitors > are supposed to be... > > I had been working with 2 monitors on win in the past and it worked > just fine. > 1280*1024 and 1024*768 aligned at top... > > So i could set a stack to the 2nd monitor with > > ... > set the topleft of stack "monitor 2" to 1281,30 > ... > > Hope that helps... > > > Regards and a happy new year :-) > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From 3mcgrath at adelphia.net Thu Jan 1 13:44:29 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 1 Jan 2004 13:44:29 -0500 Subject: Dual port video card In-Reply-To: <004f01c3d094$3bf8bc80$f5ffa8c0@cox.net> References: <004f01c3d094$3bf8bc80$f5ffa8c0@cox.net> Message-ID: <883C09CC-3C8A-11D8-A5A7-000A95DA60FA@adelphia.net> Hello, Although I don't know the answer off hand, I do have some info and a possible solution. The second monitor is actually showing a section of the Whole screen space. So if I open a stack and set it's location to an off-screen location, then it is not visible on/in the main screen area. However it is or would be available/visible if a second monitor is set to the same location as it's position. I have used software that allows the second monitor to be on the left of the main screen or to mirror or on the right or on top etc. The actual working space is much much larger than what you see in your main monitor's window space. I think it is at least six or seven times as large. Someone can correct me on that but I think it is somewhere around 32000 pixels wide and the largest screen res I have seen is around 1500. How does this help you? well if you look for the screen location of that screen then you don't need to know it's name or driver or anything and you can just set the loc of the substacks to a loc that is visible in that other monitors screen space. Of course the normal way to do that would require knowing what the name etc of that monitor is to set the stacks loc to it. But, if the monitor is within your control than you could experiment with screen locs until you found the right position and avoid the name/driver issue completely. This doesn't explain how to find the loc of the other monitor but I think the default is the screen loc of monitor one divided by two plus the screen loc of monitor two divided by two would give you the distance from the first stacks loc. Also, I think the default position is on the right side of the main monitor unless the user changes it. Hope this helps a little Tom On Jan 1, 2004, at 1:22 PM, Ops wrote: > The app I'm working on for my client will run on a windows machine > that has > a video card with 2 monitor ports. The setup for this card shows 2 > "resources" that correspond to the 2 monitor ports (\\\display\u1 and > \\\display\u2). Offhand I don't know the vendor of the video card, > but I > would assume that most dual video cards have a similar setup with > similar > resource names. > > I have one stack that acts as an "app-controller" (I want that stack to > display on the \\\display\u1 monitor) and 2 other stacks that act as > "display-stacks" (I want the 2 "display-stacks" to appear on the > \\\display\u2 monitor) > > Does anyone know how I can "tell" rev to display one stack on one > monitor > (\\\display\u1) and other stacks on the other monitor > (\\\display\u2)??? > > THANK YOU!! > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From ops at myesa.com Thu Jan 1 13:49:54 2004 From: ops at myesa.com (Ops) Date: Thu, 1 Jan 2004 12:49:54 -0600 Subject: Dual port video card References: <004f01c3d094$3bf8bc80$f5ffa8c0@cox.net> <883C09CC-3C8A-11D8-A5A7-000A95DA60FA@adelphia.net> Message-ID: <006e01c3d098$0e202560$f5ffa8c0@cox.net> Thank you!! ...you know, now that you've all "clued me in"...when I *did* have limited time with this machine, I'm thinking that I saw the video "setup" as one "double-wide" monitor...it showed 2 "screens" side by side....I'll bet that's the case and simply adjusting the loc of my stacks will get the job done!! Thank you all!! ----- Original Message ----- From: "Thomas J McGrath III" <3mcgrath at adelphia.net> To: "How to use Revolution" Sent: Thursday, January 01, 2004 12:44 PM Subject: Re: Dual port video card Hello, Although I don't know the answer off hand, I do have some info and a possible solution. The second monitor is actually showing a section of the Whole screen space. So if I open a stack and set it's location to an off-screen location, then it is not visible on/in the main screen area. However it is or would be available/visible if a second monitor is set to the same location as it's position. I have used software that allows the second monitor to be on the left of the main screen or to mirror or on the right or on top etc. The actual working space is much much larger than what you see in your main monitor's window space. I think it is at least six or seven times as large. Someone can correct me on that but I think it is somewhere around 32000 pixels wide and the largest screen res I have seen is around 1500. How does this help you? well if you look for the screen location of that screen then you don't need to know it's name or driver or anything and you can just set the loc of the substacks to a loc that is visible in that other monitors screen space. Of course the normal way to do that would require knowing what the name etc of that monitor is to set the stacks loc to it. But, if the monitor is within your control than you could experiment with screen locs until you found the right position and avoid the name/driver issue completely. This doesn't explain how to find the loc of the other monitor but I think the default is the screen loc of monitor one divided by two plus the screen loc of monitor two divided by two would give you the distance from the first stacks loc. Also, I think the default position is on the right side of the main monitor unless the user changes it. Hope this helps a little Tom On Jan 1, 2004, at 1:22 PM, Ops wrote: > The app I'm working on for my client will run on a windows machine > that has > a video card with 2 monitor ports. The setup for this card shows 2 > "resources" that correspond to the 2 monitor ports (\\\display\u1 and > \\\display\u2). Offhand I don't know the vendor of the video card, > but I > would assume that most dual video cards have a similar setup with > similar > resource names. > > I have one stack that acts as an "app-controller" (I want that stack to > display on the \\\display\u1 monitor) and 2 other stacks that act as > "display-stacks" (I want the 2 "display-stacks" to appear on the > \\\display\u2 monitor) > > Does anyone know how I can "tell" rev to display one stack on one > monitor > (\\\display\u1) and other stacks on the other monitor > (\\\display\u2)??? > > THANK YOU!! > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Thu Jan 1 13:52:43 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 1 Jan 2004 13:52:43 -0500 Subject: Dual port video card In-Reply-To: References: <004f01c3d094$3bf8bc80$f5ffa8c0@cox.net> Message-ID: This would set the top left to one pixel more than monitor one's available screen space. However if the screen res is changed on monitor one to something other than 1280*1024 than the stack will be offset on "monitor 2" by the difference. You could get monitor 1's size and handle that via script but you won't be able to know what monitor 2's size is so that one is still a guess or set up before hand. Getting the screen size of monitor 1 is easy but getting the screen size of monitor 2 may not happen. So be sure to tell your client that they should not change the screen size's of either monitor while using your software. Doing that anyway has caused me problems due to the way Rev handles screen resolutions. Tom On Jan 1, 2004, at 1:39 PM, Klaus Major wrote: > > > I had been working with 2 monitors on win in the past and it worked > just fine. > 1280*1024 and 1024*768 aligned at top... > > So i could set a stack to the 2nd monitor with > > ... > set the topleft of stack "monitor 2" to 1281,30 > ... > Klaus Major > klaus at major-k.de > www.major-k.de Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From ops at myesa.com Thu Jan 1 13:56:03 2004 From: ops at myesa.com (Ops) Date: Thu, 1 Jan 2004 12:56:03 -0600 Subject: Dual port video card References: <004f01c3d094$3bf8bc80$f5ffa8c0@cox.net> Message-ID: <007401c3d098$e9dd32a0$f5ffa8c0@cox.net> I shall do so, and it shouldn't be a problem for my client or the app. Thanks Tom! ----- Original Message ----- From: "Thomas J McGrath III" <3mcgrath at adelphia.net> To: "How to use Revolution" Sent: Thursday, January 01, 2004 12:52 PM Subject: Re: Dual port video card This would set the top left to one pixel more than monitor one's available screen space. However if the screen res is changed on monitor one to something other than 1280*1024 than the stack will be offset on "monitor 2" by the difference. You could get monitor 1's size and handle that via script but you won't be able to know what monitor 2's size is so that one is still a guess or set up before hand. Getting the screen size of monitor 1 is easy but getting the screen size of monitor 2 may not happen. So be sure to tell your client that they should not change the screen size's of either monitor while using your software. Doing that anyway has caused me problems due to the way Rev handles screen resolutions. Tom On Jan 1, 2004, at 1:39 PM, Klaus Major wrote: > > > I had been working with 2 monitors on win in the past and it worked > just fine. > 1280*1024 and 1024*768 aligned at top... > > So i could set a stack to the 2nd monitor with > > ... > set the topleft of stack "monitor 2" to 1281,30 > ... > Klaus Major > klaus at major-k.de > www.major-k.de Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Thu Jan 1 14:13:36 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 1 Jan 2004 12:13:36 -0700 Subject: Dual port video card In-Reply-To: <006e01c3d098$0e202560$f5ffa8c0@cox.net> Message-ID: <99760C50-3C8E-11D8-A2C6-000A9567A3E6@swcp.com> On Thursday, January 1, 2004, at 11:49 AM, Ops wrote: > Thank you!! ...you know, now that you've all "clued me in"...when I > *did* > have limited time with this machine, I'm thinking that I saw the video > "setup" as one "double-wide" monitor...it showed 2 "screens" side by > side....I'll bet that's the case and simply adjusting the loc of my > stacks > will get the job done!! Sorry, I didn't respond the first time. I didn't realize you meant a desktop monitor; I thought you were making movies or something. I didn't even realize you were using Windows. I should have seen the backslashes. Sorry. I'm glad you were persistent. I think others have covered most of what you need. I'll add this: Put your controls as much as possible on the primary monitor. Tooltips and some menus and the such do not work correctly on the second monitor. If you need to develop without the two monitors, have a development mode in which you put put the stacks into dressed windows within the primary monitor with scrollbars. In the delivery mode, they lose the scrollbars and window dressing and are placed where they should be. Make sure you can switch modes. Plan on some time to fiddle with this on the two-monitor system. There might be some surprises. If your development resolution is greater than the delivery 2-monitor resolution, then you need not fool with setting up scrollbars--I use this method. In some apps, the primary monitor is "computerish" and can have a normal window. In that case, it does not need to fill the screen. I usually put the start bar on the left of the desktop in that case. Dar Scott From pixelbird at interisland.net Thu Jan 1 14:22:37 2004 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 01 Jan 2004 11:22:37 -0800 Subject: [ANN] WindowLab In-Reply-To: <20031231170027.8FDEA930065@mail.runrev.com> Message-ID: Hi Scott, > Date: Wed, 31 Dec 2003 01:52:02 -0800 > From: Scott Rossi > Subject: [ANN] WindowLab > > Following on the recent discussion of assembling custom window shapes, we've > posted an experimental version of a custom window builder that works from > within Rev. WindowLab allows you to experiment with different window mask > shapes and build test windows with your masks, using only Revolution (no 3rd > party bitmap editor needed). > > Since this is a first version, the window size is limited for demonstration > purposes, but could be expanded if needed. > > WindowLab is available via our stack player -- type the following in your > message box: > > go url "http://www.tactilemedia.com/tmpanel.rev" ------------ Very cool, indeed! Nice demo. Unfortunately, it doesn't solve my particular windowShape problem, but that doesn't take away from it's utility as a demo. Thanks, and Happy New Year to you and all Rev'ers, Ken N. From yvescoppe at skynet.be Thu Jan 1 14:55:54 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu, 1 Jan 2004 20:55:54 +0100 Subject: CardName In-Reply-To: <38421CE6-3C4A-11D8-BE11-000A27B49A96@major-k.de> References: <1B852BE4-3C46-11D8-98D6-003065E14B04@skynet.be> <38421CE6-3C4A-11D8-BE11-000A27B49A96@major-k.de> Message-ID: <827B5656-3C94-11D8-8421-000393533246@skynet.be> Le 1 janv. 04, ? 12:04, Klaus Major a ?crit : > Bonne Annee Yves and all :-) > >> Hi everybody >> >> HAPPY NEW YEAR 2004 >> >> A question about cardname >> >> >> on Mac OS X >> I have a >> - stack A (10 cds) >> - stack B = drawer of stack A >> >> >> when I click a button in the open drawer (Stack B), I'd like to know >> which is the cardName of the current card in stack A ??? >> >> Can you help me ? >> >> I've gone around with that problem searching with line 1 of the >> recentNames of stack A >> but in this case, the lockRecnet my not exist when opening a new card >> in stack A. >> >> Is there a more direct way ??? > > Try this in the script of the button in stack B: > > on mouseup > set the defaultstack to "A" > put the short name of this cd into jean_jaques ## or yvette or... ;-) > ## do what you want with jean_jaques :-) > ... > end mouseup > >> Thank you Klaus... (I prefer Yvette to jean_jacques...) Greetings. Yves COPPE yvescoppe at skynet.be From ops at myesa.com Thu Jan 1 14:58:58 2004 From: ops at myesa.com (Ops) Date: Thu, 1 Jan 2004 13:58:58 -0600 Subject: Dual port video card References: <99760C50-3C8E-11D8-A2C6-000A9567A3E6@swcp.com> Message-ID: <007c01c3d0a1$b6ab5660$f5ffa8c0@cox.net> *very* nice and complete....I thank you sir!!! ----- Original Message ----- From: "Dar Scott" To: "How to use Revolution" Sent: Thursday, January 01, 2004 1:13 PM Subject: Re: Dual port video card > > On Thursday, January 1, 2004, at 11:49 AM, Ops wrote: > > > Thank you!! ...you know, now that you've all "clued me in"...when I > > *did* > > have limited time with this machine, I'm thinking that I saw the video > > "setup" as one "double-wide" monitor...it showed 2 "screens" side by > > side....I'll bet that's the case and simply adjusting the loc of my > > stacks > > will get the job done!! > > Sorry, I didn't respond the first time. I didn't realize you meant a > desktop monitor; I thought you were making movies or something. I > didn't even realize you were using Windows. I should have seen the > backslashes. Sorry. I'm glad you were persistent. > > I think others have covered most of what you need. I'll add this: > > Put your controls as much as possible on the primary monitor. Tooltips > and some menus and the such do not work correctly on the second monitor. > > If you need to develop without the two monitors, have a development > mode in which you put put the stacks into dressed windows within the > primary monitor with scrollbars. In the delivery mode, they lose the > scrollbars and window dressing and are placed where they should be. > Make sure you can switch modes. Plan on some time to fiddle with this > on the two-monitor system. There might be some surprises. If your > development resolution is greater than the delivery 2-monitor > resolution, then you need not fool with setting up scrollbars--I use > this method. > > In some apps, the primary monitor is "computerish" and can have a > normal window. In that case, it does not need to fill the screen. I > usually put the start bar on the left of the desktop in that case. > > Dar Scott > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From pixelbird at interisland.net Thu Jan 1 15:14:51 2004 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 01 Jan 2004 12:14:51 -0800 Subject: Creating windowShapes in Rev In-Reply-To: <20040101170020.EEE45930071@mail.runrev.com> Message-ID: Howdy folks, > Date: Wed, 31 Dec 2003 13:36:35 -0800 > From: Ken Norris > Subject: Re: Creating windowShapes in Rev >> Date: Wed, 31 Dec 2003 10:10:05 -0800 >> From: Stephen Quinn Barncard >> Subject: Re: Creating windowShapes in Rev >> >> I agree. Graphic Converter is the best shareware deal ever... and now >> is included with new Macs... > ----------- > Yep. Thanks guys. I actually forgot I finally have it, but I don't know that > it will cure the problem. Lemme try, though. ----------- Yep, as I hoped (but forgot I had it), GC started the conversion process and Rev finished it for display. Got a perfect 1-byte mask. Took a little over a minute from start to finish, and "voila!" Hurray for Graphic Converter!! Everybody oughta go get it! Ken N. From dsc at swcp.com Thu Jan 1 15:57:25 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 1 Jan 2004 13:57:25 -0700 Subject: Creating windowShapes in Rev In-Reply-To: Message-ID: <1A3A4AA3-3C9D-11D8-A2C6-000A9567A3E6@swcp.com> On Thursday, January 1, 2004, at 01:14 PM, Ken Norris wrote: > Yep, as I hoped (but forgot I had it), GC started the conversion > process and > Rev finished it for display. Got a perfect 1-byte mask. Took a little > over a > minute from start to finish, and "voila!" What image format are you starting with that does not work as a windowShape? What are you converting it to? I have heard of people having trouble with formats that do not work with a windowShape, but I have not seen any problem. Maybe I'm naively using the right formats. Dar Scott From scott at tactilemedia.com Thu Jan 1 16:13:16 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Jan 2004 13:13:16 -0800 Subject: Creating windowShapes in Rev In-Reply-To: <1A3A4AA3-3C9D-11D8-A2C6-000A9567A3E6@swcp.com> Message-ID: On 1/1/04 12:57 PM, "Dar Scott" wrote: >> Yep, as I hoped (but forgot I had it), GC started the conversion >> process and >> Rev finished it for display. Got a perfect 1-byte mask. Took a little >> over a >> minute from start to finish, and "voila!" > > What image format are you starting with that does not work as a > windowShape? What are you converting it to? > > I have heard of people having trouble with formats that do not work > with a windowShape, but I have not seen any problem. Maybe I'm naively > using the right formats. PNG and GIF are the formats that allow you to create custom window shapes since these can contain the mask information needed for the window. Note that an 8 bit mask in a 24 bit PNG will get converted down to 1 bit usually providing less than desirable results. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From SimPLsol at aol.com Thu Jan 1 16:25:23 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Thu, 1 Jan 2004 16:25:23 EST Subject: [OT] Market info Message-ID: <1a3.1ed6487a.2d25ea43@aol.com> Richard, I remember (vaguely) a series of studies some years ago (RAND Corp., I think) that concluded the average Mac user actually used three times as many applications as the average PC user. Paul Looney PS Of course "I" use a Mac. From dsc at swcp.com Thu Jan 1 16:30:21 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 1 Jan 2004 14:30:21 -0700 Subject: Creating windowShapes in Rev In-Reply-To: Message-ID: On Thursday, January 1, 2004, at 02:13 PM, Scott Rossi wrote: >> I have heard of people having trouble with formats that do not work >> with a windowShape, but I have not seen any problem. Maybe I'm >> naively >> using the right formats. > > PNG and GIF are the formats that allow you to create custom window > shapes > since these can contain the mask information needed for the window. > Note > that an 8 bit mask in a 24 bit PNG will get converted down to 1 bit > usually > providing less than desirable results. So there isn't really a problem? What was all the clambering about when this was first introduced? Dar Scott From dsc at swcp.com Thu Jan 1 16:31:59 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 1 Jan 2004 14:31:59 -0700 Subject: Creating windowShapes in Rev In-Reply-To: Message-ID: On Thursday, January 1, 2004, at 02:30 PM, Dar Scott wrote: > What was all the clambering about when this was first introduced? I mean clamoring, though there may have been some of the other. Dar Scott From dsc at swcp.com Thu Jan 1 17:20:03 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 1 Jan 2004 15:20:03 -0700 Subject: Creating windowShapes in Rev In-Reply-To: Message-ID: On Thursday, January 1, 2004, at 02:30 PM, Dar Scott wrote: >>> Maybe I'm naively >>> using the right formats. >> >> PNG and GIF are the formats that allow you to create custom window >> shapes >> since these can contain the mask information needed for the window. >> Note >> that an 8 bit mask in a 24 bit PNG will get converted down to 1 bit >> usually >> providing less than desirable results. > > So there isn't really a problem? What was all the clambering about > when this was first introduced? I didn't say this right. I mean, I had some vague list memory of a problem with some formats not working and image formats had to be just right. I have had no problem with image formats with windowShapes. Dar Scott From erikhans08 at yahoo.com Fri Jan 2 06:30:39 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Fri, 2 Jan 2004 03:30:39 -0800 (PST) Subject: the hilitedButtonName in non-radio groups In-Reply-To: <3FE7E580.9020702@hyperactivesw.com> Message-ID: <20040102113039.77723.qmail@web61103.mail.yahoo.com> hilitedButtonName works in non-radio groups. radioBehavior is off for the group. the buttons are standard. what are the pros and cons of using: versus: get (the uNote of this stack)? many of my custom properties just duplicate the information provided by the hilitedButtonName. it would be nice to reduce the things that need to be watched. has anyone had any experience with this? thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From jbv.silences at Club-Internet.fr Fri Jan 2 09:49:03 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 02 Jan 2004 15:49:03 +0100 Subject: LZW compression Message-ID: <3FF584D2.A0BE0518@Club-Internet.fr> Hi, Is LZW compression implemented in Rev ? AFAIR the compress() function uses only gzip... If it's not implemented, I'm wondering if it's worth implementing it in Transcript or via an external... This kind of compression could be more than useful in a PDf library. Thanks, JB From dsc at swcp.com Fri Jan 2 12:56:43 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 10:56:43 -0700 Subject: LZW compression In-Reply-To: <3FF584D2.A0BE0518@Club-Internet.fr> Message-ID: <06328023-3D4D-11D8-8C39-000A9567A3E6@swcp.com> On Friday, January 2, 2004, at 07:49 AM, jbv wrote: > Is LZW compression implemented in Rev ? This page states that the patent is still in effect in some countries: http://www.unisys.com/about__unisys/lzw The last one ends in June. I get the impression that licensing constraints apply to software that compresses rather than decompresses. That's no legal advice, just babbling. Dar Scott From mail at richard-hillen.de Fri Jan 2 13:21:47 2004 From: mail at richard-hillen.de (R. Hillen) Date: Fri, 2 Jan 2004 19:21:47 +0100 Subject: print break -bug or feature? Message-ID: <86D72A31-3D50-11D8-BAA3-000393854988@richard-hillen.de> Hello listees, I made a printstack to print Adress-Labels (8 x 5 cm) on paper 20 X 30 cm. After having printed all cds with names beginning with "A" (say cd1...cd4) I wanted to start a new page for labels with names beginning with "B" (cd5...cd6) and so on. So I wrote: open printing with dialog print cd 1 to 4 print break print cd 5 to 6 --and so on close printing I got a page with the labels of cd1 to 4, and a new page with labels of cd 5 to 6. But on the second page the labels didn?t start at the topleft of the page, but at the location, where the label of cd 4 ended on the page before. So my question: What means "print break"? Did I meet a bug or is it a feature? And if it is a bug, is there a workaround? Thank you in advance for your help, have a good 2004! Richard Hillen (MacOSX 10.3.2, RunRev 2.1.2) From alex at mindlube.com Fri Jan 2 14:25:00 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 2 Jan 2004 12:25:00 -0700 Subject: spontaneously resizing fields Message-ID: <5B877D4E-3D59-11D8-A569-000393C4760A@mindlube.com> spontaneously resizing fields: what conditions cause this, and have they been bugzilla'd ? I have frequently seen fields resized by the IDE and I am pretty certain my code does not resize any fields at all. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Fri Jan 2 14:48:38 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 2 Jan 2004 12:48:38 -0700 Subject: spontaneously resizing fields In-Reply-To: <5B877D4E-3D59-11D8-A569-000393C4760A@mindlube.com> References: <5B877D4E-3D59-11D8-A569-000393C4760A@mindlube.com> Message-ID: OK here is a recipe. Is this an IDE bug, or something I am doing wrong? - create a mainstack and add 1 field to it. - make the fld height 22. - set the card's script to the script, below. - Repeatedly do this cmd-shift-a type in field cmd-shift-a type in field cmd-shift-a ... - each time the focus of the field is lost, the height increases by 4. - the lockLoc setting has no effect - if you are not seeing the height increase, delete the contents of the fld, then do cmd-shift-a, etc, again. -- card script local lFldLocked on commandKeyDown pKey if pKey = "a" and the shiftKey = "down" then put (not lFldLocked) into lFldLocked updateUI exit commandKeyDown end if pass commandKeyDown end commandKeyDown on updateUI if lFldLocked <> true then set the lockText of fld 1 to true set the showFocusBorder of fld 1 to false else set the lockText of fld 1 to false set the showFocusBorder of fld 1 to true select text of fld 1 end if if (lFldLocked <> true) and (fld 1 = empty) then disable fld 1 else enable fld 1 end if end updateUI Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From yvescoppe at skynet.be Fri Jan 2 14:58:30 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 2 Jan 2004 20:58:30 +0100 Subject: spontaneously resizing fields In-Reply-To: <5B877D4E-3D59-11D8-A569-000393C4760A@mindlube.com> References: <5B877D4E-3D59-11D8-A569-000393C4760A@mindlube.com> Message-ID: <09DF782E-3D5E-11D8-AECC-000393533246@skynet.be> Hi Alex The same for me.... I have no solution. I run in the runtime and resize the field manually afterwards... Greetings. Yves COPPE yvescoppe at skynet.be From alex at mindlube.com Fri Jan 2 15:30:06 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 2 Jan 2004 13:30:06 -0700 Subject: spontaneously resizing fields In-Reply-To: <09DF782E-3D5E-11D8-AECC-000393533246@skynet.be> References: <5B877D4E-3D59-11D8-A569-000393C4760A@mindlube.com> <09DF782E-3D5E-11D8-AECC-000393533246@skynet.be> Message-ID: <73711B9A-3D62-11D8-A569-000393C4760A@mindlube.com> On Jan 2, 2004, at 12:58 PM, Yves COPPE wrote: > The same for me.... > I have no solution. > I run in the runtime > and resize the field manually afterwards... Thanks for confirming. I've only seen it happen in the IDE, not standalones. Is that what you are seeing too? Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From yvescoppe at skynet.be Fri Jan 2 15:45:46 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 2 Jan 2004 21:45:46 +0100 Subject: spontaneously resizing fields In-Reply-To: <73711B9A-3D62-11D8-A569-000393C4760A@mindlube.com> References: <5B877D4E-3D59-11D8-A569-000393C4760A@mindlube.com> <09DF782E-3D5E-11D8-AECC-000393533246@skynet.be> <73711B9A-3D62-11D8-A569-000393C4760A@mindlube.com> Message-ID: Le 2 janv. 04, ? 21:30, Alex Rice a ?crit : > > On Jan 2, 2004, at 12:58 PM, Yves COPPE wrote: > >> The same for me.... >> I have no solution. >> I run in the runtime >> and resize the field manually afterwards... > > Thanks for confirming. I've only seen it happen in the IDE, not > standalones. Is that what you are seeing too? > > I don't know Because of this bug, I only work in the IDE so I can resize the flds manually > Greetings. Yves COPPE yvescoppe at skynet.be From malte.brill at t-online.de Fri Jan 2 15:52:15 2004 From: malte.brill at t-online.de (Malte Brill) Date: Fri, 02 Jan 2004 21:52:15 +0100 Subject: [OT/ANN] Now I =?iso-8859-1?q?=B4?=m a father In-Reply-To: <20040101212830.2C5CB930061@mail.runrev.com> Message-ID: Hi listas, just want to let you know that our son Linus Anton is born on 1/1/04 17.02 CET. formattedHeight 53 cm weight 3890 gram The first night at home with my girlfriend and my son was the best thing that ever has happened to me. Unfortunatly he begann suffering from pregnancy jaundice (Gelbsucht in german is that the correct english term?) today, so we had to move to hospital and Rebekka and Linus will stay there for a while. Now I?ll spend a night answering the mail that has not been answered the last few days and be back active on this list late january. All the best to all of you, Malte From alptex2 at orwell.net Fri Jan 2 16:24:22 2004 From: alptex2 at orwell.net (T. R. Ponn) Date: Fri, 02 Jan 2004 16:24:22 -0500 Subject: Referencing cells by column and row name References: <20031231021707.78994.qmail@wordscapes.com> Message-ID: <3FF5E186.8000401@orwell.net> Mark, How about something like this...not polished, but maybe a start Put this in the stack script: global stateData on openStack -- The following can be placed in a hidden field, property or variable. -- Also, it can be "hard-coded" as shown or read in from a text file. put "State"&tab&"Population"&tab&"Area"&tab&"Birth"&tab&"Capitol"&cr&\ "Ohio"&tab&"11,421,267"&tab&"44,828 Sq Mi"&tab&"1803"&tab&"Columbus"&cr&\ "Florida"&tab&"16,713,149"&tab&"65,758 Sq Mi"&tab&"1845"&tab&"Tallahassee"&cr&\ "Minnesota"&tab&"5,019,720"&tab&"86,943 Sq Mi"&tab&"1858"&tab&"Saint Paul" into stateData end openStack And this in a field script: global stateData on rawkeyUp k if k=61 or k=65493 then set the itemDelimiter to tab put " "&(item (itemOffset(word 1 of me,line 1 of stateData)) of\ line (lineOffset(word 3 of me,stateData)) of stateData) after me select line 1 of me end if pass rawKeyUp end rawkeyUp Now type "Population of Ohio =" into the field and the result will appear thusly: "Population of Ohio = 11,421,267". "Capitol of Florida =" will appear as: "Capitol of Florida = Tallahassee" ...and so on... Best Regards, Tim Ponn Mark Powell wrote: >Say I have 50 lines of tab-delimited data. Each line represents one of the 50 U.S. states. Each item within a line corresponds to some kind of data (population, area, etc.) Is there any way using Rev's built-in commands to write something akin to > >get item "Population" of line "Colorado" > >where Population and Colorado are not variables, but 'column' and 'row' names. Is it possible to establish names in this way and retrieve data similarly to above? > >Appreciate any and all suggestions > >Mark Powell >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From slynch at richmond.sd38.bc.ca Fri Jan 2 17:13:04 2004 From: slynch at richmond.sd38.bc.ca (Stewart Lynch) Date: Fri, 02 Jan 2004 14:13:04 -0800 Subject: Problem with Set Script in Compiled App In-Reply-To: <20031231021707.78994.qmail@wordscapes.com> References: <20031231021707.78994.qmail@wordscapes.com> Message-ID: I need help with the following code snippet from one of my applications that I am developing. Everything works fine when run in development mode but when I compile and save as a standalone application the LAST line of the script does not get implemented. Everything else works perfectly. Why would the "Set the script" command not work in a standalone application? put "MarkTemplate" into nme -- the following varible, newnme is generated based on other information gathered previously put numMarks & (cnt + 1) into newnme -- Create the new Marks Field put the properties of card field nme into myArray create field newnme put the short id of it into newID set the properties of card field newnme to myArray set the name of card field id newID to newnme set the script of card field newNme to the script of card field nme ******************************************* ........ : o/ : Stewart Lynch : <| : Director of Instruction, Technology and Information Services : / > : Richmond School District :......: Richmond, BC Canada Internet: slynch at richmond.sd38.bc.ca https://public.sd38.bc.ca/~slynch tel. (604) 668-6128 fax: (604) 668-6006 ******************************************* From rcozens at pon.net Fri Jan 2 16:10:28 2004 From: rcozens at pon.net (Rob Cozens) Date: Fri, 2 Jan 2004 14:10:28 -0700 Subject: Displaying Browse Tool After Pull Down Selection Message-ID: Hi All, An issue I noticed while debugging SDB Dictionary: I have a pull down menu button from which the user can select a specific record type. I noticed that the cursor, set to browse tool, turns to a pointer on mouse down over the button and will not return to browse unless & until the cursor leaves the (modeless) stack window after mouseUp. To offset this, I placed "choose browse tool" in the last line of the button's mouseUp handler; however, the cursor still refused to switch back from pointer. At this point I added the line, put "I'm choosin' browse!" on the line before "choose browse tool", and guess what?...I now have the browse tool I want at the expense of an open Message Box I don't want. Comment out the put, and the cursor remains a pointer until it leaves & reenters the stack window. Anyone care to offer a guess as to what is going on or a workaround for refreshing the cursor without the put statement? Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From dsc at swcp.com Fri Jan 2 17:19:03 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 15:19:03 -0700 Subject: Problem with Set Script in Compiled App In-Reply-To: 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 From slynch at richmond.sd38.bc.ca Fri Jan 2 17:25:02 2004 From: slynch at richmond.sd38.bc.ca (Stewart Lynch) Date: Fri, 02 Jan 2004 14:25:02 -0800 Subject: Problem with Set Script in Compiled App In-Reply-To: References: Message-ID: How to use Revolution writes: >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.) Which script? The script that is is being set to the new field? If so, that will be pretty tough to do. Perhaps I should try the Clone function and see if it works. ******************************************* ........ : o/ : Stewart Lynch : <| : Director of Instruction, Technology and Information Services : / > : Richmond School District :......: Richmond, BC Canada Internet: slynch at richmond.sd38.bc.ca https://public.sd38.bc.ca/~slynch tel. (604) 668-6128 fax: (604) 668-6006 ******************************************* From alex at mindlube.com Fri Jan 2 17:40:08 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 2 Jan 2004 15:40:08 -0700 Subject: spontaneously resizing fields In-Reply-To: <73711B9A-3D62-11D8-A569-000393C4760A@mindlube.com> References: <5B877D4E-3D59-11D8-A569-000393C4760A@mindlube.com> <09DF782E-3D5E-11D8-AECC-000393533246@skynet.be> <73711B9A-3D62-11D8-A569-000393C4760A@mindlube.com> Message-ID: <9E5E9E18-3D74-11D8-9B4A-000393C4760A@mindlube.com> On Jan 2, 2004, at 1:30 PM, Alex Rice wrote: > Thanks for confirming. I've only seen it happen in the IDE, not > standalones. Is that what you are seeing too? OK it appears this problem does not occur on Windows2K in a standalone, but it occurs on MacOSX in both the IDE and standalone. I am guessing it's related to the focusborder somehow. New bugzilla= #1098 Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From slynch at richmond.sd38.bc.ca Fri Jan 2 18:03:43 2004 From: slynch at richmond.sd38.bc.ca (Stewart Lynch) Date: Fri, 02 Jan 2004 15:03:43 -0800 Subject: Problem with Set Script in Compiled App In-Reply-To: Message-ID: slynch at richmond.sd38.bc.ca writes: >Perhaps I should try the Clone function and see if it works. I did, and this solves my problem. Weird that the set script command will not put the entire script in though. ******************************************* ........ : o/ : Stewart Lynch : <| : Director of Instruction, Technology and Information Services : / > : Richmond School District :......: Richmond, BC Canada Internet: slynch at richmond.sd38.bc.ca https://public.sd38.bc.ca/~slynch tel. (604) 668-6128 fax: (604) 668-6006 ******************************************* From katir at hindu.org Fri Jan 2 18:11:31 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Fri, 2 Jan 2004 13:11:31 -1000 Subject: Photo Catalog-Re Ordering Photos with captions Message-ID: <005F3987-3D79-11D8-AF87-000A959D0AC6@hindu.org> I am about to port a SuperCard project to Revolution that has evolved over about 6 years... basically it imports photos (limit of 42 at the moment), allows the user to write captions. Then generates an HTML chunk, with the photos one after another in the order they appear in the SuperCard Window which is a giant scrolling window that scroll up and down vertically, photos on left, captions on the right, with 42 images objects and 42 caption boxes. There are lots of ancillary widgets for including audio, banners, transcripts etc. . Once the chunk is built the whole final build and deployment to our site(s), archiving, FTP, build of final index.shmtl doc etc is done in Revolution. (see www.gurudeva.org for the daily output entirely done with xTalk tools ) All this is pretty straight forward with one exception. re-ordering the photos. the work flow now involves a pre load process in iView media where photos are ordered and rename and then imported in ordinal sequence according to the order of the day. But frequently there is a need to re-order the photos after the fact. Right now I use a lame but workable system where a list of photos is maintained in a text field and the "distribution" of the photos through the 42 image objects is from this list. so, using option key and shift keys one can re-order the lines in the list and then invoke and update to the 42 image objects. If captions were involved then there is a laborious process to move the captions around to match the new order of the photos. I am thinking now to create a group of one image control and one caption, then on importing a series of photos, dynamically clone the group, apply the filename to the newly create image in the next group "step and repeat" these left to right with a 370 pixel offset (maximum width of any photo is 350 pixels). so far, so good (have yet to actually do it though) then the HTML output would look to the layer property to chose the order of the photos to write out the code. OK, so far that still seems good. But now, if I want to re-order the photos... what is the best strategy? Implement a drag and drop? let's say the photo and its caption which is 5th in the sequence left to right needs to move to position 2, I suppose we could drag it and some how drop it between the existing 1 & 2 and via some algorithm, move all the photos to the right by one increment of 370 pixels and reset the layers for everyone... not trivial... Or perhaps my original plan was better, keep a list in a palette window that the use can re-order which dynamically re-assigns file names to the image controls, which will keep there ordinal layer position. Problem is, that's not intuitive... file names look like "1-2-04_01.jpg" and its much more obvious to drag and drop the actual photo you see you want to move. If I can get this working we can take a subset of the functions and deploy these also as a means for collaborators offshore to send in thumbnails. Particularly useful for Hinduism Today editorial where a reporter in Delhi could send us 20 photos with captions, we choose the best and he ships the hi-res version of those selected for the article. But i always hit a wall on this re-ordering business. Any thoughts? Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From chipp at chipp.com Fri Jan 2 18:51:04 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 2 Jan 2004 17:51:04 -0600 Subject: Interfaces: PC and MAC and the screenGamma property... Message-ID: Hi all, I ended up getting an iBook over the holidays to do some cross-platform development. Been awhile since I've used Macs for any length of time (they sure have changed;-0) Anyway, I spent a few hours today trying to track down a color issue and here's what I found out: If you are like me, you may use animated GIF's to create blinking lights, progress bars, etc.. And if you use ImageReady and Photoshop, you can create them easily so that the GIF overlays what's beneath it seamlessly. Your user will never 'see' the boundaries. But...there's a catch for cross-platform developers. Different images have native gamma correction built in, and this can create problems when combining GIFs, PNGs and JPGs. I've created a stack to demonstrate the issue, and offer some solutions on how to best solve it. Just type into your msg box and hit return: open stack URL "http://www.altuit.com/webs/altuit2/RunRev/GammaTest.rev" Please let me know (you Mac folk) if you know of other workarounds! best, Chipp Chipp Walters Altuit, inc. www.altuit.com From capellan2000 at yahoo.com Fri Jan 2 18:57:51 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 2 Jan 2004 15:57:51 -0800 (PST) Subject: Creating windowShapes in Rev In-Reply-To: <20040102170010.02B60930062@mail.runrev.com> Message-ID: <20040102235751.58339.qmail@web40508.mail.yahoo.com> on Thu, 1 Jan 2004 14:31:59 -0700 Dar Scott wrote: > I had some vague list memory of a > problem with some formats not working and image > formats had to be just right. > I have had no problem with image formats > with windowShapes. Using the bucket tool you can convert a similar area of color in a mask. I think that the documentation refers to this as "erasing" a background. This only works with an imported image, not with a linked or referenced image. write in the message box: choose bucket tool click button 3 at the topleft of img 1 with controlkey ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 From kray at sonsothunder.com Fri Jan 2 19:06:38 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 2 Jan 2004 18:06:38 -0600 Subject: =?iso-8859-1?q?RE=3A_=5BOT/ANN=5D_Now_I_=B4m_a_father?= In-Reply-To: Message-ID: <001a01c3d18d$75c53c00$6901a8c0@LightningFlash> > just want to let you know that our son Linus Anton is born on > 1/1/04 17.02 CET. Congratulations, Malte! > formattedHeight 53 cm ROFLOL :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From alex at mindlube.com Fri Jan 2 19:10:16 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 2 Jan 2004 17:10:16 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: References: Message-ID: <354B2F08-3D81-11D8-9B4A-000393C4760A@mindlube.com> On Jan 2, 2004, at 4:51 PM, Chipp Walters wrote: > open stack URL > "http://www.altuit.com/webs/altuit2/RunRev/GammaTest.rev" Instead of "adjust the screenGamma property to match what the PNG expects." as the TD says, is it possible to adjust the PNG data's gamma setting on the fly, and not touch the screenGamma property? Not knowing about the PNG format much, I donnow how hard it would be. Using JPG is of course not possible when requiring trnsparency, alpha channel, or non-lossy compression. BTW, did you try this to reset the display of the images, instead of go next; go next? put img "bg1.jpg" into img "bg1.jpg" put img "bg1.png" into img "bg1.png" put img "bg1.bmp" into img "bg1.bmp" It works for the PNG but broke the BMP for me. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Fri Jan 2 19:30:54 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 17:30:54 -0700 Subject: Creating windowShapes in Rev In-Reply-To: <20040102235751.58339.qmail@web40508.mail.yahoo.com> Message-ID: <175D5190-3D84-11D8-8C39-000A9567A3E6@swcp.com> On Friday, January 2, 2004, at 04:57 PM, Alejandro Tejada wrote: > Using the bucket tool you can convert > a similar area of color in a mask. > > I think that the documentation refers to this > as "erasing" a background. I found it! It is under "shortcuts" and called "To... make an image transparent." I'd copy and paste it here, except I forgot the shortcut to copy from the TD. Anyway, you simply right-click with a bucket. (If your Mac does not have a right mouse button or it is not assigned like mine, then control-click.) Cool! I made a wish a few days ago and then it was fulfilled long before! That is fast service RunRev! Thanks Alejandro! Dar Scott From dsc at swcp.com Fri Jan 2 19:38:19 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 17:38:19 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <354B2F08-3D81-11D8-9B4A-000393C4760A@mindlube.com> Message-ID: <20CEB637-3D85-11D8-8C39-000A9567A3E6@swcp.com> On Friday, January 2, 2004, at 05:10 PM, Alex Rice wrote: > Instead of "adjust the screenGamma property to match what the PNG > expects." as the TD says, is it possible to adjust the PNG data's > gamma setting on the fly, and not touch the screenGamma property? Not > knowing about the PNG format much, I donnow how hard it would be. Yes. PNG is organized into chunks. The gamma chunk is simple and is not compressed or anything. (I haven't looked at Chipp's discussion topic, so evaluate this comment accordingly.) Dar Scott From chipp at chipp.com Fri Jan 2 19:44:07 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 2 Jan 2004 18:44:07 -0600 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <354B2F08-3D81-11D8-9B4A-000393C4760A@mindlube.com> References: <354B2F08-3D81-11D8-9B4A-000393C4760A@mindlube.com> Message-ID: Alex, Don't know about if it's possible to change the gamma for the PNG. Even if it were possible, it would probably end up creating even more 'washed out' images on Macs or 'too dark' images on PC. Yep, I tried the "put img x into img y" and it rarely worked...so I just flipped a card. Didn't want to debug *that* at this time. I, too, use transparent images for interfaces. In fact, it's what ButtonGadget builds. But, I still need to be able to go cross platform with GIFs (the real problem here). -Chipp On Jan 2, 2004, at 6:10 PM, Alex Rice wrote: > > On Jan 2, 2004, at 4:51 PM, Chipp Walters wrote: > >> open stack URL >> "http://www.altuit.com/webs/altuit2/RunRev/GammaTest.rev" > > Instead of "adjust the screenGamma property to match what the PNG > expects." as the TD says, is it possible to adjust the PNG data's > gamma setting on the fly, and not touch the screenGamma property? Not > knowing about the PNG format much, I donnow how hard it would be. > > Using JPG is of course not possible when requiring trnsparency, alpha > channel, or non-lossy compression. > > BTW, did you try this to reset the display of the images, instead of > go next; go next? > > put img "bg1.jpg" into img "bg1.jpg" > put img "bg1.png" into img "bg1.png" > put img "bg1.bmp" into img "bg1.bmp" > > It works for the PNG but broke the BMP for me. > > Alex Rice | Mindlube Software | > > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Fri Jan 2 19:51:15 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 2 Jan 2004 16:51:15 -0800 Subject: =?iso-8859-1?q?Re=3A_=5BOT/ANN=5D_Now_I_=B4m_a_father?= In-Reply-To: References: Message-ID: <6911544620.20040102165115@ahsoftware.net> Malte- Congratulations! A baby programmer! -- -Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Fri Jan 2 19:54:07 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 17:54:07 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: <55AF5784-3D87-11D8-8C39-000A9567A3E6@swcp.com> On Friday, January 2, 2004, at 04:51 PM, Chipp Walters wrote: > I've created a stack to demonstrate the issue, and offer some > solutions on > how to best solve it. Just type into your msg box and hit return: > > open stack URL > "http://www.altuit.com/webs/altuit2/RunRev/GammaTest.rev" > > Please let me know (you Mac folk) if you know of other workarounds! I don't know if BMP has a gamma. It is optional in the PNG. It might also have other related parameters that would be used instead. I can look at a hex dump and see if the PNG has one, but somebody else might have a utility that allows looking at that or fiddling with it. It might be that Revolution is ignoring the Gamma or handling it wrong. I suspect not, since there is a screenGamma and since a gamma is created when a PNG is created from an image object. It is worth looking into, though. It might be that the file has the more complicated screen parameters and Revolution does not handle those. It might be that the PNG does not have a Gamma. I would have thought Photoshop would have saved it. I'll see what my Mac Photoshop, does. Dar Scott From alex at mindlube.com Fri Jan 2 20:06:22 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 2 Jan 2004 18:06:22 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: References: <354B2F08-3D81-11D8-9B4A-000393C4760A@mindlube.com> Message-ID: <0B8627C2-3D89-11D8-9B4A-000393C4760A@mindlube.com> On Jan 2, 2004, at 5:44 PM, Chipp Walters wrote: > Alex, > > Don't know about if it's possible to change the gamma for the PNG. > Even if it were possible, it would probably end up creating even more > 'washed out' images on Macs or 'too dark' images on PC. Not sure... my overly simplistic understanding of graphics is that is you just the sRGB color space, then "no worries!" But that's probably naive :-) Here is a tutorial about Gamma in general and PNG in particular. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From chipp at chipp.com Fri Jan 2 20:07:08 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 2 Jan 2004 19:07:08 -0600 Subject: how to open 'non-mac' stacks from within Rev on a Mac Message-ID: Forgive my ignorance... I've been saving from my PC to a Windows Share, then opening it on the Mac, but the Mac doesn't want to let me open it. So, I have to drag/drop it on the Rev icon and it opens. I can then save and everything's fine. On the PC, in the open/save dialog, there's a dropdown menu which allows you to open 'All Files.' Does such a thing exist on the Mac? Also, frequently I leave off the .rev extension for a stack, do I just have to drag/drop these stacks on top of the Rev App icon to launch them, or is there an easier way? Thanks, Chipp Chipp Walters Altuit, inc. www.altuit.com From dsc at swcp.com Fri Jan 2 20:10:21 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 18:10:21 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: <9A142EF6-3D89-11D8-8C39-000A9567A3E6@swcp.com> I'm called to supper. I'll send what I have on the PNG. I'll have to calculate the gamma from the value field later. Unless someone else does it or has a better tool. Note that the value from text is not the same as the value from export. Maybe one is the one set and the other is recalculated. Dar text Length: 879 89504e470d0a1a0a0000000d4948445200000050000000500802000000017365 fa 00000004 67414d41 <-- gAMA 0000afc8 <-- value 37058ae9 0000001974455874536f6674776172 650041646f626520496d616765526561647971c9653c000003014944415478da 626c6868601849002080981846180008a011e76180001a711e0608a011e76180 001a711e0608a011e76180001a711e0608a011e76180001a711e0608a011e761 80001a711e0608a011e76180001a711e0608a011e76180001a711e0608a011e7 6180001a711e0608a011e76180001a711e0608a011e76180001a711e0608a011 e76180001a711e0608a011e76180001a711e0608a011e76180001a711e0608a0 11e76180001a711e0608a011e76180001a711e0608a011e76180001a711e0608 a011e76180001a711e0608a011e76180001a711e0608a011e76180001a711e06 08a011e76180001a711e0608a011e76180001a711e0608a011e76180001a711e 0608a011e76180001a711e0608a011e76180001a711e0608a011e76180001a71 1e0608a011e76180001a711e0608a011e76180001a711e0608a011e76180001a 711e0608a011e76180001a711e0608a011e76180001a711e0608a011e7618000 1a711e0608a011e76180001a711e0608a011e76180001a711e0608a011e76180 001a711e060820160825000610f68b172f7efcf8a1a0a0f0e0c1032097838303 2805148428038a7ff8f001223514014000313b383800290b0b0b474747494949 4b4b4b4d4dcd3367cee4e7e7333232023d262323e3eaea7ae1c205a057d3d3d3 b9b8b80c0d0d151515af5cb932143d0c10402c70d6f9f3e70f1c38008ccfc2c2 42090909a008d0f3274e9c802b888c8cdcb87123d0e7703590681f5a002080d0 f330d0336c6c6cc0240d49dbc09887a779a038d0b740365076faf4e943d1b740 00104088180626546062161313bb78f12230970245b66fdf0e4cc31036d0c3af 5ebd02328011ebe9e909491110ff0f2d001040080fdfbf7f1fe8014889052fbd 809e07e6ed0f60000c0ba0b7818cfdfbf703fd0c2fe4861600082044928694bd 70df42003057f3f1f141643f7dfa0449e1c08000a6fc215a4a0304100b7e69a0 3f0f1e3c082c9381ece5cb972726269a9b9b03d98f1e3d1a8ae9190800028891 d4d396807918980a20197b28028000622155c3102d9ce10020c0002dc2a98a1f ccdbd60000000049454e44ae426082 export PNG Length: 261 89504e470d0a1a0a0000000d4948445200000050000000500803000000b9cf02 9f 00000004 67414d41 <-- gAMA 0000e5c83 <-- value d932d66 0000002d504c54456868687979798b 8b8b7070708282829d9d9db0b0b0edededd9d9d9f7f7f7e3e3e3ffffffcfcfcf c3c3c3bababa938ca5b80000008349444154789cedd1b11603210844d11150d1 c9e6ff3f774dbad46c97b99534efa00222222222222222222222f2d79a99390c f03843b77270cc5c1b1cb08431e7ab1c1cf0155c7e82ab7fcef56063630ecbc6 33b7f28673f302833d6d23327b35789d3f0171cdb36173dba31afc0678ee9d98 6ff7f9541023118bccf223fe886773753744fa02b0ebf3f9860000000049454e 44ae426082 export P6 Length: 19213 50360a38302038300a3235350a68686868686868686868686868686868686868 6868686868686868686868686868686868686868686868686868686868686868 etc. From 3mcgrath at adelphia.net Fri Jan 2 20:39:17 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 2 Jan 2004 20:39:17 -0500 Subject: read write process Message-ID: I build in OSX and am trying to test the WinXP version of my app in Virtual PC. I intermittently get a read process write process error on start up of the standalone in WIN XP. If I double click the app again after this error it starts up normally. Has anyone experienced a problem like this? thanks Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From wouter.abraham at pi.be Fri Jan 2 20:39:50 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 3 Jan 2004 02:39:50 +0100 Subject: spontaneously resizing fields In-Reply-To: <20040102222034.DF1E493005A@mail.runrev.com> References: <20040102222034.DF1E493005A@mail.runrev.com> Message-ID: On 02 Jan 2004, at 23:20, use-revolution-request at lists.runrev.com wrote: > Message: 4 > Date: Fri, 2 Jan 2004 12:48:38 -0700 > From: Alex Rice > Subject: Re: spontaneously resizing fields > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > OK here is a recipe. Is this an IDE bug, or something I am doing wrong? snip > on commandKeyDown pKey > if pKey = "a" and the shiftKey = "down" then > put (not lFldLocked) into lFldLocked > updateUI > exit commandKeyDown > end if > pass commandKeyDown > end commandKeyDown > > on updateUI > if lFldLocked <> true then > set the lockText of fld 1 to true > set the showFocusBorder of fld 1 to false > else > set the lockText of fld 1 to false > set the showFocusBorder of fld 1 to true > select text of fld 1 > end if > if (lFldLocked <> true) and (fld 1 = empty) then > disable fld 1 > else > enable fld 1 > end if > end updateUI > > Alex Rice | Mindlube Software | > > > change the updateUI to : on updateUI if lFldLocked <> true then if fld 1 is "" then disable fld 1 else set the locktext of fld 1 to true set the showFocusBorder of fld 1 to false else if not the enabled of fld 1 then enable fld 1 set the locktext of fld 1 to false set the showFocusBorder of fld 1 to true select text of fld 1 end if end updateUI Greetings and a happy new year to all, WA From dsc at swcp.com Fri Jan 2 20:59:32 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 18:59:32 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <9A142EF6-3D89-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: <7905D38A-3D90-11D8-8C39-000A9567A3E6@swcp.com> On Friday, January 2, 2004, at 06:10 PM, Dar Scott wrote: > text > Length: 879 > 89504e470d0a1a0a0000000d4948445200000050000000500802000000017365 > fa > 00000004 > 67414d41 <-- gAMA > 0000afc8 <-- value Gamma = 2.222222 > 37058ae9 > 0000001974455874536f6674776172 > 650041646f626520496d616765526561647971c9653c000003014944415478da ... > export PNG > Length: 261 > 89504e470d0a1a0a0000000d4948445200000050000000500803000000b9cf02 > 9f > 00000004 > 67414d41 <-- gAMA > 0000e5c83 <-- value whoops 000e5c8 <--- value Gamma = 1.699986 > d932d66 whoops 3d932d66 > 0000002d504c54456868687979798b > 8b8b7070708282829d9d9db0b0b0edededd9d9d9f7f7f7e3e3e3ffffffcfcfcf ... It looks to me that the PNG you have is basically a 2.2. The export converts it to a 1.7. Both imageData and the P6 export show pixels as 86,86,86 hex. However, the JPEG shows up as 80,80,80 in imageData and in the P6 export. I wonder if the 86 hex is an attempt to lighten up the image by Revolution. Is 134 at 1.7 Gamma the same as 128 at 2.2 Gamma? Dar Scott From ambassador at fourthworld.com Fri Jan 2 21:08:09 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Jan 2004 18:08:09 -0800 Subject: how to open 'non-mac' stacks from within Rev on a Mac In-Reply-To: Message-ID: Chipp Walters wrote: > I've been saving from my PC to a Windows Share, then opening it on the Mac, > but the Mac doesn't want to let me open it. So, I have to drag/drop it on > the Rev icon and it opens. I can then save and everything's fine. On the PC, > in the open/save dialog, there's a dropdown menu which allows you to open > 'All Files.' Does such a thing exist on the Mac? Also, frequently I leave > off the .rev extension for a stack, do I just have to drag/drop these stacks > on top of the Rev App icon to launch them, or is there an easier way? Thanks to Jacque I've compiled this AppleScript into a droplet for easily setting the type and creator codes: on open theFiles tell application "Finder" repeat with x in theFiles set the creator type of x to "Revo" set the file type of x to "RSTK" end repeat end tell end open -- 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 wouter.abraham at pi.be Fri Jan 2 21:12:06 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 3 Jan 2004 03:12:06 +0100 Subject: spontaneously resizing fields Message-ID: <3A5CAFC2-3D92-11D8-BDB7-003065CC999E@pi.be> On 02 Jan 2004, at 23:20, use-revolution-request at lists.runrev.com wrote: >> Message: 4 >> Date: Fri, 2 Jan 2004 12:48:38 -0700 >> From: Alex Rice >> Subject: Re: spontaneously resizing fields >> To: How to use Revolution >> Message-ID: >> Content-Type: text/plain; charset=US-ASCII; format=flowed >> >> >> OK here is a recipe. Is this an IDE bug, or something I am doing >> wrong? > > snip > >> >> Alex Rice | Mindlube Software | >> >> >> > > change the updateUI to : Forgot to mention that if you add : > > on updateUI > if lFldLocked <> true then > if fld 1 is "" then disable fld 1 > else set the locktext of fld 1 to true > set the showFocusBorder of fld 1 to false select empty or focus on fld 1 -- the growing will start again > else > if not the enabled of fld 1 then enable fld 1 > set the locktext of fld 1 to false > set the showFocusBorder of fld 1 to true > select text of fld 1 > end if > end updateUI Greetings, WA From valetia at mac.com Fri Jan 2 21:30:57 2004 From: valetia at mac.com (Valetia) Date: Sat, 3 Jan 2004 12:30:57 +1000 Subject: tabs in panther and RR 2.1.2 look like tabs in jaguar In-Reply-To: References: <3FAFBA34.40503@hrz.uni-kassel.de> Message-ID: Is this going to be fixed? Valetia On 11/11/2003, at 2:35 AM, Klaus Major wrote: > The tabbed-buttons RR 2.1.2 under OS X 10.3 look like the tabs in OS X > 10.2.X. > (Which were a bit different...) > > They looked correct in 10.3 with RR 2.1.1. From scott at tactilemedia.com Fri Jan 2 21:41:12 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 02 Jan 2004 18:41:12 -0800 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: On 1/2/04 3:51 PM, "Chipp Walters" wrote: > I ended up getting an iBook over the holidays to do some cross-platform > development. Been awhile since I've used Macs for any length of time (they > sure have changed;-0) > > Anyway, I spent a few hours today trying to track down a color issue and > here's what I found out: > > If you are like me, you may use animated GIF's to create blinking lights, > progress bars, etc.. And if you use ImageReady and Photoshop, you can create > them easily so that the GIF overlays what's beneath it seamlessly. Your user > will never 'see' the boundaries. But...there's a catch for cross-platform > developers. Different images have native gamma correction built in, and this > can create problems when combining GIFs, PNGs and JPGs. Chipp: An interesting observation about color, one I hadn't noticed before. I did a couple of quick tests over here and encountered the same issue with regard to PNG but not BMP. I'm at a slight disadvantage since I'm on a laptop at the moment with an LCD screen, but the test is here: go URL "http://www.tactilemedia.com/colordemo1.rev" All but the PNG image appear to be the same color here. AFAIK, you should not see any difference between any of the images except apparently PNG. By any chance do you have Photoshop's/ImageReady's color management enabled which embeds color profiles within images? If so, then you should disable this for the purposes of creating images for on-screen and the Web (this feature is really only suitable for print work). In my own work, the only time I ever use PNG is when I need to show an image with variable translucency, or a photographic image that compresses better than with JPG; otherwise I use GIF and JPG most frequently. I have noticed that solid color regions and certain gradient patterns often compress a bit smaller using as GIF than as PNG so there's another possible reason to use the format. If you are running into a development obstacle with the image formats that is preventing you from creating what you want, feel free to run it by me off-list. I'd be happy to take a look and help if I can. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From doug at webcrossing.com Fri Jan 2 21:43:23 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 11:43:23 +0900 Subject: A message for data waiting at a socket? Message-ID: I am currently polling an open socket to check for data, or checking for data immediately after writing to the socket (to check for replies to messages I send). But is there a message-driven way of doing this? Like if data is waiting at a socket (data pushed from a server) having it trigger a message, like socketDataWaiting, or something like that? Thanks, Doug Lerner, Tokyo From jacque at hyperactivesw.com Fri Jan 2 21:44:21 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 02 Jan 2004 20:44:21 -0600 Subject: how to open 'non-mac' stacks from within Rev on a Mac In-Reply-To: References: Message-ID: <3FF62C85.6070807@hyperactivesw.com> On 1/2/04 7:07 PM, Chipp Walters wrote: > Forgive my ignorance... > > I've been saving from my PC to a Windows Share, then opening it on the Mac, > but the Mac doesn't want to let me open it. So, I have to drag/drop it on > the Rev icon and it opens. I can then save and everything's fine. On the PC, > in the open/save dialog, there's a dropdown menu which allows you to open > 'All Files.' Does such a thing exist on the Mac? Also, frequently I leave > off the .rev extension for a stack, do I just have to drag/drop these stacks > on top of the Rev App icon to launch them, or is there an easier way? The stacks probably don't have type and creator codes, and the Mac doesn't know what to do with the ".rev" extension. There are bunch of ways to solve this. I have a little applescript that sets the type and creator codes to Rev's. You can drop the stacks onto it and they get fixed. I can send it to you in email if you want. It's handy if you have a lot of stacks you want to change at once. Or you can right-click (or control-click) on the stack in the Finder to get a contextual menu, and choose "Open with..." and then choose Revolution. If the stack has a ".rev" extension, you can select it and choose Get Info from the contextual menu, or from the Finder's File menu. Expand the "Open with" arrow and choose Revolution as the app to open this file. Then click the "change all" button to tell the Mac how to open all stacks named ".rev". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at yahoo.com Fri Jan 2 21:58:00 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 2 Jan 2004 18:58:00 -0800 (PST) Subject: LZW compression In-Reply-To: <20040102170010.02B60930062@mail.runrev.com> Message-ID: <20040103025800.62351.qmail@web40501.mail.yahoo.com> on Fri, 02 Jan 2004 jbv wrote: > Is LZW compression implemented in Rev ? > AFAIR the compress() function uses only gzip... > > If it's not implemented, I'm wondering if it's > worth implementing it in Transcript or via an > external... > This kind of compression could be more than > useful in a PDf library. Actually, Gzip is really the same FlateEncode that PDF accepts too. So, maybe you could skip the use of LZW. I'm sure that PDF understand JPEG compression too. There is another compression that Revolution supports that could be used in pdf files. Maybe is base64 encode, but I'm not completely sure. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 From dsc at swcp.com Fri Jan 2 22:14:19 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 20:14:19 -0700 Subject: A message for data waiting at a socket? In-Reply-To: Message-ID: On Friday, January 2, 2004, at 07:43 PM, Doug Lerner wrote: > I am currently polling an open socket to check for data, or checking > for > data immediately after writing to the socket (to check for replies to > messages I send). > > But is there a message-driven way of doing this? Like if data is > waiting at > a socket (data pushed from a server) having it trigger a message, like > socketDataWaiting, or something like that? Yes. Use the "with message" option with the "read for socket" command. You specify the name of the handler. It is called with the socket ID and with the data in the buffer. (You do not look in "it".) You will need to arrange for multiple reads if needed. Dar Scott From capellan2000 at yahoo.com Fri Jan 2 22:23:19 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 2 Jan 2004 19:23:19 -0800 (PST) Subject: [OT/ANN] Now I'm a father In-Reply-To: <20040103005217.480E5930089@mail.runrev.com> Message-ID: <20040103032319.6238.qmail@web40505.mail.yahoo.com> Malte Brill wrote: > just want to let you know that our son Linus Anton > is born on 1/1/04 17.02 CET. > Congratulations to you and your girlfriend! :)) > formattedHeight 53 cm Half meter! How tall could he become then? Post photos in your website. My best wishes for your family. :) al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 From doug at webcrossing.com Fri Jan 2 22:40:40 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 12:40:40 +0900 Subject: A message for data waiting at a socket? In-Reply-To: Message-ID: On 1/3/04 12:14 PM, "Dar Scott" wrote: > > On Friday, January 2, 2004, at 07:43 PM, Doug Lerner wrote: > >> I am currently polling an open socket to check for data, or checking >> for >> data immediately after writing to the socket (to check for replies to >> messages I send). >> >> But is there a message-driven way of doing this? Like if data is >> waiting at >> a socket (data pushed from a server) having it trigger a message, like >> socketDataWaiting, or something like that? > > Yes. > > Use the "with message" option with the "read for socket" command. > > You specify the name of the handler. It is called with the socket ID > and with the data in the buffer. (You do not look in "it".) > > You will need to arrange for multiple reads if needed. > > Dar Scott Wouldn't that just signal a message when reading data from the socket is complete? What I mean is a message that would signal a handler to actually go ahead and try the socket read - something that indicates that new data has arrived at the socket basically. Right now, what I do is: (1) read socket immediately after a write socket (to check for immediate replies to my write) (2) use "send" to send a "refresh" message every few seconds to force the write/read to take place (polling the socket) What would be nicer though is if data were pushed from the other side (the server I am connected to) to the socket that that would send a message to a handler. That seems more dynamic and efficient and "in the spirit" of a message-driven system. My app could then respond whenever data arrives. Is there any message sent when data is pushed to a socket from the "other side"? doug From dsc at swcp.com Fri Jan 2 23:05:05 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 21:05:05 -0700 Subject: A message for data waiting at a socket? In-Reply-To: Message-ID: <031F0531-3DA2-11D8-8C39-000A9567A3E6@swcp.com> On Friday, January 2, 2004, at 08:40 PM, Doug Lerner wrote: > Wouldn't that just signal a message when reading data from the socket > is > complete? Yes, but this one is complete when the buffer is non empty: read from socket theSocket with message socketData Does that sound like what you want? (This may not correspond to a push from the other side, but it often will.) Dar Scott From kray at sonsothunder.com Fri Jan 2 23:44:11 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 2 Jan 2004 22:44:11 -0600 Subject: Displaying Browse Tool After Pull Down Selection In-Reply-To: Message-ID: <003b01c3d1b4$3f750d20$6901a8c0@LightningFlash> > Anyone care to offer a guess as to what is going on or a workaround > for refreshing the cursor without the put statement? How about trying "lock cursor"/"unlock cursor" instead of "Choose browse tool"? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Fri Jan 2 23:42:56 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 2 Jan 2004 22:42:56 -0600 Subject: the hilitedButtonName in non-radio groups In-Reply-To: <20040102113039.77723.qmail@web61103.mail.yahoo.com> Message-ID: <003a01c3d1b4$1392c490$6901a8c0@LightningFlash> > what are the pros and cons of using: > > versus: > get (the uNote of this stack)? Well, in a radio button group, the hilitedButtonName is automatically set when someone clicks a button in the group. If you had to handle it manually, you'd have to add script to the group that set a custom property based on the target (a line of code you don't need to write because the hilitedButtonName has it already for you. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Fri Jan 2 23:47:24 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 2 Jan 2004 22:47:24 -0600 Subject: Photo Catalog-Re Ordering Photos with captions In-Reply-To: <005F3987-3D79-11D8-AF87-000A959D0AC6@hindu.org> Message-ID: <003c01c3d1b4$b2729cc0$6901a8c0@LightningFlash> > But now, if I want to re-order the photos... what is the best > strategy? > Implement a drag and drop? let's say the photo and its > caption which is > 5th in the sequence left to right needs to move to position 2, I > suppose we could drag it and some how drop it between the > existing 1 & > 2 and via some algorithm, move all the photos to the right by one > increment of 370 pixels and reset the layers for everyone... not > trivial... Or perhaps my original plan was better, keep a list in a > palette window that the use can re-order which dynamically re-assigns > file names to the image controls, which will keep there ordinal layer > position. Problem is, that's not intuitive... file names look like > "1-2-04_01.jpg" and its much more obvious to drag and drop the actual > photo you see you want to move. > > Any thoughts? Well, it looks like you hit them both on the head... an intuitive/difficult approach, or a non-intuitive/easy approach... Personally, if you've got the time, I'd go for the intuitive/difficult approach... apart from the fact that it would best serve your customers, you'd have a neet "image-reordering-widget" you could use on other projects. :-) Just my 2 cents, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Fri Jan 2 23:50:54 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 2 Jan 2004 22:50:54 -0600 Subject: how to open 'non-mac' stacks from within Rev on a Mac In-Reply-To: Message-ID: <003d01c3d1b5$30c812d0$6901a8c0@LightningFlash> > I've been saving from my PC to a Windows Share, then opening > it on the Mac, but the Mac doesn't want to let me open it. > So, I have to drag/drop it on the Rev icon and it opens. I > can then save and everything's fine. On the PC, in the > open/save dialog, there's a dropdown menu which allows you to > open 'All Files.' Does such a thing exist on the Mac? Also, > frequently I leave off the .rev extension for a stack, do I > just have to drag/drop these stacks on top of the Rev App > icon to launch them, or is there an easier way? Chipp, you can hold down the option key when you pick "Open" from the File menu in Rev, and the answer file dialog that displays allows you to select any file. I've used this on many occasions for just the reasons you mentioned. HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From doug at webcrossing.com Sat Jan 3 00:00:08 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 14:00:08 +0900 Subject: A message for data waiting at a socket? In-Reply-To: <031F0531-3DA2-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: On 1/3/04 1:05 PM, "Dar Scott" wrote: > > On Friday, January 2, 2004, at 08:40 PM, Doug Lerner wrote: > >> Wouldn't that just signal a message when reading data from the socket >> is >> complete? > > Yes, but this one is complete when the buffer is non empty: > > read from socket theSocket with message socketData > > Does that sound like what you want? > > (This may not correspond to a push from the other side, but it often > will.) I'm not sure I am following. Isn't the only difference between (1) read from socket theSocket with message socketData and (2) read from socket theSocket that (1) returns immediately and then sends the message socketData when the read is complete and (2) pauses the handler while it is reading the data? Neither one seems to have anything to do with the push of data from the other side, does it? I mean, in both cases you still have to invoke the "read from socket" command again somehow, like I am already doing, wouldn't you? doug From scott at tactilemedia.com Sat Jan 3 00:21:58 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 02 Jan 2004 21:21:58 -0800 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <0B8627C2-3D89-11D8-9B4A-000393C4760A@mindlube.com> Message-ID: > Don't know about if it's possible to change the gamma for the PNG. > Even if it were possible, it would probably end up creating even more > 'washed out' images on Macs or 'too dark' images on PC. The following article provides one explanation as to what is going with PNGs. If the author's statements are valid, then apparently the problem with PNG display is universal. http://www.hut.fi/u/hsivonen/png-gamma.html Still, this shouldn't really pose any problem for Rev developers. In addition to the multiple graphic formats that we can employ, users will rarely have the opportunity to directly compare the appearance of a Mac stack with a Windows stack. And there are so many variables at play when releasing a stack to the masses that you're probably better off trying to cure the common cold than attempting to make your stack look perfect everywhere. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Sat Jan 3 00:26:46 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 22:26:46 -0700 Subject: A message for data waiting at a socket? In-Reply-To: Message-ID: <6C476410-3DAD-11D8-8C39-000A9567A3E6@swcp.com> On Friday, January 2, 2004, at 10:00 PM, Doug Lerner wrote: > Neither one seems to have anything to do with the push of data from the > other side, does it? I mean, in both cases you still have to invoke the > "read from socket" command again somehow, like I am already doing, > wouldn't > you? Do the next read in the message handler unless the socket was closed. The message handler will then be called each time some data is available. For small messages, this is usually at the push. Dar Scott From dsc at swcp.com Sat Jan 3 00:28:44 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 22:28:44 -0700 Subject: how to open 'non-mac' stacks from within Rev on a Mac In-Reply-To: <003d01c3d1b5$30c812d0$6901a8c0@LightningFlash> Message-ID: On Friday, January 2, 2004, at 09:50 PM, Ken Ray wrote: > Chipp, you can hold down the option key when you pick "Open" from the > File menu in Rev, and the answer file dialog that displays allows you > to > select any file. I've used this on many occasions for just the reasons > you mentioned. Arg! I just needed this! I need to spend Saturday mornings reading the shortcuts. Dar From dan at clearvisiontech.com Sat Jan 3 00:32:49 2004 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 02 Jan 2004 21:32:49 -0800 Subject: [OT/ANN] Now I'm a father In-Reply-To: <20040103051958.D6A3093009F@mail.runrev.com> Message-ID: Malte, When my son was born, my father-in-law said It best... "The new boss is in town!" :) Congratulations on the addition to the Brill family! -Dan From doug at webcrossing.com Sat Jan 3 00:34:35 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 14:34:35 +0900 Subject: A message for data waiting at a socket? In-Reply-To: <6C476410-3DAD-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: On 1/3/04 2:26 PM, "Dar Scott" wrote: > > On Friday, January 2, 2004, at 10:00 PM, Doug Lerner wrote: > >> Neither one seems to have anything to do with the push of data from the >> other side, does it? I mean, in both cases you still have to invoke the >> "read from socket" command again somehow, like I am already doing, >> wouldn't >> you? > > Do the next read in the message handler unless the socket was closed. > > The message handler will then be called each time some data is > available. For small messages, this is usually at the push. > > Dar Scott Ah. I see what you are saying. Start it out by invoking the read as I am doing now. But then, instead of polling, invoke the next read in the message handler itself using the "with message" option. Then when data has been completely read it will call itself to process it again. But... what happens if no data is present? Wouldn't it cause a cpu-intensive-slowing-down loop like: read nothing's there so finished so signal read ? doug From dsc at swcp.com Sat Jan 3 00:37:58 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 22:37:58 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: On Friday, January 2, 2004, at 10:21 PM, Scott Rossi wrote: > In > addition to the multiple graphic formats that we can employ, users will > rarely have the opportunity to directly compare the appearance of a Mac > stack with a Windows stack. But his problem is a gif next to a png. Also, he has control over what uses it. A Revolution app. I wonder how Chipp's PNGs would look if the gamma was stripped. Dar Scott From dsc at swcp.com Sat Jan 3 00:40:53 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 22:40:53 -0700 Subject: A message for data waiting at a socket? In-Reply-To: Message-ID: <653C7796-3DAF-11D8-8C39-000A9567A3E6@swcp.com> On Friday, January 2, 2004, at 10:34 PM, Doug Lerner wrote: > But... what happens if no data is present? Wouldn't it cause a > cpu-intensive-slowing-down loop like: > > read > nothing's there so finished so signal read > > ? No. Isn't that cool? How would you know that? For me I wanted it so bad, when I first started using revolution that I experimented until I found it. The read completes only then the buffer is non-empty. Uh, what OS are you using? Dar Scott From doug at webcrossing.com Sat Jan 3 00:45:29 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 14:45:29 +0900 Subject: A message for data waiting at a socket? In-Reply-To: <653C7796-3DAF-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: On 1/3/04 2:40 PM, "Dar Scott" wrote: > > On Friday, January 2, 2004, at 10:34 PM, Doug Lerner wrote: > >> But... what happens if no data is present? Wouldn't it cause a >> cpu-intensive-slowing-down loop like: >> >> read >> nothing's there so finished so signal read >> >> ? > > No. Why not? :) > Isn't that cool? Yes, if true. (^_^) I will test it now and see. > > How would you know that? For me I wanted it so bad, when I first > started using revolution that I experimented until I found it. Well, it's good I joined this mail list today then! > > The read completes only then the buffer is non-empty. Ah. So if the buffer is originally empty, it waits for it to be non-empty and then reads? Interesting. > > Uh, what OS are you using? > I am developing using Mac OS X, but this must end up being a cross-platform client. Why? doug From davis.phil at comcast.net Sat Jan 3 00:49:48 2004 From: davis.phil at comcast.net (Phil Davis) Date: Fri, 2 Jan 2004 21:49:48 -0800 Subject: A message for data waiting at a socket? In-Reply-To: Message-ID: > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Doug Lerner > Sent: Friday, January 02, 2004 7:41 PM > To: How to use Revolution > Subject: Re: A message for data waiting at a socket? > --- snip --- > > What would be nicer though is if data were pushed from the other side (the > server I am connected to) to the socket that that would send a > message to a > handler. That seems more dynamic and efficient and "in the spirit" of a > message-driven system. My app could then respond whenever data arrives. > Nice idea, Doug... but for the message-driven model to apply, the two stacks (client and server) must share the same Rev session. Since they're [presumably] on different machines, that can't happen. I suppose you could virtually join the two environments with a 'socket reader/message dispatcher' stack running on each machine. Its job would be to: - receive socket data from 'the other side', translate it to Rev messages and send them within its local Rev environment. - receive local Rev messages, translate them to socket data and send the data to the other environment. Food for thought. I'm a big dreamer, so beware! ;o) Phil Davis From dsc at swcp.com Sat Jan 3 00:54:21 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 22:54:21 -0700 Subject: A message for data waiting at a socket? In-Reply-To: Message-ID: <47298DEC-3DB1-11D8-8C39-000A9567A3E6@swcp.com> On Friday, January 2, 2004, at 10:45 PM, Doug Lerner wrote: >> Uh, what OS are you using? >> > > I am developing using Mac OS X, but this must end up being a > cross-platform > client. Why? I've been using Windows (2K class), OS X and some Mac OS. I think this all works on all of those. I keep worrying that I missed something and I'm steering you wrong. Dar Scott From doug at webcrossing.com Sat Jan 3 00:59:54 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 14:59:54 +0900 Subject: A message for data waiting at a socket? In-Reply-To: Message-ID: On 1/3/04 2:49 PM, "Phil Davis" wrote: > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Doug Lerner >> Sent: Friday, January 02, 2004 7:41 PM >> To: How to use Revolution >> Subject: Re: A message for data waiting at a socket? >> > --- snip --- >> >> What would be nicer though is if data were pushed from the other side (the >> server I am connected to) to the socket that that would send a >> message to a >> handler. That seems more dynamic and efficient and "in the spirit" of a >> message-driven system. My app could then respond whenever data arrives. >> > > Nice idea, Doug... but for the message-driven model to apply, the two stacks > (client and server) must share the same Rev session. Since they're > [presumably] on different machines, that can't happen. Wouldn't the client just need to be aware of "something changed" on its own side? > > I suppose you could virtually join the two environments with a 'socket > reader/message dispatcher' stack running on each machine. Its job would be > to: > - receive socket data from 'the other side', translate it to Rev messages > and send them within its local Rev environment. That's sort of what I'm doing now. But rather than sending back entire Rev messages, I'm sending back command/data pairs and then parsing and processing them on the Rev side. > - receive local Rev messages, translate them to socket data and send the > data to the other environment. For that, I am turning them into an xml string, sending the string back as a parameter to the other environment which has the ability to take the string, convert it to a server-side object and then just pluck the command/data pairs out of that for processing. Then it sends results back to Rev. So immediately after a write I am invoking a read to get the results and that works fine. But sometimes the server side wants to push data through even though I haven't just written anything to it. That is what I am trying to handle. Right now I am dealing with that by sending a message to a refresh handler every five seconds there has been no other interaction. I figured a true handler response to a push from the other end would be more "dynamic" though. doug From doug at webcrossing.com Sat Jan 3 01:02:04 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 15:02:04 +0900 Subject: A message for data waiting at a socket? In-Reply-To: <47298DEC-3DB1-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: On 1/3/04 2:54 PM, "Dar Scott" wrote: > > On Friday, January 2, 2004, at 10:45 PM, Doug Lerner wrote: > >>> Uh, what OS are you using? >>> >> >> I am developing using Mac OS X, but this must end up being a >> cross-platform >> client. Why? > > I've been using Windows (2K class), OS X and some Mac OS. I think this > all works on all of those. I keep worrying that I missed something and > I'm steering you wrong. > Are you part of the Revolution team, Dar? Anyway, most of the people who will use this will be OS X and WIndows users, though there might be some Linux and OS 9 users who will want to make use of it. More Linux than OS 9 I would venture. doug From scott at tactilemedia.com Sat Jan 3 01:05:57 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 02 Jan 2004 22:05:57 -0800 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: On 1/2/04 9:37 PM, "Dar Scott" wrote: >> In >> addition to the multiple graphic formats that we can employ, users will >> rarely have the opportunity to directly compare the appearance of a Mac >> stack with a Windows stack. > > But his problem is a gif next to a png. In case you missed it, I was responding to Chipp's statement about the appearance of his images: > Don't know about if it's possible to change the gamma for the PNG. Even > if it were possible, it would probably end up creating even more > 'washed out' images on Macs or 'too dark' images on PC. As far as placing an animated GIF next to a PNG goes, Chipp himself provided one solution. Another solution I alluded to would be to employ an image format other than PNG. Or the reverse: use a series of PNGs displayed by script to replace the animated GIF. Another solution could be to build the GIF differently, eliminating as much unnecessary background as possible, so that only the animated portion of the GIF was visible against the PNG background. Of course, these solutions depend on the specific problem -- so far I've rarely seen as problem like this that couldn't be solved with a little ingenuity in building the image. I'm sure Chipp can manage these being the graphics guy he is. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kee at kagi.com Sat Jan 3 01:07:09 2004 From: kee at kagi.com (kee nethery) Date: Fri, 2 Jan 2004 22:07:09 -0800 Subject: [OT/ANN] Now I'm a father In-Reply-To: References: Message-ID: <10902C32-3DB3-11D8-B77D-000A959B2940@kagi.com> I'd like to recommend a book Baby Signs we picked a handful of signs and used them with the words when we communicated with our baby. At three months he could sign for more, and drink, and shower and best of all, he could tell us that he wanted his diaper changed. Half of the signs he got from us, half we got from him. He no longer uses the signs because his vocabulary is so extensive. I know the signing reduced his frustration levels by giving him a framework for communication. Highly recommended. The other advise I have is get a field notebook that will last for decades and keep notes in it about your kid. Think of it as the official log book. My wife just remembers stuff but I need it documented. When we go to the doctor I can refer to my notes in the book and answer questions. Figure when he's off to college he'll be able to refer to it when his doctor asks him "did you have ...?" or "when was the last time you got a shot for ...?" Have fun! Kee Nethery On Jan 2, 2004, at 9:32 PM, Dan Friedman wrote: > Malte, > > When my son was born, my father-in-law said It best... > > "The new boss is in town!" :) > > > Congratulations on the addition to the Brill family! > > -Dan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Sat Jan 3 01:17:16 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 2 Jan 2004 23:17:16 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: <7A3806AF-3DB4-11D8-8C39-000A9567A3E6@swcp.com> On Friday, January 2, 2004, at 11:05 PM, Scott Rossi wrote: >> But his problem is a gif next to a png. > > > In case you missed it, I was responding to Chipp's statement about the > appearance of his images: > >> Don't know about if it's possible to change the gamma for the PNG. >> Even >> if it were possible, it would probably end up creating even more >> 'washed out' images on Macs or 'too dark' images on PC. Yikes! I missed it. Dar From RGould8 at aol.com Sat Jan 3 02:22:33 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Sat, 3 Jan 2004 02:22:33 EST Subject: Way to add bookmarks to Safari w/ Rev? Message-ID: <134.29b72720.2d27c7b9@aol.com> Anyone know if there's a way I can add bookmarks to Safari with Revolution. (I've been asked to do this by an ISP) Preferably, I'd like to be able to do this without launching Safari, which means I'd need to know where and how Safari stores it's bookmark data. From chipp at chipp.com Sat Jan 3 02:38:09 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 3 Jan 2004 01:38:09 -0600 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: Thanks Scott and Dar, Update: I've been building an app for both Mac and PC which runs inside the RR IDE and hope to preview it at the RR conference in SF next week. It is resizable and uses a white 'hilite PNG' to create a sheen over a background texture. The titlebar is custom (I'm using Scott's latest 'on mouseMove handlers' - thanks;-) and it has a blue blinking round lite to indicate online updates. I tried a cleaner cut for the GIF, but it still wasn't 'perfect', so one solution was to make it a square instead of a circle, so the mask is perfect and crisp, but I really liked the ball. So, even though the card bg pattern and the hilite img were PNG's, I decided to change the titlebar to a JPG pattern. Of course, the colors are different from Mac to PC, but the GIF matches perfectly on both. BTW, Scott, yep -- I turned off all of the color compensation stuff in Photoshop on the Mac and PC. And changed the Mac gamma via the Display control panel to be a bit darker and reflect the PC gamma...though it's still significantly lighter. You'd think Apple would get that right as so many websites are designed around the PC gamma. Perhaps I just don't have it right. Dar, perhaps you can tell me what the internal gamma setting is for a Pshop PC generated PNG vs a PShop Mac generated PNG...my guess it they are the same, as I couldn't get a PNG and trans GIF to ever work correctly on my Mac unless setting the gamma to the PC value. -Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Scott Rossi > Sent: Saturday, January 03, 2004 12:06 AM > To: How to use Revolution > Subject: Re: Interfaces: PC and MAC and the screenGamma property... > > > On 1/2/04 9:37 PM, "Dar Scott" wrote: > > >> In > >> addition to the multiple graphic formats that we can employ, users will > >> rarely have the opportunity to directly compare the appearance of a Mac > >> stack with a Windows stack. > > > > But his problem is a gif next to a png. > > > In case you missed it, I was responding to Chipp's statement about the > appearance of his images: > > > Don't know about if it's possible to change the gamma for the PNG. Even > > if it were possible, it would probably end up creating even more > > 'washed out' images on Macs or 'too dark' images on PC. > > As far as placing an animated GIF next to a PNG goes, Chipp > himself provided > one solution. Another solution I alluded to would be to employ an image > format other than PNG. Or the reverse: use a series of PNGs displayed by > script to replace the animated GIF. Another solution could be to > build the > GIF differently, eliminating as much unnecessary background as > possible, so > that only the animated portion of the GIF was visible against the PNG > background. Of course, these solutions depend on the specific > problem -- so > far I've rarely seen as problem like this that couldn't be solved with a > little ingenuity in building the image. I'm sure Chipp can manage these > being the graphics guy he is. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Sat Jan 3 02:38:09 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 3 Jan 2004 01:38:09 -0600 Subject: how to open 'non-mac' stacks from within Rev on a Mac In-Reply-To: <003d01c3d1b5$30c812d0$6901a8c0@LightningFlash> Message-ID: Thanks to all for your help. Ken, your great *tip* I'll most use. Thanks!!! BTW, what happened to the Delete key on the Mac i-Book? It's named Delete, but only backspaces :-( But I do admit... iDisk rocks. I can open and save my .rev files from either PC or Mac. iDisk acts just like a volume on both platforms -- but it is a bit costly. -Chipp > -----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, January 02, 2004 10:51 PM > To: 'How to use Revolution' > Subject: RE: how to open 'non-mac' stacks from within Rev on a Mac > > > > I've been saving from my PC to a Windows Share, then opening > > it on the Mac, but the Mac doesn't want to let me open it. > > So, I have to drag/drop it on the Rev icon and it opens. I > > can then save and everything's fine. On the PC, in the > > open/save dialog, there's a dropdown menu which allows you to > > open 'All Files.' Does such a thing exist on the Mac? Also, > > frequently I leave off the .rev extension for a stack, do I > > just have to drag/drop these stacks on top of the Rev App > > icon to launch them, or is there an easier way? > > Chipp, you can hold down the option key when you pick "Open" from the > File menu in Rev, and the answer file dialog that displays allows you to > select any file. I've used this on many occasions for just the reasons > you mentioned. > > HTH, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From lists at mangomultimedia.com Sat Jan 3 02:41:07 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 3 Jan 2004 00:41:07 -0700 Subject: how to open 'non-mac' stacks from within Rev on a Mac In-Reply-To: References: Message-ID: <315B0ACA-3DC0-11D8-97E0-000A956C462A@mangomultimedia.com> On Jan 3, 2004, at 12:38 AM, Chipp Walters wrote: > > BTW, what happened to the Delete key on the Mac i-Book? It's named > Delete, > but only backspaces :-( Try hold down the 'fn' key and hit Delete and it should act as you expect it to. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dsc at swcp.com Sat Jan 3 02:49:19 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 00:49:19 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: <5628C56A-3DC1-11D8-8C39-000A9567A3E6@swcp.com> On Saturday, January 3, 2004, at 12:38 AM, Chipp Walters wrote: > Dar, perhaps you can tell me what the internal gamma setting is for a > Pshop > PC generated PNG vs a PShop Mac generated PNG...my guess it they are > the > same, as I couldn't get a PNG and trans GIF to ever work correctly on > my Mac > unless setting the gamma to the PC value. I don't think they are the same. Send me your grey box via email. I'll make one on the mac. I'll look at the files and not the export. I will make a tiny PNG gamma thingy and mention it here. Dar Scott From alex at mindlube.com Sat Jan 3 02:49:26 2004 From: alex at mindlube.com (Alex Rice) Date: Sat, 3 Jan 2004 00:49:26 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: References: Message-ID: <5A739778-3DC1-11D8-855A-000393C4760A@mindlube.com> On Jan 2, 2004, at 10:21 PM, Scott Rossi wrote: > The following article provides one explanation as to what is going with > PNGs. If the author's statements are valid, then apparently the > problem > with PNG display is universal. > > http://www.hut.fi/u/hsivonen/png-gamma.html > > Still, this shouldn't really pose any problem for Rev developers. That hsivonen article is good, and makes me wonder some things about Rev: 1) What exactly does setting the screenGamma property do? Does it cause a "correction"? Is Rev making the problem worse by even offering the screenGamma capability? That question occurs to me only because of this passage: from the hsivonen article: "Writing bogus gamma information to files and then doing gamma ?correction? using different bogus gamma information is not solving the problem?only perturbing it further." 2) As a Rev developer, what's the best approach of those mentioned in the hsivonen article- "Opting out" or "Making the Color Spaces Match"? I guess experimentation is the only way to arrive at a method that's good for you. Here is my demo stack open stack URL "http://mindlube.com/download/files/runrev/gammatest.rev" I created an image in Graphic Converer (Mac) and saved it as GIF, GMP, PNG with-Gamma-value and PNG-without-Gamma-value. The PNG without Gamma value is the "Opting out" method mentioned above. The results are kind of unexpected, but seem to offer a good solution: Rev on Mac AND Windows- if I set the screenGamma to 2.2, then the BMP, GIF and PNG-without-Gamma all are the same color! The PNG-with-Gamma-value is the oddball, and that was expected in the "Opting out" approach. With screenGamma of 1.7, then strangely the GIF and the PNG-with-gamma-value are the same color, and the BMP and PNG-without-gamma-value are another color. So save your PNGs without Gamma values, and set the screenGamma to 2.2, and you are good to go on Mac and Win. This is interesting for me because I'm brainstorming up some games and will probably use JPG, GIF and PNGs all mixed together. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Sat Jan 3 02:58:37 2004 From: alex at mindlube.com (Alex Rice) Date: Sat, 3 Jan 2004 00:58:37 -0700 Subject: Way to add bookmarks to Safari w/ Rev? In-Reply-To: <134.29b72720.2d27c7b9@aol.com> References: <134.29b72720.2d27c7b9@aol.com> Message-ID: On Jan 3, 2004, at 12:22 AM, RGould8 at aol.com wrote: > Anyone know if there's a way I can add bookmarks to Safari with > Revolution. > (I've been asked to do this by an ISP) Preferably, I'd like to be > able to do > this without launching Safari, which means I'd need to know where and > how > Safari stores it's bookmark data. There is an XML file you can edit: /Users/fred/Library/Safari/Bookmarks.plist I just added a bookmark by copy pasting a URIDictionary key with a text editor and Safari noticed the new bookmark without even needing a restart! Older versions of Safari used Bookmarks.xml, but the format was probably the same: "plist" aka Apple XML Property List. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Sat Jan 3 03:01:25 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 01:01:25 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <5A739778-3DC1-11D8-855A-000393C4760A@mindlube.com> Message-ID: <074045F3-3DC3-11D8-8C39-000A9567A3E6@swcp.com> On Saturday, January 3, 2004, at 12:49 AM, Alex Rice wrote: > With screenGamma of 1.7, then strangely the GIF and the > PNG-with-gamma-value are the same color, and the BMP and > PNG-without-gamma-value are another color. I'm not sure where the strangely applies. The first two make sense to me. The BMP might be assuming a 2.2 gamma. The last seems strange to me. Dar From alex at mindlube.com Sat Jan 3 03:02:17 2004 From: alex at mindlube.com (Alex Rice) Date: Sat, 3 Jan 2004 01:02:17 -0700 Subject: how to open 'non-mac' stacks from within Rev on a Mac In-Reply-To: References: Message-ID: <262E3BAC-3DC3-11D8-855A-000393C4760A@mindlube.com> On Jan 2, 2004, at 10:28 PM, Dar Scott wrote: > Arg! I just needed this! I need to spend Saturday mornings reading > the shortcuts. Same here. That's a new one on me too! Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Sat Jan 3 03:10:22 2004 From: alex at mindlube.com (Alex Rice) Date: Sat, 3 Jan 2004 01:10:22 -0700 Subject: spontaneously resizing fields In-Reply-To: References: <20040102222034.DF1E493005A@mail.runrev.com> Message-ID: <477CE6A4-3DC4-11D8-855A-000393C4760A@mindlube.com> On Jan 2, 2004, at 6:39 PM, Wouter wrote: > change the updateUI to : Wouter, the symptom - spontaneously resizing field- still exists for me using the changed updateUI handler: > on updateUI > if lFldLocked <> true then > if fld 1 is "" then disable fld 1 > else set the locktext of fld 1 to true > set the showFocusBorder of fld 1 to false > else > if not the enabled of fld 1 then enable fld 1 > set the locktext of fld 1 to false > set the showFocusBorder of fld 1 to true > select text of fld 1 > end if > end updateUI Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From shaosean at unitz.ca Sat Jan 3 03:17:13 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Sat, 03 Jan 2004 03:17:13 -0500 Subject: A message for data waiting at a socket? In-Reply-To: References: Message-ID: when your client connects to the server, have the server reconnect back to the client and let your client act as a server (if that makes sense ;- ) what dar was mentioning would work very similiar to what you want to do (at least as i understand it).. - write your data (blocking or non-blocking it doesn't matter) - read from the socket in non-blocking ie. read from socket sSocketPointer until CRLF with message "dataReceived" now whenever your server has data to be sent to the client, the message "dataReceived" will be triggered.. -Sean From doug at webcrossing.com Sat Jan 3 03:16:04 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 17:16:04 +0900 Subject: spontaneously resizing stacks In-Reply-To: <477CE6A4-3DC4-11D8-855A-000393C4760A@mindlube.com> Message-ID: On 1/3/04 5:10 PM, "Alex Rice" wrote: > Wouter, the symptom - spontaneously resizing field- still exists for me > using the changed updateUI handler: I am having spontaneously resizing stacks. I have a stack with one main card with a minimum height of 389. But when I open it by clicking a button on the main stack the substack opens with a height of 89. Any idea why and how to prevent it? Thanks, Doug Lerner, Tokyo From alex at mindlube.com Sat Jan 3 03:14:52 2004 From: alex at mindlube.com (Alex Rice) Date: Sat, 3 Jan 2004 01:14:52 -0700 Subject: LZW compression In-Reply-To: <20040103025800.62351.qmail@web40501.mail.yahoo.com> References: <20040103025800.62351.qmail@web40501.mail.yahoo.com> Message-ID: On Jan 2, 2004, at 7:58 PM, Alejandro Tejada wrote: > > Actually, Gzip is really the same FlateEncode that > PDF accepts too. So, maybe you could skip > the use of LZW. > > I'm sure that PDF understand JPEG compression too. > > There is another compression that Revolution > supports that could be used in pdf files. > Maybe is base64 encode, but I'm not completely sure. I thought the gzip compress() was Rev's only compression feature? re: base64Encode it converts the data to all ASCII suitable for MIME attachements. The size is much larger than the source data. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From chipp at chipp.com Sat Jan 3 03:39:05 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 3 Jan 2004 02:39:05 -0600 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <5A739778-3DC1-11D8-855A-000393C4760A@mindlube.com> Message-ID: Alex, > So save your PNGs without Gamma values, and set the screenGamma to 2.2, > and you are good to go on Mac and Win. How do you save w/out Gamma in Photoshop? On the PC? Also, while setting the screenGamma to 2.2 on the Mac does solve the color matching problem, it creates an even larger color perception difference between the two platforms. IMHO, not necessarily a good idea. Nice stack:-) Shows well the issues. Chipp From doug at webcrossing.com Sat Jan 3 03:49:43 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 17:49:43 +0900 Subject: close card vs close stack In-Reply-To: Message-ID: If there is only one card in a stack, does close card close the stack? If so, is there an advantage to doing one over the other? Thanks, Doug Lerner, Tokyo From jperryl at ecs.fullerton.edu Sat Jan 3 03:50:22 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 3 Jan 2004 00:50:22 -0800 (PST) Subject: [OT/ANN] Now I'm a father In-Reply-To: <10902C32-3DB3-11D8-B77D-000A959B2940@kagi.com> Message-ID: Funny, really, because I bought that book when my twins (now nearly three) were born and didn't much like it. What I DID do was teach them a bit of real sign language (ASL) and they DO still use it (as an example, my little girl was going into meltdown over something she wanted but didn't know how to vocalise the word -- book -- but did it with her hands... pretty cool...). Plus now she's acquiring another language (in addition to English and Spanish). Judy On Fri, 2 Jan 2004, kee nethery wrote: > I'd like to recommend a book > > Baby Signs > > we picked a handful of signs and used them with the words when we > communicated with our baby. At three months he could sign for more, and > drink, and shower and best of all, he could tell us that he wanted his > diaper changed. Half of the signs he got from us, half we got from him. > He no longer uses the signs because his vocabulary is so extensive. I > know the signing reduced his frustration levels by giving him a > framework for communication. > > Highly recommended. > > The other advise I have is get a field notebook that will last for > decades and keep notes in it about your kid. Think of it as the > official log book. My wife just remembers stuff but I need it > documented. When we go to the doctor I can refer to my notes in the > book and answer questions. Figure when he's off to college he'll be > able to refer to it when his doctor asks him "did you have ...?" or > "when was the last time you got a shot for ...?" > > Have fun! > > Kee Nethery > > > > On Jan 2, 2004, at 9:32 PM, Dan Friedman wrote: > > > Malte, > > > > When my son was born, my father-in-law said It best... > > > > "The new boss is in town!" :) > > > > > > Congratulations on the addition to the Brill family! > > > > -Dan > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From doug at webcrossing.com Sat Jan 3 03:52:21 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 17:52:21 +0900 Subject: button references? In-Reply-To: Message-ID: If I find myself referencing something like the following a lot: button "a" of card "mainCard" of stack "thisOtherStack" is there a shorter way of referencing this? By the by, when editing scripts sometimes the title bar reads something like Script Editor - card "mainCard" of stack "thisStack" of stack "thisStack" Why does it show the stack name twice? doug From wouter.abraham at pi.be Sat Jan 3 04:14:38 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 3 Jan 2004 10:14:38 +0100 Subject: spontaneously resizing fields Message-ID: <41916A76-3DCD-11D8-BDB7-003065CC999E@pi.be> > Re: spontaneously resizing fields > ? From: Alex Rice > ? Subject: Re: spontaneously resizing fields > ? Date: Sat, 03 Jan 2004 01:12:37 -0800 > > On Jan 2, 2004, at 6:39 PM, Wouter wrote: > > > change the updateUI to : > > Wouter, the symptom - spontaneously resizing field- still exists for > me using the changed updateUI handler: Strange, I tested it in Metacard and Revolution (to be sure) in a clean recipe stack as you suggested and here it is not resizing. However commands that double some action seems to trigger the growing. In your original code the following stops the growing on my rig: on updateUI if lFldLocked <> true then set the lockText of fld 1 to true set the showFocusBorder of fld 1 to false else set the lockText of fld 1 to false set the showFocusBorder of fld 1 to true select text of fld 1 end if /* #### if (lFldLocked <> true) and (fld 1 = empty) then disable fld 1 else enable fld 1 end if ####*/ end updateUI or on updateUI if lFldLocked <> true then set the lockText of fld 1 to true set the showFocusBorder of fld 1 to false else set the lockText of fld 1 to false set the showFocusBorder of fld 1 to true -- select text of fld 1 #### end if if (lFldLocked <> true) and (fld 1 = empty) then disable fld 1 else enable fld 1 end if end updateUI But the growing starts again when: on updateUI if lFldLocked <> true then set the lockText of fld 1 to true set the showFocusBorder of fld 1 to false select empty #### else set the lockText of fld 1 to false set the showFocusBorder of fld 1 to true select text of fld 1 end if /* if (lFldLocked <> true) and (fld 1 = empty) then disable fld 1 else enable fld 1 end if */ end updateUI But stops again when: on updateUI if lFldLocked <> true then set the lockText of fld 1 to true ### set the showFocusBorder of fld 1 to false select empty #### else set the lockText of fld 1 to false set the showFocusBorder of fld 1 to true select text of fld 1 end if /* if (lFldLocked <> true) and (fld 1 = empty) then disable fld 1 else enable fld 1 end if */ end updateUI > Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | > Sorry it didn't help you. Greetings, WA From alex at mindlube.com Sat Jan 3 04:58:50 2004 From: alex at mindlube.com (Alex Rice) Date: Sat, 3 Jan 2004 02:58:50 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: References: Message-ID: <6E25E6D8-3DD3-11D8-855A-000393C4760A@mindlube.com> On Jan 3, 2004, at 1:39 AM, Chipp Walters wrote: > > How do you save w/out Gamma in Photoshop? On the PC? Hmmm... I can't find it. ImageReady has Image menu | Adjustments | Gamma but I don't see an option for turning on or off Gamma values in the saved PNG. BTW Photoshop docs say use Gamma of 2.2 for Windows and 1.8 for Mac. > Also, while setting the screenGamma to 2.2 on the Mac does solve the > color > matching problem, it creates an even larger color perception difference > between the two platforms. IMHO, not necessarily a good idea. Donnow. I still have a mental block about what exactly the screenGamma property is actually doing :-) > Nice stack:-) Shows well the issues. Thanks Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From doug at webcrossing.com Sat Jan 3 05:19:33 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 19:19:33 +0900 Subject: Can't see my substack anymore...? In-Reply-To: Message-ID: put the openStacks shows that the stack is open. The stack inspector says the size is a reasonable size. The visible flag is fine. But I can't see my stack anywhere. Any ideas as to how I can find it?! Thanks, doug p.s. If I click on the "metallic" checkbox Revolution quits with an error. From ops at myesa.com Sat Jan 3 05:25:16 2004 From: ops at myesa.com (Ops) Date: Sat, 3 Jan 2004 04:25:16 -0600 Subject: Custom answer file dialogs? Message-ID: <003701c3d1e3$e1fc5e20$f5ffa8c0@cox.net> Has anybody written, or does anybody know if any alternate "answer file" dialogs exist that look and feel like windows explorer? I guess I'm specifically interested in the "treeview" of the directory structure in windows explorer and am wondering if someone has duplicated that model for an "answer file" dialog. From mcdomi at free.fr Sat Jan 3 05:25:31 2004 From: mcdomi at free.fr (Dom) Date: Sat, 3 Jan 2004 11:25:31 +0100 Subject: how to open 'non-mac' stacks from within Rev on a Mac In-Reply-To: <262E3BAC-3DC3-11D8-855A-000393C4760A@mindlube.com> Message-ID: <1g6zg2r.1hdsc21c5gk74M%mcdomi@free.fr> Alex Rice wrote: > That's a new one on me too! Count me, too ;-) I had been a number of times placed before "grayed" stacks in the open file selector ;-> Perhaps, one has to study the RR doc one year along, before being allowed to write one script line ;-))) -- Et censeo papier documenta are needed... From wouter.abraham at pi.be Sat Jan 3 05:37:51 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 3 Jan 2004 11:37:51 +0100 Subject: spontaneously resizing fields In-Reply-To: <20040103102322.280CC9300C1@mail.runrev.com> References: <20040103102322.280CC9300C1@mail.runrev.com> Message-ID: On 03 Jan 2004, at 11:23, use-revolution-request at lists.runrev.com wrote: > Message: 1 > Date: Sat, 3 Jan 2004 01:10:22 -0700 > From: Alex Rice > Subject: Re: spontaneously resizing fields > To: How to use Revolution > Message-ID: <477CE6A4-3DC4-11D8-855A-000393C4760A at mindlube.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On Jan 2, 2004, at 6:39 PM, Wouter wrote: > >> change the updateUI to : > > Wouter, the symptom - spontaneously resizing field- still exists for me > using the changed updateUI handler: > And this one using the traversalOn property instead of the showFocusBorder? Works for me ( both rev and mc) with the select empty : on updateUI if lFldLocked <> true then if fld 1 = empty then disable fld 1 else set the lockText of fld 1 to true set the traversalon of fld 1 to false select empty end if else if not the enabled of fld 1then enable fld 1 set the traversalon of fld 1 to true set the lockText of fld 1 to false select text of fld 1 end if end updateUI If it doesn't work for you, may you have another handler somewhere acting on open/closing fields or something like that. Greetings, WA From chipp at chipp.com Sat Jan 3 05:47:37 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 3 Jan 2004 04:47:37 -0600 Subject: Can't see my substack anymore...? In-Reply-To: Message-ID: did you check the loc of the stack? Perhaps it's offscreen. > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Doug Lerner > Sent: Saturday, January 03, 2004 4:20 AM > To: How to use Revolution > Subject: Can't see my substack anymore...? > > > put the openStacks shows that the stack is open. > > The stack inspector says the size is a reasonable size. > > The visible flag is fine. > > But I can't see my stack anywhere. > > Any ideas as to how I can find it?! > > Thanks, > > doug > > p.s. If I click on the "metallic" checkbox Revolution quits with an error. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Sat Jan 3 05:56:53 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Jan 2004 02:56:53 -0800 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <6E25E6D8-3DD3-11D8-855A-000393C4760A@mindlube.com> Message-ID: Alex Rice wrote: > BTW Photoshop docs say use Gamma of 2.2 for Windows and 1.8 for Mac. Which raises the obvious question: When will Apple play nice and adopt the predominant standard? I hear they're finally considering a two-button mouse; is a universal gamma setting so unthinkable? -- 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 ambassador at fourthworld.com Sat Jan 3 06:01:36 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Jan 2004 03:01:36 -0800 Subject: how to open 'non-mac' stacks from within Rev on a Mac In-Reply-To: Message-ID: Dar Scott wrote: > On Friday, January 2, 2004, at 09:50 PM, Ken Ray wrote: > >> Chipp, you can hold down the option key when you pick "Open" from the >> File menu in Rev, and the answer file dialog that displays allows you >> to >> select any file. I've used this on many occasions for just the reasons >> you mentioned. > > Arg! I just needed this! I need to spend Saturday mornings reading > the shortcuts. People use file selection dialogs? ;) They're cumbersome of all platfoms, and OS X's are so abysmally slow that I nearly always double-click, or drag onto the Dock icon. To get around dependency of file selection dialogs I've been adding drag-and-drop to my apps as an option for assigning files; I just added it to my GZipper (in RevNet) this evening (a currently undocumented feature: just drop files onto the GZip and GUnzip buttons). -- 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 klaus at major-k.de Sat Jan 3 06:18:01 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 3 Jan 2004 12:18:01 +0100 Subject: button references? In-Reply-To: References: Message-ID: <7DCF2854-3DDE-11D8-BA6D-000A27B49A96@major-k.de> Konichi-wa Doug-san, > If I find myself referencing something like the following a lot: > button "a" of card "mainCard" of stack "thisOtherStack" > is there a shorter way of referencing this? I am not sure, but i don't think so... > By the by, when editing scripts sometimes the title bar reads > something like > Script Editor - card "mainCard" of stack "thisStack" of stack > "thisStack" > Why does it show the stack name twice? This shows that "thisStack" is the mainstack (of stack "thisStack")! So you can always see what stack you are working on: mainstack or substack. > doug Sayonara... Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Sat Jan 3 06:19:30 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 3 Jan 2004 12:19:30 +0100 Subject: tabs in panther and RR 2.1.2 look like tabs in jaguar In-Reply-To: References: <3FAFBA34.40503@hrz.uni-kassel.de> Message-ID: Hi Valetia, > Is this going to be fixed? Yes :-) In the next version... > Valetia > On 11/11/2003, at 2:35 AM, Klaus Major wrote: > >> The tabbed-buttons RR 2.1.2 under OS X 10.3 look like the tabs in OS >> X 10.2.X. >> (Which were a bit different...) >> They looked correct in 10.3 with RR 2.1.1. Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Sat Jan 3 06:19:46 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 3 Jan 2004 12:19:46 +0100 Subject: close card vs close stack In-Reply-To: References: Message-ID: Konichi-wa Doug-san :-) > If there is only one card in a stack, does close card close the stack? > If so, is there an advantage to doing one over the other? You cannot script: "close this card", just: "close this stack" "closecard" is the message send to the current card, when it is being left and/or the stack closes... Hope that helps... > Thanks, > > Doug Lerner, Tokyo Regards Klaus Major klaus at major-k.de www.major-k.de From ambassador at fourthworld.com Sat Jan 3 06:45:20 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Jan 2004 03:45:20 -0800 Subject: button references? In-Reply-To: <7DCF2854-3DDE-11D8-BA6D-000A27B49A96@major-k.de> Message-ID: > If I find myself referencing something like the following a lot: > button "a" of card "mainCard" of stack "thisOtherStack" > is there a shorter way of referencing this? If the object is in another stack from the current default stack (the one that has focus) then yes. But if you have a lot of such references to write you can set the defaultStack and use shorter descriptors: put the defaultStack into tSaveStack set the defaultStack to "MyStackName" set the label of btn 1 to "Steve" set the label of btn 2 to "Bob" -- etc. set the defaultStack to tSaveStack -- 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 doug at webcrossing.com Sat Jan 3 07:11:58 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 21:11:58 +0900 Subject: Can't see my substack anymore...? In-Reply-To: Message-ID: The location parameters seems to have gotten set from very small to very large. I used the message box to set the rectangle of the stack manually to something reasonable and it reappeared. But: (1) Why would that happen, I wonder? (2) The stack settings looked all greyed out, so I had to do this by issuing a rectangle command. Is that normal? Thanks, doug On 1/3/04 7:47 PM, "Chipp Walters" wrote: > did you check the loc of the stack? Perhaps it's offscreen. > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Doug Lerner >> Sent: Saturday, January 03, 2004 4:20 AM >> To: How to use Revolution >> Subject: Can't see my substack anymore...? >> >> >> put the openStacks shows that the stack is open. >> >> The stack inspector says the size is a reasonable size. >> >> The visible flag is fine. >> >> But I can't see my stack anywhere. >> >> Any ideas as to how I can find it?! >> >> Thanks, >> >> doug >> >> p.s. If I click on the "metallic" checkbox Revolution quits with an error. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Sat Jan 3 07:13:09 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 21:13:09 +0900 Subject: button references? In-Reply-To: <7DCF2854-3DDE-11D8-BA6D-000A27B49A96@major-k.de> Message-ID: On 1/3/04 8:18 PM, "Klaus Major" wrote: >> By the by, when editing scripts sometimes the title bar reads >> something like >> Script Editor - card "mainCard" of stack "thisStack" of stack >> "thisStack" >> Why does it show the stack name twice? > > This shows that "thisStack" is the mainstack (of stack "thisStack")! > > So you can always see what stack you are working on: mainstack or > substack. > Konbanha: But why does it show of stack "thisStack" of stack "thisStack"? Why twice? doug From doug at webcrossing.com Sat Jan 3 07:15:32 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 21:15:32 +0900 Subject: button references? In-Reply-To: Message-ID: So, changing the default stack is really the only way? Thanks, doug On 1/3/04 8:45 PM, "Richard Gaskin" wrote: >> If I find myself referencing something like the following a lot: >> button "a" of card "mainCard" of stack "thisOtherStack" >> is there a shorter way of referencing this? > > If the object is in another stack from the current default stack (the one > that has focus) then yes. But if you have a lot of such references to write > you can set the defaultStack and use shorter descriptors: > > put the defaultStack into tSaveStack > set the defaultStack to "MyStackName" > set the label of btn 1 to "Steve" > set the label of btn 2 to "Bob" > -- etc. > set the defaultStack to tSaveStack > > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Sat Jan 3 07:52:41 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Jan 2004 04:52:41 -0800 Subject: button references? In-Reply-To: Message-ID: Doug Lerner wrote: > On 1/3/04 8:45 PM, "Richard Gaskin" wrote: > >>> If I find myself referencing something like the following a lot: >>> button "a" of card "mainCard" of stack "thisOtherStack" >>> is there a shorter way of referencing this? >> >> If the object is in another stack from the current default stack (the one >> that has focus) then yes. But if you have a lot of such references to write >> you can set the defaultStack and use shorter descriptors: >> >> put the defaultStack into tSaveStack >> set the defaultStack to "MyStackName" >> set the label of btn 1 to "Steve" >> set the label of btn 2 to "Bob" >> -- etc. >> set the defaultStack to tSaveStack > > So, changing the default stack is really the only way? Depends on where the script is, and where the objects that you're referencing are. If they're in another stack from the one that currently has focus, if you don't specify the stack how will Rev know where to look for them? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From DVGlasgow at aol.com Sat Jan 3 08:29:05 2004 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Sat, 3 Jan 2004 08:29:05 EST Subject: XP GIF display oddities Message-ID: <183.2471c27e.2d281da1@aol.com> In a message dated 31/12/03 8:49:06 PM, Jacqueline Landman Gay writes: >The usual reasons for inconsistent graphics displays are either that the > >monitor is set to display too few colors, or the graphics card driver is > >out of date. Installing the latest driver for the card is usually >recommended. Thanks, Jacquline, In an update, the customer tells me that the standard pointy finger icon appears on a black background. I seem to remember this being discussed ages ago on the list, but I can't find it. Anyone help? The Hogmanay reference was a bit early, but I didn't think I would post again until it was over. And of course, Revolution *must* be 'Hogmanay' or maybe with a nod to the French contingent, 'hoguinane'. Best wishes, David Glasgow Forensic Psychology Software and Services i-Psych From doug at webcrossing.com Sat Jan 3 08:41:44 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 22:41:44 +0900 Subject: A message for data waiting at a socket? In-Reply-To: <6C476410-3DAD-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: On 1/3/04 2:26 PM, "Dar Scott" wrote: > > On Friday, January 2, 2004, at 10:00 PM, Doug Lerner wrote: > >> Neither one seems to have anything to do with the push of data from the >> other side, does it? I mean, in both cases you still have to invoke the >> "read from socket" command again somehow, like I am already doing, >> wouldn't >> you? > > Do the next read in the message handler unless the socket was closed. > > The message handler will then be called each time some data is > available. For small messages, this is usually at the push. > > Dar Scott > Hmmm... The following *does* seem to cause some sort of cpu-eating loop that is hard to get out of: on readMySocket . . . if mySocket is among the lines of the openSockets then read from socket mySocket until CRL with message "readMySocket" end if end readMySocket Is that what you meant? doug From doug at webcrossing.com Sat Jan 3 09:27:30 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 03 Jan 2004 23:27:30 +0900 Subject: A message for data waiting at a socket? In-Reply-To: <031F0531-3DA2-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: Never mind my last message - I did get it to "push" according to your suggestion. Thanks! doug On 1/3/04 1:05 PM, "Dar Scott" wrote: > > On Friday, January 2, 2004, at 08:40 PM, Doug Lerner wrote: > >> Wouldn't that just signal a message when reading data from the socket >> is >> complete? > > Yes, but this one is complete when the buffer is non empty: > > read from socket theSocket with message socketData > > Does that sound like what you want? > > (This may not correspond to a push from the other side, but it often > will.) > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From wouter.abraham at pi.be Sat Jan 3 10:32:04 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 3 Jan 2004 16:32:04 +0100 Subject: button references? In-Reply-To: <20040103102322.280CC9300C1@mail.runrev.com> References: <20040103102322.280CC9300C1@mail.runrev.com> Message-ID: On 03 Jan 2004, at 11:23, use-revolution-request at lists.runrev.com wrote: > Message: 8 > Date: Sat, 03 Jan 2004 17:52:21 +0900 > From: Doug Lerner > Subject: button references? > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > If I find myself referencing something like the following a lot: > > button "a" of card "mainCard" of stack "thisOtherStack" > > is there a shorter way of referencing this? Yes there is. May be this way is a horror to others, but I like it :^) Try this: make 2 new stacks called for example "me" and "you" in stack "you" put 1 fld with some text in it in stack "me" put 1 btn with the following text constant ca = "fld 1 of stack you" -- (just for the example, you can load a local or just a var) on mouseup put the text of ca && the rect of ca end mouseup > > doug Greetings, WA From ludovic.thebault at laposte.net Sat Jan 3 10:42:20 2004 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sat, 3 Jan 2004 16:42:20 +0100 Subject: load, url and repeat Message-ID: <20040103164220098823.GyazMail.ludovic.thebault@laposte.net> Hello and happy new year ! How use the url command in a loop ? I want to get a lot of web page which an url like this : http://domain.com/page.php?ID=88 I just need to change the number of ID to get all pages. But it's seem that the loop is too fast to get the info, even with a "load" command. I try with this script : on mouseup repeat with n=1 to 810 put "http://domain.com/page.php?ID="&n into turl load url turl put n&&the urlstatus of turl&cr after msg if the urlstatus of turl = "cached" then downloadcomplete end repeat end mouseup on downloadcomplete -- do my stuff unload url turl end downloadcomplete How do my stuff after the url is really cached ? Thanks From klaus at major-k.de Sat Jan 3 10:43:25 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 3 Jan 2004 16:43:25 +0100 Subject: button references? In-Reply-To: References: Message-ID: <91431D09-3E03-11D8-BA6D-000A27B49A96@major-k.de> Kobanha Doug-san :-) > On 1/3/04 8:18 PM, "Klaus Major" wrote: > >>> By the by, when editing scripts sometimes the title bar reads >>> something like >>> Script Editor - card "mainCard" of stack "thisStack" of stack >>> "thisStack" >>> Why does it show the stack name twice? >> This shows that "thisStack" is the mainstack (of stack "thisStack")! >> So you can always see what stack you are working on: mainstack or >> substack. > Konbanha: > But why does it show of stack "thisStack" of stack "thisStack"? > > Why twice? Well, twice is better than once :-D No, just kidding... I think it is because the scotsmen simply scripted: ... set the title of stack "Script Editor" to yaddayadda && the name of \ the defaultstack && the name of the mainstack of the defaultstack ##! ... Or something like this... This could cause the name of a mainstack to be displayed twice! (But there might be another, more important and metaphysical reason ;-) Hope that helps... > doug Regards Klaus Major klaus at major-k.de www.major-k.de From wouter.abraham at pi.be Sat Jan 3 10:45:28 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 3 Jan 2004 16:45:28 +0100 Subject: button references? In-Reply-To: <20040103102322.280CC9300C1@mail.runrev.com> References: <20040103102322.280CC9300C1@mail.runrev.com> Message-ID: > On 03 Jan 2004, at 11:23, use-revolution-request at lists.runrev.com > wrote: > >> Message: 8 >> Date: Sat, 03 Jan 2004 17:52:21 +0900 >> From: Doug Lerner >> Subject: button references? >> To: How to use Revolution >> Message-ID: >> Content-Type: text/plain; charset="US-ASCII" >> >> If I find myself referencing something like the following a lot: >> >> button "a" of card "mainCard" of stack "thisOtherStack" >> >> is there a shorter way of referencing this? > > Yes there is. May be this way is a horror to others, but I like it :^) > > Try this: > make 2 new stacks called for example "me" and "you" Damn, I hit the send button before rereading and adjusting the text, sorry So here is the adjustment: > > in stack "you" put 1 fld with some text in it and 1 btn > > in stack "me" put 1 btn with the following text > > --constant ca = "fld 1 of stack you" -- (just for the example, you > can load a local or just a var) constant ca = "fld 1 of stack you",cb = "btn 1 of stack you" > > on mouseup > put the text of ca && the rect of ca set the label of cb to the text of ca > end mouseup > >> >> doug Greetings, WA From dsc at swcp.com Sat Jan 3 11:24:47 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 09:24:47 -0700 Subject: A message for data waiting at a socket? In-Reply-To: Message-ID: <58FA491C-3E09-11D8-B7DE-000A9567A3E6@swcp.com> On Friday, January 2, 2004, at 11:02 PM, Doug Lerner wrote: > Are you part of the Revolution team, Dar? No. (That would be an honor.) But I am a TCP/IP and serial advocate among users. > Anyway, most of the people who will use this will be OS X and WIndows > users, > though there might be some Linux and OS 9 users who will want to make > use of > it. More Linux than OS 9 I would venture. I would be pleased to hear how this works out. Dar From dsc at swcp.com Sat Jan 3 11:39:37 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 09:39:37 -0700 Subject: how to open 'non-mac' stacks from within Rev on a Mac In-Reply-To: <1g6zg2r.1hdsc21c5gk74M%mcdomi@free.fr> Message-ID: <6B5DFD82-3E0B-11D8-B7DE-000A9567A3E6@swcp.com> On Saturday, January 3, 2004, at 03:25 AM, Dom wrote: > Perhaps, one has to study the RR doc one year along, before being > allowed to write one script line ;-))) Yes. I've been telling myself that. And I should go through all the tutorials, too. Dar From dsc at swcp.com Sat Jan 3 11:53:07 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 09:53:07 -0700 Subject: A message for data waiting at a socket? In-Reply-To: Message-ID: <4DF2CF19-3E0D-11D8-B7DE-000A9567A3E6@swcp.com> On Saturday, January 3, 2004, at 07:27 AM, Doug Lerner wrote: > Never mind my last message - I did get it to "push" according to your > suggestion. But I don't see how that would go into high-CPU consumption. I usually don't use "until ", though I have no argument against it. Maybe that changes the behavior. I filter for messages at the receive handler. I do get a high-CPU consumption state when the sender keeps sending gobs of data. In a GUI app, this is hard to get out of since pending messages normally have higher priority over event messages. I choke this two ways. One is to put a delay between the read handler and the next read. The other is to detect the situation and shut down the connection. (I use other methods for accept.) Revolution does "push" at the end of a write, but there might not be a way to insist on that kind of thing in other applications. I'm curious about the high-CPU consumption. If there are cases in which it can occur, I'd like to know about them. Dar Scott From dsc at swcp.com Sat Jan 3 12:02:30 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 10:02:30 -0700 Subject: load, url and repeat In-Reply-To: <20040103164220098823.GyazMail.ludovic.thebault@laposte.net> Message-ID: <9DDDC0F6-3E0E-11D8-B7DE-000A9567A3E6@swcp.com> On Saturday, January 3, 2004, at 08:42 AM, Ludovic Th?bault wrote: > on mouseup > repeat with n=1 to 810 > put "http://domain.com/page.php?ID="&n into turl > load url turl wait 10 milliseconds with messages -- or some variation > put n&&the urlstatus of turl&cr after msg > if the urlstatus of turl = "cached" then downloadcomplete > end repeat > end mouseup Note: This will allow event messages, too. You might want to use a busy flag and ignore the mouseUp on this object if it is busy; you don't want to nest your "load url" attempts. It would be nice if there was a wait that only let through pending messages of some class or level or something. However, this is not the best way to do this. I'd use the 'with message' option to call downloadcomplete. It is sent to the target, or was the last I checked. If you do use this in a button, this is fine. Dar Scott From katir at hindu.org Sat Jan 3 13:00:48 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat, 3 Jan 2004 08:00:48 -1000 Subject: Photo Catalog-Re Ordering Photos with captions In-Reply-To: <003c01c3d1b4$b2729cc0$6901a8c0@LightningFlash> References: <003c01c3d1b4$b2729cc0$6901a8c0@LightningFlash> Message-ID: Well thank to the good soul who recently posted the link to "Usage-centered Design" I decided to "back away" from this a bit and abstract as many use tasks as I could for the whole job top to bottom. Now it is looking like a card based system will be best for over all needs. At least initially, it will be easy enough to allow the user to shuffle a card forth and back "set the number of this card to the number of this card +1" Then I think a preview widget with thumbnails that can be dragged and dropped which then invokes a handler to adjust the card numbers of the main entry stack... with HTML preview live and updated in a browser while you work... that's were I am today at least. Thinking outloud here: Card based as lots of advantages in this scenario for incorporating all the other "use-tasks" that are involved at caption time where focus is on a single caption: html mark up of the text, creating anchors, adding banners above and below etc. all tools that are now on floating pallettes in Supercard can move to a background group available on every card. Allows for incorporation of another scenario where incoming photos arrive by FTP from a distributed stack with the filename of the photo matching the file name of a small text file that hold the caption. Uploading a folder of such input into the card based stack will be a snap.... \ mmm. just go to get a previewer.... field with chars set to imagedata? Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On Jan 2, 2004, at 6:47 PM, Ken Ray wrote: >> But now, if I want to re-order the photos... what is the best >> strategy? >> Implement a drag and drop? let's say the photo and its >> caption which is >> 5th in the sequence left to right needs to move to position 2, I >> [snip] >> Any thoughts? > > Well, it looks like you hit them both on the head... an > intuitive/difficult approach, or a non-intuitive/easy approach... > > Personally, if you've got the time, I'd go for the intuitive/difficult > approach... apart from the fact that it would best serve your > customers, > you'd have a neet "image-reordering-widget" you could use on other > projects. :-) > > Just my 2 cents, From pixelbird at interisland.net Sat Jan 3 13:31:01 2004 From: pixelbird at interisland.net (Ken Norris) Date: Sat, 03 Jan 2004 10:31:01 -0800 Subject: [OT/ANN] Now I ?m a father" In-Reply-To: <20040103005215.86281930087@mail.runrev.com> Message-ID: *************************************** > Date: Fri, 2 Jan 2004 18:06:38 -0600 > From: "Ken Ray" > Subject: RE: [OT/ANN] Now I ?m a father" > >> just want to let you know that our son Linus Anton is born on >> 1/1/04 17.02 CET. > > Congratulations, Malte! ---------- Ditto, Malte!!! Came right afte "Yibbah!" too...go figure...(I for one had no idea you were "expecting"). P.S. I love the typo. Just like an excited dad!! All the best, Ken N. *************************************** From dsc at swcp.com Sat Jan 3 14:15:31 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 12:15:31 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: <32CCF465-3E21-11D8-B7DE-000A9567A3E6@swcp.com> On Saturday, January 3, 2004, at 12:38 AM, Chipp Walters wrote: > Dar, perhaps you can tell me what the internal gamma setting is for a > Pshop > PC generated PNG vs a PShop Mac generated PNG...my guess it they are > the > same, as I couldn't get a PNG and trans GIF to ever work correctly on > my Mac > unless setting the gamma to the PC value. Your guess turns out better than mine. The one you sent me has a gamma of 2.222222. The one I created with my Photoshop on OS X has a gamma of 2.200026, and it also has a primary chromaticities chunk that might override some of that. Maybe I don't have my photoshop set up right. Setting screenGamma to 2.2 still might not be a solution. I saved my test stack last night with your test PNG image on it, the one with PNG written in the corner. When I loaded it this morning I found the gamma in both the text property and the export showed 1.7. Based on what I saw yesterday and what I see with the test box you sent, this _was_ 2.2. Maybe, setting screenGamma to 2.2 is still OK because, I suspect the pixel data is still for 2.2. I set my test image to 80,80,80 (hex) grey in Photoshop. I don't know what values were actually stored in the PNG file. When I imported it into Revolution the pixels became 69,69,69 hex; well, they were 69 as soon as I could read them. Why I saw 86,86,86 (hex) on your png (the other one with the png label) beats me. I thought it was created as 50% grey, also. Oh, maybe those were 68s. Rats. Sorry. I made a rectangle with a 50% background and it looks a lot lighter. put (baseConvert("69",16,10)^(1/2.2))/(255^(1/2.2)) && (128^(1/1.7))/(255^(1/1.7)) ==> 0.668099 0.666689 I _think_ this means that x69 on 2.2 will look the same as x80 on 1.7. Maybe Rev is not converting the 69s to 80s as it should. Well, I don't know enough to say should. One experiment might be to fiddle with gamma on images and see if Rev respects those. The more I think on this, the less I know. Dar Scott From alex at mindlube.com Sat Jan 3 14:33:19 2004 From: alex at mindlube.com (Alex Rice) Date: Sat, 3 Jan 2004 12:33:19 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: References: Message-ID: On Jan 3, 2004, at 3:56 AM, Richard Gaskin wrote: > Which raises the obvious question: When will Apple play nice and > adopt the > predominant standard? For graphics, print and video production Macs *are* the standard. FWIW SGIs also used a similar gamma- and they were used in graphics and video a lot. TV and Video production is just different than PC computer graphics I guess. I'm not sure, but from what I've read, it's not as simple as twiddling a decimal number for the gamma somewhere in the system defaults. Now AFAIK quickdraw is obsoleted and now the graphics API is Quartz+CoreGraphics, which does not use QuickDraw at all. Maybe the gamma model is the same? > I hear they're finally considering a two-button mouse; is a universal > gamma > setting so unthinkable? Hating Macs today, Richard? Actually I use a 3 button scrollwheel mouse on all my Macs. But Control-click == Right click if you are ever using a 1 button mouse. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Sat Jan 3 14:41:15 2004 From: alex at mindlube.com (Alex Rice) Date: Sat, 3 Jan 2004 12:41:15 -0700 Subject: spontaneously resizing fields In-Reply-To: References: <20040103102322.280CC9300C1@mail.runrev.com> Message-ID: On Jan 3, 2004, at 3:37 AM, Wouter wrote: > And this one using the traversalOn property instead of the > showFocusBorder? > Works for me ( both rev and mc) with the select empty : OK thanks- this one works for me - no resizing occurs. But it's a lot less usable because the user sees no focus border. It also confirms my suspicion all this problem is caused by the rendering of the focusborder, somehow. > on updateUI > if lFldLocked <> true then > if fld 1 = empty then disable fld 1 > else > set the lockText of fld 1 to true > set the traversalon of fld 1 to false > select empty > end if > else > if not the enabled of fld 1then enable fld 1 > set the traversalon of fld 1 to true > set the lockText of fld 1 to false > select text of fld 1 > end if > end updateUI > Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From yvescoppe at skynet.be Sat Jan 3 15:32:26 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 3 Jan 2004 21:32:26 +0100 Subject: spontaneously resizing fields In-Reply-To: References: <20040103102322.280CC9300C1@mail.runrev.com> Message-ID: Le 3 janv. 04, ? 20:41, Alex Rice a ?crit : > > On Jan 3, 2004, at 3:37 AM, Wouter wrote: > >> And this one using the traversalOn property instead of the >> showFocusBorder? >> Works for me ( both rev and mc) with the select empty : > > OK thanks- this one works for me - no resizing occurs. > > But it's a lot less usable because the user sees no focus border. > It also confirms my suspicion all this problem is caused by the > rendering of the focusborder, somehow. > For me too, the focusBorder is the culprit... Greetings. Yves COPPE yvescoppe at skynet.be From dsc at swcp.com Sat Jan 3 15:56:31 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 13:56:31 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: <4F0A8DAD-3E2F-11D8-B7DE-000A9567A3E6@swcp.com> On Saturday, January 3, 2004, at 12:33 PM, Alex Rice wrote: > I'm not sure, but from what I've read, it's not as simple as twiddling > a decimal number for the gamma somewhere in the system defaults. > > I found note #16 here to be helpful in understanding this. There might be some tips we can put together for the current Revolution and there might be some direct and simple enhancements we can suggest. However, I find it good to shoot for the moon in initial wishing. In Revolution it is hard for me to see what should be OS oriented or user oriented. I think this should be user oriented. Like this... Goal 1 A designer can make a stack from a great variety of images from a variety of sources and environments. Goal 2 If two colors among image colors or other colors display equal in one environment, they will display equal in every environment with the same or less colors. Goal 3 The above two apply even to externally referenced (but fixed) image files. Goal 4 There is a strong tendency for colors to look right in the environment the stack is in. Very little darkening or washout when a stack moves to a different environment. Goal 5 Tools and image properties are available that make Goal 1 possible and not too painful. Goal 6 The processing of image information does not go backwards. Maybe there are image properties that help it go forward. I think the above is possible, but a design might need to take care concerning when/what/how many power transforms are needed. Dar Scott From soapdog at mac.com Sun Jan 4 04:10:39 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 4 Jan 2004 07:10:39 -0200 Subject: doubts about globals, seeking advise... Message-ID: Hi folks, Can two stacks share globals? Like that, I've got a splashscreen stack and a app stack, can I open a database connection in the splash screen stack, put the ID in a global and then call DB Methods in the app stack? It's like that, i've got a running app, it works, but I decided to add a standard splash screen (thats reused many times, so it's got it's own stack), I decided that the splash screen should be the mainstack (thats its setting in the distribution builder) since I want it to appear first. I used to open and close the DB Connections in the openStack and closeStack handlers of the app stack, but when I build the distribution (including all libs and stuff), the DB funcs start shouting about invalid id, I think that's happening because my global vars are missing... I tried another approach opening and closing connections in splashscreen, writing IDs to custom props and reading them from the other stack, but that's just ugly. Anyone here got two cents to spare on advise? How should I proceed? Should my splashscreen stack just call the other stack openStack handler and pray? Cheers, happy 2004 Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From kray at sonsothunder.com Sat Jan 3 16:39:40 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 3 Jan 2004 15:39:40 -0600 Subject: doubts about globals, seeking advise... In-Reply-To: Message-ID: <006301c3d242$180103a0$6901a8c0@LightningFlash> Andre, Globals are just that... "global". This means that as long as Rev is running (i.e. the engine is in operation and you haven't quit), the values you put in a global will remain and be accessible from all stacks that are open. > Can two stacks share globals? Like that, I've got a > splashscreen stack > and a app stack, can I open a database connection in the > splash screen > stack, put the ID in a global and then call DB Methods in the app > stack? Yes. > It's like that, i've got a running app, it works, but > I decided > to add a standard splash screen (thats reused many times, so it's got > it's own stack), I decided that the splash screen should be the > mainstack (thats its setting in the distribution builder) > since I want > it to appear first. I used to open and close the DB > Connections in the > openStack and closeStack handlers of the app stack, but when I build > the distribution (including all libs and stuff), the DB funcs start > shouting about invalid id, I think that's happening because my global > vars are missing... I tried another approach opening and closing > connections in splashscreen, writing IDs to custom props and reading > them from the other stack, but that's just ugly. Anyone here got two > cents to spare on advise? How should I proceed? Should my > splashscreen > stack just call the other stack openStack handler and pray? Well, I'd make your DB Connections open/close with the openStack/closeStack handlers of the app stack, but don't open that stack until the splash has fully displayed. After the splash goes away, open the app stack and have it run the connections to the database. If you need to pass information between the splash stack and the app stack, you can use globals, but my question would be: where do the IDs come from? Does the splash stack even need to *know* the IDs? Or can the IDs just get initiated when the app stack opens? As in: -> Launch executable -> Splash stack displays -> Splash stack closes -> App stack displays, makes initial DB connection, stores IDs ??? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From soapdog at mac.com Sun Jan 4 04:52:55 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 4 Jan 2004 07:52:55 -0200 Subject: doubts about globals, seeking advise... In-Reply-To: <006301c3d242$180103a0$6901a8c0@LightningFlash> References: <006301c3d242$180103a0$6901a8c0@LightningFlash> Message-ID: On Jan 3, 2004, at 7:39 PM, Ken Ray wrote: > Andre, > > Globals are just that... "global". This means that as long as Rev is > running (i.e. the engine is in operation and you haven't quit), the > values you put in a global will remain and be accessible from all > stacks > that are open. > Ken Thanks for the quick and very very usefull reply! :D thank God global trully means global.... > Well, I'd make your DB Connections open/close with the > openStack/closeStack handlers of the app stack, but don't open that > stack until the splash has fully displayed. After the splash goes away, > open the app stack and have it run the connections to the database. If > you need to pass information between the splash stack and the app > stack, > you can use globals, but my question would be: where do the IDs come > from? Does the splash stack even need to *know* the IDs? Or can the IDs > just get initiated when the app stack opens? As in: > > -> Launch executable > -> Splash stack displays > -> Splash stack closes > -> App stack displays, makes initial DB connection, stores IDs The splashscreen is supposed just to pop up, show itself presenting language options (software is localized) then it should go away. All DB funcs and stuff relate only to the app stack. The problem is just that: 1) app stack is working standalone. 2) splashscreen is working standalone. 3) Use distribution builder to pack both, and treat splashscreen as main stack. 4) When run, everything explodes... The stack cannot find tDatabaseID (declared as global in both stacks, outside the handlers) so it throws an error that database is not opened. But in openStack I use this code: -- open the database connection. if tDatabaseID is empty then get revOpenDatabase("MySQL", "blablabla", "blablabla", "blablabla" ,"blablabla") if it contains "err" then answer "Cannot open database: " & it exit openStack else put it into tDatabaseID end if end if This code is simple and straight forward, in my handlers I always check if tDatabaseID is empty, if so I throw an error... It works inside the IDE, also works if make standalone by itself, it's only when put together with splashscreen (which does not call any db func) that this strange behaviour occours... Cheers, thanks for your help Andre > > ??? > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From dsc at swcp.com Sat Jan 3 16:56:19 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 14:56:19 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <4F0A8DAD-3E2F-11D8-B7DE-000A9567A3E6@swcp.com> Message-ID: On Saturday, January 3, 2004, at 01:56 PM, Dar Scott wrote: > Goal 1 > A designer can make a stack from a great variety of images from a > variety of sources and environments. > > Goal 2 > If two colors among image colors or other colors display equal in one > environment, they will display equal in every environment with the > same or less colors. > > Goal 3 > The above two apply even to externally referenced (but fixed) image > files. > > Goal 4 > There is a strong tendency for colors to look right in the environment > the stack is in. Very little darkening or washout when a stack moves > to a different environment. > > Goal 5 > Tools and image properties are available that make Goal 1 possible and > not too painful. > > Goal 6 > The processing of image information does not go backwards. Maybe > there are image properties that help it go forward. > By Goal 6, I mean that scripts using imageData etc. should not break and perhaps there is more opportunity for image processing. Goal 7 Repeated twidling of tools in Goal 5 to accomplish the task in Goal 1 does not cause the image to deteriorate. Goal 8 Those who like original source compression in the stack are still happy, mostly. Dar Scott From ambassador at fourthworld.com Sat Jan 3 17:11:41 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Jan 2004 14:11:41 -0800 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: Alex Rice wrote: > > On Jan 3, 2004, at 3:56 AM, Richard Gaskin wrote: > >> Which raises the obvious question: When will Apple play nice and >> adopt the predominant standard? > > For graphics, print and video production Macs *are* the standard. Except, ironiclly, at Pixar, where they have more Linux machines than Macs. > FWIW SGIs also used a similar gamma- and they were used in graphics > and video a lot. TV and Video production is just different than PC > computer graphics I guess. > > I'm not sure, but from what I've read, it's not as simple as twiddling > a decimal number for the gamma somewhere in the system defaults. > > > Good info, thanks. > Now AFAIK quickdraw is obsoleted and now the graphics API is > Quartz+CoreGraphics, which does not use QuickDraw at all. > Maybe the gamma model is the same? We can hope. Interoperability is critical for wide adoption across any large organization, whether corporate or academic. Everything that helps move that goal along helps all of us, esp. Apple. >> I hear they're finally considering a two-button mouse; is a universal >> gamma setting so unthinkable? > > Hating Macs today, Richard? Actually I use a 3 button scrollwheel mouse > on all my Macs. But > > Control-click == Right click > > if you are ever using a 1 button mouse. Control-Click = two hands "Hating Macs"? On the contrary. In fact, I'm writing this on a Mac, as I have since 1987. The difference between me and a fair number of other Apple loyalists is recognizing that status quo is deadly in an environment of radical dynamic change like computing. As with living organisms, the only organizations that aren't moving are dead. So I ask questions, and once in a while some feel these may appear to be "anti-Apple" sentiments, but that's not the case at all. I'm just trying to think beyond Steve's last keynote. When the iMac shipped with no means of backing up data without a network server or a third-party device, seeing that most of these were going into homes and relatively few into the enterprise I called it a mistake. Some of my friends mistook that for being "anti-Apple", but later Steve Jobs himself publicly called it a mistake and Apple became the last major manufacturer to offer CD burners as standard equipment. Same story with the "hockey puck" mouse. No human is perfect, not even Steve Jobs. ;) And an organization is just a collection of imperfect individuals. Individuals improve their effectiveness through a lifelong process of tempering their internal vision of how the world works by incorporating the needs and wants of their social context, hopefully moving us day by day toward Maslow's "self-actualization". As a collection of individuals, organizations can learn similarly, refining their internal understanding of their place in the world through constructive engagement with others. When customers call here for support, the ones who complain are often taken aback by how excited I am to hear from them. But the fact is that while flattery feels good, it's not nearly as instructive as criticism; I already know the decisions I've made, but I need guidance to determine the next decisions I will make. Everyone has blind spots. The older I get the more willing I am to throw code and designs away when confronted with a compelling argument for a new way of doing things. These days I focus less on the software that I make and more on its evolutionary process. Everything made by humans can be made even better. So while I applauded Apple's decision to maintain the single-button mouse for years, in the modern context the decision has outlived its usefulness. Computers are no longer a novelty, with a market penetration rivalling VCRs. If folks can find their way around the many poorly-designed remote controls for VCRs they can certainly learn to appreciate the advantages a two-button mouse. :) I've heard rumors that Apple is already leaning that way, and when Steve gives it the official blessing it will no longer seem a radical suggestion, but will instead be described as "brilliant", even if half a decade behind the curve. Much of the Apple customer base is like that, so accustomed to defending their choice against stupid "Apple is doomed" FUD that they've become defensive toward anything that hasn't already been blessed by Steve. I know it well, I was one of those for many years until I started working with multiple operating systems and seeing how the other 98% of the world works. My suggestion about gamma settings was in earnest: the two-button mouse is coming sooner or later (I'd be surprised if Apple closes 2004 without it), and that's a healthy change for everyone. Perhaps one day we'll see a standardized gamma across all OSes, and that will be a healthy change too. Any difference between platforms not supported by solid usability research or objective technical advantage just wastes time and resources for everyone, but is most costly for the ones with the minority marketshare. There's the old joke: Q: How many Apple employees does it take to change a lightbulb? A: Three - one engineeer to design a better but slightly non-standard lightbulb, another engineer to design a better but slightly non-standard socket for it, and a marketing exec to kill the program when it fails to meet sales projections. I'd like to live in a world where you can tell that joke at a developer conference and everyone in the room just gets a blank look instead of the knowing grin it gets today. I think it's possible, if we Apple loyalists think different. Worth the read: The one-button mouse is (soon) dead! Long live Apple! -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Sat Jan 3 17:44:21 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Jan 2004 16:44:21 -0600 Subject: doubts about globals, seeking advise... In-Reply-To: References: <006301c3d242$180103a0$6901a8c0@LightningFlash> Message-ID: <3FF745C5.70401@hyperactivesw.com> On 1/4/04 3:52 AM, Andre Garzia wrote: > 4) When run, everything explodes... The stack cannot find tDatabaseID > (declared as global in both stacks, outside the handlers) so it throws > an error that > database is not opened. But in openStack I use this code: > > -- open the database connection. > if tDatabaseID is empty then > > get revOpenDatabase("MySQL", "blablabla", "blablabla", "blablabla" > ,"blablabla") > if it contains "err" then > answer "Cannot open database: " & it > exit openStack > else > put it into tDatabaseID > > end if > end if > > This code is simple and straight forward, in my handlers I always check > if tDatabaseID is empty, if so I throw an error... It works inside the > IDE, also works if make standalone by itself, it's only when put > together with splashscreen (which does not call any db func) that this > strange behaviour occours... This sounds like the common problem where the database external is not loading at all in the substack. When the splash opens (the mainstack) it loads the external, but when you close the splash, the external gets unloaded. Then when the substack opens, there is no external available for the substack. You can try adding the database to the externals property of the substack and sometimes that will work. Sometimes it doesn't. You can also try hiding the splash instead of closing it; maybe that will force the external to stay resident in memory. Or you can try moving all your database handlers into the splash stack script, where they will be available everywhere. I have entered a Bugzilla enhancement request that asks that we be able to load externals on demand. That would solve this problem, which seems to affect just about everybody who tries to use a splash for the application mainstack with a substack that uses an external. It isn't just databases either, it happens with any external. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at yahoo.com Sat Jan 3 17:56:16 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 3 Jan 2004 14:56:16 -0800 (PST) Subject: LZW compression In-Reply-To: <20040103102321.C9F7B9300C5@mail.runrev.com> Message-ID: <20040103225616.97505.qmail@web40513.mail.yahoo.com> on Sat, 3 Jan 2004 Alex Rice wrote: > I thought the gzip compress() was Rev's only > compression feature? Look at this page: "the data compression method variously known as 'zlib' (the name of a popular library that implements it), 'Deflate' (as in RFC 1951, which is a detailed specification for the method), 'gzip' (the name of a popular compression application that uses it), or 'Flate' (Adobe's name). and this: I spent a long time figuring out what Adobe PDF's "flate filter" was before I discovered it was the inverse of "deflate" (yes, there were loud sounds of head-slapping when I clicked) and discovered that zlib.compress() was EXACTLY what you need to create compressed streams in PDF documents. > re: base64Encode it converts the data to all ASCII > suitable for MIME attachements. The size is > much larger than the source data. I was wrong on this. MD5digest and PNG are the other filters that could be used in pdf documents. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 From scott at tactilemedia.com Sat Jan 3 18:02:26 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 03 Jan 2004 15:02:26 -0800 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: On 1/3/04 2:11 PM, "Richard Gaskin" wrote: > The difference between me and a fair number of other Apple loyalists is > recognizing that status quo is deadly in an environment of radical dynamic > change like computing. As with living organisms, the only organizations > that aren't moving are dead. > > So I ask questions, and once in a while some feel these may appear to be > "anti-Apple" sentiments, but that's not the case at all. I'm just trying to > think beyond Steve's last keynote. Kudos to Brother Richard for making this point. No tech company is beyond question, including Apple, RunRev, etc. It's up to us developers/users to push for things that make the systems/tools better. Do so will make life better for all; blind faith loyalty won't benefit anyone. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From soapdog at mac.com Sun Jan 4 06:07:47 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 4 Jan 2004 09:07:47 -0200 Subject: doubts about globals, seeking advise... In-Reply-To: <3FF745C5.70401@hyperactivesw.com> References: <006301c3d242$180103a0$6901a8c0@LightningFlash> <3FF745C5.70401@hyperactivesw.com> Message-ID: <3AA13DA8-3EA6-11D8-9A5F-0003936D012E@mac.com> On Jan 3, 2004, at 8:44 PM, J. Landman Gay wrote: > This sounds like the common problem where the database external is not > loading at all in the substack. When the splash opens (the mainstack) > it loads the external, but when you close the splash, the external > gets unloaded. Then when the substack opens, there is no external > available for the substack. > > You can try adding the database to the externals property of the > substack and sometimes that will work. Sometimes it doesn't. You can > also try hiding the splash instead of closing it; maybe that will > force the external to stay resident in memory. Or you can try moving > all your database handlers into the splash stack script, where they > will be available everywhere. > > I have entered a Bugzilla enhancement request that asks that we be > able to load externals on demand. That would solve this problem, which > seems to affect just about everybody who tries to use a splash for the > application mainstack with a substack that uses an external. It isn't > just databases either, it happens with any external. > Jacqueline, This is a most usefull reply! Thanks all try the options and post here the updates so others might see how to proceed in cases like this. Cheers > Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From doug at webcrossing.com Sat Jan 3 18:11:37 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 08:11:37 +0900 Subject: A message for data waiting at a socket? In-Reply-To: <4DF2CF19-3E0D-11D8-B7DE-000A9567A3E6@swcp.com> Message-ID: On 1/4/04 1:53 AM, "Dar Scott" wrote: > > On Saturday, January 3, 2004, at 07:27 AM, Doug Lerner wrote: > >> Never mind my last message - I did get it to "push" according to your >> suggestion. > > But I don't see how that would go into high-CPU consumption. It didn't. It worked fine. That's why I said never mind my last message. :) I guess the login in Rev for this is "when it successfully finishes a read until CRLF send the message on, otherwise let other handlers continue working and in the meantime nicely share cpu time while I am waiting for more data." At any rate, it works fine. > > I usually don't use "until ", though I have no argument > against it. Maybe that changes the behavior. I filter for messages at > the receive handler. > > I do get a high-CPU consumption state when the sender keeps sending > gobs of data. In a GUI app, this is hard to get out of since pending > messages normally have higher priority over event messages. I choke > this two ways. One is to put a delay between the read handler and the > next read. The other is to detect the situation and shut down the > connection. (I use other methods for accept.) OK. A good caution to look out for. doug > > Revolution does "push" at the end of a write, but there might not be a > way to insist on that kind of thing in other applications. > > I'm curious about the high-CPU consumption. If there are cases in > which it can occur, I'd like to know about them. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From kirbyglad at fiber.net Sat Jan 3 18:27:28 2004 From: kirbyglad at fiber.net (Kirby Glad) Date: Sat, 3 Jan 2004 16:27:28 -0700 Subject: Mac Hypercard to Windows Rev Message-ID: I have Mac system 7 hypercard stacks I want to convert to Windows revolution. I copy the files from the mac to a windows formatted floppy. I copy from the floppy to a Windows NT (sp4) machine. I run revolution from the Windows machine and attempt to OPEN the file. This results in sparks and smoke shooting out of the back of the CPU. OK, it is actually just a hard crash of my system, which requires a hardware reset, but it FEELS like sparks and smoke. Any clues? Thanks in advance Kirby From shaosean at unitz.ca Sat Jan 3 18:33:38 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Sat, 03 Jan 2004 18:33:38 -0500 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: References: Message-ID: > In fact, I'm writing this on a Mac, as I have since 1987. i'm glad to see i'm not the only slow typer around here ;-) From erikhans08 at yahoo.com Sat Jan 3 16:54:04 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sat, 3 Jan 2004 13:54:04 -0800 (PST) Subject: [OT/ANN] Now I'm a father In-Reply-To: <10902C32-3DB3-11D8-B77D-000A959B2940@kagi.com> Message-ID: <20040103215404.97003.qmail@web61101.mail.yahoo.com> --- kee nethery wrote: > I'd like to recommend a book > > Baby Signs > > we picked a handful of signs and used them with > the words when we communicated with our baby. were these "signs" pictures, words or both? the implication is that all infants are frustrated non-communicators. no wonder they cry. some kind of motion sensor could probably connect these minds (not little) to the rest of the universe. Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From erikhans08 at yahoo.com Sat Jan 3 16:41:04 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sat, 3 Jan 2004 13:41:04 -0800 (PST) Subject: =?iso-8859-1?q?Re=3A_=5BOT/ANN=5D_Now_I_=B4m_a_father?= In-Reply-To: Message-ID: <20040103214104.56435.qmail@web61103.mail.yahoo.com> --- Malte Brill wrote: > Hi listas, > > just want to let you know that our son Linus > Anton is born on 1/1/04 17.02 CET. > > formattedHeight 53 cm > weight 3890 gram felicidades! hope you remember all the hopp hopp hopp and hoppa hoppa Reiter lieder. you will need them. Alles Gutes, Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From dsc at swcp.com Sat Jan 3 19:12:27 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 17:12:27 -0700 Subject: [OT/ANN] Now I'm a father In-Reply-To: <20040103215404.97003.qmail@web61101.mail.yahoo.com> Message-ID: On Saturday, January 3, 2004, at 02:54 PM, erik hansen wrote: >> Baby Signs >> >> we picked a handful of signs and used them with >> the words when we communicated with our baby. > > were these "signs" pictures, words or both? > the implication is that all infants are > frustrated non-communicators. > no wonder they cry. > > some kind of motion sensor could probably > connect these minds (not little) to the > rest of the universe. At our house we did not use signing, but we did use "flying" in which the person holding the baby was the motion sensor (or horse or grasp or dragon depending on how you think of baby flying). Dar From wouter.abraham at pi.be Sat Jan 3 19:13:14 2004 From: wouter.abraham at pi.be (Wouter) Date: Sun, 4 Jan 2004 01:13:14 +0100 Subject: spontaneously resizing fields In-Reply-To: <20040103214341.9E21993009D@mail.runrev.com> References: <20040103214341.9E21993009D@mail.runrev.com> Message-ID: On 03 Jan 2004, at 22:43, use-revolution-request at lists.runrev.com wrote: > Message: 6 > Date: Sat, 3 Jan 2004 12:41:15 -0700 > From: Alex Rice > Subject: Re: spontaneously resizing fields > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On Jan 3, 2004, at 3:37 AM, Wouter wrote: > >> And this one using the traversalOn property instead of the >> showFocusBorder? >> Works for me ( both rev and mc) with the select empty : > > OK thanks- this one works for me - no resizing occurs. > > But it's a lot less usable because the user sees no focus border. > It also confirms my suspicion all this problem is caused by the > rendering of the focusborder, somehow. That's strange. Over here it is working as it should, showing the focusborder when the text is selected. Did you reset the showFocusBorder to its true state after experimenting? Or do you have somewhere inside a frontscript a piece of code that traps a command and/or shift combination before your card script gets the attention? Just a couple of thoughts. I ran a little test with the following inserted into the frontscripts: on commandkeydown somekey set the showFocusBorder of fld 1 to not the showFocusBorder of fld 1 pass commandkeydown end commandkeydown And guess what... it actually shrinks the field when doing your discipline of the cmd-shift-a. When replacing the updateUI part with your original routine it counteracts the growing effect. But this is not a nice hack. Greetings, WA From erikhans08 at yahoo.com Sat Jan 3 17:58:25 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sat, 3 Jan 2004 14:58:25 -0800 (PST) Subject: the hilitedButtonName vs custom properties In-Reply-To: Message-ID: <20040103225825.36453.qmail@web61101.mail.yahoo.com> hilitedButtonName works in non-radio groups. radioBehavior is off for the group. the buttons are standard. what are the pros and cons of using: versus: get (the uNote of this stack)? many of my custom properties just duplicate the information provided by the hilitedButtonName. it would be nice to reduce the things that need to be watched. has anyone had any experience with this? thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From dsc at swcp.com Sat Jan 3 19:23:07 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 17:23:07 -0700 Subject: LZW compression In-Reply-To: <20040103225616.97505.qmail@web40513.mail.yahoo.com> Message-ID: <2BAAD06E-3E4C-11D8-B7DE-000A9567A3E6@swcp.com> On Saturday, January 3, 2004, at 03:56 PM, Alejandro Tejada wrote: > Alex Rice wrote: > >> I thought the gzip compress() was Rev's only >> compression feature? > > Look at this page: > > Language.htm#Standard_filters> > > "the data compression method variously known > as 'zlib' (the name of a popular library that > implements it), 'Deflate' (as in RFC 1951, which > is a detailed specification for the method), > 'gzip' (the name of a popular compression application > that uses it), or 'Flate' (Adobe's name). I have someplace around here a compressZlib() and decompressZlib() function set. A limitation is that currently decompress requires the size. This is OK in flash files and probably in most PNG files, but may run into trouble other places. I was thinking of including this in a library for rounding out Rev's gzip capabilities for getting and setting parameters and to allow an application to claim gzip compliance. Maybe that would be a tiny shareware library or something. It is current sitting on the self, though. (No LZW, though.) Dar Scott From kray at sonsothunder.com Sat Jan 3 19:20:42 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 3 Jan 2004 18:20:42 -0600 Subject: Mac Hypercard to Windows Rev In-Reply-To: Message-ID: <008401c3d258$9a7352f0$6901a8c0@LightningFlash> Kirby, Did you compact the HC stack on the Mac first before taking it over to Rev? I've heard that sometimes this helps. You shouldn't get a hard crash - at worst you should get error messages as certain handlers that ran in HC fail to run in Rev because of compatibility issues. HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Kirby Glad > Sent: Saturday, January 03, 2004 5:27 PM > To: use-revolution at lists.runrev.com > Subject: Mac Hypercard to Windows Rev > > > I have Mac system 7 hypercard stacks I want to convert to > Windows revolution. > > I copy the files from the mac to a windows formatted floppy. > I copy from the floppy to a Windows NT (sp4) machine. I run > revolution from the Windows machine and attempt to OPEN the > file. This results in sparks and smoke shooting out of the > back of the CPU. OK, it is actually just a hard crash of my > system, which requires a hardware reset, but it FEELS like > sparks and smoke. > > Any clues? > > Thanks in advance > Kirby > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Sat Jan 3 19:25:04 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 3 Jan 2004 18:25:04 -0600 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: <008501c3d259$3680d140$6901a8c0@LightningFlash> > The one-button mouse is (soon) dead! Long live Apple! In fact, I'm using a Microsoft (gasp!) two-button Wheel Mouse Optical USB mouse on my Mac and have been using two-button mice with Mac development ever since OS 9 was released... the nice thing for me is that I can do things one-handed instead of needing my second hand to push the Control key... :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dsc at swcp.com Sat Jan 3 19:40:57 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 17:40:57 -0700 Subject: PDF library In-Reply-To: <3FF2A22F.B71B535A@Club-Internet.fr> Message-ID: On Wednesday, December 31, 2003, at 03:17 AM, jbv wrote: > Last but not least, the need to purchase a license from Adobe > when building an app generating PDF code has been mentioned > (by me and confirmed by someone else) a few weeks ago on > this list. Does it apply also in case of a 100% free and open source > library for Rev ? Is that consistent with this? "An open file format specification, PDF is available to anyone who wants to develop tools to create, view, or manipulate PDF documents." http://www.adobe.com/products/acrobat/adobepdf.html And this? ******************** Patent Clarification Notice: Reading and Writing PDF Files Adobe has a number of patents covering technology that is disclosed in the Portable Document Format (PDF) Specification, version 1.3 and later, as documented in PDF Reference and associated Technical Notes (the "Specification". Adobe desires to promote the use of PDF for information interchange among diverse products and applications. Accordingly, the following patents are licensed on a royalty-free, non-exclusive basis for the term of each patent and for the sole purpose of developing software that produces, consumes, and interprets PDF files that are compliant with the Specification: U.S. Patent Numbers: ??5,634,064 ??5,737,599 ??5,781,785 ??5,819,301 ??6,028,583 ??6,289,364 ??6,421,460 In addition, the following patent is licensed on a royalty-free, non-exclusive basis for its term and for the sole purpose of developing software that produces PDF files that are compliant with the Specification (specifically excluding, however, software that consumes and/or interprets PDF files): U.S. Patent Numbers: ??5,860,074 ********************** http://partners.adobe.com/asn/developer/legalnotices.jsp Is there a fee fro the patent license? Dar Scott From ops at myesa.com Sat Jan 3 19:46:28 2004 From: ops at myesa.com (Ops) Date: Sat, 3 Jan 2004 18:46:28 -0600 Subject: MS-Access ODBC WOES!! non-sensical results? Message-ID: <000701c3d25c$314f2340$f5ffa8c0@cox.net> I have some (brutal) code below trying to simply test if I can get rev 2.1.2 to read data from an MS-Access table. I'm getting NO errors opening the DSN, NO errors on the revquerydatabase and getting a VALID cursorID. I'm getting 'empty' from revQueryResult (which indicates "no errors" in the docs) yet the revnumberofrecords(cursid) is returning a -1!?!???? The docs say that revnumberofrecords should either return a text error message or non-negative integer!?!??? HELP!!!!! I'm new to this and realize (and hope, actually) that I'm doing something 'newbie'-wrong.....but what is most puzzling is that I'm getting a negative integer from revnumberofrecords when the docs say that I'm supposed to get either text or a non-negative integer?? (Obviously) I'm not getting past the breakpoint to test the code below that, because my repeat loop will go infinite with "-1 times"....that's not the code I'm worried about though. THANKS AS ALWAYS!! on mouseUp local titl1,art1 put empty into field errfld put empty into field dispfld get revOpenDatabase("ODBC","odbcsongdb",,,,) put it into songdbid get revquerydatabase(songdbid,"select title,artist from songdb") put it into cursid put "cursid: " & cursid & cr into field errfld put "revquresult: " & revQueryResult(cursid) & cr after field errfld put "numrecs: " & revnumberofrecords(cursid) & cr after field errfld breakpoint if revqueryresult(cursid) is not empty then put revqueryresult(cursid) into field errfld else repeat for revnumberofrecords(cursid) times revdatabasecolumnnamed(cursid,"title",titl1) revdatabasecolumnnamed(cursid,"artist",art1) put "Title: " & titl1 & " Artist: " & art1 & cr after field dispfld revmovetonextrecord cursid end repeat end if revclosecursor cursid revclosedatabase songdbid end mouseUp From katir at hindu.org Sat Jan 3 20:15:57 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat, 3 Jan 2004 15:15:57 -1000 Subject: revGoURL on 10.2.3 Message-ID: <8D28B479-3E53-11D8-B61B-000A959D0AC6@hindu.org> Can anyone confirm revGoURL is working on MAC OSX 10.2.3 update? Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From doug at webcrossing.com Sat Jan 3 20:17:50 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 10:17:50 +0900 Subject: Issues with stack rectangle settings? In-Reply-To: <000701c3d25c$314f2340$f5ffa8c0@cox.net> Message-ID: I have this one substack that just *never* seems to open where I want or with the size I want. All the other substacks do. Just not this one. It is driving me crazy. Finally, what I did was position it where I want and did a put the rectangle of stack "myStack" then grab the results and put a setting into the openStack handler. Now it is ok. But my questions are: (1) Why would some stacks misbehave like this? (2) Why is the rectangle value not show in the stack's "size and position" inspector? (Just the width and height are) (3) Why is are the settings for the card size and postion all greyed out - and the rectangle information shown there wrong? It is very confusing. doug From capellan2000 at yahoo.com Sat Jan 3 20:20:55 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 3 Jan 2004 17:20:55 -0800 (PST) Subject: how to open 'non-mac' stacks from within Rev on a Mac In-Reply-To: <20040103121238.2B6769300DB@mail.runrev.com> Message-ID: <20040104012055.62683.qmail@web40504.mail.yahoo.com> on Sat, 3 Jan 2004 mcdomi at free.fr wrote: >Perhaps, one has to study the RR doc one year along, >before being allowed to write one script line ;-))) Actually, what we need is a recopilation of the most frecuent asked questions in this mail list and MetaCard. Someone proposed to create this FAQ long time ago, but looks like the Rev docs covers most of the topics that frecuently arise in this list. I think that I will be doing a basic faq in spanish for the teachers that are using my stacks. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 From 3mcgrath at adelphia.net Sat Jan 3 20:27:39 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sat, 3 Jan 2004 20:27:39 -0500 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: References: Message-ID: <2F1855C8-3E55-11D8-A5A7-000A95DA60FA@adelphia.net> Yeah but look at your statement below. I would agree with you even that I am a preferred Mac user except you had to end the following statement with an attack with words. Your attack states that anyone who isn't like you can't see beyond Steve's last keynote. This appears to be very much an attack. My2cents And I apologize now for my comments. Tom On Jan 3, 2004, at 6:02 PM, Scott Rossi wrote: >> So I ask questions, and once in a while some feel these may appear to >> be >> "anti-Apple" sentiments, but that's not the case at all. I'm just >> trying to >> think beyond Steve's last keynote. Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Sat Jan 3 20:30:52 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sat, 3 Jan 2004 20:30:52 -0500 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <008501c3d259$3680d140$6901a8c0@LightningFlash> References: <008501c3d259$3680d140$6901a8c0@LightningFlash> Message-ID: I am using a wireless Logitech track ball with eight buttons. And now I can't even use a two button mouse let alone a one button mouse. And I can't use the tracpad at all. Using a button for command and control modifiers is the only way to go for me. :-) tom On Jan 3, 2004, at 7:25 PM, Ken Ray wrote: > >> The one-button mouse is (soon) dead! Long live Apple! > > In fact, I'm using a Microsoft (gasp!) two-button Wheel Mouse Optical > USB mouse on my Mac and have been using two-button mice with Mac > development ever since OS 9 was released... the nice thing for me is > that I can do things one-handed instead of needing my second hand to > push the Control key... > > :-) > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Sat Jan 3 20:32:36 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sat, 3 Jan 2004 20:32:36 -0500 Subject: revGoURL on 10.2.3 In-Reply-To: <8D28B479-3E53-11D8-B61B-000A959D0AC6@hindu.org> References: <8D28B479-3E53-11D8-B61B-000A959D0AC6@hindu.org> Message-ID: It is for me. I have not tested it very deeply though. Tom On Jan 3, 2004, at 8:15 PM, Sannyasin Sivakatirswami wrote: > Can anyone confirm revGoURL is working on MAC OSX 10.2.3 update? > > Sannyasin Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From katir at hindu.org Sat Jan 3 20:48:26 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat, 3 Jan 2004 15:48:26 -1000 Subject: SIF to Revolution Importer is Broken Message-ID: <16984851-3E58-11D8-B61B-000A959D0AC6@hindu.org> I just tried to import a Supercard project the exporter worked OK, but the SIF importer is broken now... use to work fine. It actually triggers a handler in one of the buttons on the first card of the old SC project, which is weird. Anyone know about this? Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From doug at webcrossing.com Sat Jan 3 22:10:29 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 12:10:29 +0900 Subject: Severe stack size problems in Windows build when menus are present In-Reply-To: Message-ID: When I click on a button in my main stack it opens up a substack. In OS X this substack looks fine. But in the Windows build it is really weird. The stack ends up with a whole bunch of space ABOVE the menu, so the controls below the menu are no longer visible. It looks like a window with a file menu at the bottom, essentially. If I remove the menu from the substack it sizes ok. Any ideas about what might be happening? Thanks, Doug Lerner, Tokyo From chipp at chipp.com Sat Jan 3 22:56:07 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 3 Jan 2004 21:56:07 -0600 Subject: XP GIF display oddities In-Reply-To: <183.2471c27e.2d281da1@aol.com> References: <183.2471c27e.2d281da1@aol.com> Message-ID: David, I believe Jacqueline is correct. You probably saved the GIF with incorrect settings. The GIF format has several ways to further compress an animation (besides just LZW and reduced # of colors). One way is to do interframe compression by only storing differences between frames, instead of storing a separate image for each frame. This can be called "redundant pixel removal." Most animated GIF programs automatically turn this on. While it works great in browsers (because it makes for very small files), it's not good for RR as the RR engine needs to step forwards and backwards through a GIF file (browsers, don't), which is most difficult from an engine point of view. See if your software can build GIFs without redundant pixel removal (ImageReady can do this). Another way is to use a bounding box compression scheme, which looks at the background of a single frame and draws a box around only the pixels which are different. So a 100 x 100 frame could have a small logo in the middle which would be bounded by a region 50x50, so the GIF file only stores the 50x50 rectangle and includes a pointer to the place where it starts. Again, it's probably wise to turn this feature off as well (again, ImageReady can do this). So, try reprocessing you GIF's and see if it doesn't solve your problems. It should. --Chipp Walters, Altuit, inc. On Jan 3, 2004, at 7:29 AM, DVGlasgow at aol.com wrote: > > In a message dated 31/12/03 8:49:06 PM, Jacqueline Landman Gay writes: > >> The usual reasons for inconsistent graphics displays are either that >> the >> >> monitor is set to display too few colors, or the graphics card driver >> is >> >> out of date. Installing the latest driver for the card is usually >> recommended. > > Thanks, Jacquline, > > In an update, the customer tells me that the standard pointy finger > icon > appears on a black background. I seem to remember this being > discussed ages ago > on the list, but I can't find it. Anyone help? > > The Hogmanay reference was a bit early, but I didn't think I would > post again > until it was over. And of course, Revolution *must* be 'Hogmanay' or > maybe > with a nod to the French contingent, 'hoguinane'. > > > Best wishes, > > David Glasgow > > Forensic Psychology Software and Services HREF="http://members.aol.com/dvglasgow/i-psych/i_Psych.htm">i-Psych > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Sat Jan 3 23:02:04 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 3 Jan 2004 22:02:04 -0600 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <32CCF465-3E21-11D8-B7DE-000A9567A3E6@swcp.com> References: <32CCF465-3E21-11D8-B7DE-000A9567A3E6@swcp.com> Message-ID: Dar, You are correct, the original image in the demo stack was set at 128,128,128 but the one I sent you was different. I left the original one at work. Let me know if you'd like another 128,128,128 PNG from a PC and I'll fire you one. --Chipp On Jan 3, 2004, at 1:15 PM, Dar Scott wrote: > > On Saturday, January 3, 2004, at 12:38 AM, Chipp Walters wrote: > >> Dar, perhaps you can tell me what the internal gamma setting is for a >> Pshop >> PC generated PNG vs a PShop Mac generated PNG...my guess it they are >> the >> same, as I couldn't get a PNG and trans GIF to ever work correctly on >> my Mac >> unless setting the gamma to the PC value. > > Your guess turns out better than mine. > > The one you sent me has a gamma of 2.222222. > > The one I created with my Photoshop on OS X has a gamma of 2.200026, > and it also has a primary chromaticities chunk that might override > some of that. Maybe I don't have my photoshop set up right. > > Setting screenGamma to 2.2 still might not be a solution. I saved my > test stack last night with your test PNG image on it, the one with PNG > written in the corner. When I loaded it this morning I found the > gamma in both the text property and the export showed 1.7. Based on > what I saw yesterday and what I see with the test box you sent, this > _was_ 2.2. Maybe, setting screenGamma to 2.2 is still OK because, I > suspect the pixel data is still for 2.2. > > I set my test image to 80,80,80 (hex) grey in Photoshop. I don't know > what values were actually stored in the PNG file. When I imported it > into Revolution the pixels became 69,69,69 hex; well, they were 69 as > soon as I could read them. Why I saw 86,86,86 (hex) on your png (the > other one with the png label) beats me. I thought it was created as > 50% grey, also. Oh, maybe those were 68s. Rats. Sorry. > > I made a rectangle with a 50% background and it looks a lot lighter. > > put (baseConvert("69",16,10)^(1/2.2))/(255^(1/2.2)) && > (128^(1/1.7))/(255^(1/1.7)) > ==> 0.668099 0.666689 > > I _think_ this means that x69 on 2.2 will look the same as x80 on 1.7. > > Maybe Rev is not converting the 69s to 80s as it should. Well, I > don't know enough to say should. > > One experiment might be to fiddle with gamma on images and see if Rev > respects those. > > The more I think on this, the less I know. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Sat Jan 3 23:07:10 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 3 Jan 2004 22:07:10 -0600 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: References: Message-ID: <7815DBEC-3E6B-11D8-83AB-000A95F078B6@chipp.com> Alex, On Jan 3, 2004, at 1:33 PM, Alex Rice wrote: > > On Jan 3, 2004, at 3:56 AM, Richard Gaskin wrote: > >> Which raises the obvious question: When will Apple play nice and >> adopt the >> predominant standard? > > For graphics, print and video production Macs *are* the standard. FWIW > SGIs also used a similar gamma- and they were used in graphics and > video a lot. TV and Video production is just different than PC > computer graphics I guess. As fine as Macs are for creating print and video, last I heard, they only had a 3% marketshare for all computers. So, all those other computers are viewing on 'non-Mac' gamma settings. I'm with Richard and believe Apple should consider adopting the predominant gamma standard. The first thing I did when getting the i-Book was reset the gamma. best, Chipp From ambassador at fourthworld.com Sat Jan 3 23:07:06 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Jan 2004 20:07:06 -0800 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <2F1855C8-3E55-11D8-A5A7-000A95DA60FA@adelphia.net> Message-ID: Thomas J McGrath III wrote: > Yeah but look at your statement below. I would agree with you even that > I am a preferred Mac user except you had to end the following statement > with an attack with words. > > Your attack states that anyone who isn't like you can't see beyond > Steve's last keynote. This appears to be very much an attack. That's not exactly what I wrote. And what I ended with was "Long live Apple!" But an earnest communicator accepts responsibility for even perceptions, as clearer writing anticipates and avoids innacurate ones. Please accept my apologies for not expressing my feelings more clearly. It was not my intention to offend ayone who wants to see Apple succeed as much as I do. As an Apple customer, developer, and shareholder, their success is also mine. There are of course many types of Mac users, and I had tried to describe the only two types I know intimately because I have been each of them at different times. There are those who suggest Apple cannot make sometimes critical mistakes. I was one of these, and have been in MUGs with others of the same type. That such a type exists isn't something I invented. Don't shoot the messenger. And there are also those who question Apple from time to time, as Tog himself does. Only your best friend will tell you when you have salad on your teeth. Sometimes Apple listens, and when they do we all benefit. The last thing Apple needs is uncritical support, as that would only broaden the inevitable blind spots inherent in the human condition. Everyone makes mistakes, and through constructive feedback we improve. I appreciate yours, and will tune my writing accordingly. But there may be no stopping Tog. ;) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From capellan2000 at yahoo.com Sat Jan 3 23:17:35 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 3 Jan 2004 20:17:35 -0800 (PST) Subject: LZW compression In-Reply-To: <20040104004744.D25F59300DD@mail.runrev.com> Message-ID: <20040104041735.66482.qmail@web40501.mail.yahoo.com> Dar Scott wrote: >I have someplace around here a compressZlib() >and decompressZlib()function set. How did your function differs of the build-in gzip compress function? >A limitation is that currently decompress requires >the size. Do you refers to the size of the file to compress? >I was thinking of including this in a library for >rounding out Rev's gzip capabilities for getting >and setting parameters and to allow an >application to claim gzip compliance. Maybe that >would be a tiny shareware library or something. >It is current sitting on the self, though. This sounds interesting. What caracteristics Rev needs to comply with the gzip specs? al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 From chipp at chipp.com Sat Jan 3 23:21:44 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 3 Jan 2004 22:21:44 -0600 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <008501c3d259$3680d140$6901a8c0@LightningFlash> References: <008501c3d259$3680d140$6901a8c0@LightningFlash> Message-ID: <812182D2-3E6D-11D8-83AB-000A95F078B6@chipp.com> Yep, but how to get two buttons (and a scroll wheel) on my new i-Book? :-) Chipp On Jan 3, 2004, at 6:25 PM, Ken Ray wrote: > >> The one-button mouse is (soon) dead! Long live Apple! > > In fact, I'm using a Microsoft (gasp!) two-button Wheel Mouse Optical > USB mouse on my Mac and have been using two-button mice with Mac > development ever since OS 9 was released... the nice thing for me is > that I can do things one-handed instead of needing my second hand to > push the Control key... > > :-) > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From 3mcgrath at adelphia.net Sat Jan 3 23:38:30 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sat, 3 Jan 2004 23:38:30 -0500 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: References: Message-ID: Richard, I didn't know you wrote the original thread. I was just reacting mid thread. Sorry. Thanks for your earnest reply. And I agree with you 100% as well. Tom On Jan 3, 2004, at 11:07 PM, Richard Gaskin wrote: > Thomas J McGrath III wrote: > >> Yeah but look at your statement below. I would agree with you even >> that >> I am a preferred Mac user except you had to end the following >> statement >> with an attack with words. >> >> Your attack states that anyone who isn't like you can't see beyond >> Steve's last keynote. This appears to be very much an attack. > > That's not exactly what I wrote. And what I ended with was "Long live > Apple!" > > But an earnest communicator accepts responsibility for even > perceptions, as > clearer writing anticipates and avoids innacurate ones. Please accept > my > apologies for not expressing my feelings more clearly. It was not my > intention to offend ayone who wants to see Apple succeed as much as I > do. > As an Apple customer, developer, and shareholder, their success is also > mine. > > There are of course many types of Mac users, and I had tried to > describe the > only two types I know intimately because I have been each of them at > different times. > > There are those who suggest Apple cannot make sometimes critical > mistakes. > I was one of these, and have been in MUGs with others of the same type. > That such a type exists isn't something I invented. Don't shoot the > messenger. > > And there are also those who question Apple from time to time, as Tog > himself does. Only your best friend will tell you when you have salad > on > your teeth. Sometimes Apple listens, and when they do we all benefit. > The > last thing Apple needs is uncritical support, as that would only > broaden the > inevitable blind spots inherent in the human condition. > > Everyone makes mistakes, and through constructive feedback we improve. > I > appreciate yours, and will tune my writing accordingly. > > But there may be no stopping Tog. ;) > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From chipp at chipp.com Sat Jan 3 23:41:42 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 3 Jan 2004 22:41:42 -0600 Subject: OT Re: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: References: Message-ID: <4B34BCE6-3E70-11D8-83AB-000A95F078B6@chipp.com> Richard, Well said. I enjoyed reading the article as well. In fact, it echos something I've been talking about for awhile. I-Tunes is the 'BETAMAX' to the rest of the online Music 'VHS'. And those who invest in the 'beta' technology will end up not being able to use the scores of other hardware, software and media retail/online outlets for their music needs. While I applaud Apple for innovating the finest current hardware/software model for music distribution,IMHO, it's only a matter of a couple of years before they become an also-ran in this market-- unless they can provide some sort of standard which can be shared by other players, including DELL, HP, SONY, etc.. Too bad Apple isn't as innovative in business as they are in technology. Kind of reminds me of how great the original Mac was. I purchased one the first week and drug it to work with me at TI then Compaq (early days) *because* it was a product which allowed me to do industrial design on the computer-- something no other computer could do at the time. I stayed with it until Win95, when it became obvious that MS would soon have 90% of the features and 300% of the software -- at only 70% of the cost. Now, folks can do just about anything on either Mac or PC (and soon Linux). Computers are commodities. Choice is personal preference, not necessarily one of productivity and/or capability.... And for each report that says MacOS is easier, there's another one saying XP more efficient and Linux cheaper;-) I'm writing this on a Mac, too (I really like their Email client - seems better to me than Outlook) See you in San Francisco next week! -Chipp > > "Hating Macs"? On the contrary. In fact, I'm writing this on a Mac, > as I > have since 1987. > From 3mcgrath at adelphia.net Sat Jan 3 23:42:26 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sat, 3 Jan 2004 23:42:26 -0500 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <812182D2-3E6D-11D8-83AB-000A95F078B6@chipp.com> References: <008501c3d259$3680d140$6901a8c0@LightningFlash> <812182D2-3E6D-11D8-83AB-000A95F078B6@chipp.com> Message-ID: <6528633A-3E70-11D8-A5A7-000A95DA60FA@adelphia.net> Go wireless!!! I won't go back now. I also use the bluetooth keyboard from Apple with my Powerbook (Bluetooth builtin). I prop the Powerbook on a small table next to my chair and put the keyboard on my lap and the wireless trackball on the arm of my chair and I'm set. I get a lot more work done this way. TOm On Jan 3, 2004, at 11:21 PM, Chipp Walters wrote: > Yep, > > but how to get two buttons (and a scroll wheel) on my new i-Book? > > :-) > > Chipp > > > On Jan 3, 2004, at 6:25 PM, Ken Ray wrote: > >> >>> The one-button mouse is (soon) dead! Long live Apple! >> >> In fact, I'm using a Microsoft (gasp!) two-button Wheel Mouse Optical >> USB mouse on my Mac and have been using two-button mice with Mac >> development ever since OS 9 was released... the nice thing for me is >> that I can do things one-handed instead of needing my second hand to >> push the Control key... >> >> :-) >> >> Ken Ray >> Sons of Thunder Software >> Email: kray at sonsothunder.com >> Web Site: http://www.sonsothunder.com/ >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From alex at harryscollar.com Sat Jan 3 23:48:55 2004 From: alex at harryscollar.com (Alex Shaw) Date: Sun, 04 Jan 2004 14:48:55 +1000 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <20040103005217.480E5930089@mail.runrev.com> References: <20040103005217.480E5930089@mail.runrev.com> Message-ID: <6.0.1.1.0.20040104144638.028ba948@pop-server.bigpond.net.au> > >It might be that the PNG does not have a Gamma. I would have thought >Photoshop would have saved it. I'll see what my Mac Photoshop, does. > >Dar Scott Here's a good photoshop reference http://user.fundy.net/morris/redirect.html?photoshop3.shtml regards alex From dsc at swcp.com Sat Jan 3 23:55:39 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 21:55:39 -0700 Subject: LZW compression In-Reply-To: <20040104041735.66482.qmail@web40501.mail.yahoo.com> Message-ID: <3DFF1E64-3E72-11D8-A1C7-000A9567A3E6@swcp.com> On Saturday, January 3, 2004, at 09:17 PM, Alejandro Tejada wrote: >> I have someplace around here a compressZlib() >> and decompressZlib()function set. > > How did your function differs of the build-in > gzip compress function? It provides only the core zlib functionality. > >> A limitation is that currently decompress requires >> the size. > > Do you refers to the size of the file to compress? Yes. Though zlib is for compressing any type of data, not just a file. To decompress with my library, you need to know the size of the data. At least, right now, it is needed. > >> I was thinking of including this in a library for >> rounding out Rev's gzip capabilities for getting >> and setting parameters and to allow an >> application to claim gzip compliance. Maybe that >> would be a tiny shareware library or something. >> It is current sitting on the self, though. > > This sounds interesting. > > What caracteristics Rev needs to comply with > the gzip specs? I don't remember all. I'll have to check. A complying application must check the crc, though it may use the data even if it is bad. The Revolution gzip decompress() does not check it. This is right for what it does. I think this is the way the function should be. However, it does prevent application builders from saying that their apps are compliant. Some of the fields in the compression are not correct and some are missing. As I mentioned, I shelved this and I don't remember much. Dar Scott From doug at webcrossing.com Sun Jan 4 00:01:02 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 14:01:02 +0900 Subject: on shutDown and close stack question In-Reply-To: <031F0531-3DA2-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: In my shutDown handler I want to make sure that all the stacks get closed, because even though they do in OS X, they don't in Windows. I have this in my shutDown handler: if "onlineStack" is among the lines of the openStacks then close stack "onlineStack" end if But when I quit the app in Windows the onlineStack stack stays open and I need to close it manually. Any idea why? doug From kray at sonsothunder.com Sun Jan 4 00:07:05 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 3 Jan 2004 23:07:05 -0600 Subject: on shutDown and close stack question In-Reply-To: Message-ID: <00a501c3d280$9bf1ae60$6901a8c0@LightningFlash> If you want to quit, just make sure you execute the command "quit" ... everything will close so you don't need to worry. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Doug Lerner > Sent: Saturday, January 03, 2004 11:01 PM > To: How to use Revolution > Subject: on shutDown and close stack question > > > In my shutDown handler I want to make sure that all the > stacks get closed, because even though they do in OS X, they > don't in Windows. > > I have this in my shutDown handler: > > if "onlineStack" is among the lines of the openStacks then > close stack "onlineStack" > end if > > But when I quit the app in Windows the onlineStack stack > stays open and I need to close it manually. > > Any idea why? > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From doug at webcrossing.com Sun Jan 4 00:14:37 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 14:14:37 +0900 Subject: linefeed question In-Reply-To: <031F0531-3DA2-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: A Windows user says he is seeing a "strange character" at the end of lines I am writing to a field. I am using CR & "data" to append to the field. The Transcript Dictionary says that CR, LF, return and linefeed are all synonymous. I am not seeing this when I test with my Windows machine. Is there anything more I can do? doug From jacque at hyperactivesw.com Sun Jan 4 00:16:44 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Jan 2004 23:16:44 -0600 Subject: Mac Hypercard to Windows Rev In-Reply-To: <008401c3d258$9a7352f0$6901a8c0@LightningFlash> References: <008401c3d258$9a7352f0$6901a8c0@LightningFlash> Message-ID: <3FF7A1BC.50203@hyperactivesw.com> On 1/3/04 6:20 PM, Ken Ray wrote: > Kirby, > > Did you compact the HC stack on the Mac first before taking it over to > Rev? I've heard that sometimes this helps. You shouldn't get a hard > crash - at worst you should get error messages as certain handlers that > ran in HC fail to run in Rev because of compatibility issues. This is a good tip. I have had many stacks that crash Revolution and/or MetaCard because I forgot to compact them before trying to do a conversion. It's a good idea to compact at least twice in a row, and I usually do three (but probably the third one is just superstitious.) The first compaction cleans up different things than the second one if it is done immediately after the first. Don't do anything else in between the two compactions. Also, I sometimes have problems with very large database stacks; say, those over one or two thousand cards or so. Even after compacting they don't always come over easily. The cure for that is to make a text export of the data in HyperCard (the Power Tools stack will do it for you,) delete all but one of the cards in the main database background, and then do the two "compact stack" commands. Then open the stack in Revolution and write (or steal from HyperCard) a re-import script to bring the data in from the text file. > > HTH, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > >>-----Original Message----- >>From: use-revolution-bounces at lists.runrev.com >>[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >>Kirby Glad >>Sent: Saturday, January 03, 2004 5:27 PM >>To: use-revolution at lists.runrev.com >>Subject: Mac Hypercard to Windows Rev >> >> >>I have Mac system 7 hypercard stacks I want to convert to >>Windows revolution. >> >>I copy the files from the mac to a windows formatted floppy. >>I copy from the floppy to a Windows NT (sp4) machine. I run >>revolution from the Windows machine and attempt to OPEN the >>file. This results in sparks and smoke shooting out of the >>back of the CPU. OK, it is actually just a hard crash of my >>system, which requires a hardware reset, but it FEELS like >>sparks and smoke. >> >>Any clues? >> >>Thanks in advance >>Kirby -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Jan 4 00:22:38 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Jan 2004 23:22:38 -0600 Subject: revGoURL on 10.2.3 In-Reply-To: <8D28B479-3E53-11D8-B61B-000A959D0AC6@hindu.org> References: <8D28B479-3E53-11D8-B61B-000A959D0AC6@hindu.org> Message-ID: <3FF7A31E.6090203@hyperactivesw.com> On 1/3/04 7:15 PM, Sannyasin Sivakatirswami wrote: > Can anyone confirm revGoURL is working on MAC OSX 10.2.3 update? Seems to work okay here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Sun Jan 4 00:29:30 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat, 3 Jan 2004 19:29:30 -1000 Subject: Filter with more than one parameter Message-ID: I think I'm missing something really simple: on importPhotos gCurrentFolder set the directory to gCurrentFolder put the files into temp filter temp with "*.jpg,*.gif,*.png" put temp on importPhotos doesn't work, but filter temp with "*.jpg" does work... What am I doing wrong? Can we not filter a container with multiple criteria in a single pass? I couldn't see how to use a wildCardExpression for this and the command doesn't support full regEx, which could do the job. I searched and searched the docs but no answer that applies to filtering a container, just platform specific stuff for answer file. I would also like to filter file lists for "*.html,*.txt,*.shtml,*.xml,*.htm.*indd" in one pass as well. Of course we can do the following, but it seems like a lot more than should be needed: on importPhotos gCurrentFolder set the directory to gCurrentFolder put the files into temp put temp into tOnlyJpegs put temp into tOnlyGifs put temp into tOnlyPngs filter tOnlyJpegs with "*.jpg" filter tOnlyGifs with "*.gif" filter tOnlyPngs with "*.png" put tOnlyJpegs & cr & tOnlyGifs & cr& tOnlyPngs into _allPix put _allPix on importPhotos ?? Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From jacque at hyperactivesw.com Sun Jan 4 00:42:50 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Jan 2004 23:42:50 -0600 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <812182D2-3E6D-11D8-83AB-000A95F078B6@chipp.com> References: <008501c3d259$3680d140$6901a8c0@LightningFlash> <812182D2-3E6D-11D8-83AB-000A95F078B6@chipp.com> Message-ID: <3FF7A7DA.6050403@hyperactivesw.com> On 1/3/04 10:21 PM, Chipp Walters wrote: > Yep, > > but how to get two buttons (and a scroll wheel) on my new i-Book? No sweat. Go to any computer store and look at Windows USB mice. Virtually all of them will work without any special Mac driver (the system driver does fine.) If you want more options than the system driver provides, install the (shareware) USB Overdrive extension. It works with virtually any USB device. You can find it at versiontracker.com. Yesterday I picked up a tiny little 3-button/scrollwheel USB mouse, intended for use with Windows laptops, on sale at CompUSA for ten bucks. Works fine on my Powerbook. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at mindlube.com Sun Jan 4 00:49:37 2004 From: alex at mindlube.com (Alex Rice) Date: Sat, 3 Jan 2004 22:49:37 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: References: Message-ID: On Jan 3, 2004, at 3:11 PM, Richard Gaskin wrote: > Except, ironiclly, at Pixar, where they have more Linux machines than > Macs. > > redirect= > 1073135312000> Pixar, WETA digital, and the like, are an exception because the Unix/Linux machines are a "render wall"; a bunch of rack mounted servers that just crank away rendering frames. Not really graphics workstations. Although I guess a lot of stuff like Maya, Blender, etc. is available on Linux and that will replace Macs. > "Hating Macs"? On the contrary. In fact, I'm writing this on a Mac, > as I > have since 1987. Sorry- I don't know why I thought you were a Windows user all of a sudden :-) > The one-button mouse is (soon) dead! Long live Apple! Thanks for your rant it was interesting. I think the hockey puck mouse must have been a cruel joke by some hardware designer at apple. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From doug at webcrossing.com Sun Jan 4 00:51:50 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 14:51:50 +0900 Subject: Stack sizes and menus In-Reply-To: <031F0531-3DA2-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: Do you people find that the stack size in Windows apps are hard to predict when menu groups are in place? I am using OS X for development. When there are no menus in a stack the size seems correct in Windows, but when there is a menu, weird things happen like a lot of extra space above the menu in the Windows app. Are there any best practices for dealing with this situation? doug From dsc at swcp.com Sun Jan 4 00:54:17 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 22:54:17 -0700 Subject: linefeed question In-Reply-To: Message-ID: <6EEDCFB7-3E7A-11D8-A1C7-000A9567A3E6@swcp.com> On Saturday, January 3, 2004, at 10:14 PM, Doug Lerner wrote: > A Windows user says he is seeing a "strange character" at the end of > lines I > am writing to a field. What encoding are you using? Perhaps this is related to a unicode bug. Dar Scott From alex at mindlube.com Sun Jan 4 00:59:01 2004 From: alex at mindlube.com (Alex Rice) Date: Sat, 3 Jan 2004 22:59:01 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <7815DBEC-3E6B-11D8-83AB-000A95F078B6@chipp.com> References: <7815DBEC-3E6B-11D8-83AB-000A95F078B6@chipp.com> Message-ID: <1809FE4C-3E7B-11D8-B7C3-000393C4760A@mindlube.com> On Jan 3, 2004, at 9:07 PM, Chipp Walters wrote: > As fine as Macs are for creating print and video, last I heard, they > only had a 3% marketshare for all computers. So, all those other > computers are viewing on 'non-Mac' gamma settings. I'm with Richard > and believe Apple should consider adopting the predominant gamma > standard. The first thing I did when getting the i-Book was reset the > gamma. I am not arguing with 97% making a de-facto standard. But I'm asking, if there is/was a good reason for the Mac's funky gamma, if it was born before the MS Windows PC gamma, and if it is a matter of principle that Mac's haven't switched to the predominant standard. I'm not a graphics professional- just curious. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From doug at webcrossing.com Sun Jan 4 01:03:46 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 15:03:46 +0900 Subject: linefeed question In-Reply-To: <6EEDCFB7-3E7A-11D8-A1C7-000A9567A3E6@swcp.com> Message-ID: I've not specified an encoding, so whatever the default is. doug On 1/4/04 2:54 PM, "Dar Scott" wrote: > > On Saturday, January 3, 2004, at 10:14 PM, Doug Lerner wrote: > >> A Windows user says he is seeing a "strange character" at the end of >> lines I >> am writing to a field. > > What encoding are you using? Perhaps this is related to a unicode bug. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Sun Jan 4 01:14:03 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 04 Jan 2004 00:14:03 -0600 Subject: Stack sizes and menus In-Reply-To: References: Message-ID: <3FF7AF2B.8010803@hyperactivesw.com> On 1/3/04 11:51 PM, Doug Lerner wrote: > Do you people find that the stack size in Windows apps are hard to predict > when menu groups are in place? > > I am using OS X for development. When there are no menus in a stack the size > seems correct in Windows, but when there is a menu, weird things happen like > a lot of extra space above the menu in the Windows app. > > Are there any best practices for dealing with this situation? I'm not sure what you are seeing, but here's a page about Rev menu behavior that may help you define the problem: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Sun Jan 4 01:15:52 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 4 Jan 2004 00:15:52 -0600 Subject: linefeed question In-Reply-To: Message-ID: you should check for numToChar(13) at the end of the line. If it's there, then delete it. -Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Doug Lerner > Sent: Saturday, January 03, 2004 11:15 PM > To: How to use Revolution > Subject: linefeed question > > > A Windows user says he is seeing a "strange character" at the end > of lines I > am writing to a field. > > I am using > > CR & "data" > > to append to the field. The Transcript Dictionary says that CR, LF, return > and linefeed are all synonymous. > > I am not seeing this when I test with my Windows machine. > > Is there anything more I can do? > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From SimPLsol at aol.com Sun Jan 4 01:15:33 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Sun, 4 Jan 2004 01:15:33 EST Subject: Stack sizes and menus Message-ID: <179.23f30972.2d290985@aol.com> Doug at webcrossing wrote: Do you people find that the stack size in Windows apps are hard to predict when menu groups are in place? Doug, I have some resizing problems with OS X when there are menus in the stacks. So I don't believe it is just a Windows issue. One thing to check (try Geoff Canyon's revNavigator) is whether the menu group has become part of another group (like the main background group) - this always seems to create resizing problems for the stack when it opens. Paul Looney From jacque at hyperactivesw.com Sun Jan 4 01:15:59 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 04 Jan 2004 00:15:59 -0600 Subject: Issues with stack rectangle settings? In-Reply-To: References: Message-ID: <3FF7AF9F.2090007@hyperactivesw.com> On 1/3/04 7:17 PM, Doug Lerner wrote: > I have this one substack that just *never* seems to open where I want or > with the size I want. > > All the other substacks do. Just not this one. It is driving me crazy. I have reported a bug where this happens if the mainstack has no menu bar and the substack does have one. There are some resizing issues in that situation. I haven't had any problems with substack sizing any other times though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sun Jan 4 01:22:44 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Jan 2004 22:22:44 -0800 Subject: Issues with stack rectangle settings? In-Reply-To: <3FF7AF9F.2090007@hyperactivesw.com> Message-ID: J. Landman Gay wrote: > On 1/3/04 7:17 PM, Doug Lerner wrote: > >> I have this one substack that just *never* seems to open where I want or >> with the size I want. >> >> All the other substacks do. Just not this one. It is driving me crazy. > > I have reported a bug where this happens if the mainstack has no menu > bar and the substack does have one. There are some resizing issues in > that situation. Good diagnosis! How did you pin that down? I'd been looking for the recipe for a while, to no avail... -- 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 Sun Jan 4 01:26:26 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 4 Jan 2004 00:26:26 -0600 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <1809FE4C-3E7B-11D8-B7C3-000393C4760A@mindlube.com> Message-ID: Alex, I may be wrong but I seem to remember the first commercially available 24-bit displays being created for Mac, not PC. I believe it was SuperMac and Radius who built them. My guess is they (and Apple) are probably the ones who set on the gamma of 1.7. Of course, when MS got into it all, they probably didn't check the Mac gamma, or decided for some other reason to change the 'then standard' which Mac had set. So, my thinking is that Apple didn't 'decide' to change the standard, the PC folks did. Of course now the 'standard' is PC gamma. This is only my suposition, based upon my experience at the time. best, Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Alex Rice > Sent: Saturday, January 03, 2004 11:59 PM > To: How to use Revolution > Subject: Re: Interfaces: PC and MAC and the screenGamma property... > > > > I am not arguing with 97% making a de-facto standard. But I'm asking, > if there is/was a good reason for the Mac's funky gamma, if it was born > before the MS Windows PC gamma, and if it is a matter of principle that > Mac's haven't switched to the predominant standard. I'm not a graphics > professional- just curious. From doug at webcrossing.com Sun Jan 4 01:36:25 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 15:36:25 +0900 Subject: linefeed question In-Reply-To: Message-ID: I bet that is it. But I wonder why it would be there. I am doing a read until CRLF... doug On 1/4/04 3:15 PM, "Chipp Walters" wrote: > you should check for numToChar(13) at the end of the line. If it's there, > then delete it. > > -Chipp > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Doug Lerner >> Sent: Saturday, January 03, 2004 11:15 PM >> To: How to use Revolution >> Subject: linefeed question >> >> >> A Windows user says he is seeing a "strange character" at the end >> of lines I >> am writing to a field. >> >> I am using >> >> CR & "data" >> >> to append to the field. The Transcript Dictionary says that CR, LF, return >> and linefeed are all synonymous. >> >> I am not seeing this when I test with my Windows machine. >> >> Is there anything more I can do? >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Sun Jan 4 01:47:48 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 3 Jan 2004 23:47:48 -0700 Subject: linefeed question In-Reply-To: Message-ID: On Saturday, January 3, 2004, at 11:36 PM, Doug Lerner wrote: > I bet that is it. But I wonder why it would be there. I am doing a read > until CRLF... Though the Revolution CR is not the ASCII Carriage Return, but the same as ASCII LF, the constant CRLF is the ASCII CR followed by the ASCII LF. A read until CRLF will include ASCII CR and ASCII LF at the end. One approach is to remove the numToChar(13) characters. Dar Scott From alex at mindlube.com Sun Jan 4 01:58:48 2004 From: alex at mindlube.com (Alex Rice) Date: Sat, 3 Jan 2004 23:58:48 -0700 Subject: OT Re: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <4B34BCE6-3E70-11D8-83AB-000A95F078B6@chipp.com> References: <4B34BCE6-3E70-11D8-83AB-000A95F078B6@chipp.com> Message-ID: <725B63F9-3E83-11D8-B7C3-000393C4760A@mindlube.com> On Jan 3, 2004, at 9:41 PM, Chipp Walters wrote: > I-Tunes is the 'BETAMAX' to the rest of the online Music 'VHS'. And > those who invest in the 'beta' technology will end up not being able > to use the scores of other hardware, software and media retail/online > outlets for their music needs. While I applaud Apple for innovating > the finest current hardware/software model for music > distribution,IMHO, it's only a matter of a couple of years before > they become an also-ran in this market-- unless they can provide some > sort of standard which can be shared by other players, including DELL, > HP, SONY, etc. No, OggVorbis is the BETAMAX of online music :-) Burn a CD from iTunes, then rip the files back to .mp3 format- is what a lot of users are doing. That is a major concession by the record companies, thanks to Apple. The itunes model is closest there is to having a real-CD-in-hand type of ownership. I read that Apple is using iTunes solely to drive iPod sales. So I guess it makes sense they are not being altruistic and supporting other brands of players at this point. But the iTunes store file format is MPEG + the AAC codec. So is the DRM the only thing preventing other players from doing .m4p files directly? Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Sun Jan 4 02:03:32 2004 From: alex at mindlube.com (Alex Rice) Date: Sun, 4 Jan 2004 00:03:32 -0700 Subject: spontaneously resizing fields In-Reply-To: References: <20040103214341.9E21993009D@mail.runrev.com> Message-ID: <1B3D704A-3E84-11D8-B7C3-000393C4760A@mindlube.com> On Jan 3, 2004, at 5:13 PM, Wouter wrote: > That's strange. Over here it is working as it should, showing the > focusborder when the text is selected. > Did you reset the showFocusBorder to its true state after > experimenting? > Or do you have somewhere inside a frontscript a piece of code that > traps a command and/or shift combination before your card script gets > the attention? Just a couple of thoughts. No other scripts are present- I am using a clean mainstack for tracking down this bug. > I ran a little test with the following inserted into the frontscripts: > > on commandkeydown somekey > set the showFocusBorder of fld 1 to not the showFocusBorder of fld 1 > pass commandkeydown > end commandkeydown > > And guess what... it actually shrinks the field when doing your > discipline > of the cmd-shift-a. Yes sometimes it shrinks when gaining focus, then grows after losing focus. Sometimes it doesn't shrink, but grows after losing focus. > Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Sun Jan 4 02:04:52 2004 From: alex at mindlube.com (Alex Rice) Date: Sun, 4 Jan 2004 00:04:52 -0700 Subject: spontaneously resizing stacks In-Reply-To: References: Message-ID: <4B4BE99A-3E84-11D8-B7C3-000393C4760A@mindlube.com> On Jan 3, 2004, at 1:16 AM, Doug Lerner wrote: > I am having spontaneously resizing stacks. I have a stack with one > main card > with a minimum height of 389. But when I open it by clicking a button > on the > main stack the substack opens with a height of 89. > > Any idea why and how to prevent it? I've not seen that. What code are you opening the substack with? Can you replicate the problem with an otherwise empty mainstack- just to rule out other handlers interfering? Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Sun Jan 4 02:08:17 2004 From: alex at mindlube.com (Alex Rice) Date: Sun, 4 Jan 2004 00:08:17 -0700 Subject: revGoURL on 10.2.3 In-Reply-To: <8D28B479-3E53-11D8-B61B-000A959D0AC6@hindu.org> References: <8D28B479-3E53-11D8-B61B-000A959D0AC6@hindu.org> Message-ID: On Jan 3, 2004, at 6:15 PM, Sannyasin Sivakatirswami wrote: > Can anyone confirm revGoURL is working on MAC OSX 10.2.3 update? it also works on 10.3.2 if you mistyped... Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From lists at mangomultimedia.com Sun Jan 4 02:17:08 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 4 Jan 2004 00:17:08 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: References: Message-ID: <01D4FED5-3E86-11D8-85FB-000A956C462A@mangomultimedia.com> On Jan 3, 2004, at 10:49 PM, Alex Rice wrote: > > I think the hockey puck mouse must have been a cruel joke by some > hardware designer at apple. FWIW the hockey puck design fit very nicely in the hands of little children. My friend has a couple of little kids and those mice work perfectly for them. Now, why you would distribute all of your computers with one is beyond me but they do have a place somewhere :-) -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dsc at swcp.com Sun Jan 4 02:19:45 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 4 Jan 2004 00:19:45 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <01D4FED5-3E86-11D8-85FB-000A956C462A@mangomultimedia.com> Message-ID: <5F2DB922-3E86-11D8-A1C7-000A9567A3E6@swcp.com> On Sunday, January 4, 2004, at 12:17 AM, Trevor DeVore wrote: > On Jan 3, 2004, at 10:49 PM, Alex Rice wrote: >> >> I think the hockey puck mouse must have been a cruel joke by some >> hardware designer at apple. > > FWIW the hockey puck design fit very nicely in the hands of little > children. My friend has a couple of little kids and those mice work > perfectly for them. Now, why you would distribute all of your > computers with one is beyond me but they do have a place somewhere :-) And the stiff cord that caused it to turn sideways? Dar From doug at webcrossing.com Sun Jan 4 02:30:49 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 16:30:49 +0900 Subject: linefeed question In-Reply-To: Message-ID: On 1/4/04 3:47 PM, "Dar Scott" wrote: > > On Saturday, January 3, 2004, at 11:36 PM, Doug Lerner wrote: > >> I bet that is it. But I wonder why it would be there. I am doing a read >> until CRLF... > > Though the Revolution CR is not the ASCII Carriage Return, but the same > as ASCII LF, the constant CRLF is the ASCII CR followed by the ASCII > LF. A read until CRLF will include ASCII CR and ASCII LF at the end. > > One approach is to remove the numToChar(13) characters. > > Dar Scott Yes, of course. Thanks. doug From jacque at hyperactivesw.com Sun Jan 4 02:35:58 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 04 Jan 2004 01:35:58 -0600 Subject: Issues with stack rectangle settings? In-Reply-To: References: Message-ID: <3FF7C25E.6070203@hyperactivesw.com> On 1/4/04 12:22 AM, Richard Gaskin wrote: > J. Landman Gay wrote: > > >>On 1/3/04 7:17 PM, Doug Lerner wrote: >> >> >>>I have this one substack that just *never* seems to open where I want or >>>with the size I want. >>> >>>All the other substacks do. Just not this one. It is driving me crazy. >> >>I have reported a bug where this happens if the mainstack has no menu >>bar and the substack does have one. There are some resizing issues in >>that situation. > > > Good diagnosis! How did you pin that down? I'm not entirely sure I have, but I submitted an example stack to Bugzilla and that's the setup it had. So I think that's it. I just noticed though that I misinformed Doug, because the bug I saw was in OS X and he says he sees the problem on Windows. > I'd been looking for the recipe for a while, to no avail... > If you ever find time to set up a trial stack and you get the same problem, I'd be curious to know. One thing to watch for is that the resizing bug doesn't happen at all in the IDE, it only happens in standalones or if you suspend the development tools. That makes it difficult to reproduce. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at mindlube.com Sun Jan 4 03:04:02 2004 From: alex at mindlube.com (Alex Rice) Date: Sun, 4 Jan 2004 01:04:02 -0700 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: References: Message-ID: <8EFBD3B7-3E8C-11D8-B7C3-000393C4760A@mindlube.com> On Jan 3, 2004, at 1:39 AM, Chipp Walters wrote: > Also, while setting the screenGamma to 2.2 on the Mac does solve the > color > matching problem, it creates an even larger color perception difference > between the two platforms. IMHO, not necessarily a good idea. Thinking about this issue more, and loaded a JPEG photo into my gammatest stack, and I can't notice a difference at all in the JPEG display when I switch from screenGamma 2.2 to 1.8. Is that what would be expected? I guess I'm still confused Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From doug at webcrossing.com Sun Jan 4 04:47:06 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 18:47:06 +0900 Subject: question about foregroundColor setting In-Reply-To: Message-ID: I have the following statement in my handler: set the foregroundColor of the last line of field "chatField" to msgColor If I manually set the variable msgColor beforehand to "#000000" it works fine. But if I take the value of msgColor from an array element (I think this is what is causing the problem) I get the following error: Type Chunk: can't set attributes Object mainCard Line set the foregroundColor of the last line of field "chatField" to msgColor Hint #000000 You can see that the value of msgColor is the same as in my manual test. And I logged it to make sure there were no extra characters in the color string. Could the mere fact that the value came from an array element be causing the problem? I don't see why... doug From dcragg at lacscentre.co.uk Sun Jan 4 05:05:52 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sun, 4 Jan 2004 10:05:52 +0000 Subject: load, url and repeat In-Reply-To: <20040103164220098823.GyazMail.ludovic.thebault@laposte.net> References: <20040103164220098823.GyazMail.ludovic.thebault@laposte.net> Message-ID: At 4:42 pm +0100 3/1/04, Ludovic Th?bault wrote: >How use the url command in a loop ? > >I want to get a lot of web page which an url like this : >http://domain.com/page.php?ID=88 > >I just need to change the number of ID to get all pages. > >But it's seem that the loop is too fast to get the info, even with a >"load" command. > >I try with this script : > >on mouseup >repeat with n=1 to 810 > put "http://domain.com/page.php?ID="&n into turl > load url turl > put n&&the urlstatus of turl&cr after msg > if the urlstatus of turl = "cached" then downloadcomplete >end repeat >end mouseup > > > on downloadcomplete > -- do my stuff > unload url turl > end downloadcomplete > >How do my stuff after the url is really cached ? Instead of "load url" in this case, you could use "get url". This will ensure the script blocks until the url has been "got". on mouseup repeat with n=1 to 810 put "http://domain.com/page.php?ID="&n into turl get url turl if the result is empty then ## do stuff with "it" here else ## handle error here end if end repeat end mouseup "load url" is useful when you want to cache the url and access it later, or when you don't want your script to block while the data is downloaded. Neither seems to be the case here so "get url" is probably easier. When using "load url", you need to use "with message" if you need to know when the url has finished loading. Something like this: on mouseup repeat with n=1 to 810 put "http://domain.com/page.php?ID="&n into turl load url turl with message "downloadcomplete" end repeat end mouseup on downloadcomplete pUrl, pStatus if pStatus is "cached" then -- do my stuff else -- handle error end if unload url pUrl end downloadcomplete Cheers Dave From scott at tactilemedia.com Sun Jan 4 05:13:59 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 04 Jan 2004 02:13:59 -0800 Subject: question about foregroundColor setting In-Reply-To: Message-ID: On 1/4/04 1:47 AM, "Doug Lerner" wrote: > I have the following statement in my handler: > > set the foregroundColor of the last line of field "chatField" to msgColor > > If I manually set the variable msgColor beforehand to "#000000" it works > fine. > > But if I take the value of msgColor from an array element (I think this is > what is causing the problem) I get the following error: > > Type Chunk: can't set attributes > Object mainCard > Line set the foregroundColor of the last line of field "chatField" to > msgColor > Hint #000000 > > You can see that the value of msgColor is the same as in my manual test. And > I logged it to make sure there were no extra characters in the color string. > > Could the mere fact that the value came from an array element be causing the > problem? I don't see why... Have you tried setting the textColor as opposed to the foregroundColor? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From doug at webcrossing.com Sun Jan 4 05:20:22 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 19:20:22 +0900 Subject: question about foregroundColor setting In-Reply-To: Message-ID: On 1/4/04 7:13 PM, "Scott Rossi" wrote: > On 1/4/04 1:47 AM, "Doug Lerner" wrote: > >> I have the following statement in my handler: >> >> set the foregroundColor of the last line of field "chatField" to msgColor >> >> If I manually set the variable msgColor beforehand to "#000000" it works >> fine. >> >> But if I take the value of msgColor from an array element (I think this is >> what is causing the problem) I get the following error: >> >> Type Chunk: can't set attributes >> Object mainCard >> Line set the foregroundColor of the last line of field "chatField" to >> msgColor >> Hint #000000 >> >> You can see that the value of msgColor is the same as in my manual test. And >> I logged it to make sure there were no extra characters in the color string. >> >> Could the mere fact that the value came from an array element be causing the >> problem? I don't see why... > > Have you tried setting the textColor as opposed to the foregroundColor? > It's the same result. The Transcript Dictionary says that foregroundColor and textColor are synonyms. doug From scott at tactilemedia.com Sun Jan 4 05:19:23 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 04 Jan 2004 02:19:23 -0800 Subject: Change alphaData More Than Once? In-Reply-To: Message-ID: It seems you can set the alphaData of a target image to the alphaData of another image. Very nice. But it also seems that setting the alphaData of the target image to anything else after that point causes the image to display incorrectly. Also, if I store the original alphaData of the target image and then try to set the alphaData of the target image back to what it was, this process seems to fail. Do I need to update the image somehow? Is this problem simply due to formatting of the alphaData data, or is it impossible to change the alphaData of an image once it has been set to something else? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From bob at armbase.com Sun Jan 4 05:43:47 2004 From: bob at armbase.com (Bob Hartley) Date: Sun, 04 Jan 2004 10:43:47 +0000 Subject: Filter with more than one parameter In-Reply-To: Message-ID: <5.2.1.1.0.20040104104114.00ad1dc0@mail.armbase.com> At 19:29 03/01/2004 -1000, you wrote: >I think I'm missing something really simple: OK here is how I did it with checkboxes. (with the help of sarah) you can download the rev file from http://www.gla.ac.uk/~rh82p/ and use an copy any bit of it you wish. see screenshot here http://www.gla.ac.uk/~rh82p/confocal.jpg Cheers bob code below global gHierList,gClickList,gjpgList,gbioradList,ggifList on mouseUp put empty into gHierList put empty into field 1 answer folder "Pick a folder you want to walk:" if it is empty then exit mouseUp set lockCursor to true set cursor to watch directoryWalk it put empty into newList put gHierList into tempList if the hilite of button "JPEG" then filter tempList with "*.jpg" put tempList & cr after newList end if put gHierList into tempList if the hilite of button "BIORAD" then filter tempList with "*raw*.pic" put tempList & cr after newList end if put gHierList into tempList if the hilite of button "GIF" then filter tempList with "*.gif" put tempList & cr after newList end if put gHierList into tempList if the hilite of button "TIFF" then filter tempList with "*.tif" put tempList & cr after newList end if put gHierList into tempList if the hilite of button "PSD" then filter tempList with "*.psd" put tempList & cr after newList end if put gHierList into tempList if the hilite of button "BMP" then filter tempList with "*.bmp" put tempList & cr after newList end if put gHierList into tempList if the hilite of button "REVOLUTION" then filter tempList with "*.rev" put tempList & cr after newList end if put gHierList into tempList if the hilite of button "FREEHAND" then filter tempList with "*.fh10" put tempList & cr after newList end if put gHierList into tempList if the hilite of button "WORD" then filter tempList with "*.doc" put tempList & cr after newList end if put gHierList into tempList if the hilite of button "EXCEL" then filter tempList with "*.xls" put tempList & cr after newList end if put gHierList into tempList if the hilite of button "POWERPOINT" then filter tempList with "*.ppt" put tempList & cr after newList end if put gHierList into tempList if the hilite of button "ENDNOTE" then filter tempList with "*.enl" put tempList & cr after newList end if put newList into gHierList put gHierList into field 1 put number of lines of fld 1 filter field 1 with "*?" set lockCursor to false end mouseUp on directoryWalk whatFolder set the defaultFolder to whatFolder put the files into temp repeat for each line x in temp put whatFolder & "/" & x & return after gHierList end repeat put the folders into tDirList repeat with x = 2 to the number of lines of tDirList directoryWalk (whatFolder & "/" & (line x of tDirList)) end repeat end directoryWalk >on importPhotos gCurrentFolder > set the directory to gCurrentFolder > put the files into temp > filter temp with "*.jpg,*.gif,*.png" > put temp >on importPhotos > > >doesn't work, but > >filter temp with "*.jpg" > >does work... What am I doing wrong? Can we not filter a container with >multiple criteria in a single pass? I couldn't see how to use a >wildCardExpression for this and the command doesn't support full regEx, >which could do the job. I searched and searched the docs but no answer >that applies to filtering a container, just platform specific stuff for >answer file. I would also like to filter file lists for >"*.html,*.txt,*.shtml,*.xml,*.htm.*indd" in one pass as well. > >Of course we can do the following, but it seems like a lot more than >should be needed: > >on importPhotos gCurrentFolder > set the directory to gCurrentFolder > put the files into temp > put temp into tOnlyJpegs > put temp into tOnlyGifs > put temp into tOnlyPngs > filter tOnlyJpegs with "*.jpg" > filter tOnlyGifs with "*.gif" > filter tOnlyPngs with "*.png" > put tOnlyJpegs & cr & tOnlyGifs & cr& tOnlyPngs into _allPix > put _allPix >on importPhotos > >?? > >Sannyasin Sivakatirswami >Himalayan Academy Publications >at Kauai's Hindu Monastery >katir at hindu.org > >www.HimalayanAcademy.com, >www.HinduismToday.com >www.Gurudeva.org >www.Hindu.org > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From erikhans08 at yahoo.com Sun Jan 4 05:50:03 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sun, 4 Jan 2004 02:50:03 -0800 (PST) Subject: linefeed question In-Reply-To: Message-ID: <20040104105003.96273.qmail@web61101.mail.yahoo.com> --- Dar Scott wrote: > One approach is to remove the numToChar(13) > characters. is numToChar(13) somehow safer than "return"? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From doug at webcrossing.com Sun Jan 4 07:00:15 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 21:00:15 +0900 Subject: Copy from menu vs Copy with CMD+C In-Reply-To: <179.23f30972.2d290985@aol.com> Message-ID: I set up an Edit menu with a Copy item with a script to "copy" when selected. I also added an option CMD+C for that item. If I select text in a field (lockText true, traversalOn true) using the menu item directly, the selected text gets placed in the clipboard. But if I use the CMD+C instead, the text immediately gets deselected and nothing gets copied to the clipboard. What might I be doing wrong? Thanks, Doug Lerner, Tokyo From doug at webcrossing.com Sun Jan 4 07:38:46 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 21:38:46 +0900 Subject: htmlText question In-Reply-To: <179.23f30972.2d290985@aol.com> Message-ID: If I do something like set the htmlText of field "chatField" to the htmlText of field "chatField" & "

test

" Then it adds a line of bolded text to the field. The entire htmlText for that field then looks like

Tao: back to normal?

test

Tao: now

Why, though, if I then put "doug" after field "chatField" does the new line *also* appear in bold, and all lines after that? How do I "clear" things so that normal text appears again? I can do set the htmlText of field "chatField" to "" and that works - but it also clears the entire field. doug From klaus at major-k.de Sun Jan 4 07:49:13 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 4 Jan 2004 13:49:13 +0100 Subject: htmlText question In-Reply-To: References: Message-ID: <66036F89-3EB4-11D8-90A1-000A27B49A96@major-k.de> Hi Doug, > If I do something like > > set the htmlText of field "chatField" to the htmlText of field > "chatField" & > "

test

" > > Then it adds a line of bolded text to the field. > > The entire htmlText for that field then looks like > >

>

Tao: back to normal?

>

test

>

Tao: now

> > Why, though, if I then > > put "doug" after field "chatField" > > does the new line *also* appear in bold, and all lines after that? How > do I > "clear" things so that normal text appears again? > > I can do > > set the htmlText of field "chatField" to "" > > and that works - but it also clears the entire field. Maybe: ... set the htmltext of fld "chatField" to the htmltext of fld "chatField" & "

doug

" ... to add "plain" text? And put fld "chatField" into fld "chatField" will reset the field to unformatted text... Hope that helps... > doug Regards Klaus Major klaus at major-k.de www.major-k.de From chipp at chipp.com Sun Jan 4 07:59:21 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 4 Jan 2004 06:59:21 -0600 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <8EFBD3B7-3E8C-11D8-B7C3-000393C4760A@mindlube.com> Message-ID: You're correct. JPG's (and GIF's) aren't affected by screenGamma, and work well on both platforms. It's the PNG's that are affected. I've been using JPG's as 'background images' when I need an animated GIF overlaid on top of them. -Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Alex Rice > Sent: Sunday, January 04, 2004 2:04 AM > To: How to use Revolution > Subject: Re: Interfaces: PC and MAC and the screenGamma property... > > > > On Jan 3, 2004, at 1:39 AM, Chipp Walters wrote: > > Also, while setting the screenGamma to 2.2 on the Mac does solve the > > color > > matching problem, it creates an even larger color perception difference > > between the two platforms. IMHO, not necessarily a good idea. > > Thinking about this issue more, and loaded a JPEG photo into my > gammatest stack, and I can't notice a difference at all in the JPEG > display when I switch from screenGamma 2.2 to 1.8. Is that what would > be expected? I guess I'm still confused > > Alex Rice | Mindlube Software | > > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Sun Jan 4 07:59:22 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 4 Jan 2004 06:59:22 -0600 Subject: Change alphaData More Than Once? In-Reply-To: Message-ID: Hi Scott, I have previously documented this and posted a basic work-around. I have a stack at my site, or you can just: open stack URL "http://www.altuit.com/webs/altuit2/RunRev/testComposite.rev" best, Chipp > It seems you can set the alphaData of a target image to the alphaData of > another image. Very nice. But it also seems that setting the > alphaData of > the target image to anything else after that point causes the image to > display incorrectly. Also, if I store the original alphaData of > the target > image and then try to set the alphaData of the target image back > to what it > was, this process seems to fail. Do I need to update the image > somehow? Is > this problem simply due to formatting of the alphaData data, or is it > impossible to change the alphaData of an image once it has been set to > something else? > > Thanks & Regards, > > Scott Rossi From chipp at chipp.com Sun Jan 4 08:02:17 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 4 Jan 2004 07:02:17 -0600 Subject: linefeed question In-Reply-To: <20040104105003.96273.qmail@web61101.mail.yahoo.com> Message-ID: Last I checked, return can mean different things on different platforms. By using the numToChar function, you can be certain of only a specific character code. -Chipp > > > One approach is to remove the numToChar(13) > > characters. > > is numToChar(13) somehow safer than "return"? > > ===== > erik at erikhansen.org http://www.erikhansen.org > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From 3mcgrath at adelphia.net Sun Jan 4 08:04:58 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sun, 4 Jan 2004 08:04:58 -0500 Subject: question about foregroundColor setting In-Reply-To: References: Message-ID: <99527F66-3EB6-11D8-A5A7-000A95DA60FA@adelphia.net> the second instance 'probably' has quotes put in around it versus the first which you put in without quotes. I don't know this but have been stumped by the quote thing before. Tom On Jan 4, 2004, at 5:13 AM, Scott Rossi wrote: > On 1/4/04 1:47 AM, "Doug Lerner" wrote: > >> I have the following statement in my handler: >> >> set the foregroundColor of the last line of field "chatField" to >> msgColor >> >> If I manually set the variable msgColor beforehand to "#000000" it >> works >> fine. >> >> But if I take the value of msgColor from an array element (I think >> this is >> what is causing the problem) I get the following error: >> >> Type Chunk: can't set attributes >> Object mainCard >> Line set the foregroundColor of the last line of field "chatField" >> to >> msgColor >> Hint #000000 >> >> You can see that the value of msgColor is the same as in my manual >> test. And >> I logged it to make sure there were no extra characters in the color >> string. >> >> Could the mere fact that the value came from an array element be >> causing the >> problem? I don't see why... > > Have you tried setting the textColor as opposed to the foregroundColor? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From rob_brookbanks at hotmail.com Sun Jan 4 08:32:12 2004 From: rob_brookbanks at hotmail.com (Rob Brookbanks) Date: Sun, 04 Jan 2004 13:32:12 +0000 Subject: Mac Hypercard to Windows Rev Message-ID: >>I have Mac system 7 hypercard stacks I want to convert to Windows >>revolution. >> >>I copy the files from the mac to a windows formatted floppy. I copy from >>the floppy to a Windows NT (sp4) machine. I run revolution from the >>Windows machine and attempt to OPEN the file. This results in sparks and >>smoke shooting out of the back of the CPU. OK, it is actually just a hard >>crash of my system, which requires a hardware reset, but it FEELS like >>sparks and smoke. >> >>Any clues? >> >>Thanks in advance >>Kirby In my experience, always apply the latest windows patches before even thinking. It may well be the problem has been sorted long ago. Even number MS patches are nearly always doggy and SP4 was pants. SP6A (really an odd number SP ;-)) is pretty stable. Hopefully a no-brainer fix _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger From DVGlasgow at aol.com Sun Jan 4 08:37:03 2004 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Sun, 4 Jan 2004 08:37:03 EST Subject: XP GIF display oddities Message-ID: <132.29324c6d.2d2970ff@aol.com> In a message dated 4/1/04 4:08:53 AM, Chipp Walters, Altuit, inc writes: >So, try reprocessing you GIF's and see if it doesn't solve your >problems. It should. > Thanks Chipp, I will follow this up, but what puzzles me is that a/ My images are 40k black and white products of the ever reliable GraphicConverter and are are fine on everything else except the XP system in question. b/ the problem is affecting the standard (pointy) cursor. I don't do anything to the cursor library, beyond including it in the build. Tonmorrow I will be accessing an XP system to see if I can duplicate the problem either in stack or standalone. This will give me a clue I suppose Best wishes, David Glasgow Forensic Psychology Software and Services i-Psych From doug at webcrossing.com Sun Jan 4 08:39:59 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 22:39:59 +0900 Subject: htmlText question In-Reply-To: <66036F89-3EB4-11D8-90A1-000A27B49A96@major-k.de> Message-ID: On 1/4/04 9:49 PM, "Klaus Major" wrote: > > Maybe: > > ... > set the htmltext of fld "chatField" to the htmltext of fld "chatField" > & "

doug

" > ... > > to add "plain" text? > > And > > put fld "chatField" into fld "chatField" > > will reset the field to unformatted text... > > Hope that helps... Wouldn't that then replace the formatting completely? doug From doug at webcrossing.com Sun Jan 4 08:41:26 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 22:41:26 +0900 Subject: question about foregroundColor setting In-Reply-To: <99527F66-3EB6-11D8-A5A7-000A95DA60FA@adelphia.net> Message-ID: I thought of that, but in both cases the values are character strings. That is, in both cases the value of the parameter evaluates to a character string, so it should be the same. There are no caveats about taking values from array elements are there? doug On 1/4/04 10:04 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> wrote: > the second instance 'probably' has quotes put in around it versus the > first which you put in without quotes. I don't know this but have been > stumped by the quote thing before. > > Tom > > On Jan 4, 2004, at 5:13 AM, Scott Rossi wrote: > >> On 1/4/04 1:47 AM, "Doug Lerner" wrote: >> >>> I have the following statement in my handler: >>> >>> set the foregroundColor of the last line of field "chatField" to >>> msgColor >>> >>> If I manually set the variable msgColor beforehand to "#000000" it >>> works >>> fine. >>> >>> But if I take the value of msgColor from an array element (I think >>> this is >>> what is causing the problem) I get the following error: >>> >>> Type Chunk: can't set attributes >>> Object mainCard >>> Line set the foregroundColor of the last line of field "chatField" >>> to >>> msgColor >>> Hint #000000 >>> >>> You can see that the value of msgColor is the same as in my manual >>> test. And >>> I logged it to make sure there were no extra characters in the color >>> string. >>> >>> Could the mere fact that the value came from an array element be >>> causing the >>> problem? I don't see why... >> >> Have you tried setting the textColor as opposed to the foregroundColor? >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, Multimedia & Design >> ----- >> E: scott at tactilemedia.com >> W: http://www.tactilemedia.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Sun Jan 4 08:47:55 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 4 Jan 2004 14:47:55 +0100 Subject: htmlText question In-Reply-To: References: Message-ID: <996BDCC6-3EBC-11D8-90A1-000A27B49A96@major-k.de> Hi Doug, > On 1/4/04 9:49 PM, "Klaus Major" wrote: > >> >> Maybe: >> >> ... >> set the htmltext of fld "chatField" to the htmltext of fld "chatField" >> & "

doug

" >> ... >> >> to add "plain" text? >> >> And >> >> put fld "chatField" into fld "chatField" >> >> will reset the field to unformatted text... >> >> Hope that helps... > > Wouldn't that then replace the formatting completely? put fld "chatField" into fld "chatField" will do this, yes. That's what i meant by "will reset the field to unformatted text..." ;-) I thought that you wanted to remove the formatting completely. Obviously i was wrong :-) But the first example will do what you want, i think... > doug Regards Klaus Major klaus at major-k.de www.major-k.de From martin at harbourtown.co.uk Sun Jan 4 09:08:39 2004 From: martin at harbourtown.co.uk (Martin Baxter) Date: Sun, 04 Jan 2004 14:08:39 +0000 Subject: Interfaces: PC and MAC and the screenGamma property... Message-ID: >Alex Rice wrote > >On Jan 3, 2004, at 9:07 PM, Chipp Walters wrote: >> As fine as Macs are for creating print and video, last I heard, they >> only had a 3% marketshare for all computers. So, all those other >> computers are viewing on 'non-Mac' gamma settings. I'm with Richard >> and believe Apple should consider adopting the predominant gamma >> standard. The first thing I did when getting the i-Book was reset the >> gamma. > >I am not arguing with 97% making a de-facto standard. But I'm asking, >if there is/was a good reason for the Mac's funky gamma, if it was born >before the MS Windows PC gamma, and if it is a matter of principle that >Mac's haven't switched to the predominant standard. I'm not a graphics >professional- just curious. Yes there is a reason for "Mac funky gamma", which is that it results in colours on screen that closely reflect the actual image data ;-) - which is not only a nicety but actually of great importance in the print industry where colour mistakes have potential to be a serious and expensive issue. The print industry is one where the mac has had an historical dominance. Why would it benefit Apple to upset those customers? How many new customers would it get if it adopted uncorrected gamma as standard? Might it actually just end up with 2% market share instead? Richard's (conceivably mischievous) opinion that Apple should discard gamma correction seems to rest on the assumption that Mac Gamma is just a perverse nuisance that confers no benefit. I think that in the print industry at least it is perceived as a superior system to the 'oh who really cares about colour accuracy?' 'system' that's usual in windows and unix because that's 'good enough for the average office user or scientific programmer'. The PC/unix gamma is just what you get with no gamma correction at all, in other words the issue of display linearity is just ignored by those platforms. Back in the nineties I used to teach Photoshop. I recall one time a PC-using student brought in an image he'd scanned at home and was shocked to see how washed-out it looked on the Mac, saying it looked much darker on his PC. He seemed to suspect that there was "something wrong" with the Mac. So I showed him the histogram of the image, which turned out to contain no information whatever below about 20% brightness. On his system however this level had looked like black. Surely interoperability can be achieved without abolishing biodiversity? Isn't that supposed to be the intention of the Internet? Just because the great majority of users don't know what screen-gamma is or could care less, it does not follow that no manufacturer should offer a system designed for those who do. Let's not lose sight of the fact that the whole point of computers is precisely that they are tools that may be adapted to individual and minority requirements. Martin From doug at webcrossing.com Sun Jan 4 09:27:55 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 04 Jan 2004 23:27:55 +0900 Subject: htmlText question In-Reply-To: <996BDCC6-3EBC-11D8-90A1-000A27B49A96@major-k.de> Message-ID: On 1/4/04 10:47 PM, "Klaus Major" wrote: > Hi Doug, > >> On 1/4/04 9:49 PM, "Klaus Major" wrote: >> >>> >>> Maybe: >>> >>> ... >>> set the htmltext of fld "chatField" to the htmltext of fld "chatField" >>> & "

doug

" >>> ... >>> >>> to add "plain" text? >>> >>> And >>> >>> put fld "chatField" into fld "chatField" >>> >>> will reset the field to unformatted text... >>> >>> Hope that helps... >> >> Wouldn't that then replace the formatting completely? > > put fld "chatField" into fld "chatField" > > will do this, yes. > > That's what i meant by "will reset the field to unformatted text..." ;-) > > I thought that you wanted to remove the formatting completely. > Obviously i was wrong :-) > > But the first example will do what you want, i think... Actually, all I'm trying to do is occasionally put a styled line into the field. :) doug From bvg at mac.com Sun Jan 4 09:51:00 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 4 Jan 2004 15:51:00 +0100 Subject: linefeed question In-Reply-To: Message-ID: <697D83F7-3EC5-11D8-9DC4-003065AD94A4@mac.com> You are obviously spoiled by Rev ;) Whenever you put text from the hard drive into a field in Rev its line ending gets transformed into "return", that means linefeed (LF). This happens because different platforms uses different line endings for their files (Win: CRLF Unix: LF Mac: CR). However there are cases when that automatic translation does not happen, for example when you get data from a socket and put it into a variable (tough most standards define LF as line ending anyway). You stumbled obviously over such a case. now you need to get rid of the extra CR. BUT BEWARE: "CR" means the same as "LF" in RunRev (see entry for "Return" in the docs), that is why you need to do the numtochar(13) thing. I recommend this code: replace numtochar(13) with "" in field "your field here" On Sonntag, Jan 4, 2004, at 14:02 Europe/Zurich, Chipp Walters wrote: > Last I checked, return can mean different things on different > platforms. By > using the numToChar function, you can be certain of only a specific > character code. > > -Chipp > > >> >>> One approach is to remove the numToChar(13) >>> characters. >> >> is numToChar(13) somehow safer than "return"? >> >> ===== >> erik at erikhansen.org http://www.erikhansen.org >> >> __________________________________ >> Do you Yahoo!? >> New Yahoo! Photos - easier uploading and sharing. >> http://photos.yahoo.com/ >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Sun Jan 4 10:25:59 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 4 Jan 2004 08:25:59 -0700 Subject: linefeed question In-Reply-To: <20040104105003.96273.qmail@web61101.mail.yahoo.com> Message-ID: <4CC6AD9F-3ECA-11D8-8861-000A9567A3E6@swcp.com> On Sunday, January 4, 2004, at 03:50 AM, erik hansen wrote: >> One approach is to remove the numToChar(13) >> characters. > > is numToChar(13) somehow safer than "return"? It is not the same. In Revolution "return" means the line end char which is numToChar(10), the same as lineFeed, LF, CR and return. Sigh. Dar From dsc at swcp.com Sun Jan 4 10:27:24 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 4 Jan 2004 08:27:24 -0700 Subject: Change alphaData More Than Once? In-Reply-To: Message-ID: <7EF16F44-3ECA-11D8-8861-000A9567A3E6@swcp.com> On Sunday, January 4, 2004, at 05:59 AM, Chipp Walters wrote: > I have previously documented this and posted a basic work-around. Is there a current bugzilla entry? Dar From JimCarwardine at OwnYourFuture-net.com Sun Jan 4 10:35:25 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sun, 04 Jan 2004 11:35:25 -0400 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: Just a side bar comment on standards that is slightly off-topic. What Apple knows and what Apple does has unfortunately cost them many opportunities. For proof, visit this little web site... Seventeen years is very nearly half the entire epoch of commercial computing. Jim on 1/3/04 6:11 PM, Richard Gaskin wrote: > Alex Rice wrote: > >> >> On Jan 3, 2004, at 3:56 AM, Richard Gaskin wrote: >> >>> Which raises the obvious question: When will Apple play nice and >>> adopt the predominant standard? >> >> For graphics, print and video production Macs *are* the standard. > > Except, ironiclly, at Pixar, where they have more Linux machines than Macs. > > 1073135312000> > >> FWIW SGIs also used a similar gamma- and they were used in graphics >> and video a lot. TV and Video production is just different than PC >> computer graphics I guess. >> >> I'm not sure, but from what I've read, it's not as simple as twiddling >> a decimal number for the gamma somewhere in the system defaults. >> >> >> > > Good info, thanks. > >> Now AFAIK quickdraw is obsoleted and now the graphics API is >> Quartz+CoreGraphics, which does not use QuickDraw at all. >> Maybe the gamma model is the same? > > We can hope. Interoperability is critical for wide adoption across any > large organization, whether corporate or academic. Everything that helps > move that goal along helps all of us, esp. Apple. > >>> I hear they're finally considering a two-button mouse; is a universal >>> gamma setting so unthinkable? >> >> Hating Macs today, Richard? Actually I use a 3 button scrollwheel mouse >> on all my Macs. But >> >> Control-click == Right click >> >> if you are ever using a 1 button mouse. > > Control-Click = two hands > > "Hating Macs"? On the contrary. In fact, I'm writing this on a Mac, as I > have since 1987. > > The difference between me and a fair number of other Apple loyalists is > recognizing that status quo is deadly in an environment of radical dynamic > change like computing. As with living organisms, the only organizations > that aren't moving are dead. > > So I ask questions, and once in a while some feel these may appear to be > "anti-Apple" sentiments, but that's not the case at all. I'm just trying to > think beyond Steve's last keynote. > > When the iMac shipped with no means of backing up data without a network > server or a third-party device, seeing that most of these were going into > homes and relatively few into the enterprise I called it a mistake. Some of > my friends mistook that for being "anti-Apple", but later Steve Jobs himself > publicly called it a mistake and Apple became the last major manufacturer to > offer CD burners as standard equipment. Same story with the "hockey puck" > mouse. > > No human is perfect, not even Steve Jobs. ;) And an organization is just a > collection of imperfect individuals. > > Individuals improve their effectiveness through a lifelong process of > tempering their internal vision of how the world works by incorporating the > needs and wants of their social context, hopefully moving us day by day > toward Maslow's "self-actualization". > > As a collection of individuals, organizations can learn similarly, refining > their internal understanding of their place in the world through > constructive engagement with others. > > When customers call here for support, the ones who complain are often taken > aback by how excited I am to hear from them. But the fact is that while > flattery feels good, it's not nearly as instructive as criticism; I already > know the decisions I've made, but I need guidance to determine the next > decisions I will make. Everyone has blind spots. The older I get the more > willing I am to throw code and designs away when confronted with a > compelling argument for a new way of doing things. These days I focus less > on the software that I make and more on its evolutionary process. Everything > made by humans can be made even better. > > So while I applauded Apple's decision to maintain the single-button mouse > for years, in the modern context the decision has outlived its usefulness. > Computers are no longer a novelty, with a market penetration rivalling VCRs. > If folks can find their way around the many poorly-designed remote controls > for VCRs they can certainly learn to appreciate the advantages a two-button > mouse. :) > > I've heard rumors that Apple is already leaning that way, and when Steve > gives it the official blessing it will no longer seem a radical suggestion, > but will instead be described as "brilliant", even if half a decade behind > the curve. > > Much of the Apple customer base is like that, so accustomed to defending > their choice against stupid "Apple is doomed" FUD that they've become > defensive toward anything that hasn't already been blessed by Steve. I know > it well, I was one of those for many years until I started working with > multiple operating systems and seeing how the other 98% of the world works. > > My suggestion about gamma settings was in earnest: the two-button mouse is > coming sooner or later (I'd be surprised if Apple closes 2004 without it), > and that's a healthy change for everyone. Perhaps one day we'll see a > standardized gamma across all OSes, and that will be a healthy change too. > > Any difference between platforms not supported by solid usability research > or objective technical advantage just wastes time and resources for > everyone, but is most costly for the ones with the minority marketshare. > > There's the old joke: > > Q: How many Apple employees does it take to change a lightbulb? > > A: Three - one engineeer to design a better but slightly > non-standard lightbulb, another engineer to design a > better but slightly non-standard socket for it, and > a marketing exec to kill the program when it fails > to meet sales projections. > > I'd like to live in a world where you can tell that joke at a developer > conference and everyone in the room just gets a blank look instead of the > knowing grin it gets today. I think it's possible, if we Apple loyalists > think different. > > Worth the read: > > The one-button mouse is (soon) dead! Long live Apple! -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From scott at tactilemedia.com Sun Jan 4 12:08:29 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 04 Jan 2004 09:08:29 -0800 Subject: Change alphaData More Than Once? In-Reply-To: Message-ID: On 1/4/04 4:59 AM, "Chipp Walters" wrote: > I have previously documented this and posted a basic work-around. I have a > stack at my site, or you can just: > > open stack URL "http://www.altuit.com/webs/altuit2/RunRev/testComposite.rev" Thanks for the reference Chipp. I've been trying to understand the parts but one thing confuses me. In your sample, it appears that you can essentially restore the target image by setting its alpha/imageData properties to that of another image. In the following test stack, I try this but the script fails after restoring the image: go url "http://www.tactilemedia.com/masktest.rev" It works once, but not after that. In your stack, setting alpha/imageData seems to work repeatedly, without calling your special routines. What difference am I missing here? PS I also noted in your sample stack that rendering the target image correctly seems to require setting the alphaData *before* setting the imageData. Good to know. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Sun Jan 4 12:32:21 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 04 Jan 2004 09:32:21 -0800 Subject: Change alphaData More Than Once? In-Reply-To: Message-ID: On 1/4/04 9:08 AM, I wrote: > Thanks for the reference Chipp. I've been trying to understand the parts > but one thing confuses me. In your sample, it appears that you can > essentially restore the target image by setting its alpha/imageData > properties to that of another image. In the following test stack, I try > this but the script fails after restoring the image: > > go url "http://www.tactilemedia.com/masktest.rev" > > It works once, but not after that. In your stack, setting alpha/imageData > seems to work repeatedly, without calling your special routines. What > difference am I missing here? To further demonstrate the problem, I added Chipp's images to my test stack, which shows that Chipp's images can be repeatedly updated. My images will only update once. So Chipp's images are "better" than mine, but why? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From mwieder at ahsoftware.net Sun Jan 4 12:48:24 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 4 Jan 2004 09:48:24 -0800 Subject: Mac Hypercard to Windows Rev Message-ID: <11489680423.20040104094824@ahsoftware.net> Jacque- Saturday, January 3, 2004, 9:16:44 PM, you wrote: JLG> This is a good tip. I have had many stacks that crash Revolution and/or JLG> MetaCard because I forgot to compact them before trying to do a JLG> conversion. It's a good idea to compact at least twice in a row, and I JLG> usually do three (but probably the third one is just superstitious.) The JLG> first compaction cleans up different things than the second one if it is JLG> done immediately after the first. Don't do anything else in between the JLG> two compactions. Interesting... I also always do three. In my case I think this habit comes from two places. First of all the three consecutive times you need to reset the PRAM on a Macintosh before being sure that everything's really cleared. Secondly from experience I've found that making a serious change on a Windows computer (changing the network settings, for one) requires three reboots before all the driver tables are completely rebuilt properly. People tend to look at me funny when I do things like this, but it *does* work out, and I've just gotten into the habit of doing these things three times to make sure they take. ...at any rate, it's easier than shaking the bones and sacrificing a chicken... -- -Mark Wieder mwieder at ahsoftware.net From gizmotron at earthlink.net Sun Jan 4 12:57:41 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun, 4 Jan 2004 09:57:41 -0800 Subject: htmlText question In-Reply-To: Message-ID: <7DEA5CC1-3EDF-11D8-AAFA-000A95859272@earthlink.net> On Sunday, January 4, 2004, at 04:38 AM, Doug Lerner wrote: > set the htmlText of field "chatField" to the htmlText of field > "chatField" & > "

test

" Doug, Try appending or transforming your HTML before setting the HTMLText. put "" into field "maintext" set the HTMLText of field "mainText" to "

test

" put the HTMLText of field "mainText" into zap put return & "

test

" after zap set the HTMLText of field "mainText" to zap put return & "word" after field "mainText" put return & return & "test" after field "mainText" put the HTMLText of field "mainText" into zap put return & return & "

Test Word

" after zap set the HTMLText of field "mainText" to zap put the HTMLText of field "mainText"

test

test

word

test

Test Word

Mark Brownell From katir at hindu.org Sun Jan 4 13:06:31 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sun, 4 Jan 2004 08:06:31 -1000 Subject: revGoURL on 10.2.3 In-Reply-To: References: <8D28B479-3E53-11D8-B61B-000A959D0AC6@hindu.org> Message-ID: Right ;-) 10.3.2 great... I wasn't sure if rev was using the reportedly broken GURLGURL... I've been delaying on the upgrade... will go for it, thanks. Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org. On Jan 3, 2004, at 9:08 PM, Alex Rice wrote: > it also works on 10.3.2 if you mistyped... From dsc at swcp.com Sun Jan 4 13:14:37 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 4 Jan 2004 11:14:37 -0700 Subject: Change alphaData More Than Once? In-Reply-To: Message-ID: On Sunday, January 4, 2004, at 10:32 AM, Scott Rossi wrote: > To further demonstrate the problem, I added Chipp's images to my test > stack, > which shows that Chipp's images can be repeatedly updated. My images > will > only update once. > > So Chipp's images are "better" than mine, but why? I have had trouble getting the height, width, formatedHeight and formatedWidth all right in the past. Setting the text of an image will "clear" it. I haven't looked at the stacks, so I'm just babbling, hoping I mention something useful. Dar Scott From dsc at swcp.com Sun Jan 4 13:19:33 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 4 Jan 2004 11:19:33 -0700 Subject: question about foregroundColor setting In-Reply-To: Message-ID: <8BFC32DB-3EE2-11D8-8861-000A9567A3E6@swcp.com> On Sunday, January 4, 2004, at 06:41 AM, Doug Lerner wrote: > There are no caveats about taking values from array elements are there? There should be none that affect this. Array elements can't be arrays. They can be (internal) numbers. Perhaps the chunk is empty. (I don't know if this would be a problem, I'm just throwing this out.) Dar Scott From dsc at swcp.com Sun Jan 4 13:24:22 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 4 Jan 2004 11:24:22 -0700 Subject: Copy from menu vs Copy with CMD+C In-Reply-To: Message-ID: <382650B4-3EE3-11D8-8861-000A9567A3E6@swcp.com> On Sunday, January 4, 2004, at 05:00 AM, Doug Lerner wrote: > But if I use the CMD+C instead, the text immediately gets deselected > and > nothing gets copied to the clipboard. > > What might I be doing wrong? Is your handler even being executed? Maybe an IDE frontscript is stealing it. Dar Scott From dsc at swcp.com Sun Jan 4 13:33:47 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 4 Jan 2004 11:33:47 -0700 Subject: htmlText question In-Reply-To: Message-ID: <88B8744E-3EE4-11D8-8861-000A9567A3E6@swcp.com> On Sunday, January 4, 2004, at 07:27 AM, Doug Lerner wrote: > Actually, all I'm trying to do is occasionally put a styled line into > the > field. :) I use my own commands for appending lines. You might have one for appending a bold line and one for appending a line not bold. This also keeps my line ends consistent. Another approach would be to put the line-end char at the end of the line and make sure it is not bold after a bold line. That takes a bit more work, but it could be hidden in your appendBoldLine command. That might allow you to avoid the appendLine command and use a simple 'put after'. (I prefer the custom commands.) Dar Scott From ambassador at fourthworld.com Sun Jan 4 13:57:30 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 04 Jan 2004 10:57:30 -0800 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: Martin Baxter wrote the best explanation of the Mac gamma I've read yet: >> Alex Rice wrote >> >> On Jan 3, 2004, at 9:07 PM, Chipp Walters wrote: >>> As fine as Macs are for creating print and video, last I heard, they >>> only had a 3% marketshare for all computers. So, all those other >>> computers are viewing on 'non-Mac' gamma settings. I'm with Richard >>> and believe Apple should consider adopting the predominant gamma >>> standard. The first thing I did when getting the i-Book was reset the >>> gamma. >> >> I am not arguing with 97% making a de-facto standard. But I'm asking, >> if there is/was a good reason for the Mac's funky gamma, if it was born >> before the MS Windows PC gamma, and if it is a matter of principle that >> Mac's haven't switched to the predominant standard. I'm not a graphics >> professional- just curious. > > Yes there is a reason for "Mac funky gamma", which is that it results in > colours on screen that closely reflect the actual image data ;-) - which is > not only a nicety but actually of great importance in the print industry > where colour mistakes have potential to be a serious and expensive issue. > The print industry is one where the mac has had an historical dominance. > Why would it benefit Apple to upset those customers? How many new customers > would it get if it adopted uncorrected gamma as standard? Might it actually > just end up with 2% market share instead? Unfortunately that's already happened: [An aside about that article: While it describes the weaknesses inherent in focusing on technological innovation without also innovating other aspects of business throughput, the upside is that the other aspects are not as demanding. The implication is very positive, suggesting that Apple could at any time apply their trademark innovative thinking to these less glamorous aspects as they do with product design, thereby acheiving the same results as other successful business-process innovators while maintaining advantage in the product experience.] > Richard's (conceivably mischievous) opinion that Apple should discard gamma > correction seems to rest on the assumption that Mac Gamma is just a > perverse nuisance that confers no benefit. I'm far too ignorant of the details to have made claims about Apple's decision on color management, but I did raise a sincere question: can we reach a little higher to find a way to have excellent color correction without the aggregate loss of millions of human hours each year in multi-platfom workflows? This article suggests that since Win ME color correction is not the issue it used to be: I recognize the article is published by convicted antitrust violators and may therefore be even more suspect than any other vendor's argument about why buying into their solution is "superior". But on balance, I also recognize that both platforms have much in common so there must be a way for ingenuity to prevail over lost time. I'm admittedly close to completely ignorant of the demands of color correction for quality printing; as a multimedia dude I use my cheap printer less than once a month (Dan Friedman calls my printer "crappy" and I concur ). There may well be many aspects of this that are beyond what little understanding I can gain from a handful of Web articles. Still, this color layman can't help but wonder: Cameras, scanners, displays, printers, and ICC profiles are already interoperable, so the only remaining element is the OS color management scheme. To what degree is the current disparity between OSes driven by truly technical constraints, and to what degree may technical considerations be hampered by human weaknesses like NIH (the "not invented here" syndrome) or mere adherence to the past? In short, if the problem of color correction is universal, why can't there be a universal solution? This is an excellent point: > Surely interoperability can be achieved without abolishing biodiversity? > Isn't that supposed to be the intention of the Internet? > Just because the great majority of users don't know what screen-gamma is or > could care less, it does not follow that no manufacturer should offer a > system designed for those who do. > > Let's not lose sight of the fact that the whole point of computers is > precisely that they are tools that may be adapted to individual and > minority requirements. Essential to sound democratic (people-driven) systems is that minorities are given protections from mob rule. Assimilation is for lower organisms. But since all sides suffer a loss from the current disparity with color management, can we find a way to maintain the experiential benefits of choosing one OS over another without necessarily accepting lost productivity as a by-product? Your dreamy optimist friend who maintains the belief that human-derived systems can always be improved, -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Sun Jan 4 14:36:43 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 04 Jan 2004 11:36:43 -0800 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: Message-ID: On 1/4/04 10:57 AM, "Richard Gaskin" wrote: > In short, if the problem of color correction is universal, why can't there > be a universal solution? IMHO, I would say because of the hardware, or the way the hardware is manufactured. To be done well, color correction must be done on a system by system basis. Different monitors display color differently, as do different printers, as do different scanners. To get all the variables of image display in synch requires a good deal of time, experimentation and cost. Getting back to image display in Rev: I've made the following comment before but it bears repeating. You can spend countless hours finessing the color of your on-screen images to follow some kind of standard, but the standard is irrelevant when you get to a user who doesn't know their monitor is set to 256 colors. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Sun Jan 4 14:42:11 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 4 Jan 2004 13:42:11 -0600 Subject: Change alphaData More Than Once? In-Reply-To: References: Message-ID: <16EA8982-3EEE-11D8-A793-000A95F078B6@chipp.com> Hmmm, I checked it out (on a Mac) and the only differences I see are (using PropList which compares the properties of two objects - one of my altPlugins) is that: the opaque property of your image is set to true whereas the opaque property of my image is set to false. It appears one cannot 'set' this property as it probably is a function of whether or not any 'alpha pixels' are present. Try this (I would, but we already know my images are 'better;-): Try doing the demo with the source and destination images having *some* transparency and let me know what you find. best, Chipp (I really like this Mac email client I just figured out (by accident) if you hilite text (don't we all misspell 'hilite' now?) and press the reply button, it only copies the text hilited. Cool! :-) On Jan 4, 2004, at 11:32 AM, Scott Rossi wrote: > To further demonstrate the problem, I added Chipp's images to my test > stack, > which shows that Chipp's images can be repeatedly updated. My images > will > only update once. > > So Chipp's images are "better" than mine, but why? > > Thanks & Regards, > > Scott Rossi From chipp at chipp.com Sun Jan 4 14:44:34 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 4 Jan 2004 13:44:34 -0600 Subject: OT - How to do a tracert on the Mac? Message-ID: <6C2D86F2-3EEE-11D8-A793-000A95F078B6@chipp.com> Sorry for asking, but as a Mac newbie, I need to be able to do this. Any help (or websites pointing to goodies such as this)? Thanks! -Chipp From chipp at chipp.com Sun Jan 4 14:46:47 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 4 Jan 2004 13:46:47 -0600 Subject: filepath for Revolution engine? Message-ID: Does anyone know of a sure-fire way to figure out the filepath of the main program which launched Rev? Here's what I'd like to be able to do in the IDE: put the filename of the engineStack Sorry if I missed it somewhere. But I can't find a reference to it in the docs. TIA, Chipp From dcragg at lacscentre.co.uk Sun Jan 4 15:00:23 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sun, 4 Jan 2004 20:00:23 +0000 Subject: OT - How to do a tracert on the Mac? In-Reply-To: <6C2D86F2-3EEE-11D8-A793-000A95F078B6@chipp.com> References: <6C2D86F2-3EEE-11D8-A793-000A95F078B6@chipp.com> Message-ID: At 1:44 pm -0600 4/1/04, Chipp Walters wrote: >Sorry for asking, but as a Mac newbie, I need to be able to do this. >Any help (or websites pointing to goodies such as this)? Thanks! In the Terminal ... traceroute www.runrev.com (type "man traceroute" for more information) ... or much prettier, use Network Utility under Applications/Utilities Cheers Dave From jacque at hyperactivesw.com Sun Jan 4 16:57:42 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 04 Jan 2004 15:57:42 -0600 Subject: filepath for Revolution engine? In-Reply-To: References: Message-ID: <3FF88C56.6090005@hyperactivesw.com> On 1/4/04 1:46 PM, Chipp Walters wrote: > Does anyone know of a sure-fire way to figure out the filepath of the > main program which launched Rev? Here's what I'd like to be able to do > in the IDE: > > put the filename of the engineStack I don't know of any way to do it except to get the defaultFolder the moment the first stack launches. The defaultFolder is initially the same one containing the engine. HyperCard had a function for it: the long name of HyperCard. This returned the path to the engine. That would be nice to have in Rev too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Sun Jan 4 17:09:44 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 5 Jan 2004 08:39:44 +1030 Subject: filepath for Revolution engine? In-Reply-To: Message-ID: > Does anyone know of a sure-fire way to figure out the filepath of the > main program which launched Rev? Here's what I'd like to be able to do > in the IDE: > > put the filename of the engineStack > > Sorry if I missed it somewhere. But I can't find a reference to it in > the docs. > Try the address function... Cheers Monte From chipp at chipp.com Sun Jan 4 17:12:37 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 4 Jan 2004 16:12:37 -0600 Subject: filepath for Revolution engine? In-Reply-To: <3FF88C56.6090005@hyperactivesw.com> Message-ID: Yep, kinda thought so. I'm developing some plugin tools for rev and can't reliable 'get the defaultFolder' from the IDE. Thanks, Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of J. Landman > Gay > Sent: Sunday, January 04, 2004 3:58 PM > To: How to use Revolution > Subject: Re: filepath for Revolution engine? > > > On 1/4/04 1:46 PM, Chipp Walters wrote: > > > Does anyone know of a sure-fire way to figure out the filepath of the > > main program which launched Rev? Here's what I'd like to be able to do > > in the IDE: > > > > put the filename of the engineStack > > I don't know of any way to do it except to get the defaultFolder the > moment the first stack launches. The defaultFolder is initially the same > one containing the engine. > > HyperCard had a function for it: the long name of HyperCard. This > returned the path to the engine. That would be nice to have in Rev too. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Sun Jan 4 17:45:01 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sun, 4 Jan 2004 12:45:01 -1000 Subject: Scrolling thumbnail gallery In-Reply-To: References: Message-ID: did either of you make any progress on this? I'm working on a similar project right now. Current strategy is to import photos onto card one after another. then preview these somehow... but still looking for a drag and drop re-arrange system. Look at setting image source of chars in a fld at the moment, then move those around and using the re-arrangement to resort the cards in the main stack... Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On Dec 22, 2003, at 4:00 PM, Ken Norris wrote: > Hello frank, > >> Date: Mon, 22 Dec 2003 21:28:35 +0000 >> From: Frank Leahy >> Subject: Scrolling thumbnail gallery > >> Unfortunately >> the drop event doesn't get triggered in the group script when the drop >> happens in the space between two images, only when you drop on a group >> image. > ------------ > I've never seen anything do that before so I'm interested how this > would > work. There must be some location between images that can accept a > drop or > else there is no place for it to go. IOW, you need a place to drop and > the > "nothing" between images already existing isn't a legitimate "place". > > The only way to do it AFACS is to create a pseudo-area between the > images, > perhaps in a min(max) function of some kind, then when you drop > something in > that 'area', it creates a legitimate image space, drops the image, and > rearranges everything else in a swoop. > > I can't wait to see others ideas about this. I'm creating a system for > landscaping maintainace at a resort here in the San Juans. I want to > coordinate scrolling ground area photos with an aerial map overlay. > They > should automatically index each other, i.e., clicking on a map area > brings > up a set of vertical scrolling ground area photos related to that > area, then > have a "Go" button that takes the user to all the maintainace data > about > each sub-area. It might be cool to edit those with a D&D utility. > > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From doug at webcrossing.com Sun Jan 4 17:53:39 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 05 Jan 2004 07:53:39 +0900 Subject: brushed metal look and platforms other than OS X? In-Reply-To: <179.23f30972.2d290985@aol.com> Message-ID: When I open a stack set for metal look in an OS X app it looks fine. But in OS 9 and Windows the stack looks like the yellow background color I set earlier for the stack. In the View emulator it looks sort of metal for both of those platforms though. Does the metallic look just not work in platforms other than OS X? doug From doug at webcrossing.com Sun Jan 4 17:54:51 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 05 Jan 2004 07:54:51 +0900 Subject: speech and platforms other than OS X? In-Reply-To: <179.23f30972.2d290985@aol.com> Message-ID: I am using a speech alert in OS X, and it works in the OS X standalone app. But it doesn't work in Windows or OS 9. In OS 9 it even hangs for about a minute. Is OS X the only platform for which the speech works? doug From doug at webcrossing.com Sun Jan 4 18:00:14 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 05 Jan 2004 08:00:14 +0900 Subject: Copy from menu vs Copy with CMD+C In-Reply-To: <382650B4-3EE3-11D8-8861-000A9567A3E6@swcp.com> Message-ID: On 1/5/04 3:24 AM, "Dar Scott" wrote: > > On Sunday, January 4, 2004, at 05:00 AM, Doug Lerner wrote: > >> But if I use the CMD+C instead, the text immediately gets deselected >> and >> nothing gets copied to the clipboard. >> >> What might I be doing wrong? > > Is your handler even being executed? Maybe an IDE frontscript is > stealing it. > This is happening in the standalone app too though. doug From doug at webcrossing.com Sun Jan 4 18:01:31 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 05 Jan 2004 08:01:31 +0900 Subject: htmlText question In-Reply-To: <88B8744E-3EE4-11D8-8861-000A9567A3E6@swcp.com> Message-ID: On 1/5/04 3:33 AM, "Dar Scott" wrote: > > On Sunday, January 4, 2004, at 07:27 AM, Doug Lerner wrote: > >> Actually, all I'm trying to do is occasionally put a styled line into >> the >> field. :) > > I use my own commands for appending lines. You might have one for > appending a bold line and one for appending a line not bold. This also > keeps my line ends consistent. So you append all yours with either just

text

or

bold text

, using the same approach I did? doug > > Another approach would be to put the line-end char at the end of the > line and make sure it is not bold after a bold line. That takes a bit > more work, but it could be hidden in your appendBoldLine command. That > might allow you to avoid the appendLine command and use a simple 'put > after'. (I prefer the custom commands.) > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From rpresender at earthlink.net Sun Jan 4 18:01:37 2004 From: rpresender at earthlink.net (Robert Presender) Date: Sun, 4 Jan 2004 15:01:37 -0800 Subject: Open Recent File Message-ID: Using OS 10.2.8 and Rev 2.1.2. Not having found a way to delete menu items in the Open Recent File of the File menu after searching the documentation, preferences etc., is there a way to delete the items? I have accumulate about 15 items so far. I must be missing something. TIA Regards .... Bob http://home.earthlink.net/~rep.shareware From bvg at mac.com Sun Jan 4 18:14:07 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 5 Jan 2004 00:14:07 +0100 Subject: brushed metal look and platforms other than OS X? In-Reply-To: Message-ID: Brushed metal is mac os x only, like drawers and sheets. On Sonntag, Jan 4, 2004, at 23:53 Europe/Zurich, Doug Lerner wrote: > When I open a stack set for metal look in an OS X app it looks fine. > But in > OS 9 and Windows the stack looks like the yellow background color I > set > earlier for the stack. > > In the View emulator it looks sort of metal for both of those platforms > though. > > Does the metallic look just not work in platforms other than OS X? > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bvg at mac.com Sun Jan 4 18:14:56 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 5 Jan 2004 00:14:56 +0100 Subject: speech and platforms other than OS X? In-Reply-To: Message-ID: it should work on xp as far as i know, there was a problem which made it not work, but i do not know if it has been resolved. On Sonntag, Jan 4, 2004, at 23:54 Europe/Zurich, Doug Lerner wrote: > I am using a speech alert in OS X, and it works in the OS X standalone > app. > But it doesn't work in Windows or OS 9. In OS 9 it even hangs for > about a > minute. > > Is OS X the only platform for which the speech works? > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From doug at webcrossing.com Sun Jan 4 18:23:29 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 05 Jan 2004 08:23:29 +0900 Subject: brushed metal look and platforms other than OS X? In-Reply-To: Message-ID: Thanks. The View emulations shouldn't tease us like that then! :) doug On 1/5/04 8:14 AM, "Bj?rnke von Gierke" wrote: > Brushed metal is mac os x only, like drawers and sheets. > > On Sonntag, Jan 4, 2004, at 23:53 Europe/Zurich, Doug Lerner wrote: > >> When I open a stack set for metal look in an OS X app it looks fine. >> But in >> OS 9 and Windows the stack looks like the yellow background color I >> set >> earlier for the stack. >> >> In the View emulator it looks sort of metal for both of those platforms >> though. >> >> Does the metallic look just not work in platforms other than OS X? >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Sun Jan 4 18:24:34 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 05 Jan 2004 08:24:34 +0900 Subject: speech and platforms other than OS X? In-Reply-To: Message-ID: This was 2000. doug On 1/5/04 8:14 AM, "Bj?rnke von Gierke" wrote: > it should work on xp as far as i know, there was a problem which made > it not work, but i do not know if it has been resolved. > > On Sonntag, Jan 4, 2004, at 23:54 Europe/Zurich, Doug Lerner wrote: > >> I am using a speech alert in OS X, and it works in the OS X standalone >> app. >> But it doesn't work in Windows or OS 9. In OS 9 it even hangs for >> about a >> minute. >> >> Is OS X the only platform for which the speech works? >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Sun Jan 4 21:24:20 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 05 Jan 2004 11:24:20 +0900 Subject: Japanese display issues/questions In-Reply-To: <179.23f30972.2d290985@aol.com> Message-ID: The docs say: ----- You display double-byte text in its correct language by setting its textFont property to a Unicode font. You can either put the text into the field and set the textFont in a handler or the message box, or manually enter the text after using the operating system?s built-in text entry tools to choose a language. For example, to display double-byte Japanese characters that are on line 12 of a field, use a statement like the following: set the textFont of line 12 of field 1 to "Osaka,Japanese" When you manually enter text in a language that does not use the Roman alphabet, using the operating system?s tools, Revolution automatically sets the textFont of the text you enter to the appropriate font for the language you have chosen. ----- When I type into a field in Japanese it looks fine. But when I send the contents of the field to another field it looks corrupted. When I try the textFont setting above the Japanese appears, but roman characters look corrupted. Roman characters should display ok, even with a Japanese setting. I tried looking at the textFont setting of the input field, but the textFont does not appear to be set, as described above. Anybody have any luck getting this to work, or other hints? Thanks. doug From pixelbird at interisland.net Sun Jan 4 21:28:21 2004 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 04 Jan 2004 18:28:21 -0800 Subject: Resizeable problems In-Reply-To: <20040104145228.E0788930155@mail.runrev.com> Message-ID: Howdy, How do I set the resizeable of a stack to false. Nothing I've tried works. How do I get rid of the resize drag box in the lower right corner of the window? I can't find a way to do that either. Ken N. From doug at webcrossing.com Sun Jan 4 21:32:12 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 05 Jan 2004 11:32:12 +0900 Subject: Japanese display issues/questions In-Reply-To: <179.23f30972.2d290985@aol.com> Message-ID: With regards to my previous question, it seems I can get what I want with something like: set the htmlText of field "chatField" to the htmlText of field "chatField" & CR & the htmlText of field "input" I'll keep fiddling. Thanks, doug From capellan2000 at yahoo.com Sun Jan 4 22:40:19 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun, 4 Jan 2004 19:40:19 -0800 (PST) Subject: Change alphaData More Than Once? In-Reply-To: <20040104193758.3AC95930171@mail.runrev.com> Message-ID: <20040105034019.78296.qmail@web40508.mail.yahoo.com> >To further demonstrate the problem, >I added Chipp's images to my test >stack,which shows that Chipp's images can be >repeatedly updated. My images will >only update once. In this machine, running windows 98, both sets of image get masked fine multiple times. But I noticed a black image filling the area of your image before it get restored to original unmasked state. Probably related, Could you copy a masked image from the browser (a gif or png) and paste it in MC/RR preserving the masks? Pasted images from the clipboard always loses the maskdata. And, Could it be possible to paste and preserve an animated gif? al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 From chipp at chipp.com Sun Jan 4 23:05:49 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 4 Jan 2004 22:05:49 -0600 Subject: Open Recent File In-Reply-To: Message-ID: Try setting the number of items to 0 in the Files & Memory section of the Prefs. Then set back to 15. That will clear it. > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Robert > Presender > Sent: Sunday, January 04, 2004 5:02 PM > To: use-revolution at lists.runrev.com > Subject: Open Recent File > > > Using OS 10.2.8 and Rev 2.1.2. > > Not having found a way to delete menu items in the Open Recent File of > the File menu after searching the documentation, preferences etc., is > there a way to delete the items? I have accumulate about 15 items so > far. > I must be missing something. > TIA > > Regards .... Bob > http://home.earthlink.net/~rep.shareware > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Mon Jan 5 00:08:48 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 04 Jan 2004 23:08:48 -0600 Subject: Resizeable problems In-Reply-To: References: Message-ID: <3FF8F160.9000506@hyperactivesw.com> On 1/4/04 8:28 PM, Ken Norris wrote: > How do I set the resizeable of a stack to false. Nothing I've tried works. This drives me nuts, I constantly mis-type the command. There is no "e" in "resizable": set the resizable of this stack to false > How do I get rid of the resize drag box in the lower right corner of the > window? I can't find a way to do that either. If the resizable is false, the drag box disappears. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Mon Jan 5 01:51:16 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 4 Jan 2004 23:51:16 -0700 Subject: htmlText question In-Reply-To: Message-ID: <8F577CAF-3F4B-11D8-8632-000A9567A3E6@swcp.com> On Sunday, January 4, 2004, at 04:01 PM, Doug Lerner wrote: >> On Sunday, January 4, 2004, at 07:27 AM, Doug Lerner wrote: >> >>> Actually, all I'm trying to do is occasionally put a styled line into >>> the >>> field. :) >> >> I use my own commands for appending lines. You might have one for >> appending a bold line and one for appending a line not bold. This >> also >> keeps my line ends consistent. > > So you append all yours with either just

text

or

bold > text

, using the same approach I did? Actually I set properties of the last n chars, where n is the length of the line I just appended. Your idea might be better. I'm not sure where yours will put the line-end; I would have to experiment. Dar Scott From dsc at swcp.com Mon Jan 5 01:54:14 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 4 Jan 2004 23:54:14 -0700 Subject: Resizeable problems In-Reply-To: <3FF8F160.9000506@hyperactivesw.com> Message-ID: On Sunday, January 4, 2004, at 10:08 PM, J. Landman Gay wrote: >> How do I set the resizeable of a stack to false. Nothing I've tried >> works. > > This drives me nuts, I constantly mis-type the command. There is no > "e" in "resizable": > > set the resizable of this stack to false Is there some way to catch property typos? Dar Scott From kee at kagi.com Mon Jan 5 02:06:04 2004 From: kee at kagi.com (kee nethery) Date: Sun, 4 Jan 2004 23:06:04 -0800 Subject: [OT/ANN] Now I'm a father In-Reply-To: <20040103215404.97003.qmail@web61101.mail.yahoo.com> References: <20040103215404.97003.qmail@web61101.mail.yahoo.com> Message-ID: On Jan 3, 2004, at 1:54 PM, erik hansen wrote: > > --- kee nethery wrote: >> I'd like to recommend a book >> >> Baby Signs >> >> we picked a handful of signs and used them with >> the words when we communicated with our baby. > > were these "signs" pictures, words or both? > the implication is that all infants are > frustrated non-communicators. > no wonder they cry. They are hand signs that are specific to what a baby can do with their hands. Much of ASL (American Sign Language?) involves using fingers and babies (or at least ours) wasn't able to do ASL style signs. These I guess are more akin to gestures. He learned roughly 6 of the 12 we decided to use on a regular basis and he made up around 6 of his own that we picked up on. We did not go through the frustrated non-communicator stage. It was soooo cool when after a shower and we had dried him off, when he asked for More Shower (since those were two signs he could do). So we stuck him back in the shower and he was amazingly happy. Kee From doug at webcrossing.com Mon Jan 5 02:34:27 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 05 Jan 2004 16:34:27 +0900 Subject: htmlText question In-Reply-To: <8F577CAF-3F4B-11D8-8632-000A9567A3E6@swcp.com> Message-ID: On 1/5/04 3:51 PM, "Dar Scott" wrote: > > On Sunday, January 4, 2004, at 04:01 PM, Doug Lerner wrote: > >>> On Sunday, January 4, 2004, at 07:27 AM, Doug Lerner wrote: >>> >>>> Actually, all I'm trying to do is occasionally put a styled line into >>>> the >>>> field. :) >>> >>> I use my own commands for appending lines. You might have one for >>> appending a bold line and one for appending a line not bold. This >>> also >>> keeps my line ends consistent. >> >> So you append all yours with either just

text

or

bold >> text

, using the same approach I did? > > Actually I set properties of the last n chars, where n is the length of > the line I just appended. Your idea might be better. I'm not sure > where yours will put the line-end; I would have to experiment. One problem is that my field scrolls as I add more to it. But setting the last line (and presumably the last n characters) seems to have the bad side effect of always keeping the last line with that setting... hmmm... doug From dsc at swcp.com Mon Jan 5 03:38:12 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 5 Jan 2004 01:38:12 -0700 Subject: htmlText question In-Reply-To: Message-ID: <7F7AE282-3F5A-11D8-8632-000A9567A3E6@swcp.com> On Monday, January 5, 2004, at 12:34 AM, Doug Lerner wrote: >>> So you append all yours with either just

text

or

bold >>> text

, using the same approach I did? >> >> Actually I set properties of the last n chars, where n is the length >> of >> the line I just appended. Your idea might be better. I'm not sure >> where yours will put the line-end; I would have to experiment. > > One problem is that my field scrolls as I add more to it. But setting > the > last line (and presumably the last n characters) seems to have the bad > side > effect of always keeping the last line with that setting... hmmm... I think that means that (unless you find some way to avoid it) you will need a command for appending even plain text. Dar Scott From chipp at chipp.com Mon Jan 5 04:23:11 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 5 Jan 2004 03:23:11 -0600 Subject: Another newbie Mac Question... Message-ID: I'm sure I'm missing something, but I've looked in the docs... How can I do: answer file "Please choose a PNG file" with filter "PNGs,*.png" on the Mac? It certainly won't let me choose a .png file that way. I've also tried: answer file with filter "PING" as sheet...I get a fancy display but no better result :-) -Chipp From ambassador at fourthworld.com Mon Jan 5 04:24:44 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jan 2004 01:24:44 -0800 Subject: Another newbie Mac Question... In-Reply-To: Message-ID: Chipp Walters wrote: > I'm sure I'm missing something, but I've looked in the docs... > > How can I do: > > answer file "Please choose a PNG file" with filter "PNGs,*.png" > > on the Mac? answer file "Please choose a PNG file:" of type "PNGf" -- 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 doug at webcrossing.com Mon Jan 5 05:04:35 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 05 Jan 2004 19:04:35 +0900 Subject: htmlText question In-Reply-To: <7F7AE282-3F5A-11D8-8632-000A9567A3E6@swcp.com> Message-ID: On 1/5/04 5:38 PM, "Dar Scott" wrote: > > On Monday, January 5, 2004, at 12:34 AM, Doug Lerner wrote: > >>>> So you append all yours with either just

text

or

bold >>>> text

, using the same approach I did? >>> >>> Actually I set properties of the last n chars, where n is the length >>> of >>> the line I just appended. Your idea might be better. I'm not sure >>> where yours will put the line-end; I would have to experiment. >> >> One problem is that my field scrolls as I add more to it. But setting >> the >> last line (and presumably the last n characters) seems to have the bad >> side >> effect of always keeping the last line with that setting... hmmm... > > I think that means that (unless you find some way to avoid it) you will > need a command for appending even plain text. Right. I need to find that too. But first I'm trying to figure out why my Edit > Copy works but CMD+C doesn't! doug From doug at webcrossing.com Mon Jan 5 05:22:23 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 05 Jan 2004 19:22:23 +0900 Subject: field show border setting In-Reply-To: <7DEA5CC1-3EDF-11D8-AAFA-000A95859272@earthlink.net> Message-ID: Even if I have a field's "show border" unchecked, the border shows if I click in the field. I need to set the border to 0 to truly not see it. Is this a bug? doug From klaus at major-k.de Mon Jan 5 05:44:39 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 5 Jan 2004 11:44:39 +0100 Subject: field show border setting In-Reply-To: References: Message-ID: <29D9D60F-3F6C-11D8-BCA6-000A27B49A96@major-k.de> Hi Doug, > Even if I have a field's "show border" unchecked, the border shows if I > click in the field. > > I need to set the border to 0 to truly not see it. > > Is this a bug? No, it's a feature :-) Actually you see the "focusborder" which is different from the "border". You can switch this behaviour on/off by ... set the showfocusborder of fld "xyz" to false ## or true... ... > doug Regards Klaus Major klaus at major-k.de www.major-k.de From swartart at iafrica.com Mon Jan 5 06:59:31 2004 From: swartart at iafrica.com (Ryno Swart) Date: Mon, 5 Jan 2004 13:59:31 +0200 Subject: [OT/ANN] Now I'm a father In-Reply-To: <20040105070730.CD6D4930067@mail.runrev.com> Message-ID: <9EED548E-3F76-11D8-AB46-003065D180EE@iafrica.com> > They are hand signs that are specific to what a baby can do with their > hands. Much of ASL (American Sign Language?) involves using fingers and > babies (or at least ours) wasn't able to do ASL style signs. These I > guess are more akin to gestures. He learned roughly 6 of the 12 we > decided to use on a regular basis and he made up around 6 of his own > that we picked up on. We did not go through the frustrated > non-communicator stage. It was soooo cool when after a shower and we > had dried him off, when he asked for More Shower (since those were two > signs he could do). So we stuck him back in the shower and he was > amazingly happy. Wonderful stuff, Kee, How I wish I had known about these signs! Here is an amazing experiment you can try, Malte... I did it with our newborn, some years ago. When you walk the baby up and down the passage, and you will, and you do that slow smooth turn at the end of your length, watch your baby. If there is something that grasps his attention (a light pattern on the wall is a good one), you'll note that as you turn your body and his away, his head stays lined up with the object of his attention. Now you can move around, dip and lean, duck and weave, and his little head will adjust as required to keep looking at the spot of light. The muscle control is unbelievable, and supposed not to be there at all. I believe that our lives are governed not by fate, not even by free will, but by the play of our attention. Ah, how I wish I had known about this book! Ryno. http://artistvision.org ...a work in progress... From mcdomi at free.fr Mon Jan 5 09:29:38 2004 From: mcdomi at free.fr (Dom) Date: Mon, 5 Jan 2004 15:29:38 +0100 Subject: Another newbie Mac Question... In-Reply-To: Message-ID: <1g734b4.i2o4ucmuovikM%mcdomi@free.fr> Chipp Walters wrote: > answer file "Please choose a PNG file" with filter "PNGs,*.png" "with filter" doesn't work on a Mac... -- Digital photos (nature, garden) : http://cooldomi.free.fr/ Scripting : http://domiscript.free.fr/ From 3mcgrath at adelphia.net Mon Jan 5 10:20:37 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 5 Jan 2004 10:20:37 -0500 Subject: Emergency Help Message-ID: Hello to everyone here on the list. I am in a slight panic this morning. Today is my deadline for the first version of my cross platform CD. I am having a problem with a custom property. I call it pBeenVisited . I store whether we have visited this card before in it so that we don't have to listen to a voice over .wav file each time we come back to this card. In each open card I check the pBeenVisited and if we have not been here then I play the .wav voiceover but if we have been here then I don't play the .wav voiceover. Seems pretty straight forward. PROBLEM: I have a "Reset Voiceovers" menu item in case we do want to hear the voiceovers again. Well the script works and sets pBeenVisited to false so we can hear them again except for the card we are on. It changes this property for every other card but the one we are on when we select the menu item. (it is like a beenvisited is being sent to the card as soon as I tell it to not be beenvisited) Does a menu or menu item act like an open card or close card???? That is the only thing I can think of. ---- in the menu -snip- case "Reset Voiceovers" dobeenvisited break end switch -snip- ----- in the main stack on dobeenvisited put the short name of this stack into lmystackname if lmystackname is "UnityCD" then repeat with c = 1 to the number of cards in stack "UnityCD" set the pBeenVisited of card c of stack "UnityCD" to False end repeat end if end dobeenvisited -- in the close card of each card on closeCard play stop set the pBeenVisited of me to true -- been there end closeCard -- in the open card of each card with voiceovers On openCard global gmySound put "media/03 Track 03.wav" into lmyPath if not the pBeenVisited of me then -- false not visited if gmySound then -- sound is true play audioClip lmyPath end if end if pass openCard end openCard Please, any help at this time is greatly appreciated. Thank you Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From rpresender at earthlink.net Mon Jan 5 10:27:07 2004 From: rpresender at earthlink.net (Robert Presender) Date: Mon, 5 Jan 2004 07:27:07 -0800 Subject: Open Recent File In-Reply-To: <20040105070729.0B833930065@mail.runrev.com> Message-ID: <9F401EC8-3F93-11D8-BE45-000393A19046@earthlink.net> Thanks Chipp. Worked like a charm. I didn't realize that the number of items, in preferences(files), referred to Open Recent File. I took it to refer to the line above: Add.rev........... Regards ... Bob From 3mcgrath at adelphia.net Mon Jan 5 10:28:07 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 5 Jan 2004 10:28:07 -0500 Subject: Emergency Help In-Reply-To: References: Message-ID: I think I solved it but need your advice...... I tried to add this to the reset menu item but it results in an error (But it does play the voice over for this card now) case "Reset Voiceovers" dobeenvisited send openCard to this card break I changed it to this and it seems to work- but I'm nervous about it. I don't actually want to send an open card to "me" the menu item but rather to "me" the card we are on. This does seem to work but is a little weird for me. case "Reset Voiceovers" dobeenvisited send "openCard" to me break Any opinions or advise is very helpful TOM On Jan 5, 2004, at 10:20 AM, Thomas J McGrath III wrote: > Hello to everyone here on the list. > > I am in a slight panic this morning. Today is my deadline for the > first version of my cross platform CD. > > I am having a problem with a custom property. I call it pBeenVisited . > I store whether we have visited this card before in it so that we > don't have to listen to a voice over .wav file each time we come back > to this card. In each open card I check the pBeenVisited and if we > have not been here then I play the .wav voiceover but if we have been > here then I don't play the .wav voiceover. > > Seems pretty straight forward. PROBLEM: I have a "Reset Voiceovers" > menu item in case we do want to hear the voiceovers again. Well the > script works and sets pBeenVisited to false so we can hear them again > except for the card we are on. It changes this property for every > other card but the one we are on when we select the menu item. (it is > like a beenvisited is being sent to the card as soon as I tell it to > not be beenvisited) > > Does a menu or menu item act like an open card or close card???? That > is the only thing I can think of. > > ---- in the menu > -snip- > case "Reset Voiceovers" > dobeenvisited > break > end switch > -snip- > > ----- in the main stack > on dobeenvisited > put the short name of this stack into lmystackname > if lmystackname is "UnityCD" then > repeat with c = 1 to the number of cards in stack "UnityCD" > set the pBeenVisited of card c of stack "UnityCD" to False > end repeat > end if > end dobeenvisited > > -- in the close card of each card > on closeCard > play stop > set the pBeenVisited of me to true -- been there > end closeCard > > -- in the open card of each card with voiceovers > On openCard > global gmySound > put "media/03 Track 03.wav" into lmyPath > if not the pBeenVisited of me then -- false not visited > if gmySound then -- sound is true > play audioClip lmyPath > end if > end if > pass openCard > end openCard > > > Please, any help at this time is greatly appreciated. > > Thank you > > Tom > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From sralston at dyton.com Mon Jan 5 11:13:09 2004 From: sralston at dyton.com (Steve Ralston) Date: Mon, 05 Jan 2004 10:13:09 -0600 Subject: can rev make a folder? References: <20031216125624.89552930060@mail.runrev.com> Message-ID: <3FF98D15.B9F63D43@dyton.com> Hi all, I'm working with a cross-platform app that has to have certain folders in certain places. I can check for the folders and find if they exist or not, that's no problem. But is there a way for me to have Rev create folders if the needed folders don't exist? Steve Ralston -- ?I believe in Christianity as I believe that the sun has risen not only because I see it, but because by it I see everything else.? ? C.S. Lewis From dsc at swcp.com Mon Jan 5 11:22:49 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 5 Jan 2004 09:22:49 -0700 Subject: Emergency Help In-Reply-To: Message-ID: <67372E9C-3F9B-11D8-A4E7-000A9567A3E6@swcp.com> On Monday, January 5, 2004, at 08:28 AM, Thomas J McGrath III wrote: > I changed it to this and it seems to work- but I'm nervous about it. I > don't actually want to send an open card to "me" the menu item but > rather to "me" the card we are on. This does seem to work but is a > little weird for me. The message path applies to a send. I suspect you might want to pull some of the meat out of the openCard and put it into another handler and send to that. That leaves openCard for calling that handler and for anything else you need to add. On the other problem (I know, resolved), I noticed that you are setting the been-there as you leave. I would have put it in the handler for playing the voiceover. As is resetting the properties will never allow hearing the voiceover again for the current card. (I was a little confused that the handler for resetting the properties is called "dobeenvisited".) Dar Scott From ambassador at fourthworld.com Mon Jan 5 11:30:20 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jan 2004 08:30:20 -0800 Subject: can rev make a folder? In-Reply-To: <3FF98D15.B9F63D43@dyton.com> Message-ID: Steve Ralston wrote: > is there a way for me to have Rev create folders if the needed folders don't > exist? create folder -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From 3mcgrath at adelphia.net Mon Jan 5 13:00:00 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 5 Jan 2004 13:00:00 -0500 Subject: Emergency Help In-Reply-To: <67372E9C-3F9B-11D8-A4E7-000A9567A3E6@swcp.com> References: <67372E9C-3F9B-11D8-A4E7-000A9567A3E6@swcp.com> Message-ID: Dar Scott, Yeah, I was in a hurry with the " dobeenvisited" I should have named it "doResetBeenVisited" or something more appropriate. As far as setting the beenVisited as we leave, it is because I have other things to do on the card and thought that once I leave the card then I want the system to know I had been there. I do have a menu item to reset the voiceover on each card to hear it again if needed. I will look at it some more and see if it might be more appropriate somewhere else. And the meat in Opencard is because I did this on the fly and didn't have time to plan it out before hand. Looking at it now it looks busy, if I have time I will pull the meat out and set up handlers for those sections. Thanks for the reply. Tom On Jan 5, 2004, at 11:22 AM, Dar Scott wrote: > > On Monday, January 5, 2004, at 08:28 AM, Thomas J McGrath III wrote: > >> I changed it to this and it seems to work- but I'm nervous about it. >> I don't actually want to send an open card to "me" the menu item but >> rather to "me" the card we are on. This does seem to work but is a >> little weird for me. > > The message path applies to a send. > > I suspect you might want to pull some of the meat out of the openCard > and put it into another handler and send to that. That leaves > openCard for calling that handler and for anything else you need to > add. > > On the other problem (I know, resolved), I noticed that you are > setting the been-there as you leave. I would have put it in the > handler for playing the voiceover. As is resetting the properties > will never allow hearing the voiceover again for the current card. (I > was a little confused that the handler for resetting the properties is > called "dobeenvisited".) > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From squance at elkvalley.net Mon Jan 5 13:21:40 2004 From: squance at elkvalley.net (David Squance) Date: Mon, 5 Jan 2004 11:21:40 -0700 Subject: debugger oddity In-Reply-To: References: <67372E9C-3F9B-11D8-A4E7-000A9567A3E6@swcp.com> <67372E9C-3F9B-11D8-A4E7-000A9567A3E6@swcp.com> Message-ID: Greetings, I have a script which copies a line from one field and puts it into another (orginally copied from someone else's HC stack). This works fine. I've copied the scripts (there are two parts--one in the field and one in the stack) to use in another stack and it won't work. When I tried to follow the steps of the working script with the debugger, it does the same as the one that doesn't work--nothing. There's no error message. The variable which should hold the line contents just comes up empty. Any ideas? Dave From jacque at hyperactivesw.com Mon Jan 5 13:24:20 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 05 Jan 2004 12:24:20 -0600 Subject: htmlText question In-Reply-To: References: Message-ID: <3FF9ABD4.7080504@hyperactivesw.com> On 1/5/04 4:04 AM, Doug Lerner wrote: > But first I'm trying to figure out why my > Edit > Copy works but CMD+C doesn't! A bug, I think. I lose the use of the command keys too periodically. Be especially careful when you think you are saving a stack. Typing Command-S flashes the menu as though it is working, but you don't get the little "saving" notice -- and nothing gets saved. Choosing the menu item with the mouse always seems to work. Restarting Revolution will set everything back to normal, for a while at least. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Mon Jan 5 14:22:54 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 5 Jan 2004 13:22:54 -0600 Subject: Another newbie Mac Question... In-Reply-To: <1g734b4.i2o4ucmuovikM%mcdomi@free.fr> References: <1g734b4.i2o4ucmuovikM%mcdomi@free.fr> Message-ID: <8FD3909F-3FB4-11D8-85A7-000A95F078B6@chipp.com> In the docs, it says with filter works. Is this a mistake? Also, Where does one go to 'find' all the different creator types? -Chipp On Jan 5, 2004, at 8:29 AM, Dom wrote: > Chipp Walters wrote: > >> answer file "Please choose a PNG file" with filter "PNGs,*.png" > > "with filter" doesn't work on a Mac... > > -- > Digital photos (nature, garden) : http://cooldomi.free.fr/ > Scripting : http://domiscript.free.fr/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at mindlube.com Mon Jan 5 14:23:05 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 5 Jan 2004 12:23:05 -0700 Subject: revGoURL on 10.2.3 In-Reply-To: References: <8D28B479-3E53-11D8-B61B-000A959D0AC6@hindu.org> Message-ID: <96085E74-3FB4-11D8-9E39-000393C4760A@mindlube.com> On Jan 4, 2004, at 11:06 AM, Sannyasin Sivakatirswami wrote: > Right ;-) 10.3.2 great... I wasn't sure if rev was using the > reportedly broken GURLGURL... I've been delaying on the upgrade... > > will go for it, thanks. > I'm guessing revGoURL uses a C system command, instead of the Applescript method which was broken. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From mcmultimedia at entelnet.bo Mon Jan 5 14:36:01 2004 From: mcmultimedia at entelnet.bo (mcmultimedia) Date: Mon, 5 Jan 2004 15:36:01 -0400 Subject: Accents and punctuation in Spanish Message-ID: <64AB7A18-3FB6-11D8-9468-0050E410F67A@entelnet.bo> Special characters can't be entered in Rev 2.1, accented letters that use diacritical punctuation can't be used in fields, these letters are important in many languajes. Letters such as "? ? ? ? ? ? ?" can't be used. This limitation did not exist when using Rev. 2.1.1 or 2.1.2 in Mac computers using systems prior to Panther (Mac OS X 10.3). Is there any way to resolve it? Is there a command to use? Regards, From erikhans08 at yahoo.com Mon Jan 5 14:52:38 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Mon, 5 Jan 2004 11:52:38 -0800 (PST) Subject: Emergency Help In-Reply-To: Message-ID: <20040105195238.59721.qmail@web61105.mail.yahoo.com> Dar wrote: > > I suspect you might want to pull some of the > meat out of the openCard > > and put it into another handler and send to > that. That leaves > > openCard for calling that handler and for > anything else you need to add. does this affect execution? Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From dsc at swcp.com Mon Jan 5 14:57:55 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 5 Jan 2004 12:57:55 -0700 Subject: Emergency Help In-Reply-To: <20040105195238.59721.qmail@web61105.mail.yahoo.com> Message-ID: <73D6CF7C-3FB9-11D8-A4E7-000A9567A3E6@swcp.com> On Monday, January 5, 2004, at 12:52 PM, erik hansen wrote: > Dar wrote: > >>> I suspect you might want to pull some of the >> meat out of the openCard >>> and put it into another handler and send to >> that. That leaves >>> openCard for calling that handler and for >> anything else you need to add. > > does this affect execution? Probably not much. I'm not sure. It will avoid the pass, so that might speed it up very slightly. I have a poor memory and I would likely forget that I'm sending openCard someplace and then add more stuff to openCard or add openCard to a shared background and cause trouble. In general I don't like to send to a gui handler unless I'm actually doing something gui related. It keeps my code easier for me to handle. Dar Scott From erikhans08 at yahoo.com Mon Jan 5 15:08:35 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Mon, 5 Jan 2004 12:08:35 -0800 (PST) Subject: baby with motion sensors In-Reply-To: Message-ID: <20040105200835.71149.qmail@web61105.mail.yahoo.com> --- kee nethery wrote: > >> Baby Signs > They are hand signs that are specific to what a > baby can do with their > hands. Much of ASL (American Sign Language?) > involves using fingers and > babies (or at least ours) wasn't able to do ASL > style signs. These I > guess are more akin to gestures. He learned > roughly 6 of the 12 we > decided to use on a regular basis and he made > up around 6 of his own > that we picked up on. We did not go through the > frustrated > non-communicator stage. It was soooo cool when > after a shower and we > had dried him off, when he asked for More > Shower (since those were two > signs he could do). So we stuck him back in the > shower and he was > amazingly happy. so motion sensors and a transmitting device could give a baby feedback from a monitor. come to think of it, motion sensors have not come up on the list. Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From ambassador at fourthworld.com Mon Jan 5 15:55:44 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jan 2004 12:55:44 -0800 Subject: revGoURL on 10.2.3 In-Reply-To: <96085E74-3FB4-11D8-9E39-000393C4760A@mindlube.com> Message-ID: Alex Rice wrote: > > On Jan 4, 2004, at 11:06 AM, Sannyasin Sivakatirswami wrote: > >> Right ;-) 10.3.2 great... I wasn't sure if rev was using the >> reportedly broken GURLGURL... I've been delaying on the upgrade... >> >> will go for it, thanks. >> > > I'm guessing revGoURL uses a C system command, instead of the > Applescript method which was broken. Commands geginning with "rev" are in scripted libraries. The AppleScript method ("open location") works well; it's the Apple event method ("GURLGURL") that fails. The downside to "open location" is that it does not seem to work with local files. So revGoUrl does work well for remote locations, but I have not yet come up with a robust solution for launching a local file in the user's default browser in Panther. :( -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From k.r.hauge at east.uio.no Mon Jan 5 15:57:30 2004 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Mon, 5 Jan 2004 21:57:30 +0100 Subject: Accents and punctuation in Spanish In-Reply-To: <64AB7A18-3FB6-11D8-9468-0050E410F67A@entelnet.bo> References: <64AB7A18-3FB6-11D8-9468-0050E410F67A@entelnet.bo> Message-ID: >Special characters can't be entered in Rev 2.1, >accented letters that use diacritical >punctuation can't be used in fields, these >letters are important in many languajes. >Letters such as "? ? ? ? ? ? ?" can't be used. >This limitation did not exist when using Rev. >2.1.1 or 2.1.2 in Mac computers using systems >prior to Panther (Mac OS X 10.3). I can't reproduce this (2.1.2 under Panther). Accented letters (as well as Cyrillic, Greek etc.) can still be entered from the keyboard using various keyboard layouts, and "Insert" from the Character Palette is as defect as it used to be. Have you remembered to activate all necessary keyboard layouts from System Preferences>International? -- --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 --- (this msg sent from home, +47/67148424, fax +1/5084372444) From rodmc at runrev.com Mon Jan 5 16:05:59 2004 From: rodmc at runrev.com (Rod McCall) Date: Mon, 5 Jan 2004 21:05:59 +0000 Subject: Macworld SF 2004 Message-ID: Hi everyone, Just few quick announcements regarding this weeks Macworld in San Francisco. First up why not pop along to our booth (number 935) to see all the latest features which we are working on! Also we've still got a small number of seminar passes available, so if you want to come along then please book ASAP! There are only so many seats you can fit into a room! And last up, for those with an eye for a good deal, we've got some special show offers which are only available to Macworld attendees... For information on the seminar (9th and 10th of January) please have look at: http://www.runrev.com/macworldschedule.html So if you want to see the latest features, learn more about Revolution or take advantage of some special offers you know where to come.... booth 935! Best, Rod ps. Our Macworld Eddy statuette will be on display at the booth! Dr Rod McCall www.runrev.com Runtime Revolution Ltd 91 Hanover Street, Edinburgh, EH2 1DJ t: +44 (0)131 718 4333 f: +44 (0) 131 718 4334 Runtime Revolution - User-Centric Development Tools All incoming emails are subject to virus and spam checking, this may delay receipt and any response. From ambassador at fourthworld.com Mon Jan 5 16:26:01 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jan 2004 13:26:01 -0800 Subject: Another newbie Mac Question... In-Reply-To: <8FD3909F-3FB4-11D8-85A7-000A95F078B6@chipp.com> Message-ID: Chipp Walters wrote: > In the docs, it says with filter works. Is this a mistake? Where? The entry for "answer file" discusses using the 'type" form for Mac OS. > Also, > Where does one go to 'find' all the different creator types? Used to be ResEdit. For OS X I made a droppable control in a Rev window with this script: on dragEnter set the acceptDrop to true end dragEnter on dragDrop get line 1 the dragData if it is not empty then put it into fld "file" put it into tDir set the itemdel to "/" put last item of it into tFileName delete last item of tDir put the directory into tSaveDir set the directory to tDir put the detailed files into tFiles set the directory to tSaveDir put line lineoffset(urlEncode(tFileName), tFiles) \ of tFiles into tFileData set the itemdel to comma get last item of tFileData put char 1 to 4 of it into fld "creator" put char 5 to 8 of it into fld "type" end if end dragDrop With OS X Apple no longer requires file type assignments, posing a problem for us. I'm not sure Apple has yet decided what to do about either file types or creator codes for the long term, so I'm not familiar with a workaround for selecting files that rely only on file name extension on OS X. Anyone come across a current Apple tech note on this? Last I heard Apple required developers to write a custom filterProc for Nav Services (ugh!). > -Chipp > > On Jan 5, 2004, at 8:29 AM, Dom wrote: > >> Chipp Walters wrote: >> >>> answer file "Please choose a PNG file" with filter "PNGs,*.png" >> >> "with filter" doesn't work on a Mac... -- 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 scott at tactilemedia.com Mon Jan 5 16:50:30 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 05 Jan 2004 13:50:30 -0800 Subject: revGoURL on 10.2.3 In-Reply-To: Message-ID: On 1/5/04 12:55 PM, "Richard Gaskin" wrote: > I have not yet > come up with a robust solution for launching a local file in the user's > default browser in Panther. :( I know that GURL is broken in Panther, but does the following fail as well? on mouseUp answer file "Locate HTML:" if it is empty then exit mouseUp put it into tPath put \ "tell application" && quote & "Finder" & quote & cr &\ "open location" && quote & "file://" & tPath & quote & cr &\ "end tell" into S do S as AppleScript end mouseUp Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Mon Jan 5 17:08:20 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 5 Jan 2004 16:08:20 -0600 Subject: revGoURL on 10.2.3 In-Reply-To: Message-ID: <01d501c3d3d8$71c88830$6901a8c0@LightningFlash> > I know that GURL is broken in Panther, but does the following > fail as well? > > on mouseUp > answer file "Locate HTML:" > if it is empty then exit mouseUp > put it into tPath > put \ > "tell application" && quote & "Finder" & quote & cr &\ > "open location" && quote & "file://" & tPath & quote & cr &\ > "end tell" into S > do S as AppleScript > end mouseUp Unfortunately, yes... in 10.3.2 you can't send this appleScript to the Finder without getting an error. You can send it to *other* apps, though, but they get launched. For a workaround right now, I'm sending the message to "System Events" (which is always open). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From chipp at chipp.com Mon Jan 5 17:07:21 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 5 Jan 2004 16:07:21 -0600 Subject: Another newbie Mac Question... In-Reply-To: Message-ID: Thanks for the PNGf note. It works! see below... > Behalf Of Richard > Gaskin > Chipp Walters wrote: > > > In the docs, it says with filter works. Is this a mistake? > > Where? The entry for "answer file" discusses using the 'type" > form for Mac > OS. >From the docs: Filtering for Mac OS: You can use either with filter or of type. With either form, the types parameter consists of one or more 4-character file types, concatenated. For example, to display text and PICT-format files but no others, use a types parameter of ?TEXTPICT?. To display applications only, use a types parameter of ?APPL?. > > Also, > > Where does one go to 'find' all the different creator types? > > Used to be ResEdit. For OS X I made a droppable control in a Rev window > with this script: > > > on dragEnter > set the acceptDrop to true > end dragEnter > > on dragDrop > get line 1 the dragData > if it is not empty then > put it into fld "file" > put it into tDir > set the itemdel to "/" > put last item of it into tFileName > delete last item of tDir > put the directory into tSaveDir > set the directory to tDir > put the detailed files into tFiles > set the directory to tSaveDir > put line lineoffset(urlEncode(tFileName), tFiles) \ > of tFiles into tFileData > set the itemdel to comma > get last item of tFileData > put char 1 to 4 of it into fld "creator" > put char 5 to 8 of it into fld "type" > end if > end dragDrop > > > With OS X Apple no longer requires file type assignments, posing a problem > for us. I'm not sure Apple has yet decided what to do about either file > types or creator codes for the long term, so I'm not familiar with a > workaround for selecting files that rely only on file name extension on OS > X. > > Anyone come across a current Apple tech note on this? Last I heard Apple > required developers to write a custom filterProc for Nav Services (ugh!). It does appear that using the answer file with type "PNGf" works for .PNG files From ambassador at fourthworld.com Mon Jan 5 17:19:44 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jan 2004 14:19:44 -0800 Subject: revGoURL on 10.2.3 In-Reply-To: Message-ID: Scott Rossi wrote: > On 1/5/04 12:55 PM, "Richard Gaskin" wrote: > >> I have not yet >> come up with a robust solution for launching a local file in the user's >> default browser in Panther. :( > > I know that GURL is broken in Panther, but does the following fail as well? > > on mouseUp > answer file "Locate HTML:" > if it is empty then exit mouseUp > put it into tPath > put \ > "tell application" && quote & "Finder" & quote & cr &\ > "open location" && quote & "file://" & tPath & quote & cr &\ > "end tell" into S > do S as AppleScript > end mouseUp Yes, but not in the default browser if the local file has a creator code for another app assigned to it. Curiously, this: on mouseUp answer file "Locate HTML:" if it is empty then exit mouseUp put it into tPath revGoUrl tPath put the result end mouseUp ...neither launches the local file nor displays a result. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at mindlube.com Mon Jan 5 17:23:42 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 5 Jan 2004 15:23:42 -0700 Subject: revGoURL on 10.2.3 In-Reply-To: References: <8D28B479-3E53-11D8-B61B-000A959D0AC6@hindu.org> Message-ID: On Jan 4, 2004, at 11:06 AM, Sannyasin Sivakatirswami wrote: > Right ;-) 10.3.2 great... I wasn't sure if rev was using the > reportedly broken GURLGURL... I've been delaying on the upgrade... > Sannyasin - revGoURL is implemented in applescript. My bad! According to the TD: "Important! On Mac OS systems, the revGoURL command requires that AppleScript be installed and that the GURL Apple Event be supported. GURL support is included in Mac OS 8.5 or later, and is available for Mac OS 8.0 and 8.1 if the ?Internet Scripting? file is installed in the ?Scripting Additions? folder inside the Extensions folder. (This file is installed by the Internet Access installer on the 8.0 installation CD.) The revGoURL command is not supported for Mac OS versions before 8.0." I am not knowledgable about the GURL breakage issues. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Mon Jan 5 17:25:42 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 5 Jan 2004 15:25:42 -0700 Subject: revGoURL on 10.2.3 In-Reply-To: References: Message-ID: <18FB19D2-3FCE-11D8-9E39-000393C4760A@mindlube.com> On Jan 5, 2004, at 1:55 PM, Richard Gaskin wrote: > > Commands geginning with "rev" are in scripted libraries. Not sure what you mean by that. For example revXML* is doing C calls to libxml, or are transcript wrappers around C calls. and I figured other rev* commands could do the same thing. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From malte.brill at t-online.de Mon Jan 5 17:29:46 2004 From: malte.brill at t-online.de (Malte Brill) Date: Mon, 05 Jan 2004 23:29:46 +0100 Subject: [OT/ANN] Now I'm a father In-Reply-To: <20040103080024.93EF99300BF@mail.runrev.com> Message-ID: Hi list, please excuse the late reply, but I?m at hospital for 12-14 hours a day at the moment. If you want to see the first pictures of my son you might want to take a look at http://www.derbrill.de/linus Not a very pretty page yet, but more to follow if I find the time. :-) Regards, Malte From JimCarwardine at OwnYourFuture-net.com Mon Jan 5 17:36:14 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Mon, 05 Jan 2004 18:36:14 -0400 Subject: Rev Crash Message-ID: Hi Folks... I?m scripting a button to create a thumbnail button icon of the current card. When I run the following button script, it runs fine the first time. If I run it a second time, Rev aborts on the statement I have marked. How come? Am I overflowing a buffer or something? It?s hampering my testing by restarting Rev, however when I do, it runs fine then aborts the second time again. on ExportCard pStackPath,pImageType -- pStackPath is the path to the stack whose card you want to export -- pImageType is one of the three formats supported by the export -- command: paint, png or jpeg put the alwaysBuffer of stack pStackPath into tOldBuffer -- The next two lines force the current card image into the offscreen buffer set the alwaysBuffer of stack pStackPath to false set the alwaysBuffer of stack pStackPath to true -- create invisible image if there is not an img "Gallery Image" then create img "Gallery Image" set the imagePixMapID of img "Gallery Image" to (the pixMapID of stack pStackPath) select last image set the alwaysBuffer of stack pStackPath to tOldBuffer put 220 into theTargetSize -- adjust size here hide img "Gallery Image" put theTargetSize/the formattedwidth of img "Gallery Image" into theRatio set the width of img "Gallery Image" to theTargetSize ** it aborts on the following statement the second time * set the height of img "Gallery Image" to \ round(the formattedheight of img "Gallery Image" * theRatio) if the height of img "Gallery Image" > 170 then set the height of img "Gallery Image" to 170 set the icon of btn "Gallery Button" to the short id of img "Gallery Image" choose browse tool end ExportCard Thanks... Jim -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From alex at mindlube.com Mon Jan 5 17:54:19 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 5 Jan 2004 15:54:19 -0700 Subject: Another newbie Mac Question... In-Reply-To: References: Message-ID: <18896650-3FD2-11D8-9E39-000393C4760A@mindlube.com> On Jan 5, 2004, at 2:26 PM, Richard Gaskin wrote: > With OS X Apple no longer requires file type assignments, posing a > problem > for us. I'm not sure Apple has yet decided what to do about either > file > types or creator codes for the long term, so I'm not familiar with a > workaround for selecting files that rely only on file name extension > on OS > X. OS X supports creator codes, filename extensions, and MIME types. Apps are free to use any, or all of them. From what I understand this is just the way it will be, not that apple is undecided. See bugzilla #605. It's a Rev bug that it's not implemented correctly- this aspect of OS X has been unchanged since 10.0 AFAIK. > Anyone come across a current Apple tech note on this? Not sure if it's "current". Do you think Apple is replacing Launch Services with something else? > Last I heard Apple > required developers to write a custom filterProc for Nav Services > (ugh!). That's something that Rev should implement in the engine, and looks like they will do it. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ambassador at fourthworld.com Mon Jan 5 17:54:01 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jan 2004 14:54:01 -0800 Subject: revGoURL on 10.2.3 In-Reply-To: <18FB19D2-3FCE-11D8-9E39-000393C4760A@mindlube.com> Message-ID: Alex Rice wrote: > > On Jan 5, 2004, at 1:55 PM, Richard Gaskin wrote: > >> >> Commands geginning with "rev" are in scripted libraries. > > Not sure what you mean by that. For example revXML* is doing C calls to > libxml, or are transcript wrappers around C calls. and I figured other > rev* commands could do the same thing. You're right; my bad. The correct description would be that calls beginning with "rev" are not internal to the engine, and may be implemented in scripts or compiled libraries. In the case of revGoURL it's in script (the revCommon backscript). -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at mindlube.com Mon Jan 5 17:58:27 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 5 Jan 2004 15:58:27 -0700 Subject: revGoURL on 10.2.3 In-Reply-To: References: Message-ID: On Jan 5, 2004, at 3:54 PM, Richard Gaskin wrote: > You're right; my bad. The correct description would be that calls > beginning > with "rev" are not internal to the engine, and may be implemented in > scripts > or compiled libraries. > > In the case of revGoURL it's in script (the revCommon backscript). OK I get it now- what you were saying :-) Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ambassador at fourthworld.com Mon Jan 5 18:01:02 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jan 2004 15:01:02 -0800 Subject: Another newbie Mac Question... In-Reply-To: Message-ID: Chipp Walters wrote: > > Thanks for the PNGf note. It works! > > see below... > >> Behalf Of Richard >> Gaskin >> Chipp Walters wrote: >> >>> In the docs, it says with filter works. Is this a mistake? >> >> Where? The entry for "answer file" discusses using the 'type" >> form for Mac OS. > >> From the docs: > > Filtering for Mac OS: You can use either with filter or of type. With > either form, the types parameter consists of one or more 4-character file > types, concatenated. For example, to display text and PICT-format files but > no others, use a types parameter of ?TEXTPICT?. To display applications > only, use a types parameter of ?APPL?. Where is that passage located? I may be tired, but I'm not seing it in the Transcript Dictionary entry for "answer file". Trying this on OS X 10.2.8: answer file "Seleect a PNG file:" with filter "*.png" ...does not let me select a file whose name ends in ".png". ... >> With OS X Apple no longer requires file type assignments, posing a problem >> for us. I'm not sure Apple has yet decided what to do about either file >> types or creator codes for the long term, so I'm not familiar with a >> workaround for selecting files that rely only on file name extension on OS >> X. >> >> Anyone come across a current Apple tech note on this? Last I heard Apple >> required developers to write a custom filterProc for Nav Services (ugh!). > > It does appear that using the answer file with type "PNGf" works for .PNG > files Here (OS X 10.2.8) it only works for files which have the appropriate type assigned as Finder metadata. If I get one from the Internet so no Finder data is attached it is not selectable with either syntax, filter or type. So the conundrum remains: How do we expect Rev the write a custom filterProc which will handle all possible Finder type code/file name extension combinations? I suppose the next question would be: If Apple expects Rev to pull this off, couldn't we expect Apple to just provide such a mechanism themselves? In the info.plist documentation at , it seems the info the OS would need is already spec'd: plists can have a CFBundleTypeOSTypes entry for the 4-characxter type code in addition to the CFBundleTypeExtensions entry for the file name extension. So all the parts needed for the OS to pull this off seem to be in place, yet Apple tells developers to write custom filter procs -- or so it was last time I looked into it; I'd love to find that it's been addressed, and to see Tuv employ such an API if one exists. In the meantime, filtering for files which do not have an assigned file type code does not appear possible in Rev, at least in OS X 10.2.8. It would be useful to know if Pnther users can do this, maybe Apple's alredy addressed it. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at mindlube.com Mon Jan 5 18:08:18 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 5 Jan 2004 16:08:18 -0700 Subject: Another newbie Mac Question... In-Reply-To: References: Message-ID: <0C7E2FEA-3FD4-11D8-9E39-000393C4760A@mindlube.com> On Jan 5, 2004, at 4:01 PM, Richard Gaskin wrote: > > So the conundrum remains: How do we expect Rev the write a custom > filterProc which will handle all possible Finder type code/file name > extension combinations? In bugzilla #605, tuviah is talking about a solution incl. new transcript syntax for specifying multiple types in a filter. > it seems > the info the OS would need is already spec'd: plists can have a > CFBundleTypeOSTypes entry for the 4-characxter type code in addition > to the > CFBundleTypeExtensions entry for the file name extension. And MIME types too. > So all the parts needed for the OS to pull this off seem to be in > place, yet > Apple tells developers to write custom filter procs -- or so it was > last > time I looked into it; I'd love to find that it's been addressed, and > to see > Tuv employ such an API if one exists. > In the meantime, filtering for files which do not have an assigned > file type > code does not appear possible in Rev, at least in OS X 10.2.8. It > would be > useful to know if Pnther users can do this, maybe Apple's alredy > addressed > it. Seems like it's just a matter of waiting for Rev to fix the problem on their side. Has anyone tried rewriting revGoURL as an XCMD using Launch Services? I can give that a try if it's not been done. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ambassador at fourthworld.com Mon Jan 5 18:10:16 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jan 2004 15:10:16 -0800 Subject: Another newbie Mac Question... In-Reply-To: <18896650-3FD2-11D8-9E39-000393C4760A@mindlube.com> Message-ID: Alex Rice wrote: > On Jan 5, 2004, at 2:26 PM, Richard Gaskin wrote: > >> With OS X Apple no longer requires file type assignments, posing a >> problem >> for us. I'm not sure Apple has yet decided what to do about either >> file >> types or creator codes for the long term, so I'm not familiar with a >> workaround for selecting files that rely only on file name extension >> on OS >> X. > > OS X supports creator codes, filename extensions, and MIME types. Apps > are free to use any, or all of them. From what I understand this is > just the way it will be, not that apple is undecided. > > See bugzilla #605. It's a Rev bug that it's not implemented correctly- > this aspect of OS X has been unchanged since 10.0 AFAIK. > >> Anyone come across a current Apple tech note on this? > > Not sure if it's "current". > Cool, thanks. Reading Tuv's note it looks like Apple has come around on this one at last. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at mindlube.com Mon Jan 5 18:46:27 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 5 Jan 2004 16:46:27 -0700 Subject: Filter with more than one parameter In-Reply-To: References: Message-ID: <60D5F9F8-3FD9-11D8-9E39-000393C4760A@mindlube.com> On Jan 3, 2004, at 10:29 PM, Sannyasin Sivakatirswami wrote: > Can we not filter a container with multiple criteria in a single pass? > I couldn't see how to use a wildCardExpression for this and the > command doesn't support full regEx, which could do the job. matchText(), matchChunk() and replaceText() have Perl regex support. Not sure offhand how to do the task you mention, but anything is possible with regex. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Mon Jan 5 18:54:09 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 5 Jan 2004 16:54:09 -0700 Subject: debugger oddity In-Reply-To: References: <67372E9C-3F9B-11D8-A4E7-000A9567A3E6@swcp.com> <67372E9C-3F9B-11D8-A4E7-000A9567A3E6@swcp.com> Message-ID: <7462C551-3FDA-11D8-9E39-000393C4760A@mindlube.com> On Jan 5, 2004, at 11:21 AM, David Squance wrote: > Greetings, > I have a script which copies a line from one field and puts it into > another > (orginally copied from someone else's HC stack). This works fine. > I've > copied the scripts (there are two parts--one in the field and one in > the > stack) to use in another stack and it won't work. When I tried to > follow > the steps of the working script with the debugger, it does the same as > the > one that doesn't work--nothing. There's no error message. The > variable > which should hold the line contents just comes up empty. Any ideas? > Dave An array variable will be shown as empty, even if it has array keys and values. Also the debugger interferes with exception handling- so try running it with Script Debug Mode turned OFF and see if you get any error messages then. The "it" variable is not displayed correctly in the debugger. The rows/columns in the debugger were misaligned 2.1.2 I think. Hope one of these helps, Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From Cubist at aol.com Mon Jan 5 18:57:59 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Mon, 5 Jan 2004 18:57:59 EST Subject: Another newbie Mac Question... Message-ID: In a message dated 1/5/04 10:29:34 AM, use-revolution-request at lists.runrev.com writes: > >Date: Mon, 5 Jan 2004 03:23:11 -0600 >From: Chipp Walters >Subject: Another newbie Mac Question... >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset=US-ASCII; format=flowed > >I'm sure I'm missing something, but I've looked in the docs... > >How can I do: > >answer file "Please choose a PNG file" with filter "PNGs,*.png" >on the Mac? It certainly won't let me choose a .png file that way. >I've also tried: >answer file with filter "PING" as sheet...I get a fancy display but no >better result :-) That filter thing should work better on the Mac side if you know the "type code" of the files you're tryna filter for. You can use Sherlock in MacOS 9/Classic to find out this stuff. One: Bring up Sherlock with cmd-F. Two: Click on the "Edit" button to the immediate right of the "Custom" popup menu. THis brings up the "More Search Options" window. Three: Drag a file of the appropriate type onto the "More Search Options" window. Many of the options you see in that window will automatically update themselves, showing you those particular characteristics of the file -- including the file's "type code". Unfortunately, this won't fully work under OS X; when you do it under X, the type code won't automatically update. Oh, well. Hope this helps... From scott at tactilemedia.com Mon Jan 5 19:00:40 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 05 Jan 2004 16:00:40 -0800 Subject: revGoURL on 10.2.3 In-Reply-To: Message-ID: On 1/5/04 2:19 PM, "Richard Gaskin" wrote: >>> I have not yet >>> come up with a robust solution for launching a local file in the user's >>> default browser in Panther. :( >> >> I know that GURL is broken in Panther, but does the following fail as well? >> >> on mouseUp >> answer file "Locate HTML:" >> if it is empty then exit mouseUp >> put it into tPath >> put \ >> "tell application" && quote & "Finder" & quote & cr &\ >> "open location" && quote & "file://" & tPath & quote & cr &\ >> "end tell" into S >> do S as AppleScript >> end mouseUp > > Yes, but not in the default browser if the local file has a creator code for > another app assigned to it. OK, but neither would double clicking the file in the situation you describe, so it's not exactly a departure in behavior. It seems appropriate that you might have to do some "fiddling" to get the behavior you want. I'm sure you already have a number of workarounds in place but out of curiosity, what files would you be trying to open: files that belong to you or files that already reside on the user's drive? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Mon Jan 5 19:09:33 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jan 2004 16:09:33 -0800 Subject: revGoURL on 10.2.3 In-Reply-To: Message-ID: Scott Rossi wrote: > On 1/5/04 2:19 PM, "Richard Gaskin" wrote: > >>>> I have not yet >>>> come up with a robust solution for launching a local file in the user's >>>> default browser in Panther. :( >>> >>> I know that GURL is broken in Panther, but does the following fail as well? >>> >>> on mouseUp >>> answer file "Locate HTML:" >>> if it is empty then exit mouseUp >>> put it into tPath >>> put \ >>> "tell application" && quote & "Finder" & quote & cr &\ >>> "open location" && quote & "file://" & tPath & quote & cr &\ >>> "end tell" into S >>> do S as AppleScript >>> end mouseUp >> >> Yes, but not in the default browser if the local file has a creator code for >> another app assigned to it. > > OK, but neither would double clicking the file in the situation you > describe, so it's not exactly a departure in behavior. Yes, "open location" works like the Finder, but the older GURLGURL method launched the document in the user's default browser. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at mindlube.com Mon Jan 5 19:12:34 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 5 Jan 2004 17:12:34 -0700 Subject: revGoURL on 10.2.3 In-Reply-To: References: Message-ID: <06E32D07-3FDD-11D8-9E39-000393C4760A@mindlube.com> On Jan 5, 2004, at 1:55 PM, Richard Gaskin wrote: > but I have not yet > come up with a robust solution for launching a local file in the user's > default browser in Panther. :( How about: get shell("open /path/to/file.html") I've found the open command to be completely robust using from the unix shell. SHould be just as good from shell(). man open: SYNOPSIS open [-a application] file ... open [-e] file ... DESCRIPTION The open command opens a file (or a directory or URL), just as if you had double-clicked the file's icon. If no application name is specified, the default application as determined via LaunchServices is used to open the specified files. If the file is in the form of a URL, the file will be opened as a URL. You can specify one or more file names (or pathnames), which are inter- preted relative to the shell or Terminal window's current working direc- tory. For example, the following command would open all Word files in the current working directory: open *.doc The options are as follows: -a application specifies the application to use for opening the file -e causes the file to be opened with /Applications/TextEdit EXAMPLES 'open /Volumes/Macintosh HD/foo.txt' opens the document in the default application for its type (as determined by LaunchServices). 'open /Volumes/Macintosh HD/Applications/' opens that directory in the Finder. 'open -a /Applications/TextEdit.app /Volumes/Macintosh HD/foo.txt' opens the document in the application specified (in this case, TextEdit). 'open -e /Volumes/Macintosh HD/foo.txt' opens the document in TextEdit. 'open http://www.apple.com/' opens the URL in the right browser. 'open file://localhost/Volumes/Macintosh HD/foo.txt' opens the document in the default application for its type (as determined by LaunchSer- vices). 'open file://localhost/Volumes/Macintosh HD/Applications/' opens that directory in the Finder. HISTORY First appeared in NextStep. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From scott at tactilemedia.com Mon Jan 5 19:30:32 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 05 Jan 2004 16:30:32 -0800 Subject: revGoURL on 10.2.3 In-Reply-To: Message-ID: On 1/5/04 2:19 PM, "Richard Gaskin" wrote: >>> I have not yet >>> come up with a robust solution for launching a local file in the user's >>> default browser in Panther. :( >> >> I know that GURL is broken in Panther, but does the following fail as well? >> >> on mouseUp >> answer file "Locate HTML:" >> if it is empty then exit mouseUp >> put it into tPath >> put \ >> "tell application" && quote & "Finder" & quote & cr &\ >> "open location" && quote & "file://" & tPath & quote & cr &\ >> "end tell" into S >> do S as AppleScript >> end mouseUp > > Yes, but not in the default browser if the local file has a creator code for > another app assigned to it. > > Curiously, this: > > on mouseUp > answer file "Locate HTML:" > if it is empty then exit mouseUp > put it into tPath > revGoUrl tPath > put the result > end mouseUp > > ...neither launches the local file nor displays a result. By any chance did you try the following syntax? on mouseUp answer file "Locate HTML:" if it is empty then exit mouseUp put it into tPath revGoUrl ("file:" & tPath) put the result end mouseUp I'm asking because your code as written above failed for me on Jaguar, but the addition of the word "file:" launched the browser/page. Maybe not a solution to your problem, but at least it launches something... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From squance at elkvalley.net Mon Jan 5 19:34:51 2004 From: squance at elkvalley.net (David Squance) Date: Mon, 5 Jan 2004 17:34:51 -0700 Subject: debugger oddity In-Reply-To: <7462C551-3FDA-11D8-9E39-000393C4760A@mindlube.com> References: <67372E9C-3F9B-11D8-A4E7-000A9567A3E6@swcp.com> <67372E9C-3F9B-11D8-A4E7-000A9567A3E6@swcp.com> Message-ID: Thanks, Alex >An array variable will be shown as empty, even if it has array keys and >values. There's no array in this case. >Also the debugger interferes with exception handling- so try running it >with Script Debug Mode turned OFF and see if you get any error messages >then. Don't think this applies. The script worked. I wasn't debugging, actually, just trying to follow the one that worked to help debug the other one that didn't. >The "it" variable is not displayed correctly in the debugger. This is probably the culprit. I also discovered that I was using HC syntax which is wrong for Rev. I changed it and it is now working. What's more curious is why it worked in the first instance. I probably should rework that one, too, since I don't want problems when it comes time to build a standalone. Dave From smilingeyes at mac.com Mon Jan 5 19:42:54 2004 From: smilingeyes at mac.com (Ray Bennett) Date: Mon, 5 Jan 2004 19:42:54 -0500 Subject: Resizeable problems In-Reply-To: Message-ID: <43A22369-3FE1-11D8-8630-0030657E2BD2@mac.com> If you're colorizing as you type, the non-properties stay as black text - that's usually my first clue that I didn't get it. On Monday, January 5, 2004, at 01:54 AM, Dar Scott wrote: > > On Sunday, January 4, 2004, at 10:08 PM, J. Landman Gay wrote: > >>> How do I set the resizeable of a stack to false. Nothing I've tried >>> works. >> >> This drives me nuts, I constantly mis-type the command. There is no >> "e" in "resizable": >> >> set the resizable of this stack to false > > Is there some way to catch property typos? > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From engleerica at yahoo.com Mon Jan 5 19:57:36 2004 From: engleerica at yahoo.com (Eric Engle) Date: Mon, 5 Jan 2004 16:57:36 -0800 (PST) Subject: stack handler unavailable from cd script?! In-Reply-To: <20040106001417.578FD9300AB@mail.runrev.com> Message-ID: <20040106005736.36762.qmail@web60501.mail.yahoo.com> I have the most disturbing error. Basically I have a stack with a stack script which is being called from a card script which card script is called from a button. I'm using the metacard engine, but since I have a rev license and since the engine is the same I thought I would ask this list as well. In hypercard, the handlers work just fine. However for some reason the card script cannot "see" the stack script! And acts like there is no script! Must I put the card script in the button script? I have no idea what could be the source of this error! Any help appreciated! I'm a teacher, this is for an educational project. Thanks! __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree From ambassador at fourthworld.com Mon Jan 5 20:10:09 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jan 2004 17:10:09 -0800 Subject: revGoURL on 10.2.3 In-Reply-To: Message-ID: Scott Rossi wrote: > On 1/5/04 2:19 PM, "Richard Gaskin" wrote: ... >> Yes, but not in the default browser if the local file has a creator code for >> another app assigned to it. >> >> Curiously, this: >> >> on mouseUp >> answer file "Locate HTML:" >> if it is empty then exit mouseUp >> put it into tPath >> revGoUrl tPath >> put the result >> end mouseUp >> >> ...neither launches the local file nor displays a result. > > > By any chance did you try the following syntax? > > on mouseUp > answer file "Locate HTML:" > if it is empty then exit mouseUp > put it into tPath > revGoUrl ("file:" & tPath) > put the result > end mouseUp > > I'm asking because your code as written above failed for me on Jaguar, but > the addition of the word "file:" launched the browser/page. Maybe not a > solution to your problem, but at least it launches something... D'oh! Good catch. I wonder why no error was returned.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Jan 5 20:19:47 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jan 2004 17:19:47 -0800 Subject: revGoURL on 10.2.3 In-Reply-To: <06E32D07-3FDD-11D8-9E39-000393C4760A@mindlube.com> Message-ID: Alex Rice wrote: > On Jan 5, 2004, at 1:55 PM, Richard Gaskin wrote: > >> but I have not yet >> come up with a robust solution for launching a local file in the user's >> default browser in Panther. :( > > How about: > get shell("open /path/to/file.html") Same as "open location": if the file has a type code assigned it open in the assigned app. I'll just add a step to my release process to automate the clearing of my help files' type code, but I wonder: It's been nearly a decade since the Web was privatized, and for most of that time all major operating systems have shipped with at least one browser pre-installed, widely used for viewing both local and remote files. Given this, it seems reasonable to expect OSes to include a simple one-line API for launching HTML documents in the user's default browser. Today we add a half-dozen lines of AppleScript to strip the file type code and launch the file on Mac and few of lines to query different registry settings on various versions of Windows, but being an optimist I'm confident that operating systems will provide a one-liner for this common task sometime before the next decade ends. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephenREVOLUTION at barncard.com Mon Jan 5 20:26:33 2004 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Mon, 5 Jan 2004 17:26:33 -0800 Subject: OT Re: Interfaces: PC and MAC ------OT Message-ID: ummm... how can iTunes be a "BETAMAX" when it's cross platform? You mean it only uploads into an iPod? Or they're not using MP3 ? That will change....Or shareware will appear. Anyway, currently for online music for PCs you have proprietary softwares.... and no "VHS" analogy. >Richard, > >Well said. I enjoyed reading the article as well. In fact, it echos >something I've been talking about for awhile. I-Tunes is the >'BETAMAX' to the rest of the online Music 'VHS'. >-Chipp From sarahr at genesearch.com.au Mon Jan 5 21:58:41 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 6 Jan 2004 12:58:41 +1000 Subject: field- table In-Reply-To: References: <20031226070741.692CF93008D@mail.runrev.com> Message-ID: <3C0111CE-3FF4-11D8-8418-0003937A97B8@genesearch.com.au> Hi Nick, I'm way behind on my email, so I don't know if anyone else has already answered, but here are my thoughts on the subject: Rev's table object is basically a normal field with tab stops. There are no commands for directly accessing cells, however it is very easy to write your own e.g. function getCellData pField, pRow, pCol set the itemDel to tab return item pCol of line pRow of fld pField end getCellData on setCellData pField, pRow, pCol, pData set the itemDel to tab put pData into item pCol of line pRow of fld pField end setCellData Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 29 Dec 2003, at 10:07 pm, Nicholas Thieberger wrote: > Does anyone have experience in using the field-table setting? I have a > field that conains a table (using RR 2.0.2) > > How can I reference the cells in the table established in this way? > While the field inspector calls them cells, I can't get a reference to > cells to work...? > > thanks > > Nick From sarahr at genesearch.com.au Mon Jan 5 22:06:35 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 6 Jan 2004 13:06:35 +1000 Subject: Way to control modem on Mac? In-Reply-To: <96.510cc0.2d210cd2@aol.com> References: <96.510cc0.2d210cd2@aol.com> Message-ID: <563434C8-3FF5-11D8-8418-0003937A97B8@genesearch.com.au> AppleScript is the way to go here, I think. Theoretically, you could use Rev's serial commands to send data directly to the modem and receive it's replies, but I think an AppleScript would be much easier. Internet Connect seems to have an extensive AppleScript dictionary. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 29 Dec 2003, at 2:33 pm, RGould8 at aol.com wrote: > Does revolution provide a means of controlling the modem on a Mac? For > instance, passing account-name/password and "phone number to dial" > info to > "Internet Connect" and then telling it to dial? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From alex at mindlube.com Mon Jan 5 23:34:26 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 5 Jan 2004 21:34:26 -0700 Subject: revGoURL on 10.2.3 In-Reply-To: References: Message-ID: <9C0BB5C4-4001-11D8-82DD-000393C4760A@mindlube.com> On Jan 5, 2004, at 6:19 PM, Richard Gaskin wrote: >> How about: >> get shell("open /path/to/file.html") > > Same as "open location": if the file has a type code assigned it open > in > the assigned app. You are right. But does it really matter? Why not just go with the flow and let the creator codes do their job. ;-) with "open" if you want to force a particular app you can do this. Maybe applescript can also open -a /Applications/Safari.app /path/to/file.html Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kee at kagi.com Tue Jan 6 00:10:27 2004 From: kee at kagi.com (kee nethery) Date: Mon, 5 Jan 2004 21:10:27 -0800 Subject: [OT/ANN] Now I'm a father In-Reply-To: <9EED548E-3F76-11D8-AB46-003065D180EE@iafrica.com> References: <9EED548E-3F76-11D8-AB46-003065D180EE@iafrica.com> Message-ID: On Jan 5, 2004, at 3:59 AM, Ryno Swart wrote: > > How I wish I had known about these signs! Here is an amazing > experiment you can try, Malte... I did it with our newborn, some years > ago. > In the book "The Scientist In The Crib" one of the authors relates an experiment he performed on a bunch of newborns for a period of time. He would make arrangements to test each newborn as soon as possible after the birth. The earliest he tested was 40 something minutes. Figured I'd try it on my son and he got the test after about 5 minutes while they were cleaning him. Put your face in front of your baby and stick out your tongue. What happens is that they stick out their tongue. OK, now think about this. Baby has not been using their eyes except for a handful of minutes. They have this thing in front of them that they have never seen before (a human face), and that thing does something. They have enough prewired stuff going on to know: 1. That the new sensory input they are receiving can be interpreted. 2. That the movement they see is actually one object. 3. That the object in front of them is doing something 4. That they can probably do the same thing. 5. That to do the same thing they have to move specific muscles. 6. And that they have a desire to do the same thing. 7. And then they can put it all together and stick out their tongue. Way amazing to interact with a baby that is just 5 minutes old. To relate this to Revolution (since this is the Revolution mailing list) it would be similar to launching Revolution for the first time and it creating a stack that learns what you want it to do by the way you move your mouse and type on the keyboard and then builds one part of that stack 5 minutes after initial launch. :-) (OK so relating this to Revolution is a stretch.) Kee From jacque at hyperactivesw.com Tue Jan 6 00:23:39 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 05 Jan 2004 23:23:39 -0600 Subject: [OT/ANN] Now I'm a father In-Reply-To: References: Message-ID: <3FFA465B.9020500@hyperactivesw.com> On 1/5/04 4:29 PM, Malte Brill wrote: > http://www.derbrill.de/linus Oh my, he's beautiful! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Jan 6 01:10:37 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jan 2004 22:10:37 -0800 Subject: revGoURL on 10.2.3 In-Reply-To: <9C0BB5C4-4001-11D8-82DD-000393C4760A@mindlube.com> Message-ID: Alex Rice wrote: > On Jan 5, 2004, at 6:19 PM, Richard Gaskin wrote: >>> How about: >>> get shell("open /path/to/file.html") >> >> Same as "open location": if the file has a type code assigned it open >> in >> the assigned app. > > You are right. But does it really matter? Why not just go with the flow > and let the creator codes do their job. ;-) Because I make my help pages in GoLive, which is not what I want users to view them in. :) I used to set the creator code to MSIE to get around this, and it worked 99% of the time until Safari came out. Now I strip the creator code Finder info as part of my release process, and set Rev's fileType property to "????????" when generating page from WebMerge on OS X so I can launch them for preview. This was working until Apple yanked GURLGURL in Panther. I'll replace the GURLGURL call with the newer AppleScript method, but it would be nice to allow my Mac customers to set the file type to match their HTML editing program while still being able to launch the file in a browser. It's a small nice-to-have, and few will regret its absence, but after having that capability it occurs to me that the whole conundrum of launching files in the default browser is far more complicated than it needs to be on pretty much every platform. > with "open" if you want to force a particular app you can do this. > Maybe applescript can also > > open -a /Applications/Safari.app /path/to/file.html That works only if you have know which application the user has as their default browser and what its path is. Altering the file by stripping the creator code info seems necessary, more special-case code exclusively for OS X. If only NeXT programmers had liked Macs so much of the OS X transition would be so much less cosly for the Mac community....:::sigh::: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Jan 6 01:50:33 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jan 2004 22:50:33 -0800 Subject: Rev news from MacWorld Message-ID: Not sure how this press release got to MacTech before it got here, but it's a great read: Excerpt: The press, the public, and Revolution developers are invited to stop by the Runtime Revolution booth for an early look at new features, now in early development. These exciting new capabilities include: * Industrial-strength data encryption * Support for SSL (Secure Sockets Layer) for secure Internet connections * Advanced Windows XP themes for your cross-platform applications Cool stuff. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From DVGlasgow at aol.com Tue Jan 6 04:10:43 2004 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Tue, 6 Jan 2004 04:10:43 EST Subject: Finding creator types (was Another newbie Mac Question) Message-ID: <1ec.16b0b58f.2d2bd593@aol.com> In a message dated 5/1/04 9:07:19 PM, use-revolution-request at lists.runrev.com writes: >From: Chipp Walters >Subject: Re: Another newbie Mac Question... >To: How to use Revolution >Message-ID: <8FD3909F-3FB4-11D8-85A7-000A95F078B6 at chipp.com> >Content-Type: text/plain; charset=US-ASCII; format=flowed > >In the docs, it says with filter works. Is this a mistake? > >Also, >Where does one go to 'find' all the different creator types? On a case by case basis I just drop a sample file on the custom find pane in Sherlock (< X only, I think). Best wishes, David Glasgow Forensic Psychology Software and Services i-Psych From stephenREVOLUTION at barncard.com Tue Jan 6 04:26:38 2004 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Tue, 6 Jan 2004 01:26:38 -0800 Subject: [OT/ANN] Now I'm a father Message-ID: There seems to be a few minutes of extreme lucidity in newborns right after birth. My son immediately grabbed my glasses after I picked him up, held onto them, and laughed at me, looking me right in the eyes. > >Put your face in front of your baby and stick out your tongue. What >happens is that they stick out their tongue. > > >Kee > From doug at webcrossing.com Tue Jan 6 05:03:53 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 06 Jan 2004 19:03:53 +0900 Subject: including images and icons? In-Reply-To: <031F0531-3DA2-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: I clicked on the "included images and icons" button when making a build, but the icon I used as the background tile for a card did not show up in the standalone app. Have others experienced this? doug From rcozens at pon.net Tue Jan 6 08:45:55 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 6 Jan 2004 06:45:55 -0700 Subject: stack handler unavailable from cd script?! In-Reply-To: <20040106005736.36762.qmail@web60501.mail.yahoo.com> References: <20040106005736.36762.qmail@web60501.mail.yahoo.com> Message-ID: >for some reason the card script cannot "see" the stack script! And acts >like there is no script! > >Must I put the card script in the button script? > >I have no idea what could be the source of this error! Hi Eric, What you are trying to do (or something similar) works for me with no problems; so I suspect a syntax error. If you would publish the text of your button, card, and stack handlers, perhaps someone could shed more light. Something else you could try: open the card script, turn on script debug mode, set a breakpoint [click to the left of] on the first line of the handler called by the button, then click on the button. If the debug screen doesn't appear, the button script didn't run the card script; if it does appear, click on "step into" or "step over" and keep clicking after each statement is executed so you can trace your handler's progress. At some point the handler should fail. Where it fails may help you understand why it fails [Message & Variable Watcher windows may also help]. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Tue Jan 6 08:59:33 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 6 Jan 2004 06:59:33 -0700 Subject: stack handler unavailable from cd script?! In-Reply-To: <20040106005736.36762.qmail@web60501.mail.yahoo.com> References: <20040106005736.36762.qmail@web60501.mail.yahoo.com> Message-ID: >In hypercard, the handlers work just fine. Hi Again, Eric. Did you create the Rev stack from scratch, or by importing a HyperCard stack? Stack created by opening & saving a HyperCard stack differ from stacks created from scratch in two ways: look at the HCAddressing and dynamicPaths properties in Rev Dictionary...it's possible changing either or both properties will solve the problem. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Tue Jan 6 09:17:28 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 6 Jan 2004 07:17:28 -0700 Subject: stack handler unavailable from cd script?! Message-ID: >In hypercard, the handlers work just fine. Yet Another Thought, Eric. Some text strings that are legal variable names in HyperTalk turn out to be reserved words in Transcript. If this were your problem, though, I believe you would get an error message. Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From RGould8 at aol.com Tue Jan 6 11:45:42 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Tue, 6 Jan 2004 11:45:42 EST Subject: Command to detect default browser? Message-ID: <88.c0589b.2d2c4036@aol.com> I might be day-dreaming, but isn't there a Revolution command for determining the user's default browser (I'm on Mac OS X). I've been looking through all the commands related to revGoURL, and nothing's popping up for me in the dictionary. From alex at mindlube.com Tue Jan 6 12:36:29 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 6 Jan 2004 10:36:29 -0700 Subject: OT Re: Interfaces: PC and MAC ------OT In-Reply-To: References: Message-ID: On Jan 5, 2004, at 6:26 PM, Stephen Quinn Barncard wrote: > ummm... how can iTunes be a "BETAMAX" when it's cross platform? And proprietary. iTunes Store uses not mp3 but rather MPEG+AAC+DRM AAC = apple audio codec DRM = apple digital rights management, proprietary The DRM means you can only play your itunes-store-purchased songs from iTunes.app, on the machine you bought the song with (or via Rendezvous from that machine) The iTunes DRM has been cracked. That article has interesting links about the issues including alternative distribution models, and peer/peer filesharing networks. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From lists at mangomultimedia.com Tue Jan 6 12:41:21 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 6 Jan 2004 10:41:21 -0700 Subject: OT Re: Interfaces: PC and MAC ------OT In-Reply-To: References: Message-ID: <8A6344A2-406F-11D8-B834-000A956C462A@mangomultimedia.com> On Jan 6, 2004, at 10:36 AM, Alex Rice wrote: > > On Jan 5, 2004, at 6:26 PM, Stephen Quinn Barncard wrote: > >> ummm... how can iTunes be a "BETAMAX" when it's cross platform? > > And proprietary. iTunes Store uses not mp3 but rather MPEG+AAC+DRM > > AAC = apple audio codec Actually AAC is the MPEG-4 standard made by dolby . -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From alex at mindlube.com Tue Jan 6 13:07:01 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 6 Jan 2004 11:07:01 -0700 Subject: OT Re: Interfaces: PC and MAC ------OT In-Reply-To: <8A6344A2-406F-11D8-B834-000A956C462A@mangomultimedia.com> References: <8A6344A2-406F-11D8-B834-000A956C462A@mangomultimedia.com> Message-ID: <2053FAB0-4073-11D8-BA1D-000393C4760A@mindlube.com> On Jan 6, 2004, at 10:41 AM, Trevor DeVore wrote: > > Actually AAC is the MPEG-4 standard made by dolby > . Ah. Thanks. I guess I made a common mistake: """Apple should have used "MP4" instead of AAC, that's what it is afterall. People would have seen the association with MP3 and say "Oh, COOL, it's even better than MP3." Instead they have no idea what AAC is. I'm sure they assume that one of those A's stands for Apple, just like the W in WMA stands for Windows. Apple Audio Codec, Apple Audio Control, etc.""" Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From lists at mangomultimedia.com Tue Jan 6 13:11:54 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 6 Jan 2004 11:11:54 -0700 Subject: OT Re: Interfaces: PC and MAC ------OT In-Reply-To: <2053FAB0-4073-11D8-BA1D-000393C4760A@mindlube.com> References: <8A6344A2-406F-11D8-B834-000A956C462A@mangomultimedia.com> <2053FAB0-4073-11D8-BA1D-000393C4760A@mindlube.com> Message-ID: On Jan 6, 2004, at 11:07 AM, Alex Rice wrote: > On Jan 6, 2004, at 10:41 AM, Trevor DeVore wrote: >> Actually AAC is the MPEG-4 standard made by dolby >> . > > Ah. Thanks. I guess I made a common mistake: > > """Apple should have used "MP4" instead of AAC, that's what it is > afterall. People would have seen the association with MP3 and say "Oh, > COOL, it's even better than MP3." Instead they have no idea what AAC > is. I'm sure they assume that one of those A's stands for Apple, just > like the W in WMA stands for Windows. Apple Audio Codec, Apple Audio > Control, etc.""" > id=36749> True, AAC is not very well known as a name. I wonder if they were required to use this name though. Since it is just using the AAC codec which is just a part of the MPEG-4 standard it might have been required due to some licensing issues or something. I don't really know, just guessing. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From Mark.Powell at veritas.com Tue Jan 6 15:50:56 2004 From: Mark.Powell at veritas.com (Mark Powell) Date: Tue, 6 Jan 2004 12:50:56 -0800 Subject: Setting listBehavior to false = 'break' ? Message-ID: I have a preOpenStack handler that sets the context-specific properties of one particular field (sometimes editable, sometimes clickable, etc.). When using the following line set the listBehavior of field "foo" to false in either a switch or if/else construction, the debugger shows that my handler acts as if there is a break statement following this line, immediately exiting the construction without performing any downstream instructions. Can someone instruct me on what I am doing wrong? Is there a bug in the system or is there a bug between my ears? My config is Rev. 2.0.1 on Windows. Thanks in advance. Mark Powell From 3mcgrath at adelphia.net Tue Jan 6 15:58:10 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Tue, 6 Jan 2004 15:58:10 -0500 Subject: too many emails in mail osx Message-ID: <08F3BD09-408B-11D8-84F4-000A95DA60FA@adelphia.net> Help, I have way too many emails now in OSX Mail. Does anyone know of an archiving application for OSX for Mail? I have almost 5000 emails and I do like to search them for answers to scripting problems. Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From alex at mindlube.com Tue Jan 6 16:10:41 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 6 Jan 2004 14:10:41 -0700 Subject: too many emails in mail osx In-Reply-To: <08F3BD09-408B-11D8-84F4-000A95DA60FA@adelphia.net> References: <08F3BD09-408B-11D8-84F4-000A95DA60FA@adelphia.net> Message-ID: On Jan 6, 2004, at 1:58 PM, Thomas J McGrath III wrote: > Help, > > I have way too many emails now in OSX Mail. Does anyone know of an > archiving application for OSX for Mail? No, but you can search the list archives here ANother ideas is you can create subfolders in Mail.app. Drag messages into the subfolders. You could make a folder for every 6 months of archives, or something. That would make searching more manageable. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From chipp at chipp.com Tue Jan 6 16:10:31 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 6 Jan 2004 15:10:31 -0600 Subject: OT Re: Interfaces: PC and MAC ------OT In-Reply-To: Message-ID: BetaMax was cross platform..Sony wasn't the only one to make betaMax players. but in fact, the biggest problem IMO with i-Tunes is that it's really *NOT* cross-platform. Consider cross platform to not be the Mac/PC thing, but rather the portable units which can play the i-Tunes native format. IOW, i-Tunes only plays on a proprietary portable device, namely the i-Pod. In the case of Napster, MusicMatch and a bunch of others, they all play (or plan on playing) on different portable players from different manufacturers. This offers users a multitude of choices for hardware...and drives prices down and features up. In fact, they can 'mix and match' different vendors 'purchases' on the same hardware. Just look at price/performance of Macs vs PCs. There are a much broader selection, top to bottom, in the PC market than in the Mac market - with prices (in general) being less expensive. (I'm typing this on a 2.4 GHZ E-Machines Desktop PC with DVD and CD-RW which I purchased from TigerDirect for $349.) Of course, I know you can rip directly to MP3 from i-Tunes (and Napster and others as well), then move to a portable hardware device. Some will do this, but it is an unecessary step and as i-Pod users have found out already, it's much easier going straight to the portable device than to Rip to CD --> Download from CD --> Transfer to i-Pod best, Chipp > > ummm... how can iTunes be a "BETAMAX" when it's cross platform? > > You mean it only uploads into an iPod? Or they're not using MP3 ? > That will change....Or shareware will appear. > > Anyway, currently for online music for PCs you have proprietary > softwares.... and no "VHS" analogy. > > >Richard, > > > >Well said. I enjoyed reading the article as well. In fact, it echos > >something I've been talking about for awhile. I-Tunes is the > >'BETAMAX' to the rest of the online Music 'VHS'. > >-Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From briany at qldlearning.com Tue Jan 6 16:15:26 2004 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 6 Jan 2004 16:15:26 -0500 Subject: too many emails in mail osx In-Reply-To: Message-ID: <7269F030-408D-11D8-994F-000393AA08D2@qldlearning.com> Working off of this, you can create filters that funnel everything to folders, and then on top of those some more disabled filters which funnel to archived folders. When you want to archive, turn on the extra filters, select all in any folder, and use "Message->Apply Rules to Selection". I'm sure there are more elegant ways, but this works for me with about 10,000 archived messages... > ANother ideas is you can create subfolders in Mail.app. Drag messages > into the subfolders. You could make a folder for every 6 months of > archives, or something. That would make searching more manageable. From briany at qldlearning.com Tue Jan 6 16:21:33 2004 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 6 Jan 2004 16:21:33 -0500 Subject: OT Re: Interfaces: PC and MAC ------OT In-Reply-To: Message-ID: <4D3E9B81-408E-11D8-994F-000393AA08D2@qldlearning.com> I think you pretty much nailed the point right here: Apple sells music players the same way they sell computers. That's why Apple sells hardware and Microsoft doesn't: totally different strategy. Please help me if we're going to debate Mac vs. PC here, though. - Brian > Just look at price/performance of Macs vs > PCs. There are a much broader selection, top to bottom, in the PC > market > than in the Mac market - with prices (in general) being less > expensive. (I'm > typing this on a 2.4 GHZ E-Machines Desktop PC with DVD and CD-RW > which I > purchased from TigerDirect for $349.) From jperryl at ecs.fullerton.edu Tue Jan 6 16:25:51 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 6 Jan 2004 13:25:51 -0800 (PST) Subject: [OT/ANN] Now I'm a father In-Reply-To: Message-ID: Mine didn't get it... they both zonked almost immediately after being pulled out. Of course, they're MORE than making up for it now ;-) Judy On Tue, 6 Jan 2004, Stephen Quinn Barncard wrote: > There seems to be a few minutes of extreme lucidity in newborns right > after birth. My son immediately grabbed my glasses after I picked him > up, held onto them, and laughed at me, looking me right in the eyes. > > > > > >Put your face in front of your baby and stick out your tongue. What > >happens is that they stick out their tongue. > > > > > >Kee > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Tue Jan 6 16:21:34 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 6 Jan 2004 15:21:34 -0600 Subject: Resizeable problems In-Reply-To: Message-ID: <02a201c3d49b$134eda20$6901a8c0@LightningFlash> Ken, Open up the stack inspector, choose "Size and Position", and uncheck the "resizable" checkbox. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Ken Norris > Sent: Sunday, January 04, 2004 8:28 PM > To: use-revolution at lists.runrev.com > Subject: Resizeable problems > > > Howdy, > > How do I set the resizeable of a stack to false. Nothing I've > tried works. > > How do I get rid of the resize drag box in the lower right > corner of the window? I can't find a way to do that either. > > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From gizmotron at earthlink.net Tue Jan 6 16:28:34 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 6 Jan 2004 13:28:34 -0800 Subject: too many emails in mail osx In-Reply-To: <08F3BD09-408B-11D8-84F4-000A95DA60FA@adelphia.net> Message-ID: <488EA34C-408F-11D8-A949-000A95859272@earthlink.net> On Tuesday, January 6, 2004, at 12:58 PM, Thomas J McGrath III wrote: > Help, > > I have way too many emails now in OSX Mail. Does anyone know of an > archiving application for OSX for Mail? > > I have almost 5000 emails and I do like to search them for answers to > scripting problems. > > Tom Do a search for "INBOX", open that mailbox file as any type file with BBEdit, transform that file into a format that you can use, like XML, HTML with local links, ? etc... I suppose I'll have to create a mailbox file to MTML transformation tool that will open in my MTML Notebook. Thanks for getting me to look for this. Now I know. Mark From runrev at dicas.com Tue Jan 6 16:35:10 2004 From: runrev at dicas.com (Deivy Petrescu) Date: Tue, 6 Jan 2004 16:35:10 -0500 Subject: too many emails in mail osx In-Reply-To: <08F3BD09-408B-11D8-84F4-000A95DA60FA@adelphia.net> References: <08F3BD09-408B-11D8-84F4-000A95DA60FA@adelphia.net> Message-ID: At 3:58 PM -0500 1/6/04, Thomas J McGrath III wrote: >Help, > >I have way too many emails now in OSX Mail. Does >anyone know of an archiving application for OSX >for Mail? > >I have almost 5000 emails and I do like to >search them for answers to scripting problems. > >Tom > Tom, go to Mail folder in your (or whatever user you want to do this) and select whatever of your mailboxes you want to work with. Say for the sake of this example you runrev account. Open the folder POP-runrev at dicas.com. Control-click on the INBOX.mbox and select show packages content. The mbox file you see in the new "Finder" window is a text file with all your messages. It can be opened with TextEdit. Do whatever you want with it. Actually, Eudora and Mail use text files than can be open by any application. A big plus when talking about proprietary technologies. -- Regards Sauda??es Deivy http://www.dicas.com From chipp at chipp.com Tue Jan 6 16:43:14 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 6 Jan 2004 15:43:14 -0600 Subject: OT Re: Interfaces: PC and MAC ------OT In-Reply-To: <4D3E9B81-408E-11D8-994F-000393AA08D2@qldlearning.com> Message-ID: >Behalf Of Brian > > Please help me if we're going to debate Mac vs. PC here, though. > > - Brian > Sorry, I don't mean to start another religious platform debate. I just got finished buying a new Mac - which is basically the same hardware as a Sony laptop I purchased over 3 years ago. Though it does 'glow' when it sleeps-- I think it's dreaming about my next purchase ;-) Though to be fair, the Sony did cost me over $3K while this Apple i-Book only cost $1400. -Chipp From sarahr at genesearch.com.au Tue Jan 6 17:32:32 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 7 Jan 2004 08:32:32 +1000 Subject: Setting listBehavior to false = 'break' ? In-Reply-To: References: Message-ID: <38359DE4-4098-11D8-8418-0003937A97B8@genesearch.com.au> I have a similar handler and it works fine, so maybe the following line is the problem. Does the next line call another handler? If the listBehavior actually gets set, then it really looks like something after that. My only difficulty was working out how to spell "behavior" in American :-) but I always have live colorization on to tell me when I've got things wrong. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 7 Jan 2004, at 6:52 am, Mark Powell wrote: > I have a preOpenStack handler that sets the context-specific > properties of > one particular field (sometimes editable, sometimes clickable, etc.). > When > using the following line > > set the listBehavior of field "foo" to false > > in either a switch or if/else construction, the debugger shows that my > handler acts as if there is a break statement following this line, > immediately exiting the construction without performing any downstream > instructions. Can someone instruct me on what I am doing wrong? Is > there a > bug in the system or is there a bug between my ears? My config is Rev. > 2.0.1 on Windows. > > Thanks in advance. > > Mark Powell From kray at sonsothunder.com Tue Jan 6 17:54:37 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 6 Jan 2004 16:54:37 -0600 Subject: including images and icons? In-Reply-To: Message-ID: <02b401c3d4a8$131c4580$6901a8c0@LightningFlash> Doug, Was this image an embedded image, or a referenced one on disk? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Doug Lerner > Sent: Tuesday, January 06, 2004 4:04 AM > To: How to use Revolution > Subject: including images and icons? > > > I clicked on the "included images and icons" button when > making a build, but the icon I used as the background tile > for a card did not show up in the standalone app. > > Have others experienced this? > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From doug at webcrossing.com Tue Jan 6 18:26:45 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 08:26:45 +0900 Subject: including images and icons? In-Reply-To: <02b401c3d4a8$131c4580$6901a8c0@LightningFlash> Message-ID: Good question. I assumed it was embedded because it was just one of the icons that are built-In standard. doug On 1/7/04 7:54 AM, "Ken Ray" wrote: > Doug, > > Was this image an embedded image, or a referenced one on disk? > > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Doug Lerner >> Sent: Tuesday, January 06, 2004 4:04 AM >> To: How to use Revolution >> Subject: including images and icons? >> >> >> I clicked on the "included images and icons" button when >> making a build, but the icon I used as the background tile >> for a card did not show up in the standalone app. >> >> Have others experienced this? >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-> revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Tue Jan 6 22:18:46 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 12:18:46 +0900 Subject: Scrolling fields - line artifacts In-Reply-To: <031F0531-3DA2-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: In both the IDE and in standalone apps (I am using OS X), line artifacts appear in scrolling fields when scrolling through them. Clicking on the field gets rid of the lines in the region where you click. Any way of avoiding the lines to start with? Thanks, Doug Lerner, Tokyo From dsc at swcp.com Tue Jan 6 23:45:28 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 6 Jan 2004 21:45:28 -0700 Subject: Scrolling fields - line artifacts In-Reply-To: Message-ID: <51086891-40CC-11D8-BC5E-000A9567A3E6@swcp.com> On Tuesday, January 6, 2004, at 08:18 PM, Doug Lerner wrote: > In both the IDE and in standalone apps (I am using OS X), line > artifacts > appear in scrolling fields when scrolling through them. Something like this was fixed at one time. What version are you using? Dar Scott From doug at webcrossing.com Wed Jan 7 00:50:46 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 14:50:46 +0900 Subject: Scrolling fields - line artifacts In-Reply-To: <51086891-40CC-11D8-BC5E-000A9567A3E6@swcp.com> Message-ID: Version 2.1, OS X. doug On 1/7/04 1:45 PM, "Dar Scott" wrote: > > On Tuesday, January 6, 2004, at 08:18 PM, Doug Lerner wrote: > >> In both the IDE and in standalone apps (I am using OS X), line >> artifacts >> appear in scrolling fields when scrolling through them. > > Something like this was fixed at one time. What version are you using? > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Wed Jan 7 00:51:22 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 14:51:22 +0900 Subject: Clearing an Image object? In-Reply-To: <51086891-40CC-11D8-BC5E-000A9567A3E6@swcp.com> Message-ID: I couldn't find this in the docs - how do you clear an Image object? Thanks, Doug Lerner, Tokyo From dsc at swcp.com Wed Jan 7 00:55:31 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 6 Jan 2004 22:55:31 -0700 Subject: Scrolling fields - line artifacts In-Reply-To: Message-ID: <1A8001D4-40D6-11D8-BC5E-000A9567A3E6@swcp.com> On Tuesday, January 6, 2004, at 10:50 PM, Doug Lerner wrote: > Version 2.1, OS X. This should be fixed in the current version (2.1.2). Dar Scott From dsc at swcp.com Wed Jan 7 00:56:55 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 6 Jan 2004 22:56:55 -0700 Subject: Clearing an Image object? In-Reply-To: Message-ID: <4C10803B-40D6-11D8-BC5E-000A9567A3E6@swcp.com> On Tuesday, January 6, 2004, at 10:51 PM, Doug Lerner wrote: > I couldn't find this in the docs - how do you clear an Image object? Do you mean erase all the pixels or set it to a trivial empty image? The latter: set the text of image "my image" to empty I had to ask, too. Dar Scott From dsc at swcp.com Wed Jan 7 00:59:31 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 6 Jan 2004 22:59:31 -0700 Subject: Scrolling fields - line artifacts In-Reply-To: <1A8001D4-40D6-11D8-BC5E-000A9567A3E6@swcp.com> Message-ID: On Tuesday, January 6, 2004, at 10:55 PM, Dar Scott wrote: >> Version 2.1, OS X. > > This should be fixed in the current version (2.1.2). There are also some workarounds. I think making the background transparent is one. Dar Scott From doug at webcrossing.com Wed Jan 7 01:08:00 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 15:08:00 +0900 Subject: Scrolling fields - line artifacts In-Reply-To: <1A8001D4-40D6-11D8-BC5E-000A9567A3E6@swcp.com> Message-ID: Thanks. I'll check it out. doug On 1/7/04 2:55 PM, "Dar Scott" wrote: > > On Tuesday, January 6, 2004, at 10:50 PM, Doug Lerner wrote: > >> Version 2.1, OS X. > > This should be fixed in the current version (2.1.2). > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Wed Jan 7 01:11:16 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 15:11:16 +0900 Subject: Clearing an Image object? In-Reply-To: <4C10803B-40D6-11D8-BC5E-000A9567A3E6@swcp.com> Message-ID: I think a trivial empty image would do. Thanks! The text. Who would imagine? :) By the by, the mouseEnter and mouseLeave messages are only sent when using the Browser Tool. Do you have any suggestions for being able to choose another tool from a custom paint palette when drawing? Right now I am just doing this: on keyUp theKey global curTool put the tool into curTool choose browser tool end keyUp which seems a bit not-so-much-a-nice-UI. :) doug On 1/7/04 2:56 PM, "Dar Scott" wrote: > > On Tuesday, January 6, 2004, at 10:51 PM, Doug Lerner wrote: > >> I couldn't find this in the docs - how do you clear an Image object? > > Do you mean erase all the pixels or set it to a trivial empty image? > > The latter: > > set the text of image "my image" to empty > > I had to ask, too. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Wed Jan 7 01:36:56 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 7 Jan 2004 00:36:56 -0600 Subject: Clearing an Image object? In-Reply-To: <4C10803B-40D6-11D8-BC5E-000A9567A3E6@swcp.com> Message-ID: I've always.. set the fileName of img "my image" to empty I wonder if there's a difference? -Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Dar Scott > Sent: Tuesday, January 06, 2004 11:57 PM > To: How to use Revolution > Subject: Re: Clearing an Image object? > > > > On Tuesday, January 6, 2004, at 10:51 PM, Doug Lerner wrote: > > > I couldn't find this in the docs - how do you clear an Image object? > > Do you mean erase all the pixels or set it to a trivial empty image? > > The latter: > > set the text of image "my image" to empty > > I had to ask, too. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From doug at webcrossing.com Wed Jan 7 02:11:07 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 16:11:07 +0900 Subject: A text representation of recent actions? In-Reply-To: <4C10803B-40D6-11D8-BC5E-000A9567A3E6@swcp.com> Message-ID: For example, say a user has choose pencil tool set and draws in the image. Is there a way of capturing, in text form, what the user did so that information can be sent to a server? doug From ambassador at fourthworld.com Wed Jan 7 02:14:18 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Jan 2004 23:14:18 -0800 Subject: Clearing an Image object? In-Reply-To: Message-ID: Doug Lerner wrote: > On 1/7/04 2:56 PM, "Dar Scott" wrote: > >> set the text of image "my image" to empty > > I think a trivial empty image would do. Thanks! > > The text. Who would imagine? :) Few. Referring to "the text" for images is a merely a by-product of how the interpreter works with containers. More simply you can use: put empty into img "my image" > By the by, the mouseEnter and mouseLeave messages are only sent when using > the Browser Tool. > > Do you have any suggestions for being able to choose another tool from a > custom paint palette when drawing? > > Right now I am just doing this: > > on keyUp theKey > global curTool > put the tool into curTool > choose browser tool > end keyUp > > which seems a bit not-so-much-a-nice-UI. :) I don't understand: if you have a tool palette for changing tools why do you need to respond to the mouse position? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Jan 7 02:17:25 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Jan 2004 23:17:25 -0800 Subject: Clearing an Image object? In-Reply-To: Message-ID: Chipp Walters wrote: > I've always.. > > set the fileName of img "my image" to empty > > I wonder if there's a difference? If the image is referenced from a file your method is what you want. Oddly enough it will clear an embedded image, but "the result" contains the error message "could not open image". For embedded images the simplest I know of is: put empty into -- 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 doug at webcrossing.com Wed Jan 7 02:24:02 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 16:24:02 +0900 Subject: Clearing an Image object? In-Reply-To: Message-ID: On 1/7/04 4:14 PM, "Richard Gaskin" wrote: >> By the by, the mouseEnter and mouseLeave messages are only sent when using >> the Browser Tool. >> >> Do you have any suggestions for being able to choose another tool from a >> custom paint palette when drawing? >> >> Right now I am just doing this: >> >> on keyUp theKey >> global curTool >> put the tool into curTool >> choose browser tool >> end keyUp >> >> which seems a bit not-so-much-a-nice-UI. :) > > I don't understand: if you have a tool palette for changing tools why do > you need to respond to the mouse position? > > -- Well, in my first experiment, I was doing this all on one stack - there is a pop-up to select the tool. doug From ambassador at fourthworld.com Wed Jan 7 02:25:20 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Jan 2004 23:25:20 -0800 Subject: Clearing an Image object? In-Reply-To: Message-ID: Doug Lerner wrote: > On 1/7/04 4:14 PM, "Richard Gaskin" wrote: > >>> By the by, the mouseEnter and mouseLeave messages are only sent when using >>> the Browser Tool. >>> >>> Do you have any suggestions for being able to choose another tool from a >>> custom paint palette when drawing? >>> >>> Right now I am just doing this: >>> >>> on keyUp theKey >>> global curTool >>> put the tool into curTool >>> choose browser tool >>> end keyUp >>> >>> which seems a bit not-so-much-a-nice-UI. :) >> >> I don't understand: if you have a tool palette for changing tools why do >> you need to respond to the mouse position? >> >> -- > > Well, in my first experiment, I was doing this all on one stack - there is a > pop-up to select the tool. Painting is constrained is an image object already exists. What is it you're looking to do? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From doug at webcrossing.com Wed Jan 7 03:00:00 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 17:00:00 +0900 Subject: Clearing an Image object? In-Reply-To: Message-ID: On 1/7/04 4:25 PM, "Richard Gaskin" wrote: > Doug Lerner wrote: > >> On 1/7/04 4:14 PM, "Richard Gaskin" wrote: >> >>>> By the by, the mouseEnter and mouseLeave messages are only sent when using >>>> the Browser Tool. >>>> >>>> Do you have any suggestions for being able to choose another tool from a >>>> custom paint palette when drawing? >>>> >>>> Right now I am just doing this: >>>> >>>> on keyUp theKey >>>> global curTool >>>> put the tool into curTool >>>> choose browser tool >>>> end keyUp >>>> >>>> which seems a bit not-so-much-a-nice-UI. :) >>> >>> I don't understand: if you have a tool palette for changing tools why do >>> you need to respond to the mouse position? >>> >>> -- >> >> Well, in my first experiment, I was doing this all on one stack - there is a >> pop-up to select the tool. > > Painting is constrained is an image object already exists. What is it > you're looking to do? When I leave the image object, just below it is a pop-up button to select the next paint tool. If I do on mouseLeave choose browse tool end mouseLeave then when I leave the paint area the tool correctly turns into the browse tool (though it shouldn't according to the docs, because supposedly the mouseLeave message is not sent unless it already is the browse tool). But then when I leave the pop-up the handler gets invoked again so instead of my selected tool it turns back into the browse tool again. So I need to maybe figure out *what* I just left, for example... doug From ambassador at fourthworld.com Wed Jan 7 03:34:30 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 07 Jan 2004 00:34:30 -0800 Subject: Clearing an Image object? In-Reply-To: Message-ID: Doug Lerner wrote: > If I do > > on mouseLeave > choose browse tool > end mouseLeave > > then when I leave the paint area the tool correctly turns into the browse > tool (though it shouldn't according to the docs, because supposedly the > mouseLeave message is not sent unless it already is the browse tool). > > But then when I leave the pop-up the handler gets invoked again so instead > of my selected tool it turns back into the browse tool again. > > So I need to maybe figure out *what* I just left, for example... Is that script on the card? Can you just move the script to the mage object itself? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From doug at webcrossing.com Wed Jan 7 04:16:15 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 18:16:15 +0900 Subject: Clearing an Image object? In-Reply-To: Message-ID: On 1/7/04 5:34 PM, "Richard Gaskin" wrote: > Doug Lerner wrote: > >> If I do >> >> on mouseLeave >> choose browse tool >> end mouseLeave >> >> then when I leave the paint area the tool correctly turns into the browse >> tool (though it shouldn't according to the docs, because supposedly the >> mouseLeave message is not sent unless it already is the browse tool). >> >> But then when I leave the pop-up the handler gets invoked again so instead >> of my selected tool it turns back into the browse tool again. >> >> So I need to maybe figure out *what* I just left, for example... > > Is that script on the card? Can you just move the script to the mage object > itself? > That script was on the stack. I'll try moving it to the image itself. I thought that is where it was, but it wasn't working because the message is sent to the card, which is higher up in the hierarchy - but I'll try it again... doug From doug at webcrossing.com Wed Jan 7 04:17:59 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 18:17:59 +0900 Subject: Clearing an Image object? In-Reply-To: Message-ID: On 1/7/04 5:34 PM, "Richard Gaskin" wrote: > Doug Lerner wrote: > >> If I do >> >> on mouseLeave >> choose browse tool >> end mouseLeave >> >> then when I leave the paint area the tool correctly turns into the browse >> tool (though it shouldn't according to the docs, because supposedly the >> mouseLeave message is not sent unless it already is the browse tool). >> >> But then when I leave the pop-up the handler gets invoked again so instead >> of my selected tool it turns back into the browse tool again. >> >> So I need to maybe figure out *what* I just left, for example... > > Is that script on the card? Can you just move the script to the mage object > itself? As I suspected,that doesn't work. I think what happens is that the mouseLeave is sent to the card, so it is not caught by an object handler. doug From engleerica at yahoo.com Wed Jan 7 04:32:33 2004 From: engleerica at yahoo.com (Eric Engle) Date: Wed, 7 Jan 2004 01:32:33 -0800 (PST) Subject: stack handler unavailable from cd script?! In-Reply-To: <20040106170005.55BAE9300DD@mail.runrev.com> Message-ID: <20040107093233.96707.qmail@web60509.mail.yahoo.com> I want to thank Rob for his tips; basically this appears to have been due to a system error or a syntax error in the parent scripts (i.e. at the stack or more likely card script). Some lines parsed properly in hypercard, not in revolution. I thought it might have been memory leakage or some other arcane os problem. However I had already cold booted to test for this before writing the list. I'm fairly sure it must have been a syntax error due to an ommitted quotation mark in a string - the card script had lots of string variables. Anyway, the problem is solved: I would have written quicker to say "don't bother answering" but figured it was too late. Anyway I needed a nights rest to re-read the card script to check for any syntax errors. The only other possibility would have been "orphan code". when I have an old handler I've modified I sometimes keep the old code so: on mouseup newCode end mouseup oldcode moreoldcode the old code not being in a handler doesn't bother hypercard - though in metacard it sometimes generates error messages. I presume it does not execute at runtime since the oldcode is no longer in a handler. Anyway - thanks! ===== What I love about spam is realizing how profitable emotional insecurity can be for those who think they're somehow sexually inadequate. I get spam all the time offering to enlarge my breasts and lengthen my penis. And all I can ask is: which first? At least I know once I decide I will have a profitable future as a TV model... "To create a new standard takes something that's not just a little bit different. It takes something that's really new and captures people's imaginations. Macintosh meets that standard." -Bill Gates "Those who would trade liberty for security, deserve neither." - Benjamin Franklin. What would _you say to a constitutional amendment to give the president dictatorial powers? http://www.miami.com/mld/miamiherald/news/nation/6007732.htm __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From doug at webcrossing.com Wed Jan 7 04:58:55 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 18:58:55 +0900 Subject: recording the mouse movements while using a paint tool In-Reply-To: <20040107093233.96707.qmail@web60509.mail.yahoo.com> Message-ID: It is possible to log the mouse actions in the paint area. For example, a handler like this: on mouseMove global wbTracker repeat while the mouse is down put "," & the mouseLoc after wbTracker end repeat end mouseMove will record something like this for the mouse movements: 51,486,351,486,351,486,351,486,351,486,351,486,351,486,351,486,351,486,351,4 86,351,486,351,486,351,486,351,486,351,486,351,486,351,486,351,486,351,486,3 51,486,351,486,351,486,351,486,351,486,351,486,351,486,351,486,351,486,351,4 86,351,486,351,486,351,486,351,486,351,486,351,486,351,486,351,486,351,486,3 51,486,351,486,351,486,351,486,351,486,351,486,351,486,351,486,351,486,351.. .etc. but this needs to be tweaked because the drawn line appears after the mouse is up, rather than during the operation. doug From doug at webcrossing.com Wed Jan 7 07:04:46 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 21:04:46 +0900 Subject: stack color problems after upgrading to 2.1.2 In-Reply-To: <031F0531-3DA2-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: I upgraded to Rev 2.1.2 (OS X) just before. Now substacks that had colored backgrounds (orange, yellow...) are all coming out white. The main stack retained its color though. Is there some difference in how background colors of substacks are treated in 2.1.2? doug From doug at webcrossing.com Wed Jan 7 07:06:44 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 07 Jan 2004 21:06:44 +0900 Subject: stack color problems after upgrading to 2.1.2 In-Reply-To: <031F0531-3DA2-11D8-8C39-000A9567A3E6@swcp.com> Message-ID: I should clarify in the previous message that the problem is just in the standalone apps. In the IDE the colors remains as they have always been. doug ---previous message----- I upgraded to Rev 2.1.2 (OS X) just before. Now substacks that had colored backgrounds (orange, yellow...) are all coming out white. The main stack retained its color though. Is there some difference in how background colors of substacks are treated in 2.1.2? doug From DVGlasgow at aol.com Wed Jan 7 07:37:57 2004 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Wed, 7 Jan 2004 07:37:57 EST Subject: XP GIF display oddities Message-ID: <8b.cec313.2d2d57a5@aol.com> Hello folks, OK, I am unsure whether it is only me with any interest in this thread, but it may be that what I have established helps others, and someone who knows XP might help me to take the next step. The story so far is that a customer with XP complained that a list of authorised users did not appear in his copy. (which disabled the buttons navigating to screens) It seems that unlike all other versions of Windows, XP cannot access the encrypted list of users in a preopenstack handler. I had to change it so that the application has actually launched and THEN looks up the names of users. He then complained that images looked odd. All Gifs. Some were home spun, but standard icons and the pointy hand cursor also displayed wrongly. As usual I got good advice from this list, but nothing really hit the target. I have just discovered that when faced with the original problem, this customer tried using the Windows XP Compatibility Wizard. On the face of it, a reasonable thing to try. However, it was only *after* using this that the display problems emerged. I have a feeling this particular wizard is more of a Saruman than a Gandalf. I am pretty sure I have fixed the original problem. The question is what advice do I give the customer? It seems that the dreaded wizard remembers the exe and creates what it feels is the 'correct' environment automatically whenever it is launched. Is this right? What exactly does it fiddle with? How can it be persuaded to not intervene any more? (please, no quests to the Cracks of Doom). Best wishes, David Glasgow Forensic Psychology Software and Services i-Psych From bob at armbase.com Wed Jan 7 09:02:44 2004 From: bob at armbase.com (Bob Hartley) Date: Wed, 07 Jan 2004 14:02:44 +0000 Subject: mail-list or BB or newsgroup Message-ID: <6.0.0.22.0.20040107140126.0245cea8@udcf.gla.ac.uk> Hi all. sorry if another post comes up, I posted using a different mail address earlier. Anyway....... One reason I nearly bought real basic instead of revolution was there is a real basic newsgroup. Revolution was my first choice but I like newsnet's open forum. I bought revolution and subscribed to the maillist, however, I cant help but think that some may be put off by not wanting lots of mails (note it didn't put me off). I know to "ref" a newsgroup would be tedious and open to harvesting, however, I beleive it would be better to have a relatively open bulletinboard like the http://www.acornevolution.com/ driven by http://www.phpbb.com/ Cheers Bob Dr Robert Hartley, Armbase Software Developments. Custom PDA database design in as little as 1 hour. From revlist at cableone.net Wed Jan 7 10:30:29 2004 From: revlist at cableone.net (Chris Sheffield) Date: Wed, 7 Jan 2004 08:30:29 -0700 Subject: htmlText and links Message-ID: <000001c3d533$2e9f5c30$64fea8c0@chris1> I have what may be kind of a strange question. I am using links in html to set up some text for users to click on and have a definition displayed. The text consists of a word (or words) with the textStyle set to link, and the href for that link is set to the text of the accompanying definition. Then using the linkClicked message I can retrieve the definition and display it. This all works great. Now for my weird question. What I'd like to do is apply some automatic formatting to my definition. So certain words would be bold and certain words would be italicized. Is there any way to include the appropriate tags within my html link? For example, in my text file, I might have something like this: ball Is it possible to do something like this? ball I know the above does not work because I've tried it. I'm wondering if there is some kind of escape character that will allow me to literally include the tags in the href, then I could set another field's htmlText to that. Is this even clear? :-) Any ideas? Thanks, Chris Sheffield Software Development Read Naturally --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004 From scott at tactilemedia.com Wed Jan 7 10:33:05 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 07 Jan 2004 07:33:05 -0800 Subject: mail-list or BB or newsgroup In-Reply-To: <6.0.0.22.0.20040107140126.0245cea8@udcf.gla.ac.uk> Message-ID: On 1/7/04 6:02 AM, "Bob Hartley" wrote: > I know to "ref" a newsgroup would be tedious and open to harvesting, > however, I beleive it would be better to have a relatively open > bulletinboard like the > http://www.acornevolution.com/ You might want to review a similar thread from the list: http://lists.runrev.com/pipermail/use-revolution/2003-July/020241.html 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 Wed Jan 7 10:45:38 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 7 Jan 2004 16:45:38 +0100 Subject: htmlText and links Message-ID: Unless you redefine a new HTML standard, you out of luck. The solution is to make a lookup table for your href links and substitute the formated lookup after the click... my link in a field you have the linkreferences containing the link and the formated link separated by your favorite itemdelimiter. Then you put the number of lines in char 1 to offset(mylink,linkreferences) of linkreferences into thisline put item 2 of line thisline of linkreferences into formatedlink and VOILA! Mind you the example script is not complete and the lineoffset will probably fail... cheers Xavier On 07/01/2004 16:30:29 use-revolution-bounces wrote: >I have what may be kind of a strange question. > >I am using links in html to set up some text for users to click on and have >a definition displayed. The text consists of a word (or words) with the >textStyle set to link, and the href for that link is set to the text of the >accompanying definition. Then using the linkClicked message I can retrieve >the definition and display it. This all works great. > >Now for my weird question. What I'd like to do is apply some automatic >formatting to my definition. So certain words would be bold and certain >words would be italicized. Is there any way to include the appropriate tags >within my html link? For example, in my text file, I might have something >like this: > >ball > >Is it possible to do something like this? > >ball > >I know the above does not work because I've tried it. I'm wondering if >there is some kind of escape character that will allow me to literally >include the tags in the href, then I could set another field's htmlText to >that. Is this even clear? :-) > >Any ideas? > >Thanks, > >Chris Sheffield >Software Development >Read Naturally > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004 > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From yoy at comcast.net Wed Jan 7 10:58:49 2004 From: yoy at comcast.net (Andy Burns) Date: Wed, 7 Jan 2004 10:58:49 -0500 Subject: visual effect command help Message-ID: <002601c3d537$35cc87e0$e8e02044@fatal7lcf637rj> I have a rev stack that uses the visual effect command. The stack's visual behavior to go to the next page (visual effect: shrink to top very fast) is akin to that of a small spiral notepad where you flip the top page up vertically and the next page appears. The problem is when I flip back to the previous card (notepad page), I can see the previous card before the effect takes place. What is the correct visual effect to not display the previous card before the visual effect occurs. Thanks for any help. Andy --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.555 / Virus Database: 347 - Release Date: 12/23/2003 From 3mcgrath at adelphia.net Wed Jan 7 11:19:38 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Wed, 7 Jan 2004 11:19:38 -0500 Subject: Win98 loses path Message-ID: <4A5E2D1C-412D-11D8-9EC9-000A95DA60FA@adelphia.net> I hope someone can help me on this one. I designed a CD to run on Mac OS9/OSX and Windows 2000/XP. But a lot of users are telling me they have Win 98 and although some of the CD works there is a rather big problem on 98. The following scripts do work in 2000 and XP but not in 98. I put the development "fix" in so it can work from the location of my images folder. The problem is in the relative path that displays my images. In my main stack I reference - media/Slide10.png - which is in my media folder with my final build. (These images do show up when referenced in the property inspector as ' media/Slide10.png ' etc. ) Then I have buttons over this image that open a substack based upon what the slide states. When the substack opens I then have this script to load what ever images are in a corresponding folder for this substack. (These images don't show up in 98 but do on all the other platforms listed below) So if card one in main stack has a button that opens substack "31i" then I have a sub folder named "31i" and in it I have my png slide images. Well the images do not appear in 98 but do work in 2000 and XP home and XP Pro. They work fine in OS9 and OSX (3.x). What could be different about the defaultFolder in 98? Does anyone know? This script is in my card script in each substack. - snip- global the_path, totalimages, currentimage, theimages -- theimages holds the list of images in the folder if the environment is "Development" then set the itemdel to "/" get the effective filename of this stack delete item -1 of it put it & "/media/31i/" into the_path -- folder "31i" has the images in my "media" folder put the directory into altdir set the directory to the_path put the files into theimages set the directory to altdir else put the directory into altdir put defaultFolder & "/media/31i/" into the_path set the directory to the_path put the files into theimages set the directory to altdir end if This is in my openCard script: -snip- set the filename of image "slide" to the_path & line currentimage of theimages this script is in my next button -- I have similar scripts in my Previous button and "home" button. -snip- global the_path, totalimages, currentimage, theimages if currentimage < totalimages then put currentimage + 1 into currentimage else put 1 into currentimage end if lock screen set the filename of image "slide" to (the_path & line currentimage of theimages) Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From dsc at swcp.com Wed Jan 7 11:19:48 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 09:19:48 -0700 Subject: htmlText and links In-Reply-To: <000001c3d533$2e9f5c30$64fea8c0@chris1> Message-ID: <507E4072-412D-11D8-A059-000A9567A3E6@swcp.com> On Wednesday, January 7, 2004, at 08:30 AM, Chris Sheffield wrote: > ball Do you mean this: A ball is something that you bounce." I'm not sure what the meaning of the first would be. Only fields have htmlText and the link text on a click will not. Dar Scott From dsc at swcp.com Wed Jan 7 11:22:51 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 09:22:51 -0700 Subject: visual effect command help In-Reply-To: <002601c3d537$35cc87e0$e8e02044@fatal7lcf637rj> Message-ID: On Wednesday, January 7, 2004, at 08:58 AM, Andy Burns wrote: > The problem is when I flip > back to the previous card (notepad page), I can see the previous card > before > the effect takes place. When I ran into this earlier on XP, it was suggested that I turn off using QuickTime. That worked, but the effects were a little rougher. I have also seen this on other platforms when I click through cards very fast. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From capellan2000 at yahoo.com Wed Jan 7 11:25:10 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 7 Jan 2004 08:25:10 -0800 (PST) Subject: Resize objects in standalone In-Reply-To: <20040107091849.794B293011F@mail.runrev.com> Message-ID: <20040107162511.83202.qmail@web40501.mail.yahoo.com> Hi Revolutionaries, How could I make that resize handles for fields and images appear in a standalone? I thought that selecting the pointer tool will make them appear. Pointer tool only moves the fields and images, but not resize them. Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From kray at sonsothunder.com Wed Jan 7 11:30:49 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 7 Jan 2004 10:30:49 -0600 Subject: A text representation of recent actions? In-Reply-To: Message-ID: <035501c3d53b$9f7493f0$6901a8c0@LightningFlash> > For example, say a user has > > choose pencil tool > > set and draws in the image. > > Is there a way of capturing, in text form, what the user did > so that information can be sent to a server? The only way is to trap the messages that are caused by the user and forwarding them to your server. Like for example you can trap "closeField" to forward the message "Changed data in field " to your server. Other things you'll have to do based on commands you implement. So for example, if someone clicks on a pencil tool in your tool palette, you can trap the mouseUp message and forward "Selected pencil tool" to your server. There's nothing automatically built into Rev, however. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From klaus at major-k.de Wed Jan 7 12:05:53 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 7 Jan 2004 18:05:53 +0100 Subject: Win98 loses path In-Reply-To: <4A5E2D1C-412D-11D8-9EC9-000A95DA60FA@adelphia.net> References: <4A5E2D1C-412D-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: Hi Thomas, > ...-snip > set the filename of image "slide" to the_path & line currentimage of > theimages > > this script is in my next button -- I have similar scripts in my > Previous button and "home" button. > -snip- > global the_path, totalimages, currentimage, theimages > if currentimage < totalimages then > put currentimage + 1 into currentimage > else > put 1 into currentimage > end if > lock screen > set the filename of image "slide" to (the_path & line currentimage > of theimages) Quick guess: Is your standalone on the root-level of the CD-Rom? Like: E:\YourApp.exe I remember there were some problems on win <= 98... That might explain your experience... Anyone else remember this? The solution was to put the standalone into a folder on the CD-Rom and maybe create a shortcut/link on the root-level... Hope that helps... > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 Regards Klaus Major klaus at major-k.de www.major-k.de P.S. The scripts are cool ;-) From gizmotron at earthlink.net Wed Jan 7 12:15:10 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 7 Jan 2004 09:15:10 -0800 Subject: htmlText and links In-Reply-To: Message-ID: <0C8F7E83-4135-11D8-938B-000A95859272@earthlink.net> On Wednesday, January 7, 2004, at 07:45 AM, xbury.cs at clearstream.com wrote: >> Is it possible to do something like this? >> >> ball >> >> I know the above does not work because I've tried it. I'm wondering >> if >> there is some kind of escape character that will allow me to literally >> include the tags in the href, then I could set another field's >> htmlText > to >> that. Is this even clear? :-) ball have your roll-over handler or your mouseClick handler put this href= anchor into an off screen field using set the HTMLText of fld "offScreenField" to myAnchorVar then put that field's text into variableX and have your roll-over handler or your mouseClick handler display it using set the HTMLText of field "Definition" to variableX. Good luck, this is an untested idea that I use for embedding attributes in unorthodox tag sets & that work for me. Mark From 3mcgrath at adelphia.net Wed Jan 7 12:23:38 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Wed, 7 Jan 2004 12:23:38 -0500 Subject: Win98 loses path In-Reply-To: References: <4A5E2D1C-412D-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: <3B04804E-4136-11D8-9EC9-000A95DA60FA@adelphia.net> Klaus, Yes it is at the root level. If this is the case won't this mess up my relative paths or do I need to put all of the OSX/9 and Win standalones in a subfolder. Will that keep my relative paths fine. Tom On Jan 7, 2004, at 12:05 PM, Klaus Major wrote: > Hi Thomas, > >> ...-snip >> set the filename of image "slide" to the_path & line currentimage of >> theimages >> >> this script is in my next button -- I have similar scripts in my >> Previous button and "home" button. >> -snip- >> global the_path, totalimages, currentimage, theimages >> if currentimage < totalimages then >> put currentimage + 1 into currentimage >> else >> put 1 into currentimage >> end if >> lock screen >> set the filename of image "slide" to (the_path & line currentimage >> of theimages) > > Quick guess: > > Is your standalone on the root-level of the CD-Rom? > > Like: > > E:\YourApp.exe > > I remember there were some problems on win <= 98... > > That might explain your experience... > > Anyone else remember this? > > The solution was to put the standalone into a folder on the CD-Rom and > maybe > create a shortcut/link on the root-level... > > Hope that helps... > >> Advanced Media Group >> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >> 220 Drake Road, Bethel Park, PA 15102 > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > > P.S. > The scripts are cool ;-) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From klaus at major-k.de Wed Jan 7 12:29:15 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 7 Jan 2004 18:29:15 +0100 Subject: Win98 loses path In-Reply-To: <3B04804E-4136-11D8-9EC9-000A95DA60FA@adelphia.net> References: <4A5E2D1C-412D-11D8-9EC9-000A95DA60FA@adelphia.net> <3B04804E-4136-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: <043834F6-4137-11D8-9E06-000A27B49A96@major-k.de> Hi Thomas, > Klaus, > > Yes it is at the root level. If this is the case won't this mess up my > relative > paths or do I need to put all of the OSX/9 and Win standalones in a > subfolder. > Will that keep my relative paths fine. The latter one... Put everything into a folder, place this folder on the root-level and relativity is being kept :-) > Tom Regards Klaus Major klaus at major-k.de www.major-k.de From James.Cass at sealedair.com Wed Jan 7 12:38:33 2004 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Wed, 7 Jan 2004 12:38:33 -0500 Subject: Win98 loses path In-Reply-To: <043834F6-4137-11D8-9E06-000A27B49A96@major-k.de> Message-ID: Windows 98 users better upgrade to XP. Microsoft is pounding the final coffin nails into 98. The funeral is next Friday. (01/16/2004 ) More: http://slashdot.org/article.pl?sid=04/01/04/2158233 - James :-) Klaus Major Sent by: use-revolution-bounces at lists.runrev.com 01/07/04 12:29 PM Please respond to How to use Revolution To: How to use Revolution cc: Subject: Re: Win98 loses path Hi Thomas, > Klaus, > > Yes it is at the root level. If this is the case won't this mess up my > relative > paths or do I need to put all of the OSX/9 and Win standalones in a > subfolder. > Will that keep my relative paths fine. The latter one... Put everything into a folder, place this folder on the root-level and relativity is being kept :-) > Tom Regards Klaus Major klaus at major-k.de www.major-k.de _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed Jan 7 12:50:06 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 07 Jan 2004 09:50:06 -0800 Subject: mail-list or BB or newsgroup In-Reply-To: <6.0.0.22.0.20040107140126.0245cea8@udcf.gla.ac.uk> Message-ID: Bob Hartley wrote: > One reason I nearly bought real basic instead of revolution was there is a > real basic newsgroup. Revolution was my first choice but I like newsnet's > open forum. You almost bought a tool because of a protocol? And I thought I was an NNTP fan.... :) But seriously, I hear you. > I bought revolution and subscribed to the maillist, however, I cant help > but think that some may be put off by not wanting lots of mails (note it > didn't put me off). The topic comes up here and on a great many lists I'm on from time to time (even the SIG-CHI list), and while I like Usenet myself I'm always outnumbered. Reasons cited for this global transition from Usenet to discussion lists include: - a majority feel "push" is more convenient than "pull" (I feel differently, but like I said I'm outnumbered) - spam - spam - spam - spam Rev discussion has already diversified to include a number of other lists, Yahoo Groups, etc. for specialized topic focus, so as its user base continues to grow it would seem there could be room for specialization by preferred venue type with a newsgroup as well. Some folks use the comp.sys.,ac.hypercard newsgroup for Rev discussion, mostly for reasons of historical language similarity, but a few HyperCard purists get mad there when that happens and I don't think any Mac-specific newsgroup is the best option for a tool whose greatest strength lies in platform independence. Mr. Chia: Is it time yet to consider setting up an NNTP server? :) Another option: Any of the readers of this list have enough time on their hands to make a Newswatcher-like UI for this list? I'd happily add it to RevNet. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Jan 7 12:54:36 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 07 Jan 2004 09:54:36 -0800 Subject: Resize objects in standalone In-Reply-To: <20040107162511.83202.qmail@web40501.mail.yahoo.com> Message-ID: Alejandro Tejada wrote: > How could I make that resize handles for > fields and images appear in a standalone? > > I thought that selecting the pointer tool > will make them appear. Pointer tool only > moves the fields and images, but not resize > them. The engine does draw the handles when an object is selected with the pointer tool, in all of the modes it can run in, including a standalone. Could there be some library or frontscript altering this native behavior? -- 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 wmb at internettrainer.com Wed Jan 7 13:02:05 2004 From: wmb at internettrainer.com (Wolfgang M.Bereuter) Date: Wed, 7 Jan 2004 19:02:05 +0100 Subject: too many emails in mail osx In-Reply-To: <08F3BD09-408B-11D8-84F4-000A95DA60FA@adelphia.net> References: <08F3BD09-408B-11D8-84F4-000A95DA60FA@adelphia.net> Message-ID: <9A325A96-413B-11D8-B51D-003065430226@internettrainer.com> On 06.01.2004, at 21:58, Thomas J McGrath III wrote: > I have way too many emails now in OSX Mail. Does anyone know of an > archiving application for OSX for Mail? > > I have almost 5000 emails and I do like to search them for answers to > scripting problems. a great tool for archiving all kind/formats is DEVONthink. http://www.devon-technologies.com/welcome.php They have also an Applescript which does the job building a Finder Structure. But with 5000 mailes you should give the script a whole night to do the job... regards Wolfgang M. Bereuter Trainingsmaps? -- nur klicken m?ssen Sie k?nnen..! INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418 Fax: ++43/1/ 479 2539 From JimCarwardine at OwnYourFuture-net.com Wed Jan 7 13:07:53 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Wed, 07 Jan 2004 14:07:53 -0400 Subject: Rev Crash Again! Message-ID: I hope I can get someone to respond to this. I?m at my wit?s end... Jim Hi Folks... I?m scripting a button to create a thumbnail button icon of the current card. When I run the following button script, it runs fine the first time. If I run it a second time, Rev aborts on the statement I have marked. How come? Am I overflowing a buffer or something? It?s hampering my testing by restarting Rev, however when I do, it runs fine then aborts the second time again. on ExportCard pStackPath,pImageType -- pStackPath is the path to the stack whose card you want to export -- pImageType is one of the three formats supported by the export -- command: paint, png or jpeg put the alwaysBuffer of stack pStackPath into tOldBuffer -- The next two lines force the current card image into the offscreen buffer set the alwaysBuffer of stack pStackPath to false set the alwaysBuffer of stack pStackPath to true -- create invisible image if there is not an img "Gallery Image" then create img "Gallery Image" set the imagePixMapID of img "Gallery Image" to (the pixMapID of stack pStackPath) select last image set the alwaysBuffer of stack pStackPath to tOldBuffer put 220 into theTargetSize -- adjust size here hide img "Gallery Image" put theTargetSize/the formattedwidth of img "Gallery Image" into theRatio set the width of img "Gallery Image" to theTargetSize ** it aborts on the following statement the second time * set the height of img "Gallery Image" to \ round(the formattedheight of img "Gallery Image" * theRatio) if the height of img "Gallery Image" > 170 then set the height of img "Gallery Image" to 170 set the icon of btn "Gallery Button" to the short id of img "Gallery Image" choose browse tool end ExportCard Thanks... Jim -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From sralston at dyton.com Wed Jan 7 13:18:38 2004 From: sralston at dyton.com (Steve Ralston) Date: Wed, 07 Jan 2004 12:18:38 -0600 Subject: slightly off-topic: mac odbc References: <20040105170016.D7429930072@mail.runrev.com> Message-ID: <3FFC4D7E.977FD861@dyton.com> I need to have an app talk to a MySQL database using a User DSN. I have no problem setting up the ODBC on the pc, but the ODBC Administrator on my OSX mac doesn't make a lot of sense to me. On the pc I provide the ODBC manager with the database name, server name, username and password, and I can test the connection and it tells me the connection is successful. I don't see similar capabilities on the mac, so I'm guessing I'm missing something. Thanks very much to anyone who can help me understand this better. Steve Ralston From dsc at swcp.com Wed Jan 7 13:17:46 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 11:17:46 -0700 Subject: Rev Crash Again! In-Reply-To: Message-ID: On Wednesday, January 7, 2004, at 11:07 AM, Jim Carwardine wrote: > I hope I can get someone to respond to this. I?m at my wit?s end... > Jim See comments on tip imag007 at . Dar Scott From dsc at swcp.com Wed Jan 7 13:19:20 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 11:19:20 -0700 Subject: Rev Crash Again! In-Reply-To: Message-ID: <032A4445-413E-11D8-A059-000A9567A3E6@swcp.com> On Wednesday, January 7, 2004, at 11:07 AM, Jim Carwardine wrote: > if there is not an img "Gallery Image" then create img "Gallery > Image" ... > select last image This looks like a "second time" difference. Dar Scott From dsc at swcp.com Wed Jan 7 13:21:37 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 11:21:37 -0700 Subject: Rev Crash Again! In-Reply-To: Message-ID: <54FEAAEA-413E-11D8-A059-000A9567A3E6@swcp.com> On Wednesday, January 7, 2004, at 11:07 AM, Jim Carwardine wrote: > set the imagePixMapID of img "Gallery Image" to (the pixMapID of > stack > pStackPath) When I'm finished with using this, I restore the original imagePixMapID and then delete the image. Dar Scott From klaus at major-k.de Wed Jan 7 13:29:04 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 7 Jan 2004 19:29:04 +0100 Subject: Rev Crash Again! In-Reply-To: <54FEAAEA-413E-11D8-A059-000A9567A3E6@swcp.com> References: <54FEAAEA-413E-11D8-A059-000A9567A3E6@swcp.com> Message-ID: <5F217DB2-413F-11D8-9E06-000A27B49A96@major-k.de> Hi Dar, > > On Wednesday, January 7, 2004, at 11:07 AM, Jim Carwardine wrote: > >> set the imagePixMapID of img "Gallery Image" to (the pixMapID of >> stack >> pStackPath) > > When I'm finished with using this, I restore the original > imagePixMapID and then delete the image. How do you do this? Store the original imagepixmapid in a var and restore it later? I had problems to "empty" that image after use :-) I tried: put empty into img 1 set the imagedata of img 1 to none ... to empty ...to 0 Then i tried: put 1 ointo image 1 ##??? and that worked! ??? OTOH, the engine crashed when i tried to close the stack after that ;-) Any hints are welcome... > Dar Scott Regards Klaus Major klaus at major-k.de www.major-k.de From dsc at swcp.com Wed Jan 7 13:36:39 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 11:36:39 -0700 Subject: Rev Crash Again! In-Reply-To: <5F217DB2-413F-11D8-9E06-000A27B49A96@major-k.de> Message-ID: <6E7037D2-4140-11D8-A059-000A9567A3E6@swcp.com> On Wednesday, January 7, 2004, at 11:29 AM, Klaus Major wrote: >> When I'm finished with using this, I restore the original >> imagePixMapID and then delete the image. > > How do you do this? > Store the original imagepixmapid in a var and restore it later? Yes. It might be superstition. My crashes stopped, so I assume I did something to stop them. > > I had problems to "empty" that image after use :-) I delete. I also avoid any image selection and stuff like that. I have an enhancement request in bugzilla that asks for a clean supported way to get the image of a card. (or of a stack) I'm using Rev 2.1.2 on OS X 10.2.8. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From JimCarwardine at OwnYourFuture-net.com Wed Jan 7 14:00:14 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Wed, 07 Jan 2004 15:00:14 -0400 Subject: Rev Crash Again! In-Reply-To: <032A4445-413E-11D8-A059-000A9567A3E6@swcp.com> Message-ID: I changed "select last image" to "select img "Gallery Image"" and the crashes stopped, but they stopped because the mouseUp handler that calls the exportCard handler stopped working. When I look at the messageWatcher, I see the mouseUp handler executing but not the exportCard handler. I put a trace on the statement sending the exportCard command but that shouldn't affect the action... Jim on 1/7/04 2:19 PM, Dar Scott wrote: > > On Wednesday, January 7, 2004, at 11:07 AM, Jim Carwardine wrote: > >> if there is not an img "Gallery Image" then create img "Gallery >> Image" > ... >> select last image > > This looks like a "second time" difference. > > Dar Scott > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From alex at mindlube.com Wed Jan 7 14:10:10 2004 From: alex at mindlube.com (Alex Rice) Date: Wed, 7 Jan 2004 12:10:10 -0700 Subject: slightly off-topic: mac odbc In-Reply-To: <3FFC4D7E.977FD861@dyton.com> References: <20040105170016.D7429930072@mail.runrev.com> <3FFC4D7E.977FD861@dyton.com> Message-ID: <1D5DDFC6-4145-11D8-9A59-000393C4760A@mindlube.com> On Jan 7, 2004, at 11:18 AM, Steve Ralston wrote: > I need to have an app talk to a MySQL database using a User DSN. I > have no problem setting up the ODBC on the pc, but the ODBC > Administrator on my OSX mac doesn't make a lot of sense to me. On the > pc I provide the ODBC manager with the database name, server > name, username and password, and I can test the connection and it > tells me the connection is successful. I don't see similar > capabilities on the mac, so I'm guessing I'm missing something. Thanks > very much to anyone who can help me understand this better. Steve, I haven't looked at it in 10.3, but in MacOS 10.2 the ODBC administrator was worthless IMHO. It is a stripped down version of iODCB Driver Manager which comes with the commercial iODBC drivers. Download some drivers and use that Driver Manager instead. I've found ODBC on Unix and Mac to be a real pain because most of the drivers are very expensive, and it's not very widely used. Unlike on Windows where everything is ODBC it seems. Here are some starters: I'm not sure about licensing. The openlink drivers appear to be GPLed now! Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From chipp at chipp.com Wed Jan 7 14:37:34 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 7 Jan 2004 13:37:34 -0600 Subject: XP GIF display oddities In-Reply-To: <8b.cec313.2d2d57a5@aol.com> Message-ID: David, A couple of points. 1) I doubt the compatibility wizard creates *any* envrironment variables (course, I could be wrong, but this is the *first* I've ever heard of this. Couldn't find *anything* on Google about it either, which would confirm my suspicion that the wizard isn't affecting anything. My understanding of the wizard is that it mostly checks a database to see if the program has been 'XP certified.' Of course your app wouldn't be (unless you've submitted it to MS for certification....$$$$) 2) It sounds like the problem could be your users display drivers. Generally when *standard* images display incorrecty on XP in Rev, the issue is display drivers. You can have your user to the following to test: Right-click the desktop and select properties choose settings tab click on the Advanced button Click the Troubleshoot tab Turn Hardware acceleration to NONE and turn off the Enable write combining check box. Relaunch the problem program and see if it the problem goes away. If it does go away, then you can gradually add increasing levels of Hardware acceleration until it appears again ( and try checking the 'enable write combining' box again) If this works, then the issue is the display drivers and your user could check for driver updates...or just use the lower acceleration. best, Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of > DVGlasgow at aol.com > Sent: Wednesday, January 07, 2004 6:38 AM > To: use-revolution at lists.runrev.com > Subject: Re: XP GIF display oddities > > > Hello folks, > > OK, I am unsure whether it is only me with any interest in this > thread, but > it may be that what I have established helps others, and someone > who knows XP > might help me to take the next step. > > The story so far is that a customer with XP complained that a list of > authorised users did not appear in his copy. (which disabled the > buttons navigating > to screens) It seems that unlike all other versions of Windows, XP cannot > access the encrypted list of users in a preopenstack handler. I > had to change it > so that the application has actually launched and THEN looks up > the names of > users. > > He then complained that images looked odd. All Gifs. Some were > home spun, > but standard icons and the pointy hand cursor also displayed > wrongly. As usual > I got good advice from this list, but nothing really hit the target. > > I have just discovered that when faced with the original problem, this > customer tried using the Windows XP Compatibility Wizard. On the > face of it, a > reasonable thing to try. However, it was only *after* using this > that the display > problems emerged. I have a feeling this particular wizard is more of a > Saruman than a Gandalf. > > I am pretty sure I have fixed the original problem. The question is what > advice do I give the customer? It seems that the dreaded wizard > remembers the > exe and creates what it feels is the 'correct' environment automatically > whenever it is launched. Is this right? What exactly does it > fiddle with? How can > it be persuaded to not intervene any more? (please, no quests > to the Cracks > of Doom). > > Best wishes, > > David Glasgow > > Forensic Psychology Software and Services HREF="http://members.aol.com/dvglasgow/i-psych/i_Psych.htm">i-Psych > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Mark.Powell at veritas.com Wed Jan 7 15:20:29 2004 From: Mark.Powell at veritas.com (Mark Powell) Date: Wed, 7 Jan 2004 12:20:29 -0800 Subject: Update a global when going to a stack as modal Message-ID: I have a handler in stack A of the pseudo form below ... LINE 1 LINE 2 LINE 3 ... The text that is put into the field on stack A is inevitably "Before". However, if I immediately type put gFoo into fld "Information" the data that was collected in stack B is put into the field in stack A as expected. The global is populated as I would want, except it is as if line 3 above is run before line 2. What is going on? Can I not switch between stacks and collect data? Is there a workaround? Mark From JimCarwardine at OwnYourFuture-net.com Wed Jan 7 15:26:35 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Wed, 07 Jan 2004 16:26:35 -0400 Subject: Rev Crash Again! In-Reply-To: Message-ID: Sorry, false alarm. Found a typo. Rev's error reporting takes some getting used to... Jim on 1/7/04 3:00 PM, Jim Carwardine wrote: > I changed "select last image" to "select img "Gallery Image"" and the > crashes stopped, but they stopped because the mouseUp handler that calls the > exportCard handler stopped working. When I look at the messageWatcher, I > see the mouseUp handler executing but not the exportCard handler. I put a > trace on the statement sending the exportCard command but that shouldn't > affect the action... Jim > > on 1/7/04 2:19 PM, Dar Scott wrote: > >> >> On Wednesday, January 7, 2004, at 11:07 AM, Jim Carwardine wrote: >> >>> if there is not an img "Gallery Image" then create img "Gallery >>> Image" >> ... >>> select last image >> >> This looks like a "second time" difference. >> >> Dar Scott >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From 3mcgrath at adelphia.net Wed Jan 7 15:36:43 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Wed, 7 Jan 2004 15:36:43 -0500 Subject: Win98 loses path In-Reply-To: <043834F6-4137-11D8-9E06-000A27B49A96@major-k.de> References: <4A5E2D1C-412D-11D8-9EC9-000A95DA60FA@adelphia.net> <3B04804E-4136-11D8-9EC9-000A95DA60FA@adelphia.net> <043834F6-4137-11D8-9E06-000A27B49A96@major-k.de> Message-ID: <34717A60-4151-11D8-9EC9-000A95DA60FA@adelphia.net> It all relative then! From dsc at swcp.com Wed Jan 7 15:39:49 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 13:39:49 -0700 Subject: Rev Crash Again! In-Reply-To: Message-ID: On Wednesday, January 7, 2004, at 01:26 PM, Jim Carwardine wrote: > Sorry, false alarm. Found a typo. Rev's error reporting takes some > getting > used to... Jim Does this mean your stack image capture works? Cool! Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From 3mcgrath at adelphia.net Wed Jan 7 15:41:39 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Wed, 7 Jan 2004 15:41:39 -0500 Subject: Auto Play on PCs Message-ID: Does anyone know how to have my cd auto play on insertion on the PC???? sort of in a hurry on this one. Thank you in advance Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From lists at mangomultimedia.com Wed Jan 7 15:47:20 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 7 Jan 2004 13:47:20 -0700 Subject: Auto Play on PCs In-Reply-To: References: Message-ID: On Jan 7, 2004, at 1:41 PM, Thomas J McGrath III wrote: > Does anyone know how to have my cd auto play on insertion on the PC???? > > sort of in a hurry on this one. > Create an autorun.inf file in the root directory of your CD. In it put the following: [autorun] open=MyApp.exe This will launch MyApp.exe when the CD is inserted. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dsc at swcp.com Wed Jan 7 15:48:17 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 13:48:17 -0700 Subject: Auto Play on PCs In-Reply-To: Message-ID: On Wednesday, January 7, 2004, at 01:41 PM, Thomas J McGrath III wrote: > Does anyone know how to have my cd auto play on insertion on the PC???? > > sort of in a hurry on this one. Look at autorun.inf on one of your CDs. sort of a hurried response. When you are in less of a hurry you can give me a clue as to how to do that on OS X. Dar Scott From Roger.E.Eller at sealedair.com Wed Jan 7 15:42:55 2004 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 7 Jan 2004 15:42:55 -0500 Subject: Auto Play on PCs Message-ID: > Does anyone know how to have my cd auto play on insertion on the PC???? > > sort of in a hurry on this one. Since you're in a hurry... here is a repeat from the past. You can find more info at http://www.google.com/advanced_search?q=site:lists.runrev.com ~Roger >Back in August Klaus wrote: > >>On windows you just have to include a simple text-file on the cd >>called "autorun.inf". >> >>Here is a small example: >> >> >>[autorun] >>ICON=youriconhere.ico >>OPEN=Setup.exe >> >> >>This tiny script will tell windoze to display the icon "youriconhere.ico" >>for the cd and will start the application "setup.exe" if the user did not >>disable this feature. From 3mcgrath at adelphia.net Wed Jan 7 15:51:01 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Wed, 7 Jan 2004 15:51:01 -0500 Subject: Auto Play on PCs In-Reply-To: References: Message-ID: <33EFEE64-4153-11D8-9EC9-000A95DA60FA@adelphia.net> Do you know if TextEdit can handle the document type? I will try it on my Mac, but do I need to access a PC? Thanks Tom On Jan 7, 2004, at 3:47 PM, Trevor DeVore wrote: > On Jan 7, 2004, at 1:41 PM, Thomas J McGrath III wrote: > >> Does anyone know how to have my cd auto play on insertion on the >> PC???? >> >> sort of in a hurry on this one. >> > Create an autorun.inf file in the root directory of your CD. > > In it put the following: > > [autorun] > open=MyApp.exe > > This will launch MyApp.exe when the CD is inserted. > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Wed Jan 7 15:53:28 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Wed, 7 Jan 2004 15:53:28 -0500 Subject: Auto Play on PCs In-Reply-To: References: Message-ID: <8B8F1FBB-4153-11D8-9EC9-000A95DA60FA@adelphia.net> Oopps. Also, what about the file path. It will be in a folder at the root level of the CD. Thanks so much... Tom On Jan 7, 2004, at 3:47 PM, Trevor DeVore wrote: > > [autorun] > open=MyApp.exe Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Wed Jan 7 15:55:11 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Wed, 7 Jan 2004 15:55:11 -0500 Subject: Auto Play on PCs In-Reply-To: References: Message-ID: Thanks Roger, I haven't gotten used to searching using google yet. But I guess I need to since so many answers seem to come that way. Thanks again, Tom On Jan 7, 2004, at 3:42 PM, Roger.E.Eller at sealedair.com wrote: >> Does anyone know how to have my cd auto play on insertion on the >> PC???? >> >> sort of in a hurry on this one. > > Since you're in a hurry... here is a repeat from the past. > You can find more info at > http://www.google.com/advanced_search?q=site:lists.runrev.com > > ~Roger > >> Back in August Klaus wrote: >> >>> On windows you just have to include a simple text-file on the cd >>> called "autorun.inf". >>> >>> Here is a small example: >>> >>> >>> [autorun] >>> ICON=youriconhere.ico >>> OPEN=Setup.exe >>> >>> >>> This tiny script will tell windoze to display the icon >>> "youriconhere.ico" >>> for the cd and will start the application "setup.exe" if the user >>> did not >>> disable this feature. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From lists at mangomultimedia.com Wed Jan 7 16:01:13 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 7 Jan 2004 14:01:13 -0700 Subject: Auto Play on PCs In-Reply-To: <8B8F1FBB-4153-11D8-9EC9-000A95DA60FA@adelphia.net> References: <8B8F1FBB-4153-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: On Jan 7, 2004, at 1:53 PM, Thomas J McGrath III wrote: > Oopps. > > Also, what about the file path. It will be in a folder at the root > level of the CD. > > Thanks so much... You should be able to put: open=MyFolder/MyApp.exe though I haven't tested this. On Jan 7, 2004, at 1:51 PM, Thomas J McGrath III wrote: > Do you know if TextEdit can handle the document type? > > I will try it on my Mac, but do I need to access a PC? I use BBEdit to create mine and I always use DOS line endings. I imagine it would probably have problems with Mac line endings. If you don't have a PC you could make the file with rev with something like: put "[autorun]" & numToChar(13) & numToChar(10) & "open=MyFolder/Myapp.exe" into tFile then save the file to disk using the 'open file' commands. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dsc at swcp.com Wed Jan 7 16:05:23 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 14:05:23 -0700 Subject: Auto Play on PCs In-Reply-To: <8B8F1FBB-4153-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: <35E24E66-4155-11D8-A059-000A9567A3E6@swcp.com> On Wednesday, January 7, 2004, at 01:53 PM, Thomas J McGrath III wrote: > Also, what about the file path. It will be in a folder at the root > level of the CD. > > Thanks so much... > > Tom > > On Jan 7, 2004, at 3:47 PM, Trevor DeVore wrote: > >> >> [autorun] >> open=MyApp.exe open=abc\MyApp.exe Dar From dsc at swcp.com Wed Jan 7 16:12:53 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 14:12:53 -0700 Subject: Auto Play on PCs In-Reply-To: <33EFEE64-4153-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: <41E3C72A-4156-11D8-A059-000A9567A3E6@swcp.com> On Wednesday, January 7, 2004, at 01:51 PM, Thomas J McGrath III wrote: > Do you know if TextEdit can handle the document type? > > I will try it on my Mac, but do I need to access a PC? This will probably work (plain text). But you might want to put a page in your Revolution scrapbook stack (or whatever you use) that saves from a field with the Windows line ends. Dar Scott From dsc at swcp.com Wed Jan 7 16:19:34 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 14:19:34 -0700 Subject: Auto Play on PCs In-Reply-To: Message-ID: <30E5FEAF-4157-11D8-A059-000A9567A3E6@swcp.com> On Wednesday, January 7, 2004, at 02:01 PM, Trevor DeVore wrote: > put "[autorun]" & numToChar(13) & numToChar(10) & > "open=MyFolder/Myapp.exe" into tFile Building on that... put "[autorun]" & CRLF & "open=MyFolder\Myapp.exe" & CRLF into URL ("binfile:" & cdMockupFolder & "autorun.inf") I don't know if you need the second crlf. You might not need the backslash. You can probably figure the cdMockupFolder in your head and put this all in the message box. Dar Scott From zellner at tamu.edu Wed Jan 7 16:26:16 2004 From: zellner at tamu.edu (Ronald Zellner) Date: Wed, 7 Jan 2004 15:26:16 -0600 Subject: Pencil to Browse tool switch Message-ID: <20690D80-4158-11D8-8850-000A95DA1544@tamu.edu> This should be basic, but it doesn't want to cooperate. I have a button which chooses the pencil tool so the user can draw in an image rectangle. There is also a button to choose the eraser tool that works fine if the browser tool is active, but it will not respond if clicked when the pencil tool is active. The cursor also remains as the pencil (doesn't switch to an arrow as the documentation states it should) even after moving out of the image rectangle. I know many commands require the browse tool to operate but I need a way for the user to switch from the pencil to the eraser. Any solutions? Ron Zellner From rjb at rz.uni-potsdam.de Wed Jan 7 16:23:12 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed, 7 Jan 2004 22:23:12 +0100 Subject: too many emails in mail osx In-Reply-To: <08F3BD09-408B-11D8-84F4-000A95DA60FA@adelphia.net> References: <08F3BD09-408B-11D8-84F4-000A95DA60FA@adelphia.net> Message-ID: >Help, > >I have way too many emails now in OSX Mail. Does anyone know of an >archiving application for OSX for Mail? > >I have almost 5000 emails and I do like to search them for answers >to scripting problems. > >Tom > This topic has been extensly discussed in Tidbits Talk not long ago. I suggest you search through their archives for archiving mails (emails) or sth like that. http://www.tidbits.com http://db.tidbits.com/tbtalk/ Robert From sarahr at genesearch.com.au Wed Jan 7 16:52:15 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 8 Jan 2004 07:52:15 +1000 Subject: Pencil to Browse tool switch In-Reply-To: <20690D80-4158-11D8-8850-000A95DA1544@tamu.edu> References: <20690D80-4158-11D8-8850-000A95DA1544@tamu.edu> Message-ID: Move the switch tools buttons to a separate stack and set it to open as a palette or modeless stack. This way the browse tool is automatically applied when moving over the stack, so you can change between any tools. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 8 Jan 2004, at 7:39 am, Ronald Zellner wrote: > This should be basic, but it doesn't want to cooperate. > > I have a button which chooses the pencil tool so the user can draw in > an image rectangle. There is also a button to choose the eraser tool > that works fine if the browser tool is active, but it will not respond > if clicked when the pencil tool is active. > > The cursor also remains as the pencil (doesn't switch to an arrow as > the documentation states it should) even after moving out of the > image rectangle. I know many commands require the browse tool to > operate but I need a way for the user to switch from the pencil to the > eraser. Any solutions? > > Ron Zellner > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From revlist at cableone.net Wed Jan 7 17:01:58 2004 From: revlist at cableone.net (Chris Sheffield) Date: Wed, 7 Jan 2004 15:01:58 -0700 Subject: htmlText and links In-Reply-To: <0C8F7E83-4135-11D8-938B-000A95859272@earthlink.net> Message-ID: <000501c3d569$df343990$64fea8c0@chris1> Mark, Thanks so much! That is exactly what I needed. Chris Sheffield Software Development Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark Brownell Sent: Wednesday, January 07, 2004 10:15 AM To: How to use Revolution Subject: Re: htmlText and links On Wednesday, January 7, 2004, at 07:45 AM, xbury.cs at clearstream.com wrote: >> Is it possible to do something like this? >> >> ball >> >> I know the above does not work because I've tried it. I'm wondering >> if >> there is some kind of escape character that will allow me to literally >> include the tags in the href, then I could set another field's >> htmlText > to >> that. Is this even clear? :-) ball have your roll-over handler or your mouseClick handler put this href= anchor into an off screen field using set the HTMLText of fld "offScreenField" to myAnchorVar then put that field's text into variableX and have your roll-over handler or your mouseClick handler display it using set the HTMLText of field "Definition" to variableX. Good luck, this is an untested idea that I use for embedding attributes in unorthodox tag sets & that work for me. Mark _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004 From sarahr at genesearch.com.au Wed Jan 7 17:42:45 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 8 Jan 2004 08:42:45 +1000 Subject: Update a global when going to a stack as modal In-Reply-To: References: Message-ID: Are you sure you are declaring gFoo as a global in BOTH places? If you forget the "global gFoo" line in the script of stack B, then it won't change the value of the real global, just a local variable of the same name. Similarly, if you don't have the global declaration in stack A, then it will be using a local variable which will not be affected by setting a global of the same name in stack B. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 8 Jan 2004, at 7:42 am, Mark Powell wrote: > I have a handler in stack A of the pseudo form below > ... > LINE 1 > LINE 2 > LINE 3 > ... > > The text that is put into the field on stack A is inevitably "Before". > However, if I immediately type > > put gFoo into fld "Information" > > the data that was collected in stack B is put into the field in stack > A as > expected. The global is populated as I would want, except it is as if > line > 3 above is run before line 2. What is going on? Can I not switch > between > stacks and collect data? Is there a workaround? > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From lists at mangomultimedia.com Wed Jan 7 18:21:52 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 7 Jan 2004 16:21:52 -0700 Subject: Determining which menu button was clicked on Mac Message-ID: <4683D6F1-4168-11D8-B834-000A956C462A@mangomultimedia.com> I was wondering if there was a way to determine which button was clicked in a menu on the Mac? On Windows you can put mouse event handlers in the button itself but these events are not processed on Mac. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From doug at webcrossing.com Wed Jan 7 18:25:25 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 08 Jan 2004 08:25:25 +0900 Subject: mail-list or BB or newsgroup In-Reply-To: <6.0.0.22.0.20040107140126.0245cea8@udcf.gla.ac.uk> Message-ID: You all should use Web Crossing! Then people can participate via web forums, newsreader or email lists, as they like, all sharing the same data! Doug p.s. Yes - I work for Web Crossing - but it's great! (^_^) On 1/7/04 11:02 PM, "Bob Hartley" wrote: > Hi all. > > sorry if another post comes up, I posted using a different mail address > earlier. > > Anyway....... > > One reason I nearly bought real basic instead of revolution was there is a > real basic newsgroup. Revolution was my first choice but I like newsnet's > open forum. > > I bought revolution and subscribed to the maillist, however, I cant help > but think that some may be put off by not wanting lots of mails (note it > didn't put me off). > > I know to "ref" a newsgroup would be tedious and open to harvesting, > however, I beleive it would be better to have a relatively open > bulletinboard like the > http://www.acornevolution.com/ > > driven by > http://www.phpbb.com/ > > > Cheers > Bob > > > Dr Robert Hartley, Armbase Software Developments. > Custom PDA database design in as little as 1 hour. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed Jan 7 18:25:41 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 07 Jan 2004 15:25:41 -0800 Subject: Pencil to Browse tool switch In-Reply-To: <20690D80-4158-11D8-8850-000A95DA1544@tamu.edu> Message-ID: Ronald Zellner wrote: > This should be basic, but it doesn't want to cooperate. > > I have a button which chooses the pencil tool so the user can draw in > an image rectangle. There is also a button to choose the eraser tool > that works fine if the browser tool is active, but it will not respond > if clicked when the pencil tool is active. > > The cursor also remains as the pencil (doesn't switch to an arrow as > the documentation states it should) even after moving out of the image > rectangle. I know many commands require the browse tool to operate but > I need a way for the user to switch from the pencil to the eraser. Any > solutions? Setting the cantSelect of your tool buttons should ideally do it, but it doesn't work yet (only with the pointer tool). Worth submiting a Buzilla enhancement request for that. In the meantime you could consider moving your tools to a palette window which should work. -- 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 Jan 7 18:29:53 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 7 Jan 2004 17:29:53 -0600 Subject: Auto Play on PCs In-Reply-To: <30E5FEAF-4157-11D8-A059-000A9567A3E6@swcp.com> Message-ID: I seem to remember you CAN'T run a file from the root using the autorun feature. My suggestion is to put your setup.exe in a folder on the root. -Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Dar Scott > Sent: Wednesday, January 07, 2004 3:20 PM > To: How to use Revolution > Subject: Re: Auto Play on PCs > > > > On Wednesday, January 7, 2004, at 02:01 PM, Trevor DeVore wrote: > > > put "[autorun]" & numToChar(13) & numToChar(10) & > > "open=MyFolder/Myapp.exe" into tFile > > Building on that... > > put "[autorun]" & CRLF & "open=MyFolder\Myapp.exe" & CRLF into URL > ("binfile:" & cdMockupFolder & "autorun.inf") > > I don't know if you need the second crlf. You might not need the > backslash. You can probably figure the cdMockupFolder in your head and > put this all in the message box. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From doug at webcrossing.com Wed Jan 7 18:34:39 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 08 Jan 2004 08:34:39 +0900 Subject: Determining which menu button was clicked on Mac In-Reply-To: <4683D6F1-4168-11D8-B834-000A956C462A@mangomultimedia.com> Message-ID: I put mouseUp handlers in all my buttons on the Mac and it works fine... doug On 1/8/04 8:21 AM, "Trevor DeVore" wrote: > I was wondering if there was a way to determine which button was > clicked in a menu on the Mac? On Windows you can put mouse event > handlers in the button itself but these events are not processed on > Mac. > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Wed Jan 7 18:38:05 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 08 Jan 2004 08:38:05 +0900 Subject: v 2.1.2 and bg color issues? In-Reply-To: Message-ID: I guess I am the only one who is experiencing differences in bg color settings going from 2.1.1 to 2.1.1 (OS X)? My standalones were all opening with the correct bg color in substacks in builds made with 2.1.1, but when I remade the builds with 2.1.2 the bg color settings for the substacks all got reset to nothing in the standalone apps - even though they are there in the IDE. Very weird! Has nobody else noticed this? I think the column where you set the bgcolor vs the background pattern also got switched in the IDE. I wonder if this could have anything to do with the problem... doug From ambassador at fourthworld.com Wed Jan 7 18:39:28 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 07 Jan 2004 15:39:28 -0800 Subject: Auto Play on PCs In-Reply-To: Message-ID: Roger.E.Eller at sealedair.com wrote: >> Does anyone know how to have my cd auto play on insertion on the PC???? >> >> sort of in a hurry on this one. > > Since you're in a hurry... here is a repeat from the past. > You can find more info at > http://www.google.com/advanced_search?q=site:lists.runrev.com FWIW, there's also a Rev list search box on my Rev page: -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From Mark.Powell at veritas.com Wed Jan 7 18:40:48 2004 From: Mark.Powell at veritas.com (Mark Powell) Date: Wed, 7 Jan 2004 15:40:48 -0800 Subject: Update a global when going to a stack as modal Message-ID: Hi Sarah: Alas, I am declaring it in both place. Have you done this specific thing successfully in the past? BTW, since I posted this message I have tried "sheet stack B" instead of "go to stack B as modal" and it s.e.e.m.s to work, but I would prefer to use the 'as modal' method. Mark -----Original Message----- From: Sarah Reichelt [mailto:sarahr at genesearch.com.au] Are you sure you are declaring gFoo as a global in BOTH places? ... ============ S N I P ============ On 8 Jan 2004, at 7:42 am, Mark Powell wrote: I have a handler in stack A of the pseudo form below ... LINE 1 LINE 2 LINE 3 ... The text that is put into the field on stack A is inevitably "Before". However, if I immediately type put gFoo into fld "Information" the data that was collected in stack B is put into the field in stack A as expected. The global is populated as I would want, except it is as if line 3 above is run before line 2. What is going on? Can I not switch between stacks and collect data? Is there a workaround? Mark From sarahr at genesearch.com.au Wed Jan 7 18:41:53 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 8 Jan 2004 09:41:53 +1000 Subject: Determining which menu button was clicked on Mac In-Reply-To: <4683D6F1-4168-11D8-B834-000A956C462A@mangomultimedia.com> References: <4683D6F1-4168-11D8-B834-000A956C462A@mangomultimedia.com> Message-ID: <126688AA-416B-11D8-8418-0003937A97B8@genesearch.com.au> Check the docs for the mouseUp message. It has a parameter that tells which button is clicked. On Macs, this is 1 for the left mouse button and 3 for right mouse button or control-click. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 8 Jan 2004, at 9:22 am, Trevor DeVore wrote: > I was wondering if there was a way to determine which button was > clicked in a menu on the Mac? On Windows you can put mouse event > handlers in the button itself but these events are not processed on > Mac. > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From lists at mangomultimedia.com Wed Jan 7 18:50:51 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 7 Jan 2004 16:50:51 -0700 Subject: Determining which menu button was clicked on Mac In-Reply-To: References: Message-ID: <52FC252D-416C-11D8-B834-000A956C462A@mangomultimedia.com> On Jan 7, 2004, at 4:34 PM, Doug Lerner wrote: > > On 1/8/04 8:21 AM, "Trevor DeVore" wrote: > >> I was wondering if there was a way to determine which button was >> clicked in a menu on the Mac? On Windows you can put mouse event >> handlers in the button itself but these events are not processed on >> Mac. >> > I put mouseUp handlers in all my buttons on the Mac and it works > fine... It works fine for buttons but not for buttons that are set as the menu for the application. Only the menu group receives the message in this case. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Wed Jan 7 18:53:55 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 7 Jan 2004 16:53:55 -0700 Subject: Determining which menu button was clicked on Mac In-Reply-To: <126688AA-416B-11D8-8418-0003937A97B8@genesearch.com.au> References: <4683D6F1-4168-11D8-B834-000A956C462A@mangomultimedia.com> <126688AA-416B-11D8-8418-0003937A97B8@genesearch.com.au> Message-ID: On Jan 7, 2004, at 4:41 PM, Sarah Reichelt wrote: > On 8 Jan 2004, at 9:22 am, Trevor DeVore wrote: > >> I was wondering if there was a way to determine which button was >> clicked in a menu on the Mac? On Windows you can put mouse event >> handlers in the button itself but these events are not processed on >> Mac. > Check the docs for the mouseUp message. It has a parameter that tells > which button is clicked. On Macs, this is 1 for the left mouse button > and 3 for right mouse button or control-click. Though it probably wasn't clear in my original post I would like the actual button "File, Edit, Help, etc." that is being clicked. I have one menu button in particular whose values are determined by calls to an external. I would prefer not to call the external function every time the user clicks on the menu as a group, just when they click on one menu item in particular. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From Tom.Cole at asu.edu Wed Jan 7 18:56:02 2004 From: Tom.Cole at asu.edu (Thomas Cole) Date: Wed, 07 Jan 2004 16:56:02 -0700 Subject: Application Icon during Distribution Build Message-ID: <3996AE5EBEF964418D80953BDCABFF5606AB1F43@ex1.asurite.ad.asu.edu> When I build a distribution for Windows there is an option to include an application icon. I have selected a graphic, but during the build I get a message to try again because the graphic is the wrong size (in KB) and I need 16 colors or something. What's the easy way to give the program a graphic that it likes? I'm using OSX. Thanks Tom Cole From doug at webcrossing.com Wed Jan 7 19:02:27 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 08 Jan 2004 09:02:27 +0900 Subject: mouseEnter and mouseLeave - what object? In-Reply-To: <035501c3d53b$9f7493f0$6901a8c0@LightningFlash> Message-ID: Is there an easy way of knowing *what* object (which field, which card, which img, etc.) the mouse has entered or left when in the mouseEnter and mouseLeave handlers? doug From doug at webcrossing.com Wed Jan 7 19:04:20 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 08 Jan 2004 09:04:20 +0900 Subject: Determining which menu button was clicked on Mac In-Reply-To: <52FC252D-416C-11D8-B834-000A956C462A@mangomultimedia.com> Message-ID: On 1/8/04 8:50 AM, "Trevor DeVore" wrote: > On Jan 7, 2004, at 4:34 PM, Doug Lerner wrote: >> >> On 1/8/04 8:21 AM, "Trevor DeVore" wrote: >> >>> I was wondering if there was a way to determine which button was >>> clicked in a menu on the Mac? On Windows you can put mouse event >>> handlers in the button itself but these events are not processed on >>> Mac. >>> >> I put mouseUp handlers in all my buttons on the Mac and it works >> fine... > > It works fine for buttons but not for buttons that are set as the menu > for the application. Only the menu group receives the message in this > case. > Is this like the problem I am having where I can select a menu item for COPY, but I can't get the CMD+C recognized for that item? I seem to be able to select individual items though, inside the menu. doug From 3mcgrath at adelphia.net Wed Jan 7 19:11:08 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Wed, 7 Jan 2004 19:11:08 -0500 Subject: Application Icon during Distribution Build In-Reply-To: <3996AE5EBEF964418D80953BDCABFF5606AB1F43@ex1.asurite.ad.asu.edu> References: <3996AE5EBEF964418D80953BDCABFF5606AB1F43@ex1.asurite.ad.asu.edu> Message-ID: <28843F3F-416F-11D8-9EC9-000A95DA60FA@adelphia.net> Me too! I don't know enough about what type size etc. that REV wants. I hope someone else does. Tom On Jan 7, 2004, at 6:56 PM, Thomas Cole wrote: > When I build a distribution for Windows there is an option to include > an application icon. I have selected a graphic, but during the build I > get a message to try again because the graphic is the wrong size (in > KB) and I need 16 colors or something. What's the easy way to give the > program a graphic that it likes? I'm using OSX. > Thanks > > Tom Cole > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From lists at mangomultimedia.com Wed Jan 7 19:22:11 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 7 Jan 2004 17:22:11 -0700 Subject: Determining which menu button was clicked on Mac In-Reply-To: References: Message-ID: On Jan 7, 2004, at 5:04 PM, Doug Lerner wrote: > On 1/8/04 8:50 AM, "Trevor DeVore" wrote: > >> On Jan 7, 2004, at 4:34 PM, Doug Lerner wrote: >>> >>> On 1/8/04 8:21 AM, "Trevor DeVore" wrote: >>> >>>> I was wondering if there was a way to determine which button was >>>> clicked in a menu on the Mac? On Windows you can put mouse event >>>> handlers in the button itself but these events are not processed on >>>> Mac. >>>> >>> I put mouseUp handlers in all my buttons on the Mac and it works >>> fine... >> >> It works fine for buttons but not for buttons that are set as the menu >> for the application. Only the menu group receives the message in this >> case. >> > > Is this like the problem I am having where I can select a menu item for > COPY, but I can't get the CMD+C recognized for that item? > > I seem to be able to select individual items though, inside the menu. I'm not sure. I have experienced this problem in the Rev development environment (I type CMD+C to copy something but it isn't copied, I type CMD+S to save but the stack is not saved) but I don't remember it happening with my own menus. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dsc at swcp.com Wed Jan 7 19:30:41 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 17:30:41 -0700 Subject: mouseEnter and mouseLeave - what object? In-Reply-To: Message-ID: On Wednesday, January 7, 2004, at 05:02 PM, Doug Lerner wrote: > Is there an easy way of knowing *what* object (which field, which card, > which img, etc.) the mouse has entered or left when in the mouseEnter > and > mouseLeave handlers? the target Dar Scott From doug at webcrossing.com Wed Jan 7 19:37:50 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 08 Jan 2004 09:37:50 +0900 Subject: mouseEnter and mouseLeave - what object? In-Reply-To: Message-ID: Too simple. Anything more complicated? :-) Thanks! doug On 1/8/04 9:30 AM, "Dar Scott" wrote: > > On Wednesday, January 7, 2004, at 05:02 PM, Doug Lerner wrote: > >> Is there an easy way of knowing *what* object (which field, which card, >> which img, etc.) the mouse has entered or left when in the mouseEnter >> and >> mouseLeave handlers? > > the target > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Wed Jan 7 19:46:14 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 17:46:14 -0700 Subject: Determining which menu button was clicked on Mac In-Reply-To: Message-ID: <0FAF4139-4174-11D8-A059-000A9567A3E6@swcp.com> On Wednesday, January 7, 2004, at 04:53 PM, Trevor DeVore wrote: > Though it probably wasn't clear in my original post I would like the > actual button "File, Edit, Help, etc." that is being clicked. I have > one menu button in particular whose values are determined by calls to > an external. I would prefer not to call the external function every > time the user clicks on the menu as a group, just when they click on > one menu item in particular. Rats, Trevor, I'm being dense. It is still not clear to me. What are you doing in menuPick? Dar Scott From dsc at swcp.com Wed Jan 7 19:49:06 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 17:49:06 -0700 Subject: mouseEnter and mouseLeave - what object? In-Reply-To: Message-ID: <76431980-4174-11D8-A059-000A9567A3E6@swcp.com> On Wednesday, January 7, 2004, at 05:37 PM, Doug Lerner wrote: > Too simple. Anything more complicated? :-) You can put handlers in each object of interest. (This can make it simpler in some cases, though.) Dar Scott From lists at mangomultimedia.com Wed Jan 7 20:01:51 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 7 Jan 2004 18:01:51 -0700 Subject: Determining which menu button was clicked on Mac In-Reply-To: <0FAF4139-4174-11D8-A059-000A9567A3E6@swcp.com> References: <0FAF4139-4174-11D8-A059-000A9567A3E6@swcp.com> Message-ID: <3E0D403F-4176-11D8-A6B4-000A956C462A@mangomultimedia.com> On Jan 7, 2004, at 5:46 PM, Dar Scott wrote: > > On Wednesday, January 7, 2004, at 04:53 PM, Trevor DeVore wrote: > >> Though it probably wasn't clear in my original post I would like the >> actual button "File, Edit, Help, etc." that is being clicked. I have >> one menu button in particular whose values are determined by calls to >> an external. I would prefer not to call the external function every >> time the user clicks on the menu as a group, just when they click on >> one menu item in particular. > > Rats, Trevor, I'm being dense. It is still not clear to me. > > What are you doing in menuPick? Alright, here are all the gory details :-) My project has a stack with a player object that audio files are loaded into for playback while viewing certain content in another stack. One of the program menus is named "Audio". When the user clicks on the "Audio" menu a script uses my QT external to check if the player object is currently playing or stopped. The first menu item changes to 'Play' or 'Pause' accordingly. The change of text needs to happen in the mouseDown event, before the menu is displayed to the user. Currently I call the external every time the user clicks on any application menu (by handling mouseDown in the group script). I would prefer to only call it when the "Audio" menu is clicked on. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From bvg at mac.com Wed Jan 7 20:26:04 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 8 Jan 2004 02:26:04 +0100 Subject: Determining which menu button was clicked on Mac In-Reply-To: <3E0D403F-4176-11D8-A6B4-000A956C462A@mangomultimedia.com> Message-ID: I had a similar problem like you, where I wanted to check/unckeck a menu item before the menu is shown. And indeed I was unable to do this anywhere else then the menubar group's script on OS X. I worked around this by using a "if the target = "view" then" script. It might be time for a feature request? On Donnerstag, Jan 8, 2004, at 02:01 Europe/Zurich, Trevor DeVore wrote: > On Jan 7, 2004, at 5:46 PM, Dar Scott wrote: >> >> On Wednesday, January 7, 2004, at 04:53 PM, Trevor DeVore wrote: >> >>> Though it probably wasn't clear in my original post I would like the >>> actual button "File, Edit, Help, etc." that is being clicked. I >>> have one menu button in particular whose values are determined by >>> calls to an external. I would prefer not to call the external >>> function every time the user clicks on the menu as a group, just >>> when they click on one menu item in particular. >> >> Rats, Trevor, I'm being dense. It is still not clear to me. >> >> What are you doing in menuPick? > > Alright, here are all the gory details :-) > > My project has a stack with a player object that audio files are > loaded into for playback while viewing certain content in another > stack. One of the program menus is named "Audio". When the user > clicks on the "Audio" menu a script uses my QT external to check if > the player object is currently playing or stopped. The first menu > item changes to 'Play' or 'Pause' accordingly. The change of text > needs to happen in the mouseDown event, before the menu is displayed > to the user. Currently I call the external every time the user clicks > on any application menu (by handling mouseDown in the group script). > I would prefer to only call it when the "Audio" menu is clicked on. > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Wed Jan 7 20:46:49 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Jan 2004 17:46:49 -0800 Subject: Determining which menu button was clicked on Mac In-Reply-To: <0FAF4139-4174-11D8-A059-000A9567A3E6@swcp.com> References: <0FAF4139-4174-11D8-A059-000A9567A3E6@swcp.com> Message-ID: <025791486.20040107174649@ahsoftware.net> Trevor- I'm confused, too. on menuPick chosenItem if "DogFood" is chosenItem then --feed the dog end if end menuPick Should give the text of the menuItem, no? -- -Mark Wieder mwieder at ahsoftware.net From alex at mindlube.com Wed Jan 7 21:27:41 2004 From: alex at mindlube.com (Alex Rice) Date: Wed, 7 Jan 2004 19:27:41 -0700 Subject: [OT] new Mac software: GarageBand and iLife'04 Message-ID: <3BEB5D28-4182-11D8-9A59-000393C4760A@mindlube.com> With the new GarageBand studio app, iLife suite is a steal at only $49 Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From JimCarwardine at OwnYourFuture-net.com Wed Jan 7 21:37:57 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Wed, 07 Jan 2004 22:37:57 -0400 Subject: Rev Crash Again! In-Reply-To: Message-ID: No, I'm back to rev crashing every second time. I don't think I clearly understood Dar's fix... Jim on 1/7/04 4:39 PM, Dar Scott wrote: > > On Wednesday, January 7, 2004, at 01:26 PM, Jim Carwardine wrote: > >> Sorry, false alarm. Found a typo. Rev's error reporting takes some >> getting >> used to... Jim > > Does this mean your stack image capture works? Cool! > > Dar Scott > > > **************************************** > Dar Scott Consulting > http://www.swcp.com/dsc/ > Programming Services > **************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From mpetrides at earthlink.net Wed Jan 7 21:43:18 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Wed, 7 Jan 2004 21:43:18 -0500 Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: <3BEB5D28-4182-11D8-9A59-000393C4760A@mindlube.com> References: <3BEB5D28-4182-11D8-9A59-000393C4760A@mindlube.com> Message-ID: <6A576A08-4184-11D8-BB6E-000A959D005E@earthlink.net> It's a steal even if you are tone deaf (as I am) and are unlikely to use GarageBand for much beyond a novelty. The new features in iMovie (edit in the timeline, non-destructive) and iDVD (tree display of menu items, 2 hour DVDs) alone justify the cost. And then there is GarageBand--the frosting on the cake! M On Jan 7, 2004, at 9:27 PM, Alex Rice wrote: > With the new GarageBand studio app, iLife suite is a steal at only $49 > > > > > Alex Rice | Mindlube Software | > > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Wed Jan 7 22:15:07 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 7 Jan 2004 21:15:07 -0600 Subject: Application Icon during Distribution Build In-Reply-To: <28843F3F-416F-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: check out the windows icon app tutorial at: http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Thomas J > McGrath III > Sent: Wednesday, January 07, 2004 6:11 PM > To: How to use Revolution > Subject: Re: Application Icon during Distribution Build > > > Me too! > > I don't know enough about what type size etc. that REV wants. > > I hope someone else does. > > Tom > > On Jan 7, 2004, at 6:56 PM, Thomas Cole wrote: > > > When I build a distribution for Windows there is an option to include > > an application icon. I have selected a graphic, but during the build I > > get a message to try again because the graphic is the wrong size (in > > KB) and I need 16 colors or something. What's the easy way to give the > > program a graphic that it likes? I'm using OSX. > > Thanks > > > > Tom Cole > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From capellan2000 at yahoo.com Wed Jan 7 23:12:07 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 7 Jan 2004 20:12:07 -0800 (PST) Subject: Resize objects in standalone In-Reply-To: <20040107181913.120CF93015B@mail.runrev.com> Message-ID: <20040108041207.47518.qmail@web40508.mail.yahoo.com> on Wed, 07 Jan 2004 09:54:36 -0800 Richard Gaskin wrote: >The engine does draw the handles when an object is >selected with the pointer tool, in all of the >modes it can run in, including a standalone. >Could there be some library or frontscript >altering this native behavior? You are right. The machine crash shortly after I post the mail. One of the culprit must have been an unrelated Java Program that stop responding. My best wishes for all the participants and assistants to the RunRev seminar in San Francisco. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From dsc at swcp.com Thu Jan 8 00:00:37 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 7 Jan 2004 22:00:37 -0700 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: Message-ID: <996C723C-4197-11D8-A059-000A9567A3E6@swcp.com> On Wednesday, January 7, 2004, at 07:37 PM, Jim Carwardine wrote: > No, I'm back to rev crashing every second time. I don't think I > clearly > understood Dar's fix... Jim OK. OK. Quit twisting my arm. Here is my function: -- -- cardImage() -- by Dar Scott -- Returns an image (PNG) of current card even if obscured -- or off screen. In addition this works when -- lock screen is on, allowing PNGs of other cards to be obtained. -- This is based on code by Ken Ray and Brian Yennie. function cardImage local tCurrentCardImage, tOldAlwaysBuffer, tID put the alwaysBuffer of this stack into tOldAlwaysBuffer set the alwaysBuffer of this stack to false set the alwaysBuffer of this stack to true create invisible image put the imagePixMapID of last image into tID set the imagePixMapID of last image to (the pixMapID of this stack) export last image to tCurrentCardImage as PNG set the imagePixMapID of last image to tID set the alwaysBuffer of this stack to tOldAlwaysBuffer delete last image return tCurrentCardImage end cardImage This works for me in getting the image of the current card. I have a button that gets the image of another card in the stack and that seems to work, too. It uses this function. Because of a bug, I export to get the PNG image; getting the text is not reliable. It might be I don't know why this works. I'm on OS X 10.2.8 and I use Revolution 2.1.2. I have a stack-thumbnail plugin and a special special-effects library on the back burner that I hoped to use this in. (I also have dreamed of a 3-D stack explorer, but that is probably not practical.) I think there might be lots of uses for such a thing. My having a project on the back burner should not stop anybody from doing something similar; I have lots on the back burner. I got the idea of this from tip imag007 at Ken Ray's site: http://www.sonsothunder.com/devres/metacard/tips/imag007.htm This takes about 50 ms on my computer. Dual 1.25 GHz G4. Use this like this: put cardImage() into field "thumbnail" I'd be pleased to hear how this works. Or doesn't work. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From lists at mangomultimedia.com Thu Jan 8 00:39:06 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 7 Jan 2004 22:39:06 -0700 Subject: Determining which menu button was clicked on Mac In-Reply-To: <025791486.20040107174649@ahsoftware.net> References: <0FAF4139-4174-11D8-A059-000A9567A3E6@swcp.com> <025791486.20040107174649@ahsoftware.net> Message-ID: On Jan 7, 2004, at 6:46 PM, Mark Wieder wrote: > Trevor- > > I'm confused, too. > > on menuPick chosenItem > if "DogFood" is chosenItem then > --feed the dog > end if > end menuPick > > Should give the text of the menuItem, no? Yes it does. But the menuPick handler happens *after* the menu is displayed to the user. I want to change the menu contents before the menu is displayed to the user. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From 3mcgrath at adelphia.net Thu Jan 8 00:40:46 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 00:40:46 -0500 Subject: Auto Play on PCs In-Reply-To: References: Message-ID: <3537E0D6-419D-11D8-9EC9-000A95DA60FA@adelphia.net> OK, I put the autorun.inf file at the root level of my CD. It points to "open=unity\UnityCD.exe" where the executable is in a folder called "Unity". In that same folder is my images folder called "media". Anyway, it works and auto runs the standalone app on Win XP and Win 2000. BUT now all of my referenced images do not appear. When the exe and media folder were at the root level everything worked fine BUT now none of them work. How it is now. root (CD) autorun.inf Unity (Folder) UnityCD.exe UnityCD.bundle (OSX) UnityCD (OS9) media (Folder) image1.png etc. Before that every thing worked in XP and 2000 like this below. (but not on Win 98, which was part of what I wanted to fix) root (CD) UnityCD.exe UnityCD.bundle (OSX) UnityCD (OS9) media (Folder) image1.png etc. Any help is appreciated Tom On Jan 7, 2004, at 3:47 PM, Trevor DeVore wrote: > On Jan 7, 2004, at 1:41 PM, Thomas J McGrath III wrote: > >> Does anyone know how to have my cd auto play on insertion on the >> PC???? >> >> sort of in a hurry on this one. >> > Create an autorun.inf file in the root directory of your CD. > > In it put the following: > > [autorun] > open=MyApp.exe > > This will launch MyApp.exe when the CD is inserted. > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From lists at mangomultimedia.com Thu Jan 8 00:40:57 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 7 Jan 2004 22:40:57 -0700 Subject: Determining which menu button was clicked on Mac In-Reply-To: References: Message-ID: <3B85D7FD-419D-11D8-A6B4-000A956C462A@mangomultimedia.com> On Jan 7, 2004, at 6:26 PM, Bj?rnke von Gierke wrote: > I had a similar problem like you, where I wanted to check/unckeck a > menu item before the menu is shown. And indeed I was unable to do this > anywhere else then the menubar group's script on OS X. I worked around > this by using a "if the target = "view" then" script. It might be time > for a feature request? Where would you put the 'if the target = "view" then' script? I tried checking 'the target' in the menubar group script but it returned the name of the menubar group rather than the name of the menu that was selected. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From 3mcgrath at adelphia.net Thu Jan 8 00:57:35 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 00:57:35 -0500 Subject: Win98 loses path In-Reply-To: <043834F6-4137-11D8-9E06-000A27B49A96@major-k.de> References: <4A5E2D1C-412D-11D8-9EC9-000A95DA60FA@adelphia.net> <3B04804E-4136-11D8-9EC9-000A95DA60FA@adelphia.net> <043834F6-4137-11D8-9E06-000A27B49A96@major-k.de> Message-ID: <8E9F6127-419F-11D8-9EC9-000A95DA60FA@adelphia.net> OK, my relative paths are messed up!! I put the autorun.inf file at the root level of my CD. It points to "open=unity\UnityCD.exe" where the executable is in a folder called "Unity". In that same folder is my images folder called "media". Anyway, it works and auto runs the standalone app on Win XP and Win 2000. BUT now all of my referenced images do not appear. When the exe and media folder were at the root level everything worked fine BUT now none of them work. (They do however work in OS9 and OSX with either method used below) How it is now. This does not work in XP or 2000 but does work in OSX/9. root (CD) autorun.inf Unity (Folder) UnityCD.exe UnityCD.bundle (OSX) UnityCD (OS9) media (Folder) image1.png etc. Before that every thing worked in XP and 2000 like this below. (but not on Win 98, which was part of what I wanted to fix) root (CD) UnityCD.exe UnityCD.bundle (OSX) UnityCD (OS9) media (Folder) image1.png etc. Any help is appreciated Tom On Jan 7, 2004, at 12:29 PM, Klaus Major wrote: > Hi Thomas, > >> Klaus, >> >> Yes it is at the root level. If this is the case won't this mess up >> my relative >> paths or do I need to put all of the OSX/9 and Win standalones in a >> subfolder. >> Will that keep my relative paths fine. > > The latter one... > > Put everything into a folder, place this folder on the root-level > and relativity is being kept :-) > >> Tom > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From doug at webcrossing.com Thu Jan 8 01:02:37 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 08 Jan 2004 15:02:37 +0900 Subject: 2.11 vs 2.12 - change in behavior regarding bg colors In-Reply-To: Message-ID: I found the cause of my bg color problem. In 2.1.1, if you set a stack's bg color that is what is shown in the IDE and also in the standalone app. But in 2.1.2 setting a stack's bg color only shows up in the IDE. You have to set the *card's* bg color in order for it to also show up in the standalone app. I think this should be considered a 2.1.2 bug - either in the IDE or in the created standalone app. At the minimum they should look the same. doug From doug at webcrossing.com Thu Jan 8 01:50:42 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 08 Jan 2004 15:50:42 +0900 Subject: Pencil to Browse tool switch In-Reply-To: Message-ID: On 1/8/04 8:25 AM, "Richard Gaskin" wrote: >> This should be basic, but it doesn't want to cooperate. >> >> I have a button which chooses the pencil tool so the user can draw in >> an image rectangle. There is also a button to choose the eraser tool >> that works fine if the browser tool is active, but it will not respond >> if clicked when the pencil tool is active. >> >> The cursor also remains as the pencil (doesn't switch to an arrow as >> the documentation states it should) even after moving out of the image >> rectangle. I know many commands require the browse tool to operate but >> I need a way for the user to switch from the pencil to the eraser. Any >> solutions? This combination is working for me. It works for all the tools except the dropper tool, for some reason. In the select button: on menuPick pWhich set the label of button "selectTool" to pWhich choose pWhich tool end menuPick In the image: on mouseLeave choose browse tool pass mouseLeave end mouseLeave doug From dsc at swcp.com Thu Jan 8 02:04:23 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 00:04:23 -0700 Subject: Win98 loses path In-Reply-To: <8E9F6127-419F-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: On Wednesday, January 7, 2004, at 10:57 PM, Thomas J McGrath III wrote: > OK, my relative paths are messed up!! > > I put the autorun.inf file at the root level of my CD. It points to > "open=unity\UnityCD.exe" where the executable is in a folder called > "Unity". In that same folder is my images folder called "media". > Anyway, it works and auto runs the standalone app on Win XP and Win > 2000. Some ideas... Does double clicking on the app allow the images to be seen? If so, then for Windows, something might be amiss with the defaultFolder. You might... 1. try displaying it in a test version and go from there. 2. try putting a copy of media at the root. 3. try testing for this situation and changing the defaultFolder. 4. try fiddling with a batch file that changes the working directory or something. Are your image paths like this: media/bell.gif Or like this: ./media/bell.gif ? I have some vague memory of the working directory being different for 98 and 2000 with autorun, but I don't know what is what. If you have to get something out the door, you might try #2. It is ugly, but it might work. Just some ideas. Dar Scott From mwieder at ahsoftware.net Thu Jan 8 02:12:26 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Jan 2004 23:12:26 -0800 Subject: Determining which menu button was clicked on Mac In-Reply-To: <3E0D403F-4176-11D8-A6B4-000A956C462A@mangomultimedia.com> References: <0FAF4139-4174-11D8-A059-000A9567A3E6@swcp.com> <3E0D403F-4176-11D8-A6B4-000A956C462A@mangomultimedia.com> Message-ID: <6245328829.20040107231226@ahsoftware.net> Trevor- Hmmm. I think a more "standard" way of dealing with this is to have both "Play" and "Pause" menuItems, one of which is grayed out at any given time. This works for me in a menuPick handler - initially "Pause" is disabled, then when the user selects "Play" the enabled and disabled options are switched. I also think it gives the user more of a sense of continuity than menu items that appear and disappear. on menuPick chosenItem if isPlaying then if chosenItem is "Pause" then enable menuItem 2 of button "Menus" --"Play" menuItem disable menuItem 3 of button "Menus" --"Pause" menuItem put false into isPlaying end if else if chosenItem is "Play" then enable menuItem 3 of button "Menus" --"Pause" menuItem disable menuItem 2 of button "Menus" --"Play" menuItem put true into isPlaying end if end if end menuPick -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jan 8 02:17:29 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Jan 2004 23:17:29 -0800 Subject: Auto Play on PCs In-Reply-To: <3537E0D6-419D-11D8-9EC9-000A95DA60FA@adelphia.net> References: <3537E0D6-419D-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: <14345631795.20040107231729@ahsoftware.net> Thomas- It looks like you have moved the media folder out of the UnityCD (OS9) folder. My guess is that your relative paths to the images aren't working because they are based on it - if you stick the media folder back in there they should be fixed up. -- -Mark Wieder mwieder at ahsoftware.net From briany at qldlearning.com Thu Jan 8 02:34:52 2004 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 8 Jan 2004 02:34:52 -0500 Subject: Determining which menu button was clicked on Mac In-Reply-To: <6245328829.20040107231226@ahsoftware.net> Message-ID: <25FA002A-41AD-11D8-A679-000393AA08D2@qldlearning.com> Perhaps, but I think Trevor's question was how to avoid checking whether anything is playing regardless of which menu was clicked. I believe the answer is that you can't. At least on MacOS, IIRC, the underlying routines can tell you when the menubar is clicked, but there is no such thing as a menu clicked event for a single menu. Thus you need to adjust your menus either a) before the user clicks on the menubar or b) adjust ALL of your menus every time the user clicks on the menubar. If you want individual events for clicking on a single menu, I think you'll have to roll your own menu objects in-window, which means they won't work as real system menus... HTH Brian > Hmmm. I think a more "standard" way of dealing with this is to have > both "Play" and "Pause" menuItems, one of which is grayed out at any > given time. This works for me in a menuPick handler - initially > "Pause" is disabled, then when the user selects "Play" the enabled and > disabled options are switched. I also think it gives the user more of > a sense of continuity than menu items that appear and disappear. From mwieder at ahsoftware.net Thu Jan 8 02:35:48 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Jan 2004 23:35:48 -0800 Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: <3BEB5D28-4182-11D8-9A59-000393C4760A@mindlube.com> References: <3BEB5D28-4182-11D8-9A59-000393C4760A@mindlube.com> Message-ID: <16246731276.20040107233548@ahsoftware.net> Alex- I'm much less impressed with GarageBand after spending some time playing with it at the show. No support for plugins, no matter whether you're talking about VST, Audio Units, or whatever. And pretty limited signal processing is built in. And the midi loops stuff looks like fun until you want to move off the dominant chord. I couldn't find any way to do that and the Apple rep who was demoing the product couldn't figure it out either. I remember that when SJ was doing his dog-and-pony show he was basically just grabbing sound samples and adding them in, but everything was based on a single chord. As an entry-level toy it looks like fun and I'm looking forward to spending some more time playing with it, but I don't see it giving any of the existing programs a run for their money. -- -Mark Wieder mwieder at ahsoftware.net From xbury.cs at clearstream.com Thu Jan 8 02:58:56 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 8 Jan 2004 08:58:56 +0100 Subject: 2.11 vs 2.12 - change in behavior regarding bg colors Message-ID: In 2.1.1 setting the Stacks bg pattern shows a pattern but it doesn't show up when you build the application. Setting the card's color fixed that. I tried to put this into a bugzilla but it was erased next day... I believe it was fixed in 2.1.2 Xavier On 08/01/2004 07:02:37 use-revolution-bounces wrote: >I found the cause of my bg color problem. > >In 2.1.1, if you set a stack's bg color that is what is shown in the IDE and >also in the standalone app. > >But in 2.1.2 setting a stack's bg color only shows up in the IDE. You have >to set the *card's* bg color in order for it to also show up in the >standalone app. > >I think this should be considered a 2.1.2 bug - either in the IDE or in the >created standalone app. At the minimum they should look the same. > >doug > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From mwieder at ahsoftware.net Thu Jan 8 03:09:43 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 8 Jan 2004 00:09:43 -0800 Subject: Determining which menu button was clicked on Mac In-Reply-To: <25FA002A-41AD-11D8-A679-000393AA08D2@qldlearning.com> References: <25FA002A-41AD-11D8-A679-000393AA08D2@qldlearning.com> Message-ID: <7348765901.20040108000943@ahsoftware.net> Brian- I think you're right about menuEvents per se, but in this particular case all you have to do is set an isPlaying variable to false, then toggle it when the user plays something you *know* whether something's playing. Maybe I've lost sight of the original question by now, but I believe it was the desire to have a "Play" menu option if nothing was playing, and a "Pause" option is something was. -- -Mark Wieder mwieder at ahsoftware.net From mcdomi at free.fr Thu Jan 8 03:19:07 2004 From: mcdomi at free.fr (Dom) Date: Thu, 8 Jan 2004 09:19:07 +0100 Subject: Scrolling fields - line artifacts In-Reply-To: <51086891-40CC-11D8-BC5E-000A9567A3E6@swcp.com> Message-ID: <1g78i6v.1oybsvo1shjyngM%mcdomi@free.fr> Dar Scott wrote: > Something like this was fixed at one time. What version are you using? I have still that with RR 212 & OS 10.2.4... PS: private to Doug: pliiiiz if you have *another* question, begin *another* thread ;-))) Here I have sort of a huge spaghetti-like thread with a variety of uncorrelated questions! (I am using my news reader for mailing lists; it shows a graphical preview of the whole thread -- its name: MacSOUP) -- Digital photos (nature, garden) : http://cooldomi.free.fr/ Scripting : http://domiscript.free.fr/ From doug at webcrossing.com Thu Jan 8 03:24:18 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 08 Jan 2004 17:24:18 +0900 Subject: 2.11 vs 2.12 - change in behavior regarding bg colors In-Reply-To: Message-ID: Actually, it was no problem in 2.11. I first saw this problem in 2.12! doug On 1/8/04 4:58 PM, "xbury.cs at clearstream.com" wrote: > In 2.1.1 setting the Stacks bg pattern shows a pattern but it doesn't show > up > when you build the application. Setting the card's color fixed that. > > I tried to put this into a bugzilla but it was erased next day... > > I believe it was fixed in 2.1.2 > > Xavier > > On 08/01/2004 07:02:37 use-revolution-bounces wrote: >> I found the cause of my bg color problem. >> >> In 2.1.1, if you set a stack's bg color that is what is shown in the IDE > and >> also in the standalone app. >> >> But in 2.1.2 setting a stack's bg color only shows up in the IDE. You > have >> to set the *card's* bg color in order for it to also show up in the >> standalone app. >> >> I think this should be considered a 2.1.2 bug - either in the IDE or in > the >> created standalone app. At the minimum they should look the same. >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream International > does not accept legal responsibility for the contents of this message. > > The information contained in this e-mail is confidential and may be legally > privileged. It is intended solely for the addressee. If you are not the > intended recipient, any disclosure, copying, distribution or any action taken > or omitted to be taken in reliance on it, is prohibited and may be unlawful. > Any views expressed in this e-mail are those of the individual sender, except > where the sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Thu Jan 8 03:36:25 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 8 Jan 2004 09:36:25 +0100 Subject: 2.11 vs 2.12 - change in behavior regarding bg colors Message-ID: I saw it on 2.1.1 for sure! On 08/01/2004 09:24:18 use-revolution-bounces wrote: >Actually, it was no problem in 2.11. I first saw this problem in 2.12! > >doug 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 mindlube.com Thu Jan 8 04:37:47 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 8 Jan 2004 02:37:47 -0700 Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: <16246731276.20040107233548@ahsoftware.net> References: <3BEB5D28-4182-11D8-9A59-000393C4760A@mindlube.com> <16246731276.20040107233548@ahsoftware.net> Message-ID: <51CAEBEA-41BE-11D8-8120-000393C4760A@mindlube.com> On Jan 8, 2004, at 12:35 AM, Mark Wieder wrote: > > As an entry-level toy it looks like fun and I'm looking forward to > spending some more time playing with it, but I don't see it giving any > of the existing programs a run for their money. Thanks for the early review! To me and many others, it won't really be a toy. I gather it's NOT intended to give existing programs a run for the money. In a way, Apple is busting open a whole new niche: dissatisfied amateur musicians, and pro musicians that want to jam and make demos. In addition to opening that niche, Apple is continuing to position the iLife suite as entry points into their more pro lineup. On a macrumors.com thread I spotted this little upgrade map that pretty much explains the apple strategy for their digital media products: ipod mini < ipod imovie < final cut express < final cut pro idvd < dvd studio garageband < logic express < logic So the iLife suite is just an entry point. But the apps are innovative and easy to use, so they sell Macs AND are stepping stones to the more expensive Pro apps. re: plugins, VST, etc. I know nothing about 'em, but the website says "GarageBand?s Audio Unit support allows you to add hundreds of effects and recording tools." Maybe the apple rep wasn't up to speed yet? Or maybe that's just one type of many existing audio plugin formats? re: signal processing built-ins. The 16 effects built-in look pretty good to me! re: single chord- Hmm... maybe that's why John Mayer (the rock guitarist who did the keynote demo) quipped "all in the key of C, I might add" or something like that. But that was when he was on keyboard not guitar. Hmmm. There is an endless macrumors.com thread. It's long, but there are some really good perspectives on just what GarageBand is, does, does not do. Like people complaining about no midi-out. And others going- thank god that it does not have midi-out, it would ruin the elegant interface of the app. Also check out: Logic Express aka Logic Audio? Ableton Software's Live! Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ambassador at fourthworld.com Thu Jan 8 04:48:15 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 08 Jan 2004 01:48:15 -0800 Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: <51CAEBEA-41BE-11D8-8120-000393C4760A@mindlube.com> Message-ID: Alex Rice wrote: > On Jan 8, 2004, at 12:35 AM, Mark Wieder wrote: >> >> As an entry-level toy it looks like fun and I'm looking forward to >> spending some more time playing with it, but I don't see it giving any >> of the existing programs a run for their money. > > Thanks for the early review! To me and many others, it won't really be > a toy. > > I gather it's NOT intended to give existing programs a run for the > money. In a way, Apple is busting open a whole new niche: dissatisfied > amateur musicians, and pro musicians that want to jam and make demos. And another market: multimedia developers who need simple background music. For $49 it's a great way to get royalty free custom loops. And you get four other apps as a bonus. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at mindlube.com Thu Jan 8 04:57:46 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 8 Jan 2004 02:57:46 -0700 Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: References: Message-ID: <1C4BD09C-41C1-11D8-8120-000393C4760A@mindlube.com> On Jan 8, 2004, at 2:48 AM, Richard Gaskin wrote: > And another market: multimedia developers who need simple background > music. > > For $49 it's a great way to get royalty free custom loops. And you > get four > other apps as a bonus. :) Exactly! That's me: a sometimes guitarist, and aspiring game developer! Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ian at azurevision.co.uk Thu Jan 8 05:08:20 2004 From: ian at azurevision.co.uk (Ian Wood) Date: Thu, 8 Jan 2004 10:08:20 +0000 Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: <51CAEBEA-41BE-11D8-8120-000393C4760A@mindlube.com> References: <3BEB5D28-4182-11D8-9A59-000393C4760A@mindlube.com> <16246731276.20040107233548@ahsoftware.net> <51CAEBEA-41BE-11D8-8120-000393C4760A@mindlube.com> Message-ID: <964F1296-41C2-11D8-8639-0003935A2896@azurevision.co.uk> On 8 Jan 2004, at 09:37, Alex Rice wrote: > re: plugins, VST, etc. I know nothing about 'em, but the website says > "GarageBand?s Audio Unit support allows you to add hundreds of effects > and recording tools." Maybe the apple rep wasn't up to speed yet? Or > maybe that's just one type of many existing audio plugin formats? > Audio Units are OS X-only plug-ins, which means there aren't as many of them as more common formats like VST. Not to forget a version of iPhoto which supposed to be pretty well instant for browsing, unlike the current "molasses" version. Ian Wood Panoramic photography, from web to billboard, sunrise to moonrise http://www.azurevision.co.uk From doug at webcrossing.com Thu Jan 8 05:31:50 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 08 Jan 2004 19:31:50 +0900 Subject: Conceptual question about opening multiple windows of the same kind Message-ID: This is a basic conceptual question. I'm trying to decide how to proceed. Let's say I wanted to open multiple windows (stacks, not cards) of a certain type. Examples might be multiple drawing windows for a paint program. Or multiple chat windows for different chat rooms. What concepts should I be looking at? Templates? Groups and background attributes? Cloning? For example, let's say I already have one window/stack that is working as I like. But maybe I want more than than that one window, with some different settings, opened up. Should I clone that stack and then delete it when done? Is there a better approach? I know the question is sort of vague, but I am looking for a general conceptual pointer or best practices suggestion rather than a cookbook total answer at this stage. Thanks! Doug Lerner, Tokyo From richmond at mail.maclaunch.com Thu Jan 8 04:30:33 2004 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu, 08 Jan 2004 04:30:33 -0500 Subject: HYPERNEXT ???? Message-ID: What's this then ??? A (possible) start to a competitor to RR methinks...although it has a hell of a long way to go. Download it and fiddle around with it (doesn't seem very good at drag-n-drop) http://www.tigabyte.com/default.html worth a few moments of attention [by the way, I should like to take this opportunity to reassure my friends, admirers, enemies, people who think my e-mail 'mouth' should be washed out with soap, and so on, that I am presently bogged down in tedious exams, but am working on a really good revtools hack (full online documentation) and will be back in all my nauseating glory sometime in February] all the best, Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html _______________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From wouter.abraham at pi.be Thu Jan 8 06:25:25 2004 From: wouter.abraham at pi.be (Wouter) Date: Thu, 8 Jan 2004 12:25:25 +0100 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <20040108054148.D87749301C9@mail.runrev.com> References: <20040108054148.D87749301C9@mail.runrev.com> Message-ID: <5A8F3A78-41CD-11D8-8045-003065CC999E@pi.be> On 08 Jan 2004, at 06:41, use-revolution-request at lists.runrev.com wrote: > > Message: 9 > Date: Wed, 7 Jan 2004 22:00:37 -0700 > From: Dar Scott > Subject: Re: Rev Crash Again! ... cardImage() function > To: How to use Revolution > Message-ID: <996C723C-4197-11D8-A059-000A9567A3E6 at swcp.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed snip > > This works for me in getting the image of the current card. I have a > button that gets the image of another card in the stack and that seems > to work, too. It uses this function. Because of a bug, I export to > get the PNG image; getting the text is not reliable. It might be I > don't know why this works. I'm on OS X 10.2.8 and I use Revolution > 2.1.2. snip > I'd be pleased to hear how this works. Or doesn't work. > > Dar > Hi Dar, That code is only safe if the window you are getting the imagePixMapID from is visible. (then why not using the import snapshot command, which is less prone to crash the app, as the window of the pixMapID "must" be visible(at least on my rig). Until this buggyness gets cleaned up) Greetings, WA From thierry.arbellot at wanadoo.fr Thu Jan 8 06:38:14 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Thu, 8 Jan 2004 12:38:14 +0100 Subject: Update a global when going to a stack as modal In-Reply-To: Message-ID: <254D4950-41CF-11D8-B0AA-000A27E40768@wanadoo.fr> Mark, I'm doing the same thing as you are, and it does work fine (Rev 2.1, MacOS X, Win2K) I use a global to return a value when the modal is closed. a suggestion: replace line 3 with answer gFoo The answer dialog should appear only after the modal is closed. Hope it helps. Thierry. On Thursday, Jan 8, 2004, at 00:40 Europe/Paris, Mark Powell wrote: > Hi Sarah: > > Alas, I am declaring it in both place. Have you done this specific > thing > successfully in the past? > > BTW, since I posted this message I have tried "sheet stack B" instead > of "go > to stack B as modal" and it s.e.e.m.s to work, but I would prefer to > use the > 'as modal' method. > > Mark > > -----Original Message----- > From: Sarah Reichelt [mailto:sarahr at genesearch.com.au] > > Are you sure you are declaring gFoo as a global in BOTH places? > ... > > ============ S N I P ============ > > On 8 Jan 2004, at 7:42 am, Mark Powell wrote: > > I have a handler in stack A of the pseudo form below > ... > LINE 1 > LINE 2 > LINE 3 > ... > > The text that is put into the field on stack A is inevitably "Before". > However, if I immediately type > > put gFoo into fld "Information" > > the data that was collected in stack B is put into the field in stack > A as > expected. The global is populated as I would want, except it is as if > line > 3 above is run before line 2. What is going on? Can I not switch > between > stacks and collect data? Is there a workaround? > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From JonathanC at ag.nsw.gov.au Thu Jan 8 07:03:05 2004 From: JonathanC at ag.nsw.gov.au (JonathanC at ag.nsw.gov.au) Date: Thu, 8 Jan 2004 23:03:05 +1100 Subject: Making handlers always available on startup Message-ID: I have come to Rev fairly recently from HyperCard. One of the things I liked to do in HyperCard was creating custom handlers and having them available in any stack. Some of these handlers would refer to other stacks (usually in the same folder as the Home stack, so they could just be referred to by their short names rather than their full paths). The easiest way to do this was to put the custom handlers into the Home stack script. A slightly more complicated way was to put them into the script of a separate stack and insert this line into the Home stack's startup handler: start using stack . After a bit of experimentation, I have worked out a way of doing the equivalent of this in Revolution: 1. Put a stack (e.g. "Launcher.rev") into the plugins folder. 2. Configure "Launcher.rev" to open when Revolution starts up. 3. With "Launcher.rev" open, execute 'toplevel this stack' with the message box to make the stack editable. 4. Put this handler into the stack script: on openStack insert the script of me into back put the filename of this stack into pluginsFldr set the itemdel to "/" delete last item of pluginsFldr set the defaultFolder to pluginsFldr & "/" end openStack 5. Paste the custom handler(s) into the stack script. 6. Save the stack. OK it works, but it seems like a very long-winded way of doing what I think should be a pretty common thing. Is there an easier way? (I hope so.) Isn't there the equivalent of a default "startUp" handler somewhere (like HyperCard's)? If so, I couldn't find it. Also, I'm a bit concerned about the lines 3-6 of the openStack handler above. It makes the plugins folder the defaultFolder. I'd really like to make ANOTHER folder the defaultFolder if possible: the folder where I put most of my Rev stacks (currently ~/Documents/Revolution stacks/), so I could just refer to stack files by their short names. Sorry if this question is very basic. Thanks, Jonathan Cooper Manager of Information / Website Art Gallery of New South Wales Sydney, Australia http://www.artgallery.nsw.gov.au From JonathanC at ag.nsw.gov.au Thu Jan 8 07:04:41 2004 From: JonathanC at ag.nsw.gov.au (JonathanC at ag.nsw.gov.au) Date: Thu, 8 Jan 2004 23:04:41 +1100 Subject: Icons and the Image Library Message-ID: Sorry, another (basic) series of questions... I don't understand how icons work in Revolution. I converted a HyperCard stack (a copy of "Home", actually) to Rev. Most of the (black-and-white) icons seemed to transfer OK, so I tried to get them into my custom library ("My Library") but I couldn't work out how to do it - short of doing a screenshot, opening it in Photoshop, saving each icon as a separate GIF file and then importing them one by one with the "Import File..."button (!). I thought if I selected a button with a custom icon while the "Library" window was open and then clicked "Import Selected", it would work, but I get an error message: "There are no images in the selection". (What's the difference between an image and an icon?) I double-click the button - so that the Inspector window opens - and choose "Icons & Border". Next to "Icon" is a number (21444) which I assume is the icon's ID. Clicking on the little "magic wand" next to it brings up a dialog box, which looks very much like the Images tab of the Library window. And there are the icons (well, most of them; some of them just appear as rows of dots ... ?). But these icons don't appear anywhere in the Library window. What am I missing? Is there an "easy" way of copying icons? Sorry to be harking back to HyperCard again, but in HC you could just copy a button in one stack and (if the icon resource was in that stack) paste it into another stack and the icon resource would be copied as well. Then of course there was Resource Mover.(Incidentally, I tried Sarah Reichelt's "ResourceCopier.rev" but the icons don't appear as resources - which doesn't really surprise me, I guess.) Thanks again. Jonathan Cooper Manager of Information / Website Art Gallery of New South Wales Sydney, Australia http://www.artgallery.nsw.gov.au From lists at mangomultimedia.com Thu Jan 8 07:42:04 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 8 Jan 2004 05:42:04 -0700 Subject: Determining which menu button was clicked on Mac In-Reply-To: <7348765901.20040108000943@ahsoftware.net> References: <25FA002A-41AD-11D8-A679-000393AA08D2@qldlearning.com> <7348765901.20040108000943@ahsoftware.net> Message-ID: <101256A9-41D8-11D8-A6B4-000A956C462A@mangomultimedia.com> On Jan 8, 2004, at 1:09 AM, Mark Wieder wrote: > I think you're right about menuEvents per se, but in this particular > case all you have to do is set an isPlaying variable to false, then > toggle it when the user plays something you *know* whether something's > playing. Setting a state variable would work in many cases. However, with a player object you don't receive any messages when the user clicks on play/pause (in a quick test I did you don't even get a mouseUp event) so the variable would become out of sync with the actual player state unless you did a check every x seconds or created custom controls rather than using the default QT controls. In this particular case I prefer to do the check in the menubar mouseUp script. > Maybe I've lost sight of the original question by now, but I believe > it was the desire to have a "Play" menu option if nothing was playing, > and a "Pause" option is something was. That is correct. It already works, I just wanted to know if there was a way to detect which button was clicked in a menubar group so I could execute the code *only* when the 'Audio' menu was selected. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Thu Jan 8 07:53:17 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 8 Jan 2004 05:53:17 -0700 Subject: Determining which menu button was clicked on Mac In-Reply-To: <6245328829.20040107231226@ahsoftware.net> References: <0FAF4139-4174-11D8-A059-000A9567A3E6@swcp.com> <3E0D403F-4176-11D8-A6B4-000A956C462A@mangomultimedia.com> <6245328829.20040107231226@ahsoftware.net> Message-ID: On Jan 8, 2004, at 12:12 AM, Mark Wieder wrote: > Trevor- > > Hmmm. I think a more "standard" way of dealing with this is to have > both "Play" and "Pause" menuItems, one of which is grayed out at any > given time. This works for me in a menuPick handler - initially > "Pause" is disabled, then when the user selects "Play" the enabled and > disabled options are switched. I also think it gives the user more of > a sense of continuity than menu items that appear and disappear. Normally I would agree with you for menu items but for playing/pausing audio I think it makes more sense to toggle the menu item. My reasoning is that this mimics what QuickTime Player/a player object already do. If you click the play button it toggles to pause or you press the space bar to toggle between play/pause. My menu item will have one shortcut key that acts similar to the space bar. I see this as being similar to checking/unchecking a menu item, but for sake of clarity I am changing the actual menu item text. The other problem is that the play/pause state of the controller can change when the user clicks on the player object play/pause button. As far as I can tell there is no way to detect that they did this short of polling the player object every x seconds to determine the current state which I prefer not to do in this case. So even if I did add a "Play" and "Pause" menuItem I would still need to detect the state of the player object before displaying the menu to the user to determine which menu item to grey out. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From P.Jimmieson at csc.liv.ac.uk Thu Jan 8 08:22:15 2004 From: P.Jimmieson at csc.liv.ac.uk (Phil Jimmieson) Date: Thu, 8 Jan 2004 13:22:15 +0000 Subject: Visual Effects glitches (was Re: visual effect command help) In-Reply-To: References: Message-ID: >On Wednesday, January 7, 2004, at 08:58 AM, Andy Burns wrote: > >>The problem is when I flip >>back to the previous card (notepad page), I can see the previous card before >>the effect takes place. > >When I ran into this earlier on XP, it was suggested that I turn off >using QuickTime. That worked, but the effects were a little rougher. > >I have also seen this on other platforms when I click through cards very fast. I'm seeing a similar problem on Windows 2000 - some visual effects appear after the card transitions have occurred. There's a similar problem with visual effects with an unlock screen. I can't turn off QuickTime because I also want to play some QuickTime movies... I'd assumed this was a known bug, but I can't find a reference to it in Bugzilla / RevZilla. Should I add it or is it there already? -- Phil Jimmieson phil at csc.liv.ac.uk (UK) 0151 794 3689 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Chadwick Building, Peach Street Liverpool L69 7ZF http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From wouter.abraham at pi.be Thu Jan 8 08:47:38 2004 From: wouter.abraham at pi.be (Wouter) Date: Thu, 8 Jan 2004 14:47:38 +0100 Subject: Rev Crash Again! ... cardImage() function Message-ID: <38AFCB14-41E1-11D8-8045-003065CC999E@pi.be> > On 08 Jan 2004, at 06:41, use-revolution-request at lists.runrev.com > wrote: > >> >> Message: 9 >> Date: Wed, 7 Jan 2004 22:00:37 -0700 >> From: Dar Scott >> Subject: Re: Rev Crash Again! ... cardImage() function >> To: How to use Revolution >> Message-ID: <996C723C-4197-11D8-A059-000A9567A3E6 at swcp.com> >> Content-Type: text/plain; charset=US-ASCII; format=flowed > > snip >> I'd be pleased to hear how this works. Or doesn't work. >> >> Dar >> > > > Hi Dar, > > That code is only safe if the window you are getting the imagePixMapID > from is visible. > (then why not using the import snapshot command, which is less prone > to crash the app, as the window of the pixMapID "must" be visible(at > least on my rig). Until this buggyness gets cleaned up) > > Greetings, > > WA > Corrections. After a clean install of rev with no plugins, the code works as long as the referenced imagepixmap exists in memory. This means one can reference hidden stacks. Otherwise no error is thrown and rev crashes. In metacard the code works only if the own pixMapID is referenced. Referencing other stacks crashes metacard irrevocably. Sorry for the fuzz, WA From wouter.abraham at pi.be Thu Jan 8 09:04:54 2004 From: wouter.abraham at pi.be (Wouter) Date: Thu, 8 Jan 2004 15:04:54 +0100 Subject: Rev Crash Again! Message-ID: > Message: 11 > Date: Wed, 7 Jan 2004 11:17:46 -0700 > From: Dar Scott > Subject: Re: Rev Crash Again! > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=WINDOWS-1252; format=flowed > > > On Wednesday, January 7, 2004, at 11:07 AM, Jim Carwardine wrote: > >> I hope I can get someone to respond to this. I?m at my wit?s end... >> Jim > > See comments on tip imag007 at . > > Dar Scott > On top of http://www.sonsothunder.com/devres/metacard/tips/imag007.htm is stated: < There are many times you might want to export the contents of a card to a JPG or PNG file, and MetaCard/Revolution?s built in export snapshot command takes a literal screenshot, so things like palettes and toolbars can get in the way of getting a clean image of the card. Additionally, you might have a stack window which is larger than the current monitor, and need to export the card image; export snapshot just won?t cut it in these cases. > which is actually not correct because one can: import snapshot from rect the rect of window < windowname > or if only a part of a window is needed import snapshot from rect the rect of img/btn/fld < name > of window < windowid > Greetings, WA From kray at sonsothunder.com Thu Jan 8 09:27:29 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 8 Jan 2004 08:27:29 -0600 Subject: Conceptual question about opening multiple windows of the samekind In-Reply-To: Message-ID: <00ec01c3d5f3$8fa880e0$6901a8c0@LightningFlash> > For example, let's say I already have one window/stack that > is working as I like. But maybe I want more than than that > one window, with some different settings, opened up. Should I > clone that stack and then delete it when done? Is there a > better approach? If it is multiple "documents" of the same type, I'd use cloning. You don't even have to delete them; clones reside in memory only unless you save them to disk, so as soon as you close a clone it's gone. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Thu Jan 8 09:30:54 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 8 Jan 2004 08:30:54 -0600 Subject: Update a global when going to a stack as modal In-Reply-To: Message-ID: <00ed01c3d5f4$099d8300$6901a8c0@LightningFlash> > Alas, I am declaring it in both place. Have you done this > specific thing successfully in the past? I've done this as well, although I'm now using the convention of setting "the dialogData" before calling my modal dialog, and then setting the dialogData from the modal dialog before it closes. This works the same as a global, but to me it is better (a) because its intention is to get data from a dialog, (b) I don't need to declare any globals, and (c) I don't have globals "hanging around" that need to be cleared. Check out the Transcript Dictionary under "dialogData". Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Thu Jan 8 09:34:08 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 8 Jan 2004 08:34:08 -0600 Subject: HYPERNEXT ???? In-Reply-To: Message-ID: <00ee01c3d5f4$7d52a2d0$6901a8c0@LightningFlash> > A (possible) start to a competitor to RR > methinks...although it has a hell of a long way to go. It appears that HyperNext is developed in RealBasic and as you said... it has a long way to go, so it won't be a threat to Rev for quite a long time, IMHO. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From doug at webcrossing.com Thu Jan 8 09:38:27 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 08 Jan 2004 23:38:27 +0900 Subject: Conceptual question about opening multiple windows of thesamekind In-Reply-To: <00ec01c3d5f3$8fa880e0$6901a8c0@LightningFlash> Message-ID: On 1/8/04 11:27 PM, "Ken Ray" wrote: >> For example, let's say I already have one window/stack that >> is working as I like. But maybe I want more than than that >> one window, with some different settings, opened up. Should I >> clone that stack and then delete it when done? Is there a >> better approach? > > If it is multiple "documents" of the same type, I'd use cloning. You > don't even have to delete them; clones reside in memory only unless you > save them to disk, so as soon as you close a clone it's gone. What do you mean by multiple documents? Is a window/stack in this case considered a "document"? doug From bob at armbase.com Thu Jan 8 09:37:49 2004 From: bob at armbase.com (Bob Hartley) Date: Thu, 08 Jan 2004 14:37:49 +0000 Subject: replace text in url field Message-ID: <6.0.0.22.0.20040108142943.02489fa8@udcf.gla.ac.uk> Hi all I have an application that searches for files produced by my microscope. If I save an image file "bob" it creates a set of files bob_raw01.pic 02.pic and 03.pic. My app lists the files and allows me to transfer them. It works great. However the old microscope creates a directory called "bob" with files raw01.pic raw02.pic raw03.pic. If I have more than one image file all the files are called raw01.pic raw02.pic raw03.pic. IE if I copy four files over thay all get over written. Is there a way to read a directory path eg C:\experiments\bob\image1\ and rename all the raw01.pic raw02.pic raw03.pic files image101.pic image102.pic image103.pic and then in the next directory C:\experiments\bob\image2\ raw01.pic raw02.pic raw03.pic files image201.pic image202.pic image203.pic? All the best Bob From kray at sonsothunder.com Thu Jan 8 09:38:40 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 8 Jan 2004 08:38:40 -0600 Subject: Rev Crash Again! In-Reply-To: Message-ID: <00ef01c3d5f5$1efb5f00$6901a8c0@LightningFlash> > < There are many times you might > want to export the contents of a card > to a JPG or PNG file, and MetaCard/Revolution's built in export > snapshot command takes a literal screenshot, so things like palettes > and toolbars can get in the way of getting a clean image of the card. > Additionally, you might have a stack window which is larger than the > current monitor, and need to export the card image; export snapshot > just won't cut it in these cases. > > > which is actually not correct because one can: > > import snapshot from rect the rect of window < windowname > Well, the comment was condemning "export snapshot", not "import snapshot"; import snapshot suffers many of the same problems, though as the TD states: "if the window is partly overlapped by another window, whatever is visible on the screen within that rectangle is placed in the snapshot". Basically, it literally takes a screen capture, whereas the tip at http://www.sonsothunder.com/devres/revolution/revolution.htm?_imag007.ht m is not doing a screen capture; it is reading directly from the window's image buffer to create the export. Just a clarification, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Thu Jan 8 09:40:16 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 8 Jan 2004 08:40:16 -0600 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <38AFCB14-41E1-11D8-8045-003065CC999E@pi.be> Message-ID: <00f001c3d5f5$58c2c890$6901a8c0@LightningFlash> > After a clean install of rev with no plugins, the code works > as long as > the referenced imagepixmap exists in memory. > This means one can reference hidden stacks. Otherwise no error is > thrown and rev crashes. > In metacard the code works only if the own pixMapID is referenced. > Referencing other stacks crashes metacard irrevocably. What versions of Rev and MC did you do this test on? I'm curious to see if it is an engine or IDE issue... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From 3mcgrath at adelphia.net Thu Jan 8 10:12:35 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 10:12:35 -0500 Subject: Win98 loses path In-Reply-To: References: Message-ID: <16C69582-41ED-11D8-9EC9-000A95DA60FA@adelphia.net> On Jan 8, 2004, at 2:04 AM, Dar Scott wrote: > > On Wednesday, January 7, 2004, at 10:57 PM, Thomas J McGrath III wrote: > >> OK, my relative paths are messed up!! >> >> I put the autorun.inf file at the root level of my CD. It points to >> "open=unity\UnityCD.exe" where the executable is in a folder called >> "Unity". In that same folder is my images folder called "media". >> Anyway, it works and auto runs the standalone app on Win XP and Win >> 2000. > > Some ideas... > > Does double clicking on the app allow the images to be seen? > If so, then for Windows, something might be amiss with the > defaultFolder. > > You might... > 1. try displaying it in a test version and go from there. What kind of test? like one image and a close box? > 2. try putting a copy of media at the root. That sounds interesting > 3. try testing for this situation and changing the defaultFolder. That's the problem. I have so many scripts that use variations of the defaultFolder that should work. > 4. try fiddling with a batch file that changes the working directory > or something. That would not work for me since I am on a Mac. > Are your image paths like this: media/bell.gif > Or like this: ./media/bell.gif > ? media/slide1.png > I have some vague memory of the working directory being different for > 98 and 2000 with autorun, but I don't know what is what. > > If you have to get something out the door, you might try #2. It is > ugly, but it might work. I am trying #2 right now. get back to you..... Tom > Just some ideas. > > Dar Scott > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From yoy at comcast.net Thu Jan 8 10:51:46 2004 From: yoy at comcast.net (Andy Burns) Date: Thu, 8 Jan 2004 10:51:46 -0500 Subject: Visual Effects glitches (was Re: visual effect command help) References: Message-ID: <000a01c3d5ff$6be01450$e8e02044@fatal7lcf637rj> I didn't report it, so if it merits a bug report, feel free to submit it. Andy ----- Original Message ----- From: "Phil Jimmieson" To: "How to use Revolution" Sent: Thursday, January 08, 2004 8:22 AM Subject: Visual Effects glitches (was Re: visual effect command help) > >On Wednesday, January 7, 2004, at 08:58 AM, Andy Burns wrote: > > > >>The problem is when I flip > >>back to the previous card (notepad page), I can see the previous card before > >>the effect takes place. > > > >When I ran into this earlier on XP, it was suggested that I turn off > >using QuickTime. That worked, but the effects were a little rougher. > > > >I have also seen this on other platforms when I click through cards very fast. > > I'm seeing a similar problem on Windows 2000 - some visual effects > appear after the card transitions have occurred. There's a similar > problem with visual effects with an unlock screen. I can't turn off > QuickTime because I also want to play some QuickTime movies... I'd > assumed this was a known bug, but I can't find a reference to it in > Bugzilla / RevZilla. Should I add it or is it there already? > > -- > Phil Jimmieson phil at csc.liv.ac.uk (UK) 0151 794 3689 (Mobile) 07976 983164 > Computer Science Dept., Liverpool University, Chadwick Building, Peach Street > Liverpool L69 7ZF http://www.csc.liv.ac.uk/~phil/ > I used to sit on a special medical board... ...but now I use this ointment. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.559 / Virus Database: 351 - Release Date: 1/7/2004 From scott at tactilemedia.com Thu Jan 8 11:03:07 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 08 Jan 2004 08:03:07 -0800 Subject: Making handlers always available on startup In-Reply-To: Message-ID: On 1/8/04 4:03 AM, "JonathanC at ag.nsw.gov.au" wrote: > I have come to Rev fairly recently from HyperCard. One of the things I > liked to do in HyperCard was creating custom handlers and having them > available in any stack. Some of these handlers would refer to other stacks > (usually in the same folder as the Home stack, so they could just be > referred to by their short names rather than their full paths). > ... > Isn't there the equivalent of a default "startUp" handler somewhere (like > HyperCard's)? If so, I couldn't find it. Isn't "start using stack xyz" what you want? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jbv.silences at Club-Internet.fr Thu Jan 8 11:07:17 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 08 Jan 2004 17:07:17 +0100 Subject: Advice from Linux guru needed Message-ID: <3FFD802C.ED50754C@Club-Internet.fr> Hi folks, I will have MC (or Rev) CGI running on a Linux server with Apache. I need to trigger a script at fixed times (say every 24 hrs) and don't see any other solution than somehow configuring the server to do it. Could someone be kind enough to let me know how to do that (off-list please, as I'm not sure anyone else is interested)... Thanks in advance, JB From P.Jimmieson at csc.liv.ac.uk Thu Jan 8 11:09:42 2004 From: P.Jimmieson at csc.liv.ac.uk (Phil Jimmieson) Date: Thu, 8 Jan 2004 16:09:42 +0000 Subject: Visual Effects glitches (was Re: visual effect command help) In-Reply-To: <000a01c3d5ff$6be01450$e8e02044@fatal7lcf637rj> References: <000a01c3d5ff$6be01450$e8e02044@fatal7lcf637rj> Message-ID: >I didn't report it, so if it merits a bug report, feel free to submit it. Done! Bug #1121 - Visual Effects occur after the card transition has completed. -- Phil Jimmieson phil at csc.liv.ac.uk (UK) 0151 794 3689 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Chadwick Building, Peach Street Liverpool L69 7ZF http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From dsc at swcp.com Thu Jan 8 11:18:13 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 09:18:13 -0700 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <38AFCB14-41E1-11D8-8045-003065CC999E@pi.be> Message-ID: <4258D688-41F6-11D8-BBFC-000A9567A3E6@swcp.com> On Thursday, January 8, 2004, at 06:47 AM, Wouter wrote: > After a clean install of rev with no plugins, the code works as long > as the referenced imagepixmap exists in memory. > This means one can reference hidden stacks. Otherwise no error is > thrown and rev crashes. I don't understand what you mean by "referenced imagepixmap exists in memory". The created image object is ephemeral and would have to exist in memory. Do you mean the stack? I would guess that getting the picture of a card in a stack that is not open with this method would involve making it temporarily the current card and then going back, all invisibly. Is there something in this that conflicts with the function? > In metacard the code works only if the own pixMapID is referenced. > Referencing other stacks crashes metacard irrevocably. I'm not sure what you mean by "own pixMapID". Maybe what is fishy is something in going to a foreign card and back. Are you saying they crash in different ways or in different conditions? Dar Scott From yoy at comcast.net Thu Jan 8 11:17:50 2004 From: yoy at comcast.net (Andy Burns) Date: Thu, 8 Jan 2004 11:17:50 -0500 Subject: Visual Effects glitches (was Re: visual effect command help) References: <000a01c3d5ff$6be01450$e8e02044@fatal7lcf637rj> Message-ID: <001701c3d603$186983c0$e8e02044@fatal7lcf637rj> Thanks Phil, And now we wait. Andy ----- Original Message ----- From: "Phil Jimmieson" To: "How to use Revolution" Sent: Thursday, January 08, 2004 11:09 AM Subject: Re: Visual Effects glitches (was Re: visual effect command help) > >I didn't report it, so if it merits a bug report, feel free to submit it. > > Done! Bug #1121 - Visual Effects occur after the card transition has completed. > > -- > Phil Jimmieson phil at csc.liv.ac.uk (UK) 0151 794 3689 (Mobile) 07976 983164 > Computer Science Dept., Liverpool University, Chadwick Building, Peach Street > Liverpool L69 7ZF http://www.csc.liv.ac.uk/~phil/ > I used to sit on a special medical board... ...but now I use this ointment. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.559 / Virus Database: 351 - Release Date: 1/7/2004 From 3mcgrath at adelphia.net Thu Jan 8 11:22:13 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 11:22:13 -0500 Subject: Auto Play on PCs In-Reply-To: <14345631795.20040107231729@ahsoftware.net> References: <3537E0D6-419D-11D8-9EC9-000A95DA60FA@adelphia.net> <14345631795.20040107231729@ahsoftware.net> Message-ID: THAT'S IT..... I put the Media folder at the root level AND put the standalone app in a subfolder. The autorun.inf points to the app in the subfolder. This seems to act like the app is actually at the root level although it is not. Thank you everyone for all of your help. Tom On Jan 8, 2004, at 2:17 AM, Mark Wieder wrote: > Thomas- > > It looks like you have moved the media folder out of the UnityCD (OS9) > folder. My guess is that your relative paths to the images aren't > working because they are based on it - if you stick the media folder > back in there they should be fixed up. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Thu Jan 8 11:23:45 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 11:23:45 -0500 Subject: Win98 loses path In-Reply-To: <16C69582-41ED-11D8-9EC9-000A95DA60FA@adelphia.net> References: <16C69582-41ED-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: <081E8CD0-41F7-11D8-9EC9-000A95DA60FA@adelphia.net> I put the image folder at the root level although the exe is in a subfolder with the autorun.inf pointing to the exe in the subfolder. Everything works OK now. Now how about the mac autorun???? Tom On Jan 8, 2004, at 10:12 AM, Thomas J McGrath III wrote: > > On Jan 8, 2004, at 2:04 AM, Dar Scott wrote: > >> >> On Wednesday, January 7, 2004, at 10:57 PM, Thomas J McGrath III >> wrote: >> >>> OK, my relative paths are messed up!! >>> >>> I put the autorun.inf file at the root level of my CD. It points to >>> "open=unity\UnityCD.exe" where the executable is in a folder called >>> "Unity". In that same folder is my images folder called "media". >>> Anyway, it works and auto runs the standalone app on Win XP and Win >>> 2000. >> >> Some ideas... >> >> Does double clicking on the app allow the images to be seen? >> If so, then for Windows, something might be amiss with the >> defaultFolder. >> >> You might... >> 1. try displaying it in a test version and go from there. > What kind of test? like one image and a close box? > >> 2. try putting a copy of media at the root. > That sounds interesting > >> 3. try testing for this situation and changing the defaultFolder. > That's the problem. I have so many scripts that use variations of the > defaultFolder that should work. > >> 4. try fiddling with a batch file that changes the working directory >> or something. > That would not work for me since I am on a Mac. > >> Are your image paths like this: media/bell.gif >> Or like this: ./media/bell.gif >> ? > media/slide1.png > >> I have some vague memory of the working directory being different for >> 98 and 2000 with autorun, but I don't know what is what. >> >> If you have to get something out the door, you might try #2. It is >> ugly, but it might work. > I am trying #2 right now. get back to you..... > > Tom >> Just some ideas. >> >> Dar Scott >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Thu Jan 8 11:28:32 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 11:28:32 -0500 Subject: accentColor Message-ID: Hello, I notice in my Windows builds that in my substacks the flat button that is 'send to back' gets highlighted via the accentColor. I don't want any of the buttons highlighted at all until the user holds it down. Which ever button is at the back level gets this accentColor like as if it is a default button. Is there a way to assign none to this behavior?? Is it the 'default' button behavior? I did not set any as default! Can I put another button off screen somewhere that is at the back position so it picks up this behavior? Is this a bug? Thank you all. Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From gizmotron at earthlink.net Thu Jan 8 11:30:39 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 8 Jan 2004 08:30:39 -0800 Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: <51CAEBEA-41BE-11D8-8120-000393C4760A@mindlube.com> Message-ID: On Thursday, January 8, 2004, at 01:37 AM, Alex Rice wrote: > re: single chord- Hmm... maybe that's why John Mayer (the rock > guitarist who did the keynote demo) quipped "all in the key of C, I > might add" or something like that. But that was when he was on > keyboard not guitar. Hmmm. I get this one. No sharps or flats on the white keys. You can't hit a flatted second if you stay on them. That's what I used to do and then I would let the software transpose the key for the final mix. Lazy man's music... Mark From dsc at swcp.com Thu Jan 8 11:33:14 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 09:33:14 -0700 Subject: Win98 loses path In-Reply-To: <16C69582-41ED-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: <5B4CE41A-41F8-11D8-BBFC-000A9567A3E6@swcp.com> On Thursday, January 8, 2004, at 08:12 AM, Thomas J McGrath III wrote: >> 1. try displaying it in a test version and go from there. > What kind of test? like one image and a close box? Add this temporary line (or similar): put defaultFolder into field "copyright notice" Use some field that is wide and whose contents won't mess up anything. Did the xp and w2k test work ok if the app is double clicked? I get the impression you don't have ready access to '98, but can test on XP, 2000, OS X and Mac 9. I use Virtual PC on both OS X and Windows. Uh. I mean I have it on both, but I use it most on Windows. This might be handy if you are short operating systems and platforms. Startup CDs work fine. I had an MSDN Universal subscription but let it expire. To get all OS's, you can get by with a lesser subscription. Since you are not installing in these tests, you might be able to borrow an old notebook computer from somebody. It might be that somebody on this list is interested in the process of making multiplatform CDs, has '98, and is motivated to run some tests. It might happen. My kids and I finished a Christmas CD late the 24th. We didn't take time to test on '98, so it probably has problems. I know to check next time. I was surprised that the Mac OS version of an app did not need to be bin'd. I didn't even take time to figure out why. Dar Scott From 3mcgrath at adelphia.net Thu Jan 8 11:39:42 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 11:39:42 -0500 Subject: Determining which menu button was clicked on Mac In-Reply-To: <101256A9-41D8-11D8-A6B4-000A956C462A@mangomultimedia.com> References: <25FA002A-41AD-11D8-A679-000393AA08D2@qldlearning.com> <7348765901.20040108000943@ahsoftware.net> <101256A9-41D8-11D8-A6B4-000A956C462A@mangomultimedia.com> Message-ID: <42524E23-41F9-11D8-9EC9-000A95DA60FA@adelphia.net> I use this script in a "GoTo" menu to check if the sound is done playing on one particular card with a lot of animations (that caused errors if the card was left prematurly) I exit the menuPick so the user has to wait till sound is done. Don't know what behavior you want but "if the sound is not done" works for me. on menuPick pWhich put the short name of this card into gna if gna is "Main 2" then if the sound is not done then exit menuPick end if end if go to card pWhich of stack "UnityCD" end menuPick Tom On Jan 8, 2004, at 7:42 AM, Trevor DeVore wrote: > On Jan 8, 2004, at 1:09 AM, Mark Wieder wrote: > >> I think you're right about menuEvents per se, but in this particular >> case all you have to do is set an isPlaying variable to false, then >> toggle it when the user plays something you *know* whether something's >> playing. > > Setting a state variable would work in many cases. However, with a > player object you don't receive any messages when the user clicks on > play/pause (in a quick test I did you don't even get a mouseUp event) > so the variable would become out of sync with the actual player state > unless you did a check every x seconds or created custom controls > rather than using the default QT controls. In this particular case I > prefer to do the check in the menubar mouseUp script. > >> Maybe I've lost sight of the original question by now, but I believe >> it was the desire to have a "Play" menu option if nothing was playing, >> and a "Pause" option is something was. > > That is correct. It already works, I just wanted to know if there was > a way to detect which button was clicked in a menubar group so I could > execute the code *only* when the 'Audio' menu was selected. > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From dsc at swcp.com Thu Jan 8 11:41:15 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 09:41:15 -0700 Subject: Win98 loses path In-Reply-To: <081E8CD0-41F7-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: <79FB526E-41F9-11D8-BBFC-000A9567A3E6@swcp.com> On Thursday, January 8, 2004, at 09:23 AM, Thomas J McGrath III wrote: > I put the image folder at the root level although the exe is in a > subfolder with the autorun.inf pointing to the exe in the subfolder. > > Everything works OK now. Is it at both? Did this break for Mac? I thought the Macs were finding the images where they were. Dar Scott From mwieder at ahsoftware.net Thu Jan 8 11:41:45 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 8 Jan 2004 08:41:45 -0800 Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: <51CAEBEA-41BE-11D8-8120-000393C4760A@mindlube.com> References: <3BEB5D28-4182-11D8-9A59-000393C4760A@mindlube.com> <16246731276.20040107233548@ahsoftware.net> <51CAEBEA-41BE-11D8-8120-000393C4760A@mindlube.com> Message-ID: <16379487727.20040108084145@ahsoftware.net> Alex- Thanks for the urls. I'll follow those up. Meanwhile, if you're looking to record live audio, check out the free version of ProTools (LE). And for my money, the best program to jam or practice along with (YMMV) is still Band in a Box. Unfortunately they dropped the Mac version some time ago and it's now Windows-only. Sorry, I've gotten a bit jaded lately after having found a recording studio that I really like and having gotten used to what they can do to our sound with their equipment. Of course, the mixing board alone cost as much as a house around here... And now that you mention it, the upgrade path from GarageBand to Logic Audio does make a lot of sense. Apple needs to give people something that will get them excited about the possibilities of producing audio but not full-featured enough that it undercuts sales of Logic. I had completely forgotten that they own that now. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jan 8 11:43:22 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 8 Jan 2004 08:43:22 -0800 Subject: Determining which menu button was clicked on Mac In-Reply-To: <101256A9-41D8-11D8-A6B4-000A956C462A@mangomultimedia.com> References: <25FA002A-41AD-11D8-A679-000393AA08D2@qldlearning.com> <7348765901.20040108000943@ahsoftware.net> <101256A9-41D8-11D8-A6B4-000A956C462A@mangomultimedia.com> Message-ID: <11779584396.20040108084322@ahsoftware.net> Trevor- Thursday, January 8, 2004, 4:42:04 AM, you wrote: TD> Setting a state variable would work in many cases. However, with a TD> player object you don't receive any messages when the user clicks on Thanks. That puts it in context for me. -- -Mark Wieder mwieder at ahsoftware.net From 3mcgrath at adelphia.net Thu Jan 8 11:58:37 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 11:58:37 -0500 Subject: replace text in url field In-Reply-To: <6.0.0.22.0.20040108142943.02489fa8@udcf.gla.ac.uk> References: <6.0.0.22.0.20040108142943.02489fa8@udcf.gla.ac.uk> Message-ID: I do this in my preOpenCard. I get the default directory then put my own path into it - afterwards I put the default back. I then get a list of the available images. I then replace parts I need and sort the field and then put back parts. But you could do any kind of renaming with maybe a global that has the last name used so none over lap. in preopencard -snip- put the directory into altdir put defaultFolder & "/media/31i/" into the_path set the directory to the_path put the files into theimages set the directory to altdir if char 1 of line 1 of theimages = "." then delete line 1 of theimages -- .dsstore on mac repeat with c = 1 to the number of lines in theimages delete char 1 to 5 of line c of theimages end repeat sort lines of theimages numeric repeat with c = 1 to the number of lines in theimages put "Slide" before line c of theimages -- you could put anything here including another repeat with accumulating numbers end repeat -snip- On Jan 8, 2004, at 9:37 AM, Bob Hartley wrote: > files bob_raw01.pic 02.pic and 03.pic. My app lists the files and > allows me to transfer them. It works great. > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From klaus at major-k.de Thu Jan 8 12:00:40 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 8 Jan 2004 18:00:40 +0100 Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: <16379487727.20040108084145@ahsoftware.net> References: <3BEB5D28-4182-11D8-9A59-000393C4760A@mindlube.com> <16246731276.20040107233548@ahsoftware.net> <51CAEBEA-41BE-11D8-8120-000393C4760A@mindlube.com> <16379487727.20040108084145@ahsoftware.net> Message-ID: <304418AC-41FC-11D8-B862-000A27B49A96@major-k.de> Hi Mark, > Alex- > > Thanks for the urls. I'll follow those up. > > Meanwhile, if you're looking to record live audio, check out the free > version of ProTools (LE). I thought that they still have a OS 9.x version? > And for my money, the best program to jam or > practice along with (YMMV) is still Band in a Box. Unfortunately they > dropped the Mac version some time ago and it's now Windows-only. There is also a OS 9.x version of Band in a Box, but this only runs with QuickTime version < 5... :-( > ... > -Mark Wieder > mwieder at ahsoftware.net Regards Klaus Major klaus at major-k.de www.major-k.de P.S. As an ex-pro and now hobby-musician i WILL buy a copy of iLIfe 04/Garage Band, you bet :-) From 3mcgrath at adelphia.net Thu Jan 8 12:03:09 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 12:03:09 -0500 Subject: Win98 loses path In-Reply-To: <79FB526E-41F9-11D8-BBFC-000A9567A3E6@swcp.com> References: <79FB526E-41F9-11D8-BBFC-000A9567A3E6@swcp.com> Message-ID: <893E4D1F-41FC-11D8-9EC9-000A95DA60FA@adelphia.net> I put the mac standalone at the root level and ONLY put the windows standalone in the subfolder. I put the images folder at the root level where the Mac app looks for it. The windows app acts like it is at the root level even though it is in a sub folder. I guess the autorun.inf makes the rev standalone 'think' it was launched at the root level even though it wasn't. I also guess that windows does not like the autorun.inf and the app it launches to be at the same level. So against my logic it works. Thanks Tom On Jan 8, 2004, at 11:41 AM, Dar Scott wrote: > > On Thursday, January 8, 2004, at 09:23 AM, Thomas J McGrath III wrote: > >> I put the image folder at the root level although the exe is in a >> subfolder with the autorun.inf pointing to the exe in the subfolder. >> >> Everything works OK now. > > Is it at both? Did this break for Mac? I thought the Macs were > finding the images where they were. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From pixelbird at interisland.net Thu Jan 8 12:09:30 2004 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 08 Jan 2004 09:09:30 -0800 Subject: Visual Effects glitches In-Reply-To: <20040108143413.94936930210@mail.runrev.com> Message-ID: Hi Phil, > Date: Thu, 8 Jan 2004 13:22:15 +0000 > From: Phil Jimmieson > Subject: Visual Effects glitches (was Re: visual effect command help) > I can't turn off > QuickTime because I also want to play some QuickTime movies... -------- You _do_ know you can turn it right back on again after passing the problem area... Ken N. From dsc at swcp.com Thu Jan 8 12:15:52 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 10:15:52 -0700 Subject: Win98 loses path In-Reply-To: <893E4D1F-41FC-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: <5017A7D4-41FE-11D8-BBFC-000A9567A3E6@swcp.com> On Thursday, January 8, 2004, at 10:03 AM, Thomas J McGrath III wrote: > The windows app acts like it is at the root level even though it is in > a sub folder. I guess the autorun.inf makes the rev standalone 'think' > it was launched at the root level even though it wasn't. I also guess > that windows does not like the autorun.inf and the app it launches to > be at the same level. So against my logic it works. > Against mine, too. Have you tested this with 98 yet? Maybe this rates a tip in the doc. Or maybe a comment under defaultFolder. Or both. Dar Scott From alex at mindlube.com Thu Jan 8 12:18:35 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 8 Jan 2004 10:18:35 -0700 Subject: Advice from Linux guru needed In-Reply-To: <3FFD802C.ED50754C@Club-Internet.fr> References: <3FFD802C.ED50754C@Club-Internet.fr> Message-ID: On Jan 8, 2004, at 9:07 AM, jbv wrote: > Hi folks, > > I will have MC (or Rev) CGI running on a Linux server > with Apache. > I need to trigger a script at fixed times (say every 24 hrs) > and don't see any other solution than somehow configuring > the server to do it. [on-list, because I think this kind of thing is likely to be useful to other Rev programmers. But I am no guru.] I would log into the Linux server via secure shell (ssh) and setup a crontab script (see below). But if you don't have shell account access on the server, then you could setup a CGI script that can be started by a HTTP URL, and then make some utility to periodically hit that URL from another computer, to do the work as a side effect. The drawback about that approach is that often the a server config will put time, memory or cpu limits on a CGI script. Instead, on Unix, including Linux and Mac OS X, the tool for running stuff at periodically is called "crontab". Try these commands: man crontab man 5 crontab crontab -l crontab -e export EDITOR=/usr/local/bin/youreditor crontab -e crontab -e puts you into the vi editor, by default. So you might want to set the EDITOR environment variable. Here is a crontab I use to entry to run every night to download a file from another server: 59 1 * * * cd ~/Mindlube/mysql-dumps && curl -O ftp://alexr:xxxxx at mindlube.com/mysql.dump.gz Notice the first 5 fields are time slots, and the rest of the line is a shell command. If the command is long, you can put it into a shell script file and just call it like ~/path/to/shell-script.sh Unix uses shell scripting a lot, and crontab is a good chance to learn it. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Thu Jan 8 12:22:03 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 10:22:03 -0700 Subject: Visual Effects glitches In-Reply-To: Message-ID: <2D3C2729-41FF-11D8-BBFC-000A9567A3E6@swcp.com> On Thursday, January 8, 2004, at 10:09 AM, Ken Norris wrote: >> I can't turn off >> QuickTime because I also want to play some QuickTime movies... > -------- > You _do_ know you can turn it right back on again after passing the > problem > area... Good idea. I can add that to my navigation bar. It can test the current state and the platform. Also, I noticed there are two properties controlling this: dontUseQTEffects dontUseQT I would guess setting the first to true would not affect movies, but I have not tried it. Dar Scott From klaus at major-k.de Thu Jan 8 12:23:15 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 8 Jan 2004 18:23:15 +0100 Subject: Visual Effects glitches In-Reply-To: References: Message-ID: <5820455C-41FF-11D8-A66F-000A27B49A96@major-k.de> Hi Ken, > Hi Phil, > >> Date: Thu, 8 Jan 2004 13:22:15 +0000 >> From: Phil Jimmieson >> Subject: Visual Effects glitches (was Re: visual effect command help) > >> I can't turn off >> QuickTime because I also want to play some QuickTime movies... > -------- > You _do_ know you can turn it right back on again after passing the > problem > area... But you can ONLY switch the "dontuseqteffects" on/off and on again but NOT the "dontuseQT"! This means you have to decide on (pre-)openstack to use or not use QT. Once QT-routines are loaded into memory, you have to quit RR to set it to "dontuseQT" again... > Ken N. Regards Klaus Major klaus at major-k.de www.major-k.de From kray at sonsothunder.com Thu Jan 8 12:34:25 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 8 Jan 2004 11:34:25 -0600 Subject: Conceptual question about opening multiple windows ofthesamekind In-Reply-To: Message-ID: <010a01c3d60d$acc1d950$6901a8c0@LightningFlash> > > If it is multiple "documents" of the same type, I'd use > cloning. You > > don't even have to delete them; clones reside in memory only unless > > you save them to disk, so as soon as you close a clone it's gone. > > What do you mean by multiple documents? Is a window/stack in > this case considered a "document"? Yes, I guess. What I meant was a stack that is fundamentally the same structure but with different content (think Microsoft Word or a painting program that lets you open multiple canvasses). In this case, I'd open the "original" invisibly, clone it, and close the original. Then the user can work in the cloned window and it will dispose of itself automatically when closed. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bob at armbase.com Thu Jan 8 12:37:16 2004 From: bob at armbase.com (Bob Hartley) Date: Thu, 08 Jan 2004 17:37:16 +0000 Subject: replace text in url field In-Reply-To: References: <6.0.0.22.0.20040108142943.02489fa8@udcf.gla.ac.uk> Message-ID: <6.0.0.22.0.20040108173123.02401b78@mail.armbase.com> At 16:58 08/01/2004, you wrote: Hi tom I'll have a look at rev for the code and learn how this one works from first impression it looks like your script will name the images sequentially. I need it to retain the directory name in the file name. I now remember that I saw a script that had something like replace "raw" with \name. OK I'm lost here but I hope you get the meaning. It may also have been replace with characters between \&\. Does that ring a bell? I'm not with it today. :-) Cheers Bob in the lab >I do this in my preOpenCard. >I get the default directory then put my own path into it - afterwards I >put the default back. >I then get a list of the available images. >I then replace parts I need and sort the field and then put back parts. >But you could do any kind of renaming with maybe a global that has the >last name used so none over lap. >in preopencard >-snip- > put the directory into altdir > put defaultFolder & "/media/31i/" into the_path > set the directory to the_path > put the files into theimages > set the directory to altdir > > if char 1 of line 1 of theimages = "." then delete line 1 of theimages > -- .dsstore on mac > repeat with c = 1 to the number of lines in theimages > delete char 1 to 5 of line c of theimages > end repeat > sort lines of theimages numeric > repeat with c = 1 to the number of lines in theimages > put "Slide" before line c of theimages -- you could put anything here > including another repeat with accumulating numbers > end repeat > >-snip- > > >On Jan 8, 2004, at 9:37 AM, Bob Hartley wrote: > >> files bob_raw01.pic 02.pic and 03.pic. My app lists the files and >> allows me to transfer them. It works great. >> > >Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 > > >Advanced Media Group >Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >220 Drake Road, Bethel Park, PA 15102 > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From wouter.abraham at pi.be Thu Jan 8 12:45:55 2004 From: wouter.abraham at pi.be (Wouter) Date: Thu, 8 Jan 2004 18:45:55 +0100 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <20040108162006.26ACB930237@mail.runrev.com> References: <20040108162006.26ACB930237@mail.runrev.com> Message-ID: <82927EA2-4202-11D8-8045-003065CC999E@pi.be> On 08 Jan 2004, at 17:20, use-revolution-request at lists.runrev.com wrote: > Message: 5 > Date: Thu, 8 Jan 2004 08:40:16 -0600 > From: "Ken Ray" > Subject: RE: Rev Crash Again! ... cardImage() function > To: "'How to use Revolution'" > Message-ID: <00f001c3d5f5$58c2c890$6901a8c0 at LightningFlash> > Content-Type: text/plain; charset="US-ASCII" > >> After a clean install of rev with no plugins, the code works >> as long as >> the referenced imagepixmap exists in memory. >> This means one can reference hidden stacks. Otherwise no error is >> thrown and rev crashes. >> In metacard the code works only if the own pixMapID is referenced. >> Referencing other stacks crashes metacard irrevocably. > > What versions of Rev and MC did you do this test on? I'm curious to see > if it is an engine or IDE issue... Rev 2.1.2 mc 2.5 with the latest update of the tools stack both with the 2.5.1 build 3 engine > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > From devin_asay at byu.edu Thu Jan 8 13:02:26 2004 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 08 Jan 2004 11:02:26 -0700 Subject: Rev, Panther and permissions Message-ID: I have had an odd situation crop up in a Mac lab that is running Panther 10.3.2 and Rev 2.1.2. Rev will not launch unless the current user (usually 'macuser') is the owner of the rev folder and its contents. (For unix-y types the permissions are -rwxrwxr-x with macuser the owner and staff the group. And yes, I have set permissions recursively throughout the entire Rev folder.) For any other user, the administrator included, Rev starts to launch, but hangs at the splash screen while the error dialog flashes rapidly behind it. I have to force quit Rev to get out of this condition. I have never had this problem before, so I checked another Mac that still is running OS X 10.2.8 and Rev 2.1. It shows permissions of -rwxrwxr-x with the administrative user as the owner and staff as the group. Any user that is a member of the staff group can launch Rev without problems. Can anyone confirm this? Is there a fix? Devin Asay Humanities Technology and Research Support Center Brigham Young University From dsc at swcp.com Thu Jan 8 13:13:37 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 11:13:37 -0700 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <82927EA2-4202-11D8-8045-003065CC999E@pi.be> Message-ID: <6126A8C6-4206-11D8-BBFC-000A9567A3E6@swcp.com> On Thursday, January 8, 2004, at 10:45 AM, Wouter wrote: >>> After a clean install of rev with no plugins, the code works >>> as long as >>> the referenced imagepixmap exists in memory. >>> This means one can reference hidden stacks. Otherwise no error is >>> thrown and rev crashes. >>> In metacard the code works only if the own pixMapID is referenced. >>> Referencing other stacks crashes metacard irrevocably. >> >> What versions of Rev and MC did you do this test on? I'm curious to >> see >> if it is an engine or IDE issue... > > Rev 2.1.2 > mc 2.5 with the latest update of the tools stack > both with the 2.5.1 build 3 engine I'd like to make this crash, if somebody could show me how. I'm using Rev 2.1.2. Dar Scott From alex at mindlube.com Thu Jan 8 14:04:33 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 8 Jan 2004 12:04:33 -0700 Subject: Rev, Panther and permissions In-Reply-To: References: Message-ID: <7EE59FCC-420D-11D8-B763-000393C4760A@mindlube.com> On Jan 8, 2004, at 11:02 AM, Devin Asay wrote: > > Can anyone confirm this? Is there a fix? Rev was not designed to be multi-user because it saves preferences into components/save/revpreferences.rev, and probably other config files need to be writeable there also. Supposedly in a future release they are going to move everything into proper user locations like ~/preferences like ~/application support. You might be able to grant sufficiently open permissions to get it to work, but your best bet is just give each user their own copy of Revolution. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Thu Jan 8 14:52:23 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 12:52:23 -0700 Subject: Is a stack source code? Message-ID: <2D49C603-4214-11D8-BBFC-000A9567A3E6@swcp.com> Barring any special considerations, do you think it reasonable to call a stack source code? Could I, in good faith, call it that? Would a folder of scripts be source code? I heard Geoff (no doubt holding his breath in a demo as I type) has a method for creating an xml dump of a stack; would that be source code? Dar Scott From JimCarwardine at OwnYourFuture-net.com Thu Jan 8 14:53:25 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Thu, 08 Jan 2004 15:53:25 -0400 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <6126A8C6-4206-11D8-BBFC-000A9567A3E6@swcp.com> Message-ID: This might be my gnu-B status with Rev, but I did this but didn't get the icon updated... set the icon of btn "Gallery Button" to cardImage() In my simple HC-like mind, this should work... Jim on 1/8/04 2:13 PM, Dar Scott wrote: > > On Thursday, January 8, 2004, at 10:45 AM, Wouter wrote: > >>>> After a clean install of rev with no plugins, the code works >>>> as long as >>>> the referenced imagepixmap exists in memory. >>>> This means one can reference hidden stacks. Otherwise no error is >>>> thrown and rev crashes. >>>> In metacard the code works only if the own pixMapID is referenced. >>>> Referencing other stacks crashes metacard irrevocably. >>> >>> What versions of Rev and MC did you do this test on? I'm curious to >>> see >>> if it is an engine or IDE issue... >> >> Rev 2.1.2 >> mc 2.5 with the latest update of the tools stack >> both with the 2.5.1 build 3 engine > > I'd like to make this crash, if somebody could show me how. I'm using > Rev 2.1.2. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From Roger.E.Eller at sealedair.com Thu Jan 8 14:51:07 2004 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Thu, 8 Jan 2004 14:51:07 -0500 Subject: Rev Crash Again! ... cardImage() function Message-ID: Jim, > set the icon of btn "Gallery Button" to cardImage() > In my simple HC-like mind, this should work... Almost... you have to use the id of the image. set the icon of btn "Gallery Button" to 1143 ~Roger roger.e.eller at sealedair.com From wouter.abraham at pi.be Thu Jan 8 15:03:40 2004 From: wouter.abraham at pi.be (Wouter) Date: Thu, 8 Jan 2004 21:03:40 +0100 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <20040108162006.26ACB930237@mail.runrev.com> References: <20040108162006.26ACB930237@mail.runrev.com> Message-ID: On 08 Jan 2004, at 17:20, use-revolution-request at lists.runrev.com wrote: > Message: 11 > Date: Thu, 8 Jan 2004 09:18:13 -0700 > From: Dar Scott > Subject: Re: Rev Crash Again! ... cardImage() function > To: How to use Revolution > Message-ID: <4258D688-41F6-11D8-BBFC-000A9567A3E6 at swcp.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On Thursday, January 8, 2004, at 06:47 AM, Wouter wrote: > >> After a clean install of rev with no plugins, the code works as long >> as the referenced imagepixmap exists in memory. >> This means one can reference hidden stacks. Otherwise no error is >> thrown and rev crashes. > > I don't understand what you mean by "referenced imagepixmap exists in > memory". The created image object is ephemeral and would have to exist > in memory. If a stack is in memory, open (or loaded or whatever you will call it), visible or invisible doesn' t matter (and invisible is the nice part) you can set the imagePixMapID of last image to (the pixMapID of stack pStackPath) If the stack is purged from memory, then when setting the imagePixMapID it doesn't throw an error, it crashes directly. > > Do you mean the stack? I would guess that getting the picture of a > card in a stack that is not open with this method would involve making > it temporarily the current card and then going back, all invisibly. Is > there something in this that conflicts with the function? > >> In metacard the code works only if the own pixMapID is referenced. >> Referencing other stacks crashes metacard irrevocably. > > I'm not sure what you mean by "own pixMapID". In revolution you can do for example: set the imagePixMapID of last image to (the pixMapID of stack "revDocTips") if the window is open, visible or not (stack "revDocTips" is purged from memory when closed, so a check if it is still in the windows is necessary). In metacard if your handler is taking the pixmapId of its own stack, it works If you do for example: set the imagePixMapID of last image to (the pixMapID of stack "Home") or any other stack then metacard crashes on the statement > > Maybe what is fishy is something in going to a foreign card and back. > > > Are you saying they crash in different ways or in different conditions? > > Dar Scott > WA From dsc at swcp.com Thu Jan 8 15:06:11 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 13:06:11 -0700 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: Message-ID: <1AF397D3-4216-11D8-BBFC-000A9567A3E6@swcp.com> On Thursday, January 8, 2004, at 12:53 PM, Jim Carwardine wrote: > This might be my gnu-B status with Rev, but I did this but didn't get > the > icon updated... > > set the icon of btn "Gallery Button" to cardImage() cardImage() returns the PNG form of the image itself. The icon property is an image id. You might try one of these: 1. Switch to image instead of button. Lock down the size beforehand. Script the image as though a button. set the text of the image "Gallery" to cardImage() or put cardImage() into image "Gallery" 2. Put the image into another image object and have the button point to that. Keep the image invisible. put cardImage() into image "Image for Gallery Button" set the icon of button "Gallery Button" to the id of image "Image for Gallery Button" Note that some folks have reported on this list that this function can cause a crash in some cases. I'm not sure what those cases are. Stay tuned. Dar Scott From alex at mindlube.com Thu Jan 8 15:07:24 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 8 Jan 2004 13:07:24 -0700 Subject: Is a stack source code? In-Reply-To: <2D49C603-4214-11D8-BBFC-000A9567A3E6@swcp.com> References: <2D49C603-4214-11D8-BBFC-000A9567A3E6@swcp.com> Message-ID: <46A150B0-4216-11D8-B763-000393C4760A@mindlube.com> On Jan 8, 2004, at 12:52 PM, Dar Scott wrote: > Barring any special considerations, do you think it reasonable to call > a stack source code? Yeah, unless you are calling it that to a jaded Unix C programmer :-) Maybe "project file" or "source package" or something. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From wouter.abraham at pi.be Thu Jan 8 15:17:39 2004 From: wouter.abraham at pi.be (Wouter) Date: Thu, 8 Jan 2004 21:17:39 +0100 Subject: Rev Crash Again! In-Reply-To: <20040108162006.26ACB930237@mail.runrev.com> References: <20040108162006.26ACB930237@mail.runrev.com> Message-ID: On 08 Jan 2004, at 17:20, use-revolution-request at lists.runrev.com wrote: > Message: 4 > Date: Thu, 8 Jan 2004 08:38:40 -0600 > From: "Ken Ray" > Subject: RE: Rev Crash Again! > To: "'How to use Revolution'" > Message-ID: <00ef01c3d5f5$1efb5f00$6901a8c0 at LightningFlash> > Content-Type: text/plain; charset="US-ASCII" > >> < There are many times you might >> want to export the contents of a card >> to a JPG or PNG file, and MetaCard/Revolution's built in export >> snapshot command takes a literal screenshot, so things like palettes >> and toolbars can get in the way of getting a clean image of the card. >> Additionally, you might have a stack window which is larger than the >> current monitor, and need to export the card image; export snapshot >> just won't cut it in these cases. > >> >> which is actually not correct because one can: >> >> import snapshot from rect the rect of window < windowname > > > Well, the comment was condemning "export snapshot", not "import > snapshot"; import snapshot suffers many of the same problems, though as > the TD states: "if the window is partly overlapped by another window, > whatever is visible on the screen within that rectangle is placed in > the > snapshot". Basically, it literally takes a screen capture, whereas the > tip at > http://www.sonsothunder.com/devres/revolution/revolution.htm? > _imag007.ht > m is not doing a screen capture; it is reading directly from the > window's image buffer to create the export. > > Just a clarification, :^) in the TD is stated: export snapshot [from rect[angle] rectangle [of window windowID]] \ to {file filePath |container} [as format] [with mask maskFile] and this works: on mouseup export snapshot from rect the rect of this stack to txCurrentCardImage as PNG put txCurrentCardImage into fld "thumbnail" end mouseup > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ WA From dsc at swcp.com Thu Jan 8 15:21:03 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 13:21:03 -0700 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: Message-ID: <2E62F857-4218-11D8-BBFC-000A9567A3E6@swcp.com> Wouter wroter: > set the imagePixMapID of last image to (the pixMapID of stack > pStackPath) > set the imagePixMapID of last image to (the pixMapID of stack > "revDocTips") Ah. I get it. You were talking about possible variations on cardImage(). The function cardImage() does not do either of those. It is limited in what it does to avoid crashes. It might be great to have a reliable way to directly get the image of some stack that is not current. However, the cardImage() function was designed to get the current card of the current stack. I am hoping there is some way to quietly make some card current, take the image, and then go back. There are issues concerning whether messages should be sent. This works in the current stack (fine for special effects), but I have not tried to come up with a method for a card outside the current stack; maybe "go invisible", get the picture, "go back", maybe with screen locking. Dar Scott From dsc at swcp.com Thu Jan 8 15:27:43 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 13:27:43 -0700 Subject: Rev Crash Again! In-Reply-To: Message-ID: <1D20FDC6-4219-11D8-BBFC-000A9567A3E6@swcp.com> On Thursday, January 8, 2004, at 01:17 PM, Wouter wrote: > on mouseup > export snapshot from rect the rect of this stack to > txCurrentCardImage as PNG > put txCurrentCardImage into fld "thumbnail" > end mouseup Nope. Even if "fld" is changed to "image". If the property inspector is over part of it, that part is included. If the stack extends off the window, the image is truncated (and stretched in the thumbnail). Maybe I missed the point? Dar Scott From 3mcgrath at adelphia.net Thu Jan 8 16:14:52 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 16:14:52 -0500 Subject: replace text in url field In-Reply-To: <6.0.0.22.0.20040108173123.02401b78@mail.armbase.com> References: <6.0.0.22.0.20040108142943.02489fa8@udcf.gla.ac.uk> <6.0.0.22.0.20040108173123.02401b78@mail.armbase.com> Message-ID: Hi Bob, I don't remember but I do know you can take the original name apart and add your own name to it. This is not real code syntax but shows the idea: put (name of folder) into myfolderVar fix the directory to this one load the directory files into mydirVar now you have name of folder and list of files now repeat with x = 1 to num lines of mydirVar delete char 1 to ? of line x of mydirVar put "Image"& x before line x of mydirVar end repeat now you have a new name for each image based on the number of lines. you could put the num lines into a global and add to that for the x naming or you could put a time or special name to each image Or in your case you might just want to use the same name and the "if there is a" to check the file already exists and if so add a 1 to it and if that exists than add a 2 etc. this is a lot less coding and then you can ignore all of the other issues. 1raw***.pic 2raw***.pic etc. or add the long time before each with no punctuation in it 31801raw***.pic OR even better set the twelveHourTime to false put the dateTime into mytime set the twelveHourTime to true put mytime before line x of myDirVar now each item should??? be different There may be an even better way??? Tom On Jan 8, 2004, at 12:37 PM, Bob Hartley wrote: > At 16:58 08/01/2004, you wrote: > > Hi tom > > I'll have a look at rev for the code and learn how this one works > > from first impression it looks like your script will name the images > sequentially. > > I need it to retain the directory name in the file name. > > I now remember that I saw a script that had something like replace > "raw" with \name. OK I'm lost here but I hope you get the meaning. It > may also have been replace with characters between \&\. > > Does that ring a bell? > > I'm not with it today. :-) > > Cheers > Bob in the lab >> I do this in my preOpenCard. >> I get the default directory then put my own path into it - afterwards >> I put the default back. >> I then get a list of the available images. >> I then replace parts I need and sort the field and then put back >> parts. But you could do any kind of renaming with maybe a global that >> has the last name used so none over lap. >> in preopencard >> -snip- >> put the directory into altdir >> put defaultFolder & "/media/31i/" into the_path >> set the directory to the_path >> put the files into theimages >> set the directory to altdir >> >> if char 1 of line 1 of theimages = "." then delete line 1 of >> theimages -- .dsstore on mac >> repeat with c = 1 to the number of lines in theimages >> delete char 1 to 5 of line c of theimages >> end repeat >> sort lines of theimages numeric >> repeat with c = 1 to the number of lines in theimages >> put "Slide" before line c of theimages -- you could put anything >> here including another repeat with accumulating numbers >> end repeat >> >> -snip- >> >> >> On Jan 8, 2004, at 9:37 AM, Bob Hartley wrote: >> >>> files bob_raw01.pic 02.pic and 03.pic. My app lists the files and >>> allows me to transfer them. It works great. >>> >> >> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, >> Rev 2.1.2 >> >> >> Advanced Media Group >> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >> 220 Drake Road, Bethel Park, PA 15102 >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Thu Jan 8 16:16:09 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 16:16:09 -0500 Subject: Rev, Panther and permissions In-Reply-To: <7EE59FCC-420D-11D8-B763-000393C4760A@mindlube.com> References: <7EE59FCC-420D-11D8-B763-000393C4760A@mindlube.com> Message-ID: There should be a fix permissions in the Utilities folder in applications? If not then I must have downloaded it from .mac tom On Jan 8, 2004, at 2:04 PM, Alex Rice wrote: > > On Jan 8, 2004, at 11:02 AM, Devin Asay wrote: >> >> Can anyone confirm this? Is there a fix? > > Rev was not designed to be multi-user because it saves preferences > into components/save/revpreferences.rev, and probably other config > files need to be writeable there also. Supposedly in a future release > they are going to move everything into proper user locations like > ~/preferences like ~/application support. > > You might be able to grant sufficiently open permissions to get it to > work, but your best bet is just give each user their own copy of > Revolution. > > > Alex Rice | Mindlube Software | > > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From alex at mindlube.com Thu Jan 8 16:19:45 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 8 Jan 2004 14:19:45 -0700 Subject: Rev, Panther and permissions In-Reply-To: References: <7EE59FCC-420D-11D8-B763-000393C4760A@mindlube.com> Message-ID: <61B6868C-4220-11D8-B763-000393C4760A@mindlube.com> On Jan 8, 2004, at 2:16 PM, Thomas J McGrath III wrote: > There should be a fix permissions in the Utilities folder in > applications? > If not then I must have downloaded it from .mac You can also do it from the Finder Get Info | Ownership & Permissions | Details | Apply to enclosed items... Or from terminal.app chown -R xxx /Applications/Revolution chmod -R user:group /Applications/Revolution Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From 3mcgrath at adelphia.net Thu Jan 8 16:20:03 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 16:20:03 -0500 Subject: Win98 loses path In-Reply-To: <5017A7D4-41FE-11D8-BBFC-000A9567A3E6@swcp.com> References: <5017A7D4-41FE-11D8-BBFC-000A9567A3E6@swcp.com> Message-ID: <6CA6DF0E-4220-11D8-9EC9-000A95DA60FA@adelphia.net> I have not tested it in 98 YET but the feeling is good only because in 98 some of the paths (set in profile) worked and the ones set by default folder did not - so that tells me that default folder got lost in 98 and this issue is related to the default folder getting lost - so I hope this fixed the 98 problem as well. To my logic it seems like it would. :-) we'll see. Thanks again Dar and everyone for helping me. I hope to pass on what has so freely been given to me. Tom On Jan 8, 2004, at 12:15 PM, Dar Scott wrote: > > On Thursday, January 8, 2004, at 10:03 AM, Thomas J McGrath III wrote: > >> The windows app acts like it is at the root level even though it is >> in a sub folder. I guess the autorun.inf makes the rev standalone >> 'think' it was launched at the root level even though it wasn't. I >> also guess that windows does not like the autorun.inf and the app it >> launches to be at the same level. So against my logic it works. >> > Against mine, too. Have you tested this with 98 yet? > > Maybe this rates a tip in the doc. Or maybe a comment under > defaultFolder. Or both. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From alptex2 at orwell.net Thu Jan 8 16:25:46 2004 From: alptex2 at orwell.net (T. R. Ponn) Date: Thu, 08 Jan 2004 16:25:46 -0500 Subject: Is a stack source code? References: <2D49C603-4214-11D8-BBFC-000A9567A3E6@swcp.com> Message-ID: <3FFDCADA.9010902@orwell.net> Hmmmm...it sounds like you got of bed on the philosphical side this morning. :-) I guess, IMHO, it's as much source code as that written for any other compiler...though, as Alex said, you may not get full respect from some of the lower level language guys. You still use a compiler to make your source code understandable to the machine...whether it happens at runtime or prior to it. So, that's my vote! Best Regards, Tim Ponn Dar Scott wrote: > Barring any special considerations, do you think it reasonable to call > a stack source code? Could I, in good faith, call it that? Would a > folder of scripts be source code? I heard Geoff (no doubt holding his > breath in a demo as I type) has a method for creating an xml dump of a > stack; would that be source code? > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From 3mcgrath at adelphia.net Thu Jan 8 16:32:30 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 16:32:30 -0500 Subject: dotted lines in windows around back layer button Message-ID: <2A1509C4-4222-11D8-9EC9-000A95DA60FA@adelphia.net> Hello all once again, I have a substack with three buttons (prev, home, next) to advance my slide images. Everything is ok there. Due to an accentColor issue and default button issue I have when in windows I have set the Home button to the back layer (1). accentColor still discolors this button when I open the stack in windows (like a default button behavior). The other issue I have is there are little dotted lines around the inside of this button that show up in windows when I select it and that part is ok. BUT because of some type of default behavior they show up when the stack opens BEFORE I select that button. It happens to which ever button is set to the lowest layer. (it acts like it has been selected) It does not show up on the Mac. I do not have default button in properties checked. 1. can the dotted lines be made to go away? 2. does anyone know how to not have any default button? 3. does anyone know where accentColor is located via property inspector? - I change it now via scripts and 4wprops and rev's very large list of named colors. Way cool. thank you all tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From jiml at netrin.com Thu Jan 8 16:33:54 2004 From: jiml at netrin.com (Jim Lambert) Date: Thu, 8 Jan 2004 13:33:54 -0800 Subject: Is a stack source code? In-Reply-To: <20040108211559.87AFF93023D@mail.runrev.com> Message-ID: >From The Free On-line Dictionary of Computing "Source Code - The form in which a computer program is written by the programmer. Source code is written in some formal programming language which can be compiled automatically into object code or machine code or executed by an interpreter." seem like a stack is source code by this definition. other definitions sometimes leave out the interpreter (wrongly, I feel.) I don't think there is a legal definition except as agreed to by parties to a contract. jim lambert --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.559 / Virus Database: 351 - Release Date: 1/7/04 From graham.samuel at wanadoo.fr Thu Jan 8 16:11:07 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Thu, 08 Jan 2004 22:11:07 +0100 Subject: Win98 loses path Message-ID: <5.2.1.1.0.20040108212617.00c51260@pop.wanadoo.fr> On Wed, 7 Jan 2004 12:38:33 -0500, James.Cass at sealedair.com wrote: >Windows 98 users better upgrade to XP. Microsoft is pounding the final >coffin nails into 98. The funeral is next Friday. (01/16/2004 ) >More: http://slashdot.org/article.pl?sid=04/01/04/2158233 They won't, at least not in any predictable timeframe. All the people on this list are an order of magnitude (at least) more technically aware than the average PC user, particularly if the PC was purchased for him/her to carry out some specific task (such as teaching) by an under-funded organisation with little or no interest in paying Microsoft after the initial purchase to buy more stuff (to such an organisation, an OS is stuff - and it's usually in the hardware budget). The upgrade philosophy of this type of user is "if it ain't broke, don't fix it". In a year or so they may throw away the PC and start again because they really need the added speed and functionality that a more modern machine will provide, but that's pretty much all you can hope for. I'm talking about schools, primarily. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From graham.samuel at wanadoo.fr Thu Jan 8 16:09:51 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Thu, 08 Jan 2004 22:09:51 +0100 Subject: Rev Crash Again! Message-ID: <5.2.1.1.0.20040108213731.01bc4c60@pop.wanadoo.fr> On Wed, 07 Jan 2004 14:07:53 -0400, Jim Carwardine wrote: [a heartfelt cry about a crash in Rev to do with PixMapIDs] As a very latecomer to this topic (I'm a digest reader who has built up a bit of a backlog), I note that Jim had a script which did: > set the imagePixMapID of img "Gallery Image" to (the pixMapID of stack > pStackPath) I just noticed that in the TD it says: >Use the imagePixmapID property to pass the window ID to an external that >needs to manipulate the window. > >Value: >The imagePixmapID of a stack is an integer. > >This property is read-only and cannot be set. To me this says that if you try to set this property, the results could be unpredictable. However I note that other listers seem unperturbed by this - how come? Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From capellan2000 at yahoo.com Thu Jan 8 17:04:47 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 8 Jan 2004 14:04:47 -0800 (PST) Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <20040108211559.87AFF93023D@mail.runrev.com> Message-ID: <20040108220447.65821.qmail@web40509.mail.yahoo.com> on Thu, 8 Jan 2004 21:03:40 +0100 Wouter wrote: >If a stack is in memory, open >(or loaded or whatever you will call it), >visible or invisible doesn' t matter >(and invisible is the nice part)you can >set the imagePixMapID of last image to >(the pixMapID of stack pStackPath) In Windows 98, this line of code works fine in Revolution 1.1, but produces the error "bad pixmap id" in MetaCard 2.5 (but do not crash). ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From 3mcgrath at adelphia.net Thu Jan 8 17:19:51 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 17:19:51 -0500 Subject: Is a stack source code? In-Reply-To: References: Message-ID: FWIW a stack holds the source code. syntax still works for me syntactical code higher level programming language scripting language xTalk On Jan 8, 2004, at 4:33 PM, Jim Lambert wrote: >> From The Free On-line Dictionary of Computing > > "Source Code - The form in which a computer program is written by > the programmer. Source code is written in some formal > programming language which can be compiled automatically into > object code or machine code or executed by an interpreter." > > seem like a stack is source code by this definition. other definitions > sometimes leave out the interpreter (wrongly, I feel.) > I don't think there is a legal definition except as agreed to by > parties to > a contract. > > jim lambert > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.559 / Virus Database: 351 - Release Date: 1/7/04 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From dcragg at lacscentre.co.uk Thu Jan 8 17:37:55 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 8 Jan 2004 22:37:55 +0000 Subject: Is a stack source code? In-Reply-To: <3FFDCADA.9010902@orwell.net> References: <2D49C603-4214-11D8-BBFC-000A9567A3E6@swcp.com> <3FFDCADA.9010902@orwell.net> Message-ID: At 4:25 pm -0500 8/1/04, T. R. Ponn wrote: >Hmmmm...it sounds like you got of bed on the philosphical side this >morning. :-) My guess would be a potential client just dumped a 185-page contract on Dar's desk with the words "ownership", "copyright", and "source code" scattered throughout. :) Which is it, Dar? Cheers Dave From ops at myesa.com Thu Jan 8 17:52:01 2004 From: ops at myesa.com (Ops) Date: Thu, 8 Jan 2004 16:52:1 -0600 Subject: Update a global when going to a stack as modal Message-ID: <20040108225210.IGID24575.lakemtao06.cox.net@paul-lap> Just to get the obvious out of the way....you *did* define gFoo as a global in Stack B...correct? ======= At 2004-01-07, 12:20:00 you wrote: ======= >I have a handler in stack A of the pseudo form below > ... > LINE 1 > LINE 2 > LINE 3 > ... > >The text that is put into the field on stack A is inevitably "Before". >However, if I immediately type > > put gFoo into fld "Information" > >the data that was collected in stack B is put into the field in stack A as >expected. The global is populated as I would want, except it is as if line >3 above is run before line 2. What is going on? Can I not switch between >stacks and collect data? Is there a workaround? > >Mark >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution = = = = = = = = = = = = = = = = = = = = From JonathanC at ag.nsw.gov.au Thu Jan 8 18:26:41 2004 From: JonathanC at ag.nsw.gov.au (JonathanC at ag.nsw.gov.au) Date: Fri, 9 Jan 2004 10:26:41 +1100 Subject: Making handlers always available on startup In-Reply-To: <20040108162006.26ACB930237@mail.runrev.com> Message-ID: From: Scott Rossi wrote on Thu, 08 Jan 2004 08:03:07 -0800 > On 1/8/04 4:03 AM, "JonathanC at ag.nsw.gov.au" > wrote: > > > I have come to Rev fairly recently from HyperCard. One of the things I > > liked to do in HyperCard was creating custom handlers and having them > > available in any stack. Some of these handlers would refer to other stacks > > (usually in the same folder as the Home stack, so they could just be > > referred to by their short names rather than their full paths). > > ... > > Isn't there the equivalent of a default "startUp" handler somewhere (like > > HyperCard's)? If so, I couldn't find it. > > Isn't "start using stack xyz" what you want? Thanks, I know I can use that command, but: 1. How do I get Revolution to execute that command every time it starts up? 2. How can I refer to stacks (or stack files) just by their short names? Regards, Jonathan Cooper Manager of Information / Website Art Gallery of New South Wales Sydney, Australia http://www.artgallery.nsw.gov.au This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Art Gallery of NSW (ABN 24 934 492 575) or its related entities. From frank at backtalk.com Thu Jan 8 18:52:11 2004 From: frank at backtalk.com (Frank Leahy) Date: Thu, 8 Jan 2004 23:52:11 +0000 Subject: Update a global when going to a stack as modal In-Reply-To: <20040108225320.95579930233@mail.runrev.com> Message-ID: Mark, This doesn't work because LINE 3 gets executed right after LINE 2, not after the dialog is closed (i.e. Revolution doesn't wait for the modal dialog to be closed before it executes LINE 3). In stack A you'll need two functions, one that setups and then calls the modal dialog, and the other (I call it a return handler) that is called when the modal dialog is closed: global gFoo, gMyDialogHandler on functionA put "Before" into global gFoo put "MyReturnFunction" into gMyDialogHandler push card go to stack B as modal end functionA on MyReturnFunction put gFoo into field "Information" end MyReturnFunction In stack B, when the modal dialog is closed, do this: global gFoo, gMyDialogHandler put myData into gFoo destroy stack this stack pop card -- you're back at stack A at this point, so call your return handler send gMyDialogHandler to this stack Hope this helps. -- Frank Leahy http://cornwall.backtalk.com/ On Thursday, January 8, 2004, at 10:53 PM, use-revolution-request at lists.runrev.com wrote: > Just to get the obvious out of the way....you *did* define gFoo as a > global in Stack B...correct? > > ======= At 2004-01-07, 12:20:00 you wrote: ======= > >> I have a handler in stack A of the pseudo form below >> ... >> LINE 1 >> LINE 2 >> LINE 3 >> ... >> >> The text that is put into the field on stack A is inevitably "Before". >> However, if I immediately type >> >> put gFoo into fld "Information" >> >> the data that was collected in stack B is put into the field in stack >> A as >> expected. The global is populated as I would want, except it is as >> if line >> 3 above is run before line 2. What is going on? Can I not switch >> between >> stacks and collect data? Is there a workaround? >> >> Mark From doug at webcrossing.com Thu Jan 8 19:09:55 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 09 Jan 2004 09:09:55 +0900 Subject: Conceptual question about opening multiple windows ofthesamekind In-Reply-To: <010a01c3d60d$acc1d950$6901a8c0@LightningFlash> Message-ID: On 1/9/04 2:34 AM, "Ken Ray" wrote: >>> If it is multiple "documents" of the same type, I'd use >> cloning. You >>> don't even have to delete them; clones reside in memory only unless >>> you save them to disk, so as soon as you close a clone it's gone. >> >> What do you mean by multiple documents? Is a window/stack in >> this case considered a "document"? > > Yes, I guess. What I meant was a stack that is fundamentally the same > structure but with different content (think Microsoft Word or a painting > program that lets you open multiple canvasses). In this case, I'd open > the "original" invisibly, clone it, and close the original. Then the > user can work in the cloned window and it will dispose of itself > automatically when closed. OK. That it one of the ideas I was thinking of too. Then the original one would act like a "template" of sorts for all the temporary windows that were open. I'll give that method a go. Thanks, doug From alex at mindlube.com Thu Jan 8 19:21:54 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 8 Jan 2004 17:21:54 -0700 Subject: [ANN] RevZeroconf 0.9 Message-ID: "Rendezvous enables automatic discovery of computers, devices, and services on IP networks. Also known as Zero Configuration networking, Rendezvous uses industry standard IP protocols to allow devices to automatically find each other without the need to enter IP addresses or configure DNS servers. " --apple.com RevZeroconf is an external library wrapping the cross-platform Howl rendezvous/zeroconf networking library . RevZeroconf includes a demo app for Windows 2K-XP and Mac OS 10.2 or newer, documentation and source code. Howl 0.9 introduces a new text record format for the service text. There is a note in the RevZeroconf README about that. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From doug at webcrossing.com Thu Jan 8 19:24:19 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 09 Jan 2004 09:24:19 +0900 Subject: Is a stack source code? In-Reply-To: <2D49C603-4214-11D8-BBFC-000A9567A3E6@swcp.com> Message-ID: I think the xml dump would be considered source code, because the stack itself has compiled stuff in it. doug On 1/9/04 4:52 AM, "Dar Scott" wrote: > Barring any special considerations, do you think it reasonable to call > a stack source code? Could I, in good faith, call it that? Would a > folder of scripts be source code? I heard Geoff (no doubt holding his > breath in a demo as I type) has a method for creating an xml dump of a > stack; would that be source code? > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Thu Jan 8 19:59:06 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 19:59:06 -0500 Subject: standalone naming Message-ID: <067789BA-423F-11D8-9EC9-000A95DA60FA@adelphia.net> Does anyone know if once you build a standalone application if changing the name afterwards will effect the internal scripts that check the stack name? I do - if the short name of this stack is "stackname" then yada-yada do this and that end if after I build I then changed the name of the stack to "stackname OS9" so as to distinguish it between the OSx version on the same CD. Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From sarahr at genesearch.com.au Thu Jan 8 21:24:09 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 9 Jan 2004 12:24:09 +1000 Subject: dotted lines in windows around back layer button In-Reply-To: <2A1509C4-4222-11D8-9EC9-000A95DA60FA@adelphia.net> References: <2A1509C4-4222-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: > It happens to which ever button is set to the lowest layer. (it acts > like it has been selected) > It does not show up on the Mac. I do not have default button in > properties checked. > > 1. can the dotted lines be made to go away? Yes, turn off traversalOn for the button. > 2. does anyone know how to not have any default button? traversalOn may fix this as well. I think Windows is trying to focus on the first button so that you can "click" it by pressing Enter. It isn't really default. Turning off traversalON means that it can't be selected by keyboard, only by mouse. > 3. does anyone know where accentColor is located via property > inspector? - I change it now via scripts and 4wprops and rev's very > large list of named colors. Way cool. I don't think it can be set from the Inspector. It is a system property that is read on startup and applied, but you can change it manually after that by scripting. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From wouter.abraham at pi.be Thu Jan 8 21:34:35 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 9 Jan 2004 03:34:35 +0100 Subject: Rev Crash Again! In-Reply-To: <20040108211559.BD799930255@mail.runrev.com> References: <20040108211559.BD799930255@mail.runrev.com> Message-ID: <5D56FBF6-424C-11D8-8045-003065CC999E@pi.be> Some further investigation on the crashes when: set the imagePixMapID of last image to (the pixMapID of stack pStackPath) In the TD on the imagePixMapId card : Use the imagePixmapID property to pass the window ID to an external that needs to manipulate the window. So the following handler : on mouseup put the pixmapID of stack "Home" into a put the windowid of stack "Home" into b put the pixmapID of this stack into c put the windowid of this stack into d put a && b && c && d end mouseup In metacard (2.5.1 build 3 OS X 10.3.2) a = b c = d when setting the resizable to false when adding an image to the card and the resizable is true then a = b c <> d when setting the resizable to false again then a = b c = d again In revolution 2.1.2 (OS X 10.3.2) a = b c <> d adding a card, setting the resizable doesn't change this results When in metacard a stacks pixmapID < > its windowid then Dar's handler is working as a charm (here at least) > > I'd like to make this crash, if somebody could show me how. I'm using > Rev 2.1.2. > > Dar Scott Dar if you want to make this crash, look for a stack which pixmapID = windowid (home for example) and try your handler with that pixmapID. (HTH :^) May be others mileage will differ. Need to sleep now, Goodnight or rather goodmorning, WA From 3mcgrath at adelphia.net Thu Jan 8 21:48:58 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 21:48:58 -0500 Subject: dotted lines in windows around back layer button In-Reply-To: References: <2A1509C4-4222-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: <5F9E7E96-424E-11D8-BF9D-000A95DA60FA@adelphia.net> Sarah, Thank you. Why does it not work on the Mac then??? I just went to the windows app and tabbed and entered and yes they are acting like keyboard controlled buttons. But when I open the Mac version tab does nothing and enter does nothing and also the buttons don't appear to be highlighted or dotted lined????? Is it just a Windows thing? Or does something else control the Mac acting this way. It is distracting but now I need to decide whether to turn it off or not (now that I know what it is thanks to you). I can explain it to the users as keyboard control BUT then I need it to work on the Mac as well. How do I do that? Thanks again Tom On Jan 8, 2004, at 9:24 PM, Sarah Reichelt wrote: >> It happens to which ever button is set to the lowest layer. (it acts >> like it has been selected) >> It does not show up on the Mac. I do not have default button in >> properties checked. >> >> 1. can the dotted lines be made to go away? > Yes, turn off traversalOn for the button. >> 2. does anyone know how to not have any default button? > traversalOn may fix this as well. I think Windows is trying to focus > on the first button so that you can "click" it by pressing Enter. It > isn't really default. Turning off traversalON means that it can't be > selected by keyboard, only by mouse. > >> 3. does anyone know where accentColor is located via property >> inspector? - I change it now via scripts and 4wprops and rev's very >> large list of named colors. Way cool. > I don't think it can be set from the Inspector. It is a system > property that is read on startup and applied, but you can change it > manually after that by scripting. > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From sarahr at genesearch.com.au Thu Jan 8 21:50:52 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 9 Jan 2004 12:50:52 +1000 Subject: standalone naming In-Reply-To: <067789BA-423F-11D8-9EC9-000A95DA60FA@adelphia.net> References: <067789BA-423F-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: Hi Tom, You need to distinguish between the name of the stack, the name of the stack FILE and the name of the standalone app. Consider a structure like this: file "MyStackFile.rev" containing stacks: "MyStack" & "SubStack" Your scripts probably refer to stack "MyStack" and stack "SubStack". If you are using relative file paths, you may be using: the fileName of stack "MyStack" which probably gives you something like: /Users/tom/Documents/RevStacks/MyStackFile.rev When you build your application, you can call it whatever you like, e.g. MyApp It still contains the 2 stacks and any scripts referring to them will still know where to go. You can change the app's name without any problem, unless you have specifically referred to the application's name in any of the scripts. With OS X, getting the fileName of the stack is then a bit different as the stack is buried inside the bundle folder. Once built, the fileName of stack "MyStack" will give something like this: /Users/tom/Desktop/MyApp_MacOSX_Standalone/MyApp.app/Contents/MacOS/ Revolution You may need to take this into account when constructing relative paths, but you can certainly change the name of the application and the .rev file whenever you want. The actual stack names are the only ones you need to be careful about renaming. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 9 Jan 2004, at 11:16 am, Thomas J McGrath III wrote: > Does anyone know if once you build a standalone application if > changing the name afterwards will effect the internal scripts that > check the stack name? > > I do - > if the short name of this stack is "stackname" then > yada-yada do this and that > end if > > after I build I then changed the name of the stack to "stackname OS9" > so as to distinguish it between the OSx version on the same CD. > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From 3mcgrath at adelphia.net Thu Jan 8 22:10:23 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 8 Jan 2004 22:10:23 -0500 Subject: standalone naming In-Reply-To: References: <067789BA-423F-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: <5D589FBA-4251-11D8-BF9D-000A95DA60FA@adelphia.net> Thanks again Sarah, Ok, this is good. But how do you reference the app name versus the stack name? And why would you? THis will help me understand a great deal. If I refer to an image in a subfolder at the same level as the app then in OSX how are the images referenced from with in the bundle? It seems I might get in trouble then renaming the OSX bundle. referencing things is a bit complicated. I might just stick to renaming the OS9 version so it is distinguishable from the OSX version and leave the OSX version alone. I finally got the windows autorun.inf version running and want to get this done right. Thanks again Tom On Jan 8, 2004, at 9:50 PM, Sarah Reichelt wrote: > Hi Tom, > > You need to distinguish between the name of the stack, the name of the > stack FILE and the name of the standalone app. > > Consider a structure like this: > file "MyStackFile.rev" > containing stacks: "MyStack" & "SubStack" > Your scripts probably refer to stack "MyStack" and stack "SubStack". > If you are using relative file paths, you may be using: > the fileName of stack "MyStack" > which probably gives you something like: > /Users/tom/Documents/RevStacks/MyStackFile.rev > > When you build your application, you can call it whatever you like, > e.g. MyApp > It still contains the 2 stacks and any scripts referring to them will > still know where to go. You can change the app's name without any > problem, unless you have specifically referred to the application's > name in any of the scripts. > > With OS X, getting the fileName of the stack is then a bit different > as the stack is buried inside the bundle folder. Once built, > the fileName of stack "MyStack" > will give something like this: > /Users/tom/Desktop/MyApp_MacOSX_Standalone/MyApp.app/Contents/MacOS/ > Revolution > > You may need to take this into account when constructing relative > paths, but you can certainly change the name of the application and > the .rev file whenever you want. The actual stack names are the only > ones you need to be careful about renaming. > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > > On 9 Jan 2004, at 11:16 am, Thomas J McGrath III wrote: > >> Does anyone know if once you build a standalone application if >> changing the name afterwards will effect the internal scripts that >> check the stack name? >> >> I do - >> if the short name of this stack is "stackname" then >> yada-yada do this and that >> end if >> >> after I build I then changed the name of the stack to "stackname OS9" >> so as to distinguish it between the OSx version on the same CD. >> >> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, >> Rev 2.1.2 >> >> >> Advanced Media Group >> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >> 220 Drake Road, Bethel Park, PA 15102 >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From scott at tactilemedia.com Thu Jan 8 22:10:49 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 08 Jan 2004 19:10:49 -0800 Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: <16246731276.20040107233548@ahsoftware.net> Message-ID: On 1/7/04 11:35 PM, "Mark Wieder" wrote: > And the midi loops stuff looks like fun until you want to move off the > dominant chord. I couldn't find any way to do that and the Apple rep > who was demoing the product couldn't figure it out either. I remember > that when SJ was doing his dog-and-pony show he was basically just > grabbing sound samples and adding them in, but everything was based on > a single chord. Not sure if you're talking about transposing here, but I was pleasantly surprised to discover that loops in GarageBand and SoundTrack are not simple audio loops, but rather MIDI sequences combined with sound samples. If the Apple rep I spoke with was correct, the loops are, in effect, similar to MOD files from years ago: files that contain sequencing information and small instrument samples. Thus you can change the key and tempo of loops without affecting quality. This is not to argue that GarageBand is a replacement for the other commercial audio apps, but I, for one, was wondering how Apples loops compared to those of other music building apps (GrooveMaker, MixMan, etc). Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From katir at hindu.org Thu Jan 8 22:11:18 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 8 Jan 2004 17:11:18 -1000 Subject: legendary Monks liberated by Revolution In-Reply-To: References: <20031209220008.57EAA930138@mail.runrev.com> Message-ID: <7E0699D9-4251-11D8-B4DE-000A959D0AC6@hindu.org> Brian and team: Here at Kauai Aadheenam, (monastery) monks *DO* have Macs (and a few PCs that we love to use (for accounting) to prove why we love our Macs) I got the CD.. Congratulations on the outstanding work and the amazing port over to Revolution! Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On Dec 9, 2003, at 2:37 PM, Brian Thomas wrote: > "Legendary ? almost defies description" was MacUser magazine's > description of the original 1988 HyperCard classic, If Monks had Macs. > > "If Monks had Windows -- they'd jump out of them!" was the reaction of > the first programmer that I talked to about moving If Monks from Macs > to Windows. That was in 1995 -- long before the Revolution. > > Over the following decade I tried... > > :: MacroMedia Director > (they built the Bob Dylan CD-ROM in director and you couldn't even > do a simple find thru Dylan's lyrics!) > > :: Quicktime Interactive -- HyperCard as a front end for Quicktime > (vaporized) > > :: OMO, Oracle Media Objects > (you couldn't build a sensuous believable world that linked > interconnected stacks - our library has 24 volumes) > > :: the beta of SuperCard for Windows > (there was a reason it was never released) > > :: mTropolis > (cool, but you can't build applications and it's been dead for many > years) > > And finally, MetaCard and Revolution. And, I have to say, after all > I've been through, these programs do Windows well. What a joy it was > to move files over to Windows time after time and know they were going > to work perfectly. (I can't resist saying if only OS X had been that > easy -- but I think it probably is that easy NOW. Windows had been > conquered long before I started using MetaCard and now OS X will be > that way for new users.) > > So, 15 years later, the longest running project in the history of > interactive media has arrived thanks to the MetaCard and Revolution > teams, the beta testers ... > > and the If Monks programmers: > > :: RICHARD GASKIN of Fourth World Media Corporation helped tie most of > the project together and developed two amazing applications. First, > our unique threaded journaling application. (With our threaded journal > you can shape the way you look at yourself and your world.) AND > second, Sophie, our new e-book reader which you can learn more about > and download from FourthWorld.com: > > http://www.fourthworld.com/products/sophie/index.html > > :: TUVIAH SNYDER moved the journal onto Revolution, developed a new > game for us AND was invaluable as a MetaCard and then a Revolution > employee helping us make the "MYST" like opening with its seamless > integration of HyperCard and Quicktime work, well, seamlessly. > > :: JEANNE DeVOTO programmed the way our giant images of the Tower of > Babel scroll smoothly and elegantly across the screen AND served as > technical coordinator for the conclusion of the project. > > :: JACQUELINE LANDMAN GAY, during one of the many delays in the > project, programmed many of the features she had developed for her own > solitaire games into "Killing Time," the game that Tuviah helped me > develop. Killing Time, is a solitaire game for monks. Now everyone can > "kill time without injuring eternity" -- everyone can practice > safe-solitaire." > > :: SARAH REICHELT responded to a question addressed to this list a > couple of weeks ago about how I could overcome issues with the long > time it takes OS X to learn to associate files with their > applications. I hired her to write the AppleScript she suggested and > was able to ship on schedule. > > ------------ > > So, what is If Monks...? > > A hearty stew of interactive books, games, art, music and more, you > can find out more about If Monks had Macs here: > > http://www.rivertext.com/ > > The only other thing I wish to say is that if anyone asks you, "Can > Revolution do stylish innovative cross-platform CD-ROMs that include > games and sophisticated intellectual tools?" > > The answer is yes. > > -- > Brian > > http://www.rivertext.com/ > > If Monks had Macs - the director's cut > is now shipping for Windows as well as Macs > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Thu Jan 8 22:30:53 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 8 Jan 2004 17:30:53 -1000 Subject: [ANN] Photo Loader-Captioner Message-ID: <3A76C1BC-4254-11D8-B4DE-000A959D0AC6@hindu.org> This is pursuant to threads on photo galleries, previewing thumbnails, etc. Run go url "http://www.himalayanacademy.com/outgoing/rev/TAKA_Photos.rev" in your message box to get a stack that: 1) inputs photos to cards 2) Creates a preview of the photos in a second stack 3) Offers option for a caption of each photo. 4) offers option to load "banners" (html chunks) that are in external files that will be inserted above the photo in final output 5) outputs an html chunk for all photos and captions. 6) allows you to rename all the photos (and files on disk at the same time) 7) you can use the preview to move photos around and the cards in the main stack will be re-ordered accordingly. 8) allows you to insert photos from another folder, coping them to your working folder directory. Notes, --excuse my xTalk which is "baby talk" but it works, mostly --The directory to the banner's files is hard coded to our local server. --the preview uses a text field, and you can insert the cursor, cut and past photos around to different locations, add line breaks to make the photos "wrap" etc. --some of the html building and renaming code is "localized" for the specific task at hand, which is the daily build of www.gurudeva.org/index.shtml But those items could be easily adjusted for your needs. The rest of it should just work fine. YET TO DO (and if you have any thoughts, they will be appreciated) a) The photo previewer loads photos at the imported size... i need a simple way to take them down to a max width or height of about 120 pixels. (that's arbitrary, I don't like to work with really "tiny" thumbnails, but they could be even smaller) It works fine on our 21 inch Cinema displays, but small screens could be challenging for the user. b) We will trim this project down to a simple import photos, write captions, save captions as individual texts files, then FTP everything to a remote server... this will be for correspondents in the field who can contribute digital photos to projects with captions attending them without resorting to email The preview photos in a text field is pretty cool, if I can just find a way to dynamically make them smaller... and then revert them to full size in the main stack ..... without double loading the data. Note, that I've experienced a some of instability (recipe as yet not clear) when imageSource of chars in a field are set to file on a remote machine, when that machine off line or not mounted on the local system. Rev can just lock up Max OS X completely if the link for the imageSource is not available. The work around is to always clear this field when the main stack is closed, then save. so that when the stack is re-opened, Rev doesn't balk at trying to load imageSource data that is not available. all input welcome Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From kray at sonsothunder.com Thu Jan 8 22:30:59 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 8 Jan 2004 21:30:59 -0600 Subject: Update a global when going to a stack as modal In-Reply-To: Message-ID: <017701c3d661$047b5830$6901a8c0@LightningFlash> Frank, > This doesn't work because LINE 3 gets executed right after > LINE 2, not > after the dialog is closed (i.e. Revolution doesn't wait for > the modal > dialog to be closed before it executes LINE 3). Actually, that's exactly what Rev does. When you call "modal ", execution stops at that line until the modal dialog that was called is closed. I'm pretty sure "open as modal" does the same as "modal ", but if it *is* different, try "modal " instead (that's the one I'm used to). The approach you described of calling two separate handlers would be the way I would have done it in SuperCard; I'm glad Rev stops execution until you return from a modal dialog. :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Thu Jan 8 22:33:09 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 8 Jan 2004 21:33:09 -0600 Subject: dotted lines in windows around back layer button In-Reply-To: <5F9E7E96-424E-11D8-BF9D-000A95DA60FA@adelphia.net> Message-ID: <017801c3d661$508fd0c0$6901a8c0@LightningFlash> > Thank you. Why does it not work on the Mac then??? I just went to the > windows app and tabbed and entered and yes they are acting like > keyboard controlled buttons. But when I open the Mac version tab does > nothing and enter does nothing and also the buttons don't > appear to be > highlighted or dotted lined????? > > Is it just a Windows thing? You got it... keyboard navigation of most controls in a window has been on Windows for many years... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From lists at mangomultimedia.com Thu Jan 8 22:58:50 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 8 Jan 2004 20:58:50 -0700 Subject: dotted lines in windows around back layer button In-Reply-To: <5F9E7E96-424E-11D8-BF9D-000A95DA60FA@adelphia.net> References: <2A1509C4-4222-11D8-9EC9-000A95DA60FA@adelphia.net> <5F9E7E96-424E-11D8-BF9D-000A95DA60FA@adelphia.net> Message-ID: <21DDA484-4258-11D8-A77C-000A956C462A@mangomultimedia.com> On Jan 8, 2004, at 7:48 PM, Thomas J McGrath III wrote: > Sarah, > > Thank you. Why does it not work on the Mac then??? I just went to the > windows app and tabbed and entered and yes they are acting like > keyboard controlled buttons. But when I open the Mac version tab does > nothing and enter does nothing and also the buttons don't appear to be > highlighted or dotted lined????? > > Is it just a Windows thing? > Or does something else control the Mac acting this way. > > It is distracting but now I need to decide whether to turn it off or > not (now that I know what it is thanks to you). > I can explain it to the users as keyboard control BUT then I need it > to work on the Mac as well. > > How do I do that? For Mac OS X you can turn on full keyboard navigation in the System Preferences. In OS X.3 it is under Keyboard & Mouse -> Keyboard Shortcuts -> Turn on full keyboard access. I use this all of the time for navigating dialog boxes. I haven't ever tested it with Rev apps though. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From sarahr at genesearch.com.au Thu Jan 8 23:18:25 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 9 Jan 2004 14:18:25 +1000 Subject: standalone naming In-Reply-To: <5D589FBA-4251-11D8-BF9D-000A95DA60FA@adelphia.net> References: <067789BA-423F-11D8-9EC9-000A95DA60FA@adelphia.net> <5D589FBA-4251-11D8-BF9D-000A95DA60FA@adelphia.net> Message-ID: > If I refer to an image in a subfolder at the same level as the app > then in OSX how are the images referenced from with in the bundle? It > seems I might get in trouble then renaming the OSX bundle. Suppose you have a .rev stack file and in it's folder, you have a sub-folder called "Images" containing "image.png". To load that image while in the IDE, you could use this script: put the fileName of this stack into tFile set the itemDel to "/" put "Images/image.png" into last item of tFile set the fileName of image 1 to tFile When an OS X bundle is built, what looks like an application file is actually a special sort of folder. Right-click / control-click on the application icon and choose "Show Package Contents" from the contextual menu. You will see a single folder called "Contents". Open that and you will see two more folders plus three other files. Open the "MacOS" folder and you will find a file called "Revolution". This is your actual application and the file containing your stacks. If you copy your Images folder into the MacOS folder in the bundle, it will be accessible using the exact same script as when in the IDE. Plus, your images and any other external files you might want to access, are all hidden neatly inside the bundle, allowing drag & drop installation. None of this is affected by changing the name of the actual bundle. > referencing things is a bit complicated. It is a bit more trouble than hard-wiring file paths, but it pays off in the end as it allows a lot more code-reuse and flexibility. > > I might just stick to renaming the OS9 version so it is > distinguishable from the OSX version and leave the OSX version alone. That's fine, so long as you don't want to hide anything inside the bundle. > I finally got the windows autorun.inf version running Well done. Cheers, Sarah From dsc at swcp.com Fri Jan 9 00:25:59 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 22:25:59 -0700 Subject: Rev Crash Again! In-Reply-To: <5.2.1.1.0.20040108213731.01bc4c60@pop.wanadoo.fr> Message-ID: <4EDBD62A-4264-11D8-8618-000A9567A3E6@swcp.com> On Thursday, January 8, 2004, at 02:09 PM, Graham Samuel wrote: > To me this says that if you try to set this property, the results > could be unpredictable. However I note that other listers seem > unperturbed by this - how come? This is a good point. I think I described this as unsupported. If not, I should have. If I was to include this in a stack I'd make available, I would have to include some warnings. However, I think a well tested idiom can be a good thing. There is an enhancement request in recent bugzilla inspired by recent problems with this. A true feature is the way to go. Dar Scott From dsc at swcp.com Fri Jan 9 00:52:27 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 22:52:27 -0700 Subject: Is a stack source code? In-Reply-To: Message-ID: <0150C645-4268-11D8-8618-000A9567A3E6@swcp.com> On Thursday, January 8, 2004, at 03:37 PM, Dave Cragg wrote: > At 4:25 pm -0500 8/1/04, T. R. Ponn wrote: >> Hmmmm...it sounds like you got of bed on the philosphical side this >> morning. :-) > > My guess would be a potential client just dumped a 185-page contract > on Dar's desk with the words "ownership", "copyright", and "source > code" scattered throughout. :) > > Which is it, Dar? Both are good guesses, knowing me. However, ... Richard Gaskin wrote: > Not sure how this press release got to MacTech before it got here, but > it's > a great read: ... > The press, the public, and Revolution developers are invited > to stop by the Runtime Revolution booth for an early look at > new features, now in early development. These exciting new > capabilities include: > > * Industrial-strength data encryption (Note the double use of "early".) Those of us in the US have some constraints in making cryptography material available, mostly because of some export restrictions. Others might have similar constraints to various degrees. This past year there has been a softening of the rules. One exemption category involves "publicly available" source code on line. One way to qualify is to be educational (and/or related to research). Some of the non-exemption cases are streamlined, too. I don't like the pain of dealing with all this, but it is easier than it was. I'm still learning, so all I have said might be hogwash. Anyway, in my daydream, whether I make cryptography products available or not, a first step might be a primer stack on cryptography and Revolution. This would have some simple "obfuscation" functions, product key code, some other MD5 uses, and some shell commands using gnupg and/or openSSL and wipe/burn programs. With the new features in _early_ development, some of these might become faster and would avoid file usage; they would directly use new commands and functions. This might fit in with the primers I have on the back burner. Depending on interest, I might do something with more substance. So, in this daydream I might start on another project to not finish. However, this might become applicable to the list. As new Revolution features add new opportunity, use of the opportunity might involve some headaches. Maybe we can learn from each other. I'm learning from others. This export regulations stuff doesn't fit into my head very well. Dar Scott From doug at webcrossing.com Fri Jan 9 01:03:10 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 09 Jan 2004 15:03:10 +0900 Subject: Making a duplicate of a substack? Message-ID: I have a stack I want to duplicate (copy? clone?) and then save after changing the stack's name, so I can use it for something else without modifying the original stack. I want to make it a substack of the main stack, in the same file as the original. I am trying this with the clone command. But every time I try to change the name of the cloned stack it reverts back to "Copy of XXX". And every time I try to save it I am prompted for a separate file to save it in. Is there a way of duplicating a substack, changing its name and then having another stack, like the original, in the same file? By the by, in 2.12 the object/stack/card inspector doesn't seem to recognize it well whenever I change my focus using the pointer tool. I often have to "kick" it by manually selecting something in the Inspector Window. Do other people experience this problem as well? doug From soapdog at mac.com Fri Jan 9 01:12:48 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 9 Jan 2004 04:12:48 -0200 Subject: Uh... yet Game Programming... or Is there a way to build tilemap graphics in Rev? Message-ID: Hi Folks, I am getting back to one of my most beloved hobbies, game programming. I decided to do a couple games for handheld units (GP32, http://english.gamepark.com), then I thought, why the hell not code for computers too? I am trying to do a simple tilemap game, like Zelda series for GameBoy... I used to code this kind of stuff in C or in Pascal, but now I have Revolution that would give me not only a easy way, but a multi-plataform way... The problem is, I don't know anything about bliting sprites in Rev or building a tilemap in Rev... how can one do that? Is there any functions for bliting a sprite at a x,y pos? Don't know, I am a little lost. All I did in Rev till today involved XML, Internet and MySQL, nothing about graphics or building graphics at runtime. Can someone here point me to some resource? I did a little Myst-like Clone in Rev and was thinking about trying something more masochist like a adventure engine, but I decide to be humble and begin small with tilemap games. Any info is greatelly apreciated since I've got no info. I just don't want to set a background and fly buttons in it... I would like a canvas where I could draw... :-D Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From dsc at swcp.com Fri Jan 9 01:17:08 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 23:17:08 -0700 Subject: Rev Crash Again! In-Reply-To: <5D56FBF6-424C-11D8-8045-003065CC999E@pi.be> Message-ID: <744A00BB-426B-11D8-8618-000A9567A3E6@swcp.com> On Thursday, January 8, 2004, at 07:34 PM, Wouter wrote: > When in metacard a stacks pixmapID < > its windowid > then Dar's handler is working as a charm (here at least) From the TD on alwaysBuffer: "You can find out whether a stack is currently being buffered by comparing its pixmapID property to its windowID property: if these two properties are not the same, the stack is buffered." From the imag007 tip at www.sonsothunder.com: -- The next two lines force the current card image into the offscreen buffer set the alwaysBuffer of stack pStackPath to false set the alwaysBuffer of stack pStackPath to true (My function only works on "this stack", so this does not apply. Maybe.) Maybe a good test to add to my function and to the imag007 tip is a check on the pixMapID and windowMapID. If they are the same generate an error and don't set the imagePixmapID. (If a stack is not in memory, I don't know if setting the alwaysBuffer does what we want. I haven't looked at that.) Dar Scott From doug at webcrossing.com Fri Jan 9 01:20:13 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 09 Jan 2004 15:20:13 +0900 Subject: Making a duplicate of a substack? In-Reply-To: Message-ID: Well, somehow or other I was able to clone the substack and save it under a new name in the same file. I am still not sure what I did though. :) One question - now both substacks have the same ID - 1002. Is that safe? doug From dsc at swcp.com Fri Jan 9 01:19:43 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 23:19:43 -0700 Subject: Making a duplicate of a substack? In-Reply-To: Message-ID: On Thursday, January 8, 2004, at 11:03 PM, Doug Lerner wrote: > Is there a way of duplicating a substack, changing its name and then > having > another stack, like the original, in the same file? Not in a standalone. Save them outside. Dar Scott From dsc at swcp.com Fri Jan 9 01:23:59 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 8 Jan 2004 23:23:59 -0700 Subject: Uh... yet Game Programming... or Is there a way to build tilemap graphics in Rev? In-Reply-To: Message-ID: <693B46A6-426C-11D8-8618-000A9567A3E6@swcp.com> On Thursday, January 8, 2004, at 11:12 PM, Andre Garzia wrote: > Any info is greatelly apreciated since I've got no info. I just don't > want to set a background and fly buttons in it... I would like a > canvas where I could draw... :-D Use buttons for the tile and have them refer to background pieces. Images, buttons and any control, actually, can be moved with 'move'. If you can make a gif, that might work for different character orientation. If not you might try buttons and changing the icon. Or you might make a group and then blend between images. Just some food for thought. Dar Scott From doug at webcrossing.com Fri Jan 9 01:28:23 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 09 Jan 2004 15:28:23 +0900 Subject: Making a duplicate of a substack? In-Reply-To: Message-ID: On 1/9/04 3:19 PM, "Dar Scott" wrote: > > On Thursday, January 8, 2004, at 11:03 PM, Doug Lerner wrote: > >> Is there a way of duplicating a substack, changing its name and then >> having >> another stack, like the original, in the same file? > > Not in a standalone. Save them outside. This was in the IDE - for development purposes - so I could experiment with alternate stack settings and still leave my original stack alone. doug From soapdog at mac.com Fri Jan 9 01:37:37 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 9 Jan 2004 04:37:37 -0200 Subject: legendary Monks liberated by Revolution In-Reply-To: References: <20031209220008.57EAA930138@mail.runrev.com> Message-ID: <516FBD7A-426E-11D8-9DEE-0003936D012E@mac.com> Hi Brian, Just checked on rivertext... it's just amazing... I can't wait to buy a copy!!! :-D Brazilian foreign exchange rate are very high (uh don't know if this english is correct, what I am trying to say is that dollar is 3 to 1) so I'll just be able to afford it next month! Man... I just feel like putting bryce to work and making some cool landscape interactive stacks.... Cheers on your Monks! Andre On Dec 9, 2003, at 10:37 PM, Brian Thomas wrote: > "Legendary ? almost defies description" was MacUser magazine's > description of the original 1988 HyperCard classic, If Monks had Macs. > > "If Monks had Windows -- they'd jump out of them!" was the reaction of > the first programmer that I talked to about moving If Monks from Macs > to Windows. That was in 1995 -- long before the Revolution. > > Over the following decade I tried... > > :: MacroMedia Director > (they built the Bob Dylan CD-ROM in director and you couldn't even > do a simple find thru Dylan's lyrics!) > > :: Quicktime Interactive -- HyperCard as a front end for Quicktime > (vaporized) > > :: OMO, Oracle Media Objects > (you couldn't build a sensuous believable world that linked > interconnected stacks - our library has 24 volumes) > > :: the beta of SuperCard for Windows > (there was a reason it was never released) > > :: mTropolis > (cool, but you can't build applications and it's been dead for many > years) > > And finally, MetaCard and Revolution. And, I have to say, after all > I've been through, these programs do Windows well. What a joy it was > to move files over to Windows time after time and know they were going > to work perfectly. (I can't resist saying if only OS X had been that > easy -- but I think it probably is that easy NOW. Windows had been > conquered long before I started using MetaCard and now OS X will be > that way for new users.) > > So, 15 years later, the longest running project in the history of > interactive media has arrived thanks to the MetaCard and Revolution > teams, the beta testers ... > > and the If Monks programmers: > > :: RICHARD GASKIN of Fourth World Media Corporation helped tie most of > the project together and developed two amazing applications. First, > our unique threaded journaling application. (With our threaded journal > you can shape the way you look at yourself and your world.) AND > second, Sophie, our new e-book reader which you can learn more about > and download from FourthWorld.com: > > http://www.fourthworld.com/products/sophie/index.html > > :: TUVIAH SNYDER moved the journal onto Revolution, developed a new > game for us AND was invaluable as a MetaCard and then a Revolution > employee helping us make the "MYST" like opening with its seamless > integration of HyperCard and Quicktime work, well, seamlessly. > > :: JEANNE DeVOTO programmed the way our giant images of the Tower of > Babel scroll smoothly and elegantly across the screen AND served as > technical coordinator for the conclusion of the project. > > :: JACQUELINE LANDMAN GAY, during one of the many delays in the > project, programmed many of the features she had developed for her own > solitaire games into "Killing Time," the game that Tuviah helped me > develop. Killing Time, is a solitaire game for monks. Now everyone can > "kill time without injuring eternity" -- everyone can practice > safe-solitaire." > > :: SARAH REICHELT responded to a question addressed to this list a > couple of weeks ago about how I could overcome issues with the long > time it takes OS X to learn to associate files with their > applications. I hired her to write the AppleScript she suggested and > was able to ship on schedule. > > ------------ > > So, what is If Monks...? > > A hearty stew of interactive books, games, art, music and more, you > can find out more about If Monks had Macs here: > > http://www.rivertext.com/ > > The only other thing I wish to say is that if anyone asks you, "Can > Revolution do stylish innovative cross-platform CD-ROMs that include > games and sophisticated intellectual tools?" > > The answer is yes. > > -- > Brian > > http://www.rivertext.com/ > > If Monks had Macs - the director's cut > is now shipping for Windows as well as Macs > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From mwieder at ahsoftware.net Fri Jan 9 01:40:25 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 8 Jan 2004 22:40:25 -0800 Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: References: Message-ID: <132129808244.20040108224025@ahsoftware.net> Scott- Thursday, January 8, 2004, 7:10:49 PM, you wrote: SR> This is not to argue that GarageBand is a replacement for the other SR> commercial audio apps, but I, for one, was wondering how Apples loops SR> compared to those of other music building apps (GrooveMaker, MixMan, etc). Hard to tell much on the show floor with all the other activity around, but with all that the samples sounded good to my ears. If the loops really are intrument samples, then transposing them *should* affect the quality somewhat. You can't change the key and keep the same timbre. Commercial musical instruments that are based on samples typically use several samples per octave. -- -Mark Wieder mwieder at ahsoftware.net From alex at mindlube.com Fri Jan 9 01:43:07 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 8 Jan 2004 23:43:07 -0700 Subject: Uh... yet Game Programming... or Is there a way to build tilemap graphics in Rev? In-Reply-To: References: Message-ID: <154E2DE7-426F-11D8-9E6A-000393C4760A@mindlube.com> On Jan 8, 2004, at 11:12 PM, Andre Garzia wrote: > Any info is greatelly apreciated since I've got no info. I just don't > want to set a background and fly buttons in it... I would like a > canvas where I could draw... I'm kind of where you are: thinking about how to attack game development in Rev. Some thoughts. You don't want to create game art in Rev, do you? The drawing tools are not sufficient for that kind of thing. I am just crazy about Expression3 and LivingCels by creaturehouse.com I guess you slice up your artwork into tiles using a graphics app, then you would need to write an import script to set the tiles one-per-card. The write a command for navigating up down left right, through the cards. For sprites- use button, image, graphic, player objects. Check out the Rev docs for: - Animation Builder - How to: animate a sprite - TD for move: move object {[from startLoc] to endLoc|to pointList|rel[ative] motion} [in time] [without {messages | waiting}] - Animated GIF 89a's. - .mov/.avi Seems like any conceivable game that does not require a full-blown 3D engine could be written in Rev. For 3D-isometric, Rev should be fine. (However, if you want to go full 3D- there was an announcement recently about an OpenGL view + dev environment based on Rev.) Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From michael at ortv.com Fri Jan 9 01:52:17 2004 From: michael at ortv.com (michael at ortv.com) Date: Fri, 9 Jan 2004 14:52:17 +0800 Subject: [OT] new Mac software: GarageBand and iLife'04 Message-ID: <9FFE913B5AABB44DA9DAEC0D0D4CDE222D15B7@michael.ortv.com> Just a note on the Band in a box for Mac http://www.pgmusic.com/biabmacdemo.htm In the system requirements they say that version 11 for Mac is supposed to be able to run under OSX but with timing issues caused by QuickTime. (odd) So they recommend OS9. I'm not sure how long this version 11 has been available though. And isn't it true that newer Macs can't install OS9 even as a second startup disk? I use Logic (Mac) and Acid (PC) but it would be awesome to use GarageBand as it beefs up. Looks promising. Band in a Box is quite cool. I've had many opportunities to play around with the PC version. Michael -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Klaus Major Sent: Friday, January 09, 2004 1:01 AM To: How to use Revolution Subject: Re: [OT] new Mac software: GarageBand and iLife'04 Hi Mark, > Alex- > > Thanks for the urls. I'll follow those up. > > Meanwhile, if you're looking to record live audio, check out the free > version of ProTools (LE). I thought that they still have a OS 9.x version? > And for my money, the best program to jam or > practice along with (YMMV) is still Band in a Box. Unfortunately they > dropped the Mac version some time ago and it's now Windows-only. There is also a OS 9.x version of Band in a Box, but this only runs with QuickTime version < 5... :-( > ... > -Mark Wieder > mwieder at ahsoftware.net Regards Klaus Major klaus at major-k.de www.major-k.de P.S. As an ex-pro and now hobby-musician i WILL buy a copy of iLIfe 04/Garage Band, you bet :-) _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From alex at mindlube.com Fri Jan 9 01:52:07 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 8 Jan 2004 23:52:07 -0700 Subject: Uh... yet Game Programming... or Is there a way to build tilemap graphics in Rev? In-Reply-To: <154E2DE7-426F-11D8-9E6A-000393C4760A@mindlube.com> References: <154E2DE7-426F-11D8-9E6A-000393C4760A@mindlube.com> Message-ID: <5766A83E-4270-11D8-9E6A-000393C4760A@mindlube.com> On Jan 8, 2004, at 11:43 PM, Alex Rice wrote: > then you would need to write an import script to set the tiles > one-per-card. The write a command for navigating up down left right, > through the cards. Except that would be more myst-like than tiled or side-scrolling. Any type of scrolling I guess would be done with the move command referring to buttons or images. Dar- why would you use a button instead of an image, if there is only 1 instance of a particular tile? Just curious about game dev advantages of buttons, other than the ability to kind of clone an image by referencing it. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Fri Jan 9 02:12:41 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Jan 2004 00:12:41 -0700 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <996C723C-4197-11D8-A059-000A9567A3E6@swcp.com> Message-ID: <367B081A-4273-11D8-8618-000A9567A3E6@swcp.com> On Wednesday, January 7, 2004, at 10:00 PM, Dar Scott wrote: > Here is my function: Here is a revision that handles the unusual case of the stack in defaultFolder not being open or otherwise not containing a valid value. -- Returns an image (PNG) of current card even if obscured -- or off screen. In addition this works when -- lock screen is on, allowing PNGs of other cards to be obtained. -- This is based on code by Ken Ray and Brian Yennie. function cardImage local tCurrentCardImage, tOldBuffer, tID put the alwaysBuffer of this stack into tOldBuffer set the alwaysBuffer of this stack to false set the alwaysBuffer of this stack to true put the windowID of this stack into wID put the pixMapID of this stack into pID if not ((pID is wID) or (pID is 0)) then create invisible image put the imagePixMapID of last image into tID set the imagePixMapID of last image to (the pixMapID of this stack) export last image to tCurrentCardImage as PNG set the imagePixMapID of last image to tID set the alwaysBuffer of this stack to tOldBuffer delete last image end if return tCurrentCardImage end cardImage If one tries making a variation of this that is more like imag007, then the stack should be checked to be among the lines of openStacks(). If this function is used as is to look at other stacks, then care must be made in setting the default stack and openStacks() can be checked then, too. In tinkering with this, one might ask whether the temporary image should be in the stack getting its portrait or in some utility stack. I suspect "create invisible image" will put it on this card, the one getting its picture taken. Is that good or bad? Dar Scott From scott at tactilemedia.com Fri Jan 9 02:16:05 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 08 Jan 2004 23:16:05 -0800 Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: <132129808244.20040108224025@ahsoftware.net> Message-ID: On 1/8/04 10:40 PM, "Mark Wieder" wrote: > Hard to tell much on the show floor with all the other activity > around, but with all that the samples sounded good to my ears. If the > loops really are intrument samples, then transposing them *should* > affect the quality somewhat. You can't change the key and keep the > same timbre. Commercial musical instruments that are based on samples > typically use several samples per octave. Yes, my mistake, with transposing (not tempo changes) there would be some quality loss, but I would think the change in quality is probably not as overt as tweaking a simple five second audio clip. Out of curiosity, have you used Soundtrack and if so, what is your impression of that app? One thing they also told me was that there's no real mixing facility in GB; you can only affect some overall eq/filter settings for the entire set of tracks when exporting the final tune. Maybe the next version... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Fri Jan 9 02:17:28 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Jan 2004 00:17:28 -0700 Subject: Uh... yet Game Programming... or Is there a way to build tilemap graphics in Rev? In-Reply-To: <5766A83E-4270-11D8-9E6A-000393C4760A@mindlube.com> Message-ID: On Thursday, January 8, 2004, at 11:52 PM, Alex Rice wrote: > Dar- why would you use a button instead of an image, if there is only > 1 instance of a particular tile? Just curious about game dev > advantages of buttons, other than the ability to kind of clone an > image by referencing it. I was thinking of multiple instances for background. I (some time ago) saw Cold Stone (or something) and it was big on tiling little pictures to made a big world. A Myst or Manhole game might be fun, too. Different style. Dar Scott From helloc66 at hotmail.com Fri Jan 9 05:35:31 2004 From: helloc66 at hotmail.com (Jeremy Smith) Date: Fri, 09 Jan 2004 10:35:31 +0000 Subject: Uh... yet Game Programming... or Is there a way to buildtilemap graphics in Message-ID: I once made a Role Playing game in metacard, back then I used a background (group) that had buttons sized 64x64 pixels filling the whole screen (ended up with over a hundred buttons). I programmed a scripting language that would save and load files which contained the icons and name/label of all the buttons, so in other words these files were the maps, each time i went to a new screen i would load a map which would create a whole new screen while only using a few tiles over and over again. Eventually i was able to load another map while still displaying part of the other map, this allowed for smooter scrolling. The name/label of the buttons were saved as if the game character was within a button and it had a special name it would look that name up in a list and do an action, usually something like 'load,map12,5,6" so if the game character walked into that button it would load the map file map12 and place the character at location 12,6. So you eventually end up programming your game with your own customized scripting language and not metacard/revoltion. This will work for most games, platform games are a step up in difficultly from the top-down ones, when i did a platform game i usually displayed a large graphic as the background and placed invisible buttons as ledges for the game character, the scrolling was much smoother and the game was more optimized as platformers require more speed than your typical top-down / isometric game. Cheers. Jeremy. _________________________________________________________________ E-mail just got a whole lot better. New ninemsn Premium. Click here http://ninemsn.com.au/premium/landing.asp From scott at tactilemedia.com Fri Jan 9 05:52:39 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 09 Jan 2004 02:52:39 -0800 Subject: Uh... yet Game Programming... or Is there a way to buildtilemap graphics in In-Reply-To: Message-ID: As a follow up to the game development discussion, you can take a look at a small demo stack that illustrates the use of tiled buttons in a grid which reference common images. As stated earlier, the main benefit of this technique is low memory overhead needed for displaying a large image area. Paste the following in your message box: go url "http://www.tactilemedia.com/download/tiletest.rev" I believe several folks on the list have already built some tiled environments. They may offer some additional guidance. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From wouter.abraham at pi.be Fri Jan 9 06:57:48 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 9 Jan 2004 12:57:48 +0100 Subject: Rev Crash Again! In-Reply-To: <20040109063920.BC7BB9302B6@mail.runrev.com> References: <20040109063920.BC7BB9302B6@mail.runrev.com> Message-ID: <0B9B54A8-429B-11D8-8045-003065CC999E@pi.be> On 09 Jan 2004, at 07:39, use-revolution-request at lists.runrev.com wrote: > Message: 5 > Date: Thu, 8 Jan 2004 23:17:08 -0700 > From: Dar Scott > Subject: Re: Rev Crash Again! > To: How to use Revolution > Message-ID: <744A00BB-426B-11D8-8618-000A9567A3E6 at swcp.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On Thursday, January 8, 2004, at 07:34 PM, Wouter wrote: > >> When in metacard a stacks pixmapID < > its windowid >> then Dar's handler is working as a charm (here at least) > > From the TD on alwaysBuffer: > > "You can find out whether a stack is currently being buffered by > comparing its pixmapID property to its windowID property: if these two > properties are not the same, the stack is buffered." > > From the imag007 tip at www.sonsothunder.com: > > -- The next two lines force the current card image into the > offscreen > buffer > set the alwaysBuffer of stack pStackPath to false > set the alwaysBuffer of stack pStackPath to true > > (My function only works on "this stack", so this does not apply. > Maybe.) If you want your crash with your "this stack" do the reverse because it sets a stacks pixmapID = its windowid (no buffering as you said) > > Maybe a good test to add to my function and to the imag007 tip is a > check on the pixMapID and windowMapID. If they are the same generate > an error and don't set the imagePixmapID. > set the alwaysBuffer of stack pStackPath to false > set the alwaysBuffer of stack pStackPath to true > > (If a stack is not in memory, I don't know if setting the alwaysBuffer > does what we want. I haven't looked at that.) You have set the cantmodify of the stack to false before setting its alwaysbuffer to true otherwise t the stack will not be buffered > > Dar Scott WA From rjb at rz.uni-potsdam.de Fri Jan 9 06:52:24 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri, 9 Jan 2004 12:52:24 +0100 Subject: Update a global when going to a stack as modal In-Reply-To: <017701c3d661$047b5830$6901a8c0@LightningFlash> References: <017701c3d661$047b5830$6901a8c0@LightningFlash> Message-ID: >Frank, > >> This doesn't work because LINE 3 gets executed right after >> LINE 2, not >> after the dialog is closed (i.e. Revolution doesn't wait for >> the modal >> dialog to be closed before it executes LINE 3). > >Actually, that's exactly what Rev does. When you call "modal ", >execution stops at that line until the modal dialog that was called is >closed. I'm pretty sure "open as modal" does the same as "modal >", but if it *is* different, try "modal " instead (that's >the one I'm used to). > >The approach you described of calling two separate handlers would be the >way I would have done it in SuperCard; I'm glad Rev stops execution >until you return from a modal dialog. :-) > >Ken Ray >Sons of Thunder Software >Email: kray at sonsothunder.com >Web Site: http://www.sonsothunder.com/ Ken, Modal command does NOT ALWAYS stop the execution. I have discovered this dual behavior way back with MetaCard 2.4.1 almost 2 years ago (see email from Scott below). I'd hoped this has been changed by now but apparently not. Fortunately, there is ways around this. Robert Brenstein >Date: Mon, 21 Jan 2002 11:34:53 -0700 (MST) >From: Scott Raney >To: Robert Brenstein >Subject: Re: modal stacks > > > A propos modal, I have observed and verified that the modal command > > does not always suspend execution of the current script. > > > > If the modal command is used to open a substack, the execution of the > > current script is suspended until the modal stack is closed. > > > > If my script first goes invisibly to the substack (to fill in some > > fields), then do modal, the script finishes executing and the modal > > stack shows up afterwards. > > > > Is this the expected behavior? > >Possibly. When you go to a stack, even if it's invisible, it's >already opened, which will disrupt the behavior of "modal". "open >inv" is poor technique in MC anyway (it's only there as a SuperCard >compatibility feature), as is setting up fields in one stack from >another directly. Instead, do the init in a preOpenStack handler, and >get the data in the dialog from a well known place (use the dialogData >property if you don't already have such a place). > Regards, > Scott From doug at webcrossing.com Fri Jan 9 07:01:53 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 09 Jan 2004 21:01:53 +0900 Subject: How to distinguish between multiple clones of a stack? Message-ID: If I do a clone stack "myStack" Then a clone of the stack appears with the name "Copy of myStack". If I then clone again I get *another* stack with the same name - "Copy of myStack" and same ID. How do I distinguish between them? Can I decide the cloned stack name myself? doug From doug at webcrossing.com Fri Jan 9 07:05:34 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 09 Jan 2004 21:05:34 +0900 Subject: A question about setting custom properties Message-ID: It's a scope and identifier confusion question. Suppose I have a local variable thisVar. And suppose I want to set a property of that name in stack "myStack". If I do: set the thisVar of stack "myStack" to thisVar then the *name* of the created property is the *value* of the local variable thisVar. Well, I guess my question isn't so much of a question as it is a caution. I guess that's just the way it is, right? doug From wouter.abraham at pi.be Fri Jan 9 07:10:25 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 9 Jan 2004 13:10:25 +0100 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <20040109120005.79FA69302CA@mail.runrev.com> References: <20040109120005.79FA69302CA@mail.runrev.com> Message-ID: On 09 Jan 2004, at 13:00, use-revolution-request at lists.runrev.com wrote: > Message: 5 > Date: Fri, 9 Jan 2004 00:12:41 -0700 > From: Dar Scott > Subject: Re: Rev Crash Again! ... cardImage() function > To: How to use Revolution > Message-ID: <367B081A-4273-11D8-8618-000A9567A3E6 at swcp.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On Wednesday, January 7, 2004, at 10:00 PM, Dar Scott wrote: > >> Here is my function: > > Here is a revision that handles the unusual case of the stack in > defaultFolder not being open or otherwise not containing a valid value. > > -- Returns an image (PNG) of current card even if obscured > -- or off screen. In addition this works when > -- lock screen is on, allowing PNGs of other cards to be obtained. > -- This is based on code by Ken Ray and Brian Yennie. > function cardImage > local tCurrentCardImage, tOldBuffer, tID > put the alwaysBuffer of this stack into tOldBuffer > set the alwaysBuffer of this stack to false > set the alwaysBuffer of this stack to true > put the windowID of this stack into wID > put the pixMapID of this stack into pID > if not ((pID is wID) or (pID is 0)) then > create invisible image > put the imagePixMapID of last image into tID > set the imagePixMapID of last image to (the pixMapID of this > stack) > export last image to tCurrentCardImage as PNG > set the imagePixMapID of last image to tID > set the alwaysBuffer of this stack to tOldBuffer > delete last image > end if > return tCurrentCardImage > end cardImage > > If one tries making a variation of this that is more like imag007, then > the stack should be checked to be among the lines of openStacks(). If > this function is used as is to look at other stacks, then care must be > made in setting the default stack and openStacks() can be checked then, > too. > > In tinkering with this, one might ask whether the temporary image > should be in the stack getting its portrait or in some utility stack. > I suspect "create invisible image" will put it on this card, the one > getting its picture taken. Is that good or bad? > > Dar Scott Here is a little change on that: #### = changed function cardImage theStack #### local tCurrentCardImage, tOldBuffer, tID put the alwaysBuffer of stack theStack into tOldBuffer put the cantmodify of stack theStack into tCMOldBuffer #### set the cantmodify of stack theStack to false #### set the alwaysBuffer of stack theStack to false set the alwaysBuffer of stack theStack to true put the windowID of stack theStack into wID put the pixMapID of stack theStack into pID if not ((pID is wID) or (pID is 0)) then create invisible image put the imagePixMapID of last image into tID set the imagePixMapID of last image to (the pixMapID of stack theStack) #### export last image to tCurrentCardImage as PNG set the imagePixMapID of last image to tID set the alwaysBuffer of stack theStack to false set the cantmodify of stack theStack to tCMOldBuffer #### delete last image end if return tCurrentCardImage end cardImage Greetings, WA From alptex2 at orwell.net Fri Jan 9 07:49:47 2004 From: alptex2 at orwell.net (T. R. Ponn) Date: Fri, 09 Jan 2004 07:49:47 -0500 Subject: Is a stack source code? References: <0150C645-4268-11D8-8618-000A9567A3E6@swcp.com> Message-ID: <3FFEA36B.5060702@orwell.net> Dar Scott wrote: > > This export regulations stuff doesn't fit into my head very well. To your credit, sir! Score: Right Brain 1, Left Brain zip. From davethebrv at crystalpiersw.com Fri Jan 9 07:53:01 2004 From: davethebrv at crystalpiersw.com (Dave Beck) Date: Fri, 09 Jan 2004 04:53:01 -0800 Subject: Uh... yet Game Programming... or Is there a way to build tilemap graphics in Rev? In-Reply-To: <20040109120002.1165A9302C6@mail.runrev.com> Message-ID: I wrote a game that uses a rev app as a level editor. I used the same tilemap approach that is being discussed, with a grid of buttons which take on different images depending on what is being 'painted' on the level. There are close to 600 buttons in all and the speed is remarkable. Painting objects takes place in real time. Entire levels load in a few seconds on my 400 Mhz G4. I don't know about scrolling though.. Both the game and the level editor are available at: http://www.crystalpiersw.com There are both Macintosh and Windows versions, but you need to register to use the Macintosh world editor (soon to be changed). Windows users can already use the world editor without registering. I found that it is imperative for decent performance to NOT keep the information about what is in what position in the buttons themselves. For instance, to query what is in grid pos (2,4), you should NOT have to find the button at (2,4), and then access some custom property of that button (or the button's name or icon) to determine what occupies that grid spot. A much faster approach is to keep a behind-the-scenes field of what is where, each line representing a row of the grid and each item representing a column. When you need to find out what is at pos (2,4), inspect item 2 of line 4 of your field. Also, I found it helpful to keep a separate 'lookup' field of button ids, again each line representing a row of the grid and each item representing a column. When you need set the button's icon at (2,4), you can lookup the button's ID from item 2 of line 4 of your lookup field. Probably both these fields could be replaced by arrays (perhaps with a speed bonus?), but I have had some trouble with two dimensional arrays in the past and opted to steer clear. Abstracting the logic that keeps track of what is where in the level as well as giving the right icons to the right buttons into a 'brick wall' library was also helpful. >From what I've seen I think a scrolling game could be feasible using the button-grid approach but speed would definately be a problem it it wasn't structured correctly. All game logic should take place 'behind the scenes' and should NOT depend on getting or storing information in the buttons themselves. Just my 2-sense. Good luck! Dave From depstein at att.net Fri Jan 9 09:24:01 2004 From: depstein at att.net (depstein at att.net) Date: Fri, 09 Jan 2004 14:24:01 +0000 Subject: "Poor technique"? Message-ID: <010920041424.5057.54fa@att.net> Robert Brenstein quoted Scott Raney: "open >inv" is poor technique in MC anyway (it's only there as a SuperCard >compatibility feature), as is setting up fields in one stack from >another directly. Instead, do the init in a preOpenStack handler, and >get the data in the dialog from a well known place (use the dialogData >property if you don't already have such a place). > Regards, > Scott Why is "setting up fields in one stack from another directly" a worse technique than writing data to a global property and having the preOpenStack handler transfer the data to that stack? I can see that the latter might be convenient in some cases, but is there any important reason not to do the former? Similarly: is it in any way better to set custom properties of the second stack before opening it than to set the text of its fields before opening it? The ability to read and write to fields of unopened stacks is very powerful; Raney's remarks suggests there are some limits on how this should be used. Can anyone clarify this? David Epstein From 3mcgrath at adelphia.net Fri Jan 9 09:30:38 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 9 Jan 2004 09:30:38 -0500 Subject: How to distinguish between multiple clones of a stack? In-Reply-To: References: Message-ID: <651F10C6-42B0-11D8-BF9D-000A95DA60FA@adelphia.net> Doug, From what I understand, this is not a good thing to do. FWIW you can clone a stack and then change the name and then set it to the mainStack "Whatever" and for that matter change it's size location and add scripts to it all via scripts. In fact my experience shows that this is preferred over the single line message box method. I experienced very weird behavior so switched to putting a script in my main stack temporarily to build clones and change them in one step. The big thing to watch out for is in the naming of the clones!! Do not use just numbers!! It will crash the stack and mess things up. I used a series of numbers to build substacks like "13i" , "13ii" etc based upon certain things and then one clone was "17" with on i in it and wham there came the crash and a substack that could not be deleted and caused the stack to not work. Luckily this list helped me and I had a back up. TOm On Jan 9, 2004, at 7:01 AM, Doug Lerner wrote: > If I do a > > clone stack "myStack" > > Then a clone of the stack appears with the name "Copy of myStack". > > If I then clone again I get *another* stack with the same name - "Copy > of > myStack" and same ID. > > How do I distinguish between them? > > Can I decide the cloned stack name myself? > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Fri Jan 9 09:34:24 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 9 Jan 2004 09:34:24 -0500 Subject: A question about setting custom properties In-Reply-To: References: Message-ID: yeah, I hit that too, now i just: put the thisVar of stack "myStack" into myVar or put "yada" into myVar and then set the thisVar of stack "myStack" to myVar or set the thisVar of this stack to myVar tom On Jan 9, 2004, at 7:05 AM, Doug Lerner wrote: > It's a scope and identifier confusion question. > > Suppose I have a local variable thisVar. And suppose I want to set a > property of that name in stack "myStack". > > If I do: > > set the thisVar of stack "myStack" to thisVar > > then the *name* of the created property is the *value* of the local > variable > thisVar. > > Well, I guess my question isn't so much of a question as it is a > caution. I > guess that's just the way it is, right? > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Fri Jan 9 09:52:56 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 9 Jan 2004 09:52:56 -0500 Subject: ODD open stack behavior Message-ID: <8291D5F2-42B3-11D8-BF9D-000A95DA60FA@adelphia.net> Hello list, I have a stack with hundreds of substacks. 'All of a sudden' when I open a substack via button; the substack opens and then goes away! i think it goes to the back? I have to push the button again. What can cause the substack to go to the back? I was using 'open stack "mystack" '. I now went and changed it to 'go to stack "mystack" '. (which is the same amount of chars if you include the spaces ;-) This did not fix it and it only happens once in a while. Should I be using a toplevel or something? Thank you all for my first successful distribution using REV. Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From wouter.abraham at pi.be Fri Jan 9 10:01:21 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 9 Jan 2004 16:01:21 +0100 Subject: An alternative to the one pixel editing of an image In-Reply-To: <20040109120005.79FA69302CA@mail.runrev.com> References: <20040109120005.79FA69302CA@mail.runrev.com> Message-ID: An alternative to the one pixel editing of an image proposed by Scott Raney a while ago :^) (to keep the transparency of an image in this case) is the use of the export command. (works for me) export img < imagename > to aVar as PNG -- or RLE set the text of img < imagename > to aVar (don't forget to save) Greetings, WA From xbury.cs at clearstream.com Fri Jan 9 10:02:25 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 9 Jan 2004 16:02:25 +0100 Subject: ODD open stack behavior Message-ID: I've seen this technically absurd behavior opening HC stacks in MC. Checko ut the rect of the stack to see if it is not with negative numbers. If that's thec ase, it could be that the stack is "reduced" or "hidden". Hope that helps, hope they fix it! Xavier On 09/01/2004 15:52:56 use-revolution-bounces wrote: >Hello list, > >I have a stack with hundreds of substacks. 'All of a sudden' when I >open a substack via button; the substack opens and then goes away! i >think it goes to the back? I have to push the button again. > >What can cause the substack to go to the back? > >I was using 'open stack "mystack" '. > >I now went and changed it to 'go to stack "mystack" '. (which is the >same amount of chars if you include the spaces ;-) > >This did not fix it and it only happens once in a while. > >Should I be using a toplevel or something? > >Thank you all for my first successful distribution using REV. > >Tom > > >Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev >2.1.2 > > >Advanced Media Group >Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >220 Drake Road, Bethel Park, PA 15102 > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From doug at webcrossing.com Fri Jan 9 10:06:02 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 10 Jan 2004 00:06:02 +0900 Subject: How to distinguish between multiple clones of a stack? In-Reply-To: <651F10C6-42B0-11D8-BF9D-000A95DA60FA@adelphia.net> Message-ID: So... Are you saying something like: 1. clone a stack 2. set the name of the stack to something unique 3. close the stack again and 4. set the name of the stack to something unique etc rather than leaving them all with the name "Copy of stack thisStack"? What about the fact that the ids are the same? doug On 1/9/04 11:30 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> wrote: > Doug, > > From what I understand, this is not a good thing to do. FWIW you can > clone a stack and then change the name and then set it to the mainStack > "Whatever" and for that matter change it's size location and add > scripts to it all via scripts. > > In fact my experience shows that this is preferred over the single line > message box method. I experienced very weird behavior so switched to > putting a script in my main stack temporarily to build clones and > change them in one step. > > The big thing to watch out for is in the naming of the clones!! Do not > use just numbers!! It will crash the stack and mess things up. I used a > series of numbers to build substacks like "13i" , "13ii" etc based upon > certain things and then one clone was "17" with on i in it and wham > there came the crash and a substack that could not be deleted and > caused the stack to not work. Luckily this list helped me and I had a > back up. > > TOm > > > On Jan 9, 2004, at 7:01 AM, Doug Lerner wrote: > >> If I do a >> >> clone stack "myStack" >> >> Then a clone of the stack appears with the name "Copy of myStack". >> >> If I then clone again I get *another* stack with the same name - "Copy >> of >> myStack" and same ID. >> >> How do I distinguish between them? >> >> Can I decide the cloned stack name myself? >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Fri Jan 9 10:12:51 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 9 Jan 2004 10:12:51 -0500 Subject: ODD open stack behavior In-Reply-To: References: Message-ID: <4AB1E89E-42B6-11D8-BF9D-000A95DA60FA@adelphia.net> Actually the substack shows up for a couple of milliseconds and then the main stack is all that can be seen. Once I hit the button again the window does come to the front. The size is 800x600 The rect is 240,132,1040,722 It does not appear that the substack is resizing but rather that it disappears or is being sent back to behind the main stack. Tom On Jan 9, 2004, at 10:02 AM, xbury.cs at clearstream.com wrote: > I've seen this technically absurd behavior opening HC stacks in MC. > Checko > ut the > rect of the stack to see if it is not with negative numbers. If that's > thec > ase, it could > be that the stack is "reduced" or "hidden". > > Hope that helps, hope they fix it! > Xavier > > On 09/01/2004 15:52:56 use-revolution-bounces wrote: >> Hello list, >> >> I have a stack with hundreds of substacks. 'All of a sudden' when I >> open a substack via button; the substack opens and then goes away! i >> think it goes to the back? I have to push the button again. >> >> What can cause the substack to go to the back? >> >> I was using 'open stack "mystack" '. >> >> I now went and changed it to 'go to stack "mystack" '. (which is the >> same amount of chars if you include the spaces ;-) >> >> This did not fix it and it only happens once in a while. >> >> Should I be using a toplevel or something? >> >> Thank you all for my first successful distribution using REV. >> >> Tom >> >> >> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev >> 2.1.2 >> >> >> Advanced Media Group >> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >> 220 Drake Road, Bethel Park, PA 15102 >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents of > this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are not the intended recipient, any disclosure, copying, distribution > or any action taken or omitted to be taken in reliance on it, is > prohibited and may be unlawful. Any views expressed in this e-mail are > those of the individual sender, except where the sender specifically > states them to be the views of Clearstream International or of any of > its affiliates or subsidiaries. > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From doug at webcrossing.com Fri Jan 9 10:14:19 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 10 Jan 2004 00:14:19 +0900 Subject: Cloning a stack as a substack of the main stack? Message-ID: When I use the clone command as in clone stack "myStack" even though "myStack" is a substack of the main stack, the *cloned* stack is its own main stack - so it can't find the handlers in the real main stack. Does anybody know how to clone a substack so that it also is a substack? Thanks, doug From doug at webcrossing.com Fri Jan 9 10:16:44 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 10 Jan 2004 00:16:44 +0900 Subject: Cloning a stack as a substack of the main stack? Message-ID: Nevermind my previous message. I see you have to set the mainStack property for all new stacks. doug From klaus at major-k.de Fri Jan 9 10:17:40 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 9 Jan 2004 16:17:40 +0100 Subject: ODD open stack behavior In-Reply-To: <4AB1E89E-42B6-11D8-BF9D-000A95DA60FA@adelphia.net> References: <4AB1E89E-42B6-11D8-BF9D-000A95DA60FA@adelphia.net> Message-ID: Hi Thomas, > Actually the substack shows up for a couple of milliseconds and then > the main stack > is all that can be seen. Once I hit the button again the window does > come to the front. > > The size is 800x600 > The rect is 240,132,1040,722 > > It does not appear that the substack is resizing but rather that it > disappears or is being > sent back to behind the main stack. Maybe there is something in the mainstack-script that could cause the mainstack to become toplevel again? Check the pre-/openstack scripts... > Tom Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Fri Jan 9 10:21:38 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 9 Jan 2004 16:21:38 +0100 Subject: Cloning a stack as a substack of the main stack? In-Reply-To: References: Message-ID: <852518AE-42B7-11D8-8D2E-000A27B49A96@major-k.de> Hi Doug, > When I use the clone command as in > > clone stack "myStack" > > even though "myStack" is a substack of the main stack, the *cloned* > stack is > its own main stack - so it can't find the handlers in the real main > stack. > > Does anybody know how to clone a substack so that it also is a > substack? Add another line: ... clone stack yourStack" set the mainstack of it to "yourMainStackHere" ... ### IT will be: stack "Copy of Stack yourStack" > Thanks, Hope that helps... > doug Regards Klaus Major klaus at major-k.de www.major-k.de From 3mcgrath at adelphia.net Fri Jan 9 10:22:01 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 9 Jan 2004 10:22:01 -0500 Subject: How to distinguish between multiple clones of a stack? In-Reply-To: References: Message-ID: <92C3A760-42B7-11D8-BF9D-000A95DA60FA@adelphia.net> Actually, 1. clone the stack (via a script in a button etc.) 2. immediately rename that stack (then another copy can't be the same name) Now you have your main stack and another main stack. If you want the cloned stack to be apart of the main stack then do 3. if not you can close it or whatever you want or skip 3. and move on to 4. etc. 3. set the mainStack of "cloned stack" to "MyMainStack" This way there is no need to close the cloned stack and IDs are resolved via the IDE. This of course works only if you want the cloned stack to be a substack of the main stack. If not it should not matter because they are at this time completely different stacks so the IDs should not matter. I go the extra step and: 4. set the size of the cloned stack (now a substack) 5. set the position of the cloned stack 6. set the title of the cloned stack 7. set the name of the cloned stack 8. set any other things that need done. I do all of this before cloning another stack or substack and have no problems. Tom On Jan 9, 2004, at 10:06 AM, Doug Lerner wrote: > So... > > Are you saying something like: > > 1. clone a stack > 2. set the name of the stack to something unique > 3. close the stack again and > 4. set the name of the stack to something unique > etc > > rather than leaving them all with the name "Copy of stack thisStack"? > > What about the fact that the ids are the same? > > doug > > On 1/9/04 11:30 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> > wrote: > >> Doug, >> >> From what I understand, this is not a good thing to do. FWIW you can >> clone a stack and then change the name and then set it to the >> mainStack >> "Whatever" and for that matter change it's size location and add >> scripts to it all via scripts. >> >> In fact my experience shows that this is preferred over the single >> line >> message box method. I experienced very weird behavior so switched to >> putting a script in my main stack temporarily to build clones and >> change them in one step. >> >> The big thing to watch out for is in the naming of the clones!! Do not >> use just numbers!! It will crash the stack and mess things up. I used >> a >> series of numbers to build substacks like "13i" , "13ii" etc based >> upon >> certain things and then one clone was "17" with on i in it and wham >> there came the crash and a substack that could not be deleted and >> caused the stack to not work. Luckily this list helped me and I had a >> back up. >> >> TOm >> >> >> On Jan 9, 2004, at 7:01 AM, Doug Lerner wrote: >> >>> If I do a >>> >>> clone stack "myStack" >>> >>> Then a clone of the stack appears with the name "Copy of myStack". >>> >>> If I then clone again I get *another* stack with the same name - >>> "Copy >>> of >>> myStack" and same ID. >>> >>> How do I distinguish between them? >>> >>> Can I decide the cloned stack name myself? >>> >>> doug >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev >> 2.1.2 >> >> >> Advanced Media Group >> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >> 220 Drake Road, Bethel Park, PA 15102 >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From xbury.cs at clearstream.com Fri Jan 9 10:20:02 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 9 Jan 2004 16:20:02 +0100 Subject: ODD open stack behavior Message-ID: here's a trick a little preopenstack script like on preopenstack get the time pass openstack end preopenstack (do the same with preopencard just in case) debug the get the time line and trace to see if there is not another stack that is intercepting or overiding your open stack behavior... still hoping... Xavier On 09/01/2004 16:12:51 use-revolution-bounces wrote: >Actually the substack shows up for a couple of milliseconds and then >the main stack is all that can be seen. Once I hit the button again the >window does come to the front. > >The size is 800x600 >The rect is 240,132,1040,722 > >It does not appear that the substack is resizing but rather that it >disappears or is being sent back to behind the main stack. > >Tom > >On Jan 9, 2004, at 10:02 AM, xbury.cs at clearstream.com wrote: > >> I've seen this technically absurd behavior opening HC stacks in MC. >> Checko >> ut the >> rect of the stack to see if it is not with negative numbers. If that's >> thec >> ase, it could >> be that the stack is "reduced" or "hidden". >> >> Hope that helps, hope they fix it! >> Xavier >> >> On 09/01/2004 15:52:56 use-revolution-bounces wrote: >>> Hello list, >>> >>> I have a stack with hundreds of substacks. 'All of a sudden' when I >>> open a substack via button; the substack opens and then goes away! i >>> think it goes to the back? I have to push the button again. >>> >>> What can cause the substack to go to the back? >>> >>> I was using 'open stack "mystack" '. >>> >>> I now went and changed it to 'go to stack "mystack" '. (which is the >>> same amount of chars if you include the spaces ;-) >>> >>> This did not fix it and it only happens once in a while. >>> >>> Should I be using a toplevel or something? >>> >>> Thank you all for my first successful distribution using REV. >>> >>> Tom >>> >>> >>> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev >>> 2.1.2 >>> >>> >>> Advanced Media Group >>> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >>> 220 Drake Road, Bethel Park, PA 15102 >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> Visit us at http://www.clearstream.com >> >> IMPORTANT MESSAGE >> >> Internet communications are not secure and therefore Clearstream >> International does not accept legal responsibility for the contents of >> this message. >> >> The information contained in this e-mail is confidential and may be >> legally privileged. It is intended solely for the addressee. If you >> are not the intended recipient, any disclosure, copying, distribution >> or any action taken or omitted to be taken in reliance on it, is >> prohibited and may be unlawful. Any views expressed in this e-mail are >> those of the individual sender, except where the sender specifically >> states them to be the views of Clearstream International or of any of >> its affiliates or subsidiaries. >> >> END OF DISCLAIMER >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > >Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev >2.1.2 > > >Advanced Media Group >Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >220 Drake Road, Bethel Park, PA 15102 > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Fri Jan 9 10:24:50 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 9 Jan 2004 10:24:50 -0500 Subject: Cloning a stack as a substack of the main stack? In-Reply-To: References: Message-ID: immediately set the cloned stack's mainStack to the "main" stack - now it IS a part of the main stack - IDs are resolved - Names are not - so rename the cloned stack(now a substack) and you got it. Tom On Jan 9, 2004, at 10:14 AM, Doug Lerner wrote: > When I use the clone command as in > > clone stack "myStack" > > even though "myStack" is a substack of the main stack, the *cloned* > stack is > its own main stack - so it can't find the handlers in the real main > stack. > > Does anybody know how to clone a substack so that it also is a > substack? > > Thanks, > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Fri Jan 9 10:32:23 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 9 Jan 2004 10:32:23 -0500 Subject: ODD open stack behavior In-Reply-To: References: Message-ID: <05322039-42B9-11D8-BF9D-000A95DA60FA@adelphia.net> OK I will try that. Do you know how to check the script of each of my hundreds of substacks for an PreOpenStack, PreOpenCard and if so then add the code to it and if not than copy the code to that stack and card VIA scripting....???? Thanks TOm On Jan 9, 2004, at 10:20 AM, xbury.cs at clearstream.com wrote: > here's a trick > a little preopenstack script like > > on preopenstack > get the time > pass openstack > end preopenstack > (do the same with preopencard just in case) > > debug the get the time line > and trace to see if there is not another stack that is > intercepting or overiding your open stack behavior... > > still hoping... > Xavier > > On 09/01/2004 16:12:51 use-revolution-bounces wrote: >> Actually the substack shows up for a couple of milliseconds and then >> the main stack is all that can be seen. Once I hit the button again >> the >> window does come to the front. >> >> The size is 800x600 >> The rect is 240,132,1040,722 >> >> It does not appear that the substack is resizing but rather that it >> disappears or is being sent back to behind the main stack. >> >> Tom >> >> On Jan 9, 2004, at 10:02 AM, xbury.cs at clearstream.com wrote: >> >>> I've seen this technically absurd behavior opening HC stacks in MC. >>> Checko >>> ut the >>> rect of the stack to see if it is not with negative numbers. If >>> that's >>> thec >>> ase, it could >>> be that the stack is "reduced" or "hidden". >>> >>> Hope that helps, hope they fix it! >>> Xavier >>> >>> On 09/01/2004 15:52:56 use-revolution-bounces wrote: >>>> Hello list, >>>> >>>> I have a stack with hundreds of substacks. 'All of a sudden' when I >>>> open a substack via button; the substack opens and then goes away! >>>> i >>>> think it goes to the back? I have to push the button again. >>>> >>>> What can cause the substack to go to the back? >>>> >>>> I was using 'open stack "mystack" '. >>>> >>>> I now went and changed it to 'go to stack "mystack" '. (which is the >>>> same amount of chars if you include the spaces ;-) >>>> >>>> This did not fix it and it only happens once in a while. >>>> >>>> Should I be using a toplevel or something? >>>> >>>> Thank you all for my first successful distribution using REV. >>>> >>>> Tom >>>> >>>> >>>> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, >>>> Rev >>>> 2.1.2 >>>> >>>> >>>> Advanced Media Group >>>> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >>>> 220 Drake Road, Bethel Park, PA 15102 >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> Visit us at http://www.clearstream.com >>> >>> IMPORTANT MESSAGE >>> >>> Internet communications are not secure and therefore Clearstream >>> International does not accept legal responsibility for the contents >>> of >>> this message. >>> >>> The information contained in this e-mail is confidential and may be >>> legally privileged. It is intended solely for the addressee. If you >>> are not the intended recipient, any disclosure, copying, distribution >>> or any action taken or omitted to be taken in reliance on it, is >>> prohibited and may be unlawful. Any views expressed in this e-mail >>> are >>> those of the individual sender, except where the sender specifically >>> states them to be the views of Clearstream International or of any of >>> its affiliates or subsidiaries. >>> >>> END OF DISCLAIMER >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev >> 2.1.2 >> >> >> Advanced Media Group >> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >> 220 Drake Road, Bethel Park, PA 15102 >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From rjb at rz.uni-potsdam.de Fri Jan 9 10:24:57 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri, 9 Jan 2004 16:24:57 +0100 Subject: How to distinguish between multiple clones of a stack? In-Reply-To: References: Message-ID: >If I do a > >clone stack "myStack" > >Then a clone of the stack appears with the name "Copy of myStack". > >If I then clone again I get *another* stack with the same name - "Copy of >myStack" and same ID. > >How do I distinguish between them? > >Can I decide the cloned stack name myself? > >doug > Interesting. I just tried this out and it seems that the cloned stack has the same id as the original (and so do any further clones). Moreover, "it" contains the long name not the long id. But yes, in order to distinuguish clones, you need to rename each right after generating it. Robert From doug at webcrossing.com Fri Jan 9 10:41:04 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 10 Jan 2004 00:41:04 +0900 Subject: A couple of weird things with cloned stacks Message-ID: (1) If I use the set mainStack command to cause cloned stacks to be a substack of the main stack it has the inconvenient side-effect of storing all the created cloned substacks in the main file when I save everything in the IDE. It's probably better to duplicate main stack handlers in the clone itself and leave it out of the mainstack. (2) If I use the set name command to change the name of the newly cloned stack, the Application Browser does not reflect the change. This is probably an Application Browser bug. doug From alptex2 at orwell.net Fri Jan 9 11:34:32 2004 From: alptex2 at orwell.net (T. R. Ponn) Date: Fri, 09 Jan 2004 11:34:32 -0500 Subject: Linux Filepath problem Message-ID: <3FFED818.4020006@orwell.net> Hello all! I'm developing on Mac OS9.2.2, RunRev2.0.3 for multiple platform distribution... One of the first things I do in my app (on openstack) is to: on openStack global warming -- :-) set the itemDelimiter to "/" put (item 1 to -2 of the effective filename of this stack)&"/" into line 26 of warming This puts the pathname into a global, which is used for MANY file functions (put "blah" into url...get url...etc) in my app. I've found it to be a handy way for me to look for various cfg files I've placed in the same folder with the app. If the user moves a cfg file out of the folder, I have a function that rebuilds it and puts it where it should be. So...on the mac and win...no problems. But on my Linux build, it puts "./" into the global. What gives here? Any Linux lovers know a work-around? Any special ways to use "effective filename of this stack" to get the explicit path name? Thanks for any assistance you can lend! Best Regards, Tim Ponn From alptex2 at orwell.net Fri Jan 9 11:42:16 2004 From: alptex2 at orwell.net (T. R. Ponn) Date: Fri, 09 Jan 2004 11:42:16 -0500 Subject: Linux dist build problem Message-ID: <3FFED9E8.8060203@orwell.net> Hello all! I'm developing with MacOS9.2.2, RunRev2.0.3 for multi-platform distribution... Apparently, one of my Linux beta sites reports that the app is not appearing as an executable. So...he manually sets that flag before he uses the app so that Linux will treat it properly. Any clues? Is this a distribution buider problem, or some setting that I've overlooked? I don't recall having this problem with 1.1.1, I think it just started with 2.0.3, although I'll be looking through previous versions of my app very quickly now :-[ Thanks in advance for your help! Best Regards, Tim Ponn From alex at mindlube.com Fri Jan 9 11:57:56 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 9 Jan 2004 09:57:56 -0700 Subject: Uh... yet Game Programming... or Is there a way to build tilemap graphics in Rev? In-Reply-To: References: Message-ID: On Jan 9, 2004, at 5:53 AM, Dave Beck wrote: > Also, I found it helpful to keep a separate 'lookup' field of > button ids, again each line representing a row of the grid and each > item > representing a column. When you need set the button's icon at (2,4), > you can > lookup the button's ID from item 2 of line 4 of your lookup field. > Probably > both these fields could be replaced by arrays (perhaps with a speed > bonus?), > but I have had some trouble with two dimensional arrays in the past and > opted to steer clear. I bet you could gain some speed by moving that field lookup into a custom property. Field accesses are slower than custom property accesses. You could continue to use item and line chunking instead of 2D arrays. It would be interesting to know if 2D arrays would be faster than item/line chunking. I am guessing not. > Just my 2-sense. Good luck! Thanks for the info & looking forward to checking out this Rev game. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Fri Jan 9 12:12:06 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 9 Jan 2004 10:12:06 -0700 Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: <9FFE913B5AABB44DA9DAEC0D0D4CDE222D15B7@michael.ortv.com> References: <9FFE913B5AABB44DA9DAEC0D0D4CDE222D15B7@michael.ortv.com> Message-ID: On Jan 8, 2004, at 11:52 PM, wrote: > And isn't it true that newer Macs can't install OS9 even as a second > startup disk? I am wondering the same thing. I have a newer G4-dual-800 Mac. I installed OS X without having OS 9 installed first. Later I failed utterly trying to install MacOS9 to use for Classic. Finally I just plugged into a LAN and copied a OS 9 folder from another Mac. Now OS 9 shows up in my Startup Disks... but I haven't needed to boot into it yet. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From 3mcgrath at adelphia.net Fri Jan 9 12:35:50 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 9 Jan 2004 12:35:50 -0500 Subject: Full keyboard Access Message-ID: <4462FC87-42CA-11D8-BF9D-000A95DA60FA@adelphia.net> I posted about the keyboard access on Windows showing up in my app. I turned on Keyboard access in OSX but it does not seem to work. Is there another thing that lets the Mac access the buttons like the Windows is? traversal is on Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From kirbyglad at fiber.net Fri Jan 9 12:43:41 2004 From: kirbyglad at fiber.net (Kirby Glad) Date: Fri, 9 Jan 2004 10:43:41 -0700 Subject: Real time voice transmission Message-ID: What if you had an internet game and you wanted participants to be able to talk to each other by voice over T1. It would not have to be the quality of full VOIP. It could even be simplex rather than duplex. This problem should be similar to broadcasting a web camera output, except you just want to send to a specific IP address. How could you do this using Rev? Thanks in advance for the use of all your clever brains. Thanks, Kirby From kray at sonsothunder.com Fri Jan 9 13:49:46 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 9 Jan 2004 12:49:46 -0600 Subject: Win98 loses path In-Reply-To: <893E4D1F-41FC-11D8-9EC9-000A95DA60FA@adelphia.net> Message-ID: <020101c3d6e1$5f549430$6901a8c0@LightningFlash> Tom, > The windows app acts like it is at the root level even though > it is in > a sub folder. I guess the autorun.inf makes the rev > standalone 'think' > it was launched at the root level even though it wasn't. I also guess > that windows does not like the autorun.inf and the app it launches to > be at the same level. So against my logic it works. I think you hit the nail on the head... in the dim recesses of my mind I remember something like this happening with autorun in earlier versions of Windows. Good catch! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From alex at mindlube.com Fri Jan 9 14:35:53 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 9 Jan 2004 12:35:53 -0700 Subject: stack "diff" tool? Message-ID: <09BB6032-42DB-11D8-B92E-000393C4760A@mindlube.com> Are there any "diff" like tools that I can compare stacks with - like say the altArchive numbered backup stacks, to see what changes were made between different versions? Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From capellan2000 at yahoo.com Fri Jan 9 14:48:59 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 9 Jan 2004 11:48:59 -0800 (PST) Subject: Converting Hexadecimal in Binary In-Reply-To: <20040109150345.C678E9302E1@mail.runrev.com> Message-ID: <20040109194859.62484.qmail@web40513.mail.yahoo.com> Hi developers, I use this handler to convert a jpg embedded in an Adobe Ilustrator file (version 6 or 7) as Hexadecimal data in a binary image within Runrev. But it takes so long. Comments to make this faster are welcome. on mouseUp put the ticks into zxc show img id 1088 put fld hexadecimal into asd replace return with empty in asd put numtochar(0) after qwe repeat until asd is empty put numtochar(baseconvert(char 1 to 2 of asd,16,10)) after qwe put numtochar(baseconvert(char 3 to 4 of asd,16,10)) after qwe put numtochar(baseconvert(char 5 to 6 of asd,16,10)) after qwe delete char 1 to 6 of asd put numtochar(0) after qwe end repeat delete last char of qwe put chartonum(char -4 of qwe),chartonum(char -3 of qwe),chartonum(char -2 of qwe),chartonum(char -1 of qwe) create img set the height of it to fld imgheight set the width of it to fld imgwidth set the imagedata of it to qwe hide img id 1088 put ((the ticks - zxc) / 60) && "seconds to create the binary imagedata from hexadecimal data" end mouseUp I post this stack to download, so you could run the code with the hex data: Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From pixelbird at interisland.net Fri Jan 9 15:02:20 2004 From: pixelbird at interisland.net (Ken Norris) Date: Fri, 09 Jan 2004 12:02:20 -0800 Subject: An alternative to the one pixel editing of an image In-Reply-To: <20040109150345.91F8E9302DC@mail.runrev.com> Message-ID: Hi Wouter, > Date: Fri, 9 Jan 2004 16:01:21 +0100 > From: Wouter > Subject: An alternative to the one pixel editing of an image > > An alternative to the one pixel editing of an image > proposed by Scott Raney a while ago :^) > (to keep the transparency of an image in this case) > is the use of the export command. (works for me) > > export img < imagename > to aVar as PNG -- or RLE > set the text of img < imagename > to aVar > > (don't forget to save) --------- Great idea. Thanks for posting this. Ken N. From dsc at swcp.com Fri Jan 9 15:58:09 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Jan 2004 13:58:09 -0700 Subject: Converting Hexadecimal in Binary In-Reply-To: <20040109194859.62484.qmail@web40513.mail.yahoo.com> Message-ID: <87E66DF8-42E6-11D8-AA02-000A9567A3E6@swcp.com> On Friday, January 9, 2004, at 12:48 PM, Alejandro Tejada wrote: > I use this handler to convert a jpg embedded in > an Adobe Ilustrator file (version 6 or 7) as > Hexadecimal data in a binary image within Runrev. Do these help? -- hex(s) is s converted to hex function hex s get binaryDecode("H*",s,h) return h end hex -- unhex(h) is the string equivalent of a hex sequence function unhex h return binaryEncode("H*",h) end unhex Dar Scott From dsc at swcp.com Fri Jan 9 16:02:42 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Jan 2004 14:02:42 -0700 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: Message-ID: <2A7F9EF0-42E7-11D8-AA02-000A9567A3E6@swcp.com> On Friday, January 9, 2004, at 05:10 AM, Wouter wrote: > #### = changed > function cardImage theStack #### > local tCurrentCardImage, tOldBuffer, tID > put the alwaysBuffer of stack theStack into tOldBuffer > put the cantmodify of stack theStack into tCMOldBuffer #### > set the cantmodify of stack theStack to false #### > set the alwaysBuffer of stack theStack to false > set the alwaysBuffer of stack theStack to true > put the windowID of stack theStack into wID > put the pixMapID of stack theStack into pID > if not ((pID is wID) or (pID is 0)) then > create invisible image > put the imagePixMapID of last image into tID > set the imagePixMapID of last image to (the pixMapID of stack > theStack) #### > export last image to tCurrentCardImage as PNG > set the imagePixMapID of last image to tID > set the alwaysBuffer of stack theStack to false > set the cantmodify of stack theStack to tCMOldBuffer #### > delete last image > end if > return tCurrentCardImage > end cardImage I like it! Maybe theStack can be made optional, too. If so, should it be defaultStack or topStack? Anybody have ideas on specifying the card? Dar Scott From capellan2000 at yahoo.com Fri Jan 9 16:03:35 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 9 Jan 2004 13:03:35 -0800 (PST) Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <20040109150345.C678E9302E1@mail.runrev.com> Message-ID: <20040109210335.30630.qmail@web40506.mail.yahoo.com> Wouter wrote: > #### = changed > function cardImage theStack #### > local tCurrentCardImage, tOldBuffer, tID > put the alwaysBuffer of stack theStack into > tOldBuffer > put the cantmodify of stack theStack into > tCMOldBuffer #### > set the cantmodify of stack theStack to false > #### > set the alwaysBuffer of stack theStack to false > set the alwaysBuffer of stack theStack to true > put the windowID of stack theStack into wID > put the pixMapID of stack theStack into pID > if not ((pID is wID) or (pID is 0)) then > create invisible image > put the imagePixMapID of last image into tID > set the imagePixMapID of last image to (the > pixMapID of stack > theStack) #### > export last image to tCurrentCardImage as PNG > set the imagePixMapID of last image to tID > set the alwaysBuffer of stack theStack to false > set the cantmodify of stack theStack to > tCMOldBuffer #### > delete last image > end if > return tCurrentCardImage > end cardImage How did you call this function? I wrote in the message box the following get cardImage(Home) put it and the result is the binary PNG data in the message box and a temporal image that dissapears when I click on it. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From JimCarwardine at OwnYourFuture-net.com Fri Jan 9 15:59:44 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Fri, 09 Jan 2004 16:59:44 -0400 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: Message-ID: You guys are way beyond me. :-! I think I'll use another strategy to allow users to jump to a certain card. Very interesting discussion, however... Jim on 1/9/04 8:10 AM, Wouter wrote: > > On 09 Jan 2004, at 13:00, use-revolution-request at lists.runrev.com wrote: > >> Message: 5 >> Date: Fri, 9 Jan 2004 00:12:41 -0700 >> From: Dar Scott >> Subject: Re: Rev Crash Again! ... cardImage() function >> To: How to use Revolution >> Message-ID: <367B081A-4273-11D8-8618-000A9567A3E6 at swcp.com> >> Content-Type: text/plain; charset=US-ASCII; format=flowed >> >> >> On Wednesday, January 7, 2004, at 10:00 PM, Dar Scott wrote: >> >>> Here is my function: >> >> Here is a revision that handles the unusual case of the stack in >> defaultFolder not being open or otherwise not containing a valid value. >> >> -- Returns an image (PNG) of current card even if obscured >> -- or off screen. In addition this works when >> -- lock screen is on, allowing PNGs of other cards to be obtained. >> -- This is based on code by Ken Ray and Brian Yennie. >> function cardImage >> local tCurrentCardImage, tOldBuffer, tID >> put the alwaysBuffer of this stack into tOldBuffer >> set the alwaysBuffer of this stack to false >> set the alwaysBuffer of this stack to true >> put the windowID of this stack into wID >> put the pixMapID of this stack into pID >> if not ((pID is wID) or (pID is 0)) then >> create invisible image >> put the imagePixMapID of last image into tID >> set the imagePixMapID of last image to (the pixMapID of this >> stack) >> export last image to tCurrentCardImage as PNG >> set the imagePixMapID of last image to tID >> set the alwaysBuffer of this stack to tOldBuffer >> delete last image >> end if >> return tCurrentCardImage >> end cardImage >> >> If one tries making a variation of this that is more like imag007, then >> the stack should be checked to be among the lines of openStacks(). If >> this function is used as is to look at other stacks, then care must be >> made in setting the default stack and openStacks() can be checked then, >> too. >> >> In tinkering with this, one might ask whether the temporary image >> should be in the stack getting its portrait or in some utility stack. >> I suspect "create invisible image" will put it on this card, the one >> getting its picture taken. Is that good or bad? >> >> Dar Scott > > Here is a little change on that: > > #### = changed > function cardImage theStack #### > local tCurrentCardImage, tOldBuffer, tID > put the alwaysBuffer of stack theStack into tOldBuffer > put the cantmodify of stack theStack into tCMOldBuffer #### > set the cantmodify of stack theStack to false #### > set the alwaysBuffer of stack theStack to false > set the alwaysBuffer of stack theStack to true > put the windowID of stack theStack into wID > put the pixMapID of stack theStack into pID > if not ((pID is wID) or (pID is 0)) then > create invisible image > put the imagePixMapID of last image into tID > set the imagePixMapID of last image to (the pixMapID of stack > theStack) #### > export last image to tCurrentCardImage as PNG > set the imagePixMapID of last image to tID > set the alwaysBuffer of stack theStack to false > set the cantmodify of stack theStack to tCMOldBuffer #### > delete last image > end if > return tCurrentCardImage > end cardImage > > > Greetings, > > WA > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From mmaitzen at iupui.edu Fri Jan 9 16:08:57 2004 From: mmaitzen at iupui.edu (Michael Maitzen) Date: Fri, 09 Jan 2004 16:08:57 -0500 Subject: [OT] new Mac software: GarageBand and iLife'04 (Alex Rice) In-Reply-To: <20040109210448.F3D9F930319@mail.runrev.com> Message-ID: No G5's will boot up on OS 9. There may be a few G4s that don't either but I'm not sure about that. You can still use OS 9 under Classic. MRM -- Michael R. Maitzen Teleproduction Supervisor School of Liberal Arts, IUPUI mmaitzen at iupui.edu http://comtechlab.iupui.edu > Date: Fri, 9 Jan 2004 10:12:06 -0700 > From: Alex Rice > Subject: Re: [OT] new Mac software: GarageBand and iLife'04 > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On Jan 8, 2004, at 11:52 PM, wrote: > >> And isn't it true that newer Macs can't install OS9 even as a second >> startup disk? > > I am wondering the same thing. I have a newer G4-dual-800 Mac. I > installed OS X without having OS 9 installed first. Later I failed > utterly trying to install MacOS9 to use for Classic. Finally I just > plugged into a LAN and copied a OS 9 folder from another Mac. Now OS 9 > shows up in my Startup Disks... but I haven't needed to boot into it > yet. > > Alex Rice | Mindlube Software | > > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > > ------------------------------ From dsc at swcp.com Fri Jan 9 16:10:42 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Jan 2004 14:10:42 -0700 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <20040109210335.30630.qmail@web40506.mail.yahoo.com> Message-ID: <486127DB-42E8-11D8-AA02-000A9567A3E6@swcp.com> On Friday, January 9, 2004, at 02:03 PM, Alejandro Tejada wrote: > How did you call this function? > > I wrote in the message box the following > > get cardImage(Home) > put it > > and the result is the binary PNG data in > the message box and a temporal image that > dissapears when I click on it. Right. You should see the letters "PNG" after the first character. Create an image named Display and do this: put cardImage("Home") into image "Display" Concerning the temporal image. The earlier version of the function did not have the stack reference, and only referred to the current card. It was up to the calling function to lock screen if that was needed. Now that the stack reference is in this function, then the lock screen needs to be moved into the function. (I think I'm seeing the first "lock screen" after Revolution starts to not work, but I'm not sure.) Dar Scott From wouter.abraham at pi.be Fri Jan 9 16:49:52 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 9 Jan 2004 22:49:52 +0100 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <20040109210450.BB3E793031D@mail.runrev.com> References: <20040109210450.BB3E793031D@mail.runrev.com> Message-ID: This thread should now be called : No rev crash again and metacard neither, or something :^)) On 09 Jan 2004, at 22:04, use-revolution-request at lists.runrev.com wrote: > > Message: 10 > Date: Fri, 9 Jan 2004 13:03:35 -0800 (PST) > From: Alejandro Tejada > Subject: Re: Rev Crash Again! ... cardImage() function > To: use-revolution at lists.runrev.com > Message-ID: <20040109210335.30630.qmail at web40506.mail.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > snip > How did you call this function? > > I wrote in the message box the following > > get cardImage(Home) > put it > > and the result is the binary PNG data in > the message box and a temporal image that > dissapears when I click on it. > > al Ok here is an example based on the idea of Jim to make thumbnails. But this are not real thumbnails, only resized images. To make a real thumbnail take a screenshot (import or export can both be used) from the produced image. 1. make list field named "list" 2. a btn to put the windows in fld "list" 3. a second btn with the following script: on mouseup put line (the hilitedline of fld "list") of fld "list" into sname if sname is not in the windows then answer "First update the window list" exit to top end if if sname is not empty then put cardImage(sname) into a if there is not an img "test" then create invisible img set the name of last img to "test" end if if there is an img "test" then set the text of img "test" to a put the width of img "test" into x put the height of img "test" into y ### if a resizing is wanted you can do this for example ### adapt to your own needs if x > y then put x div 100 into theFactor else put y div 100 into theFactor if theFactor > 0 then set the width of img "test" to x div theFactor set the height of img "test" to y div theFactor end if show img "test" choose browse tool end mouseup #### = changed function cardImage theStack #### local tCurrentCardImage, tOldBuffer, tID put the alwaysBuffer of stack theStack into tOldBuffer put the cantmodify of stack theStack into tCMOldBuffer #### set the cantmodify of stack theStack to false #### set the alwaysBuffer of stack theStack to false set the alwaysBuffer of stack theStack to true put the windowID of stack theStack into wID put the pixMapID of stack theStack into pID if not ((pID is wID) or (pID is 0)) then create invisible image --put the imagePixMapID of last image into tID ### you can safely omit this line set the imagePixMapID of last image to (the pixMapID of stack theStack) export last image to tCurrentCardImage as PNG --set the imagePixMapID of last image to tID ### you can safely omit this line set the alwaysBuffer of stack theStack to false set the cantmodify of stack theStack to tCMOldBuffer #### delete last image else #### add your own error text here answer "Sorry no deal, no picture data could be taken" exit to metacard end if return tCurrentCardImage end cardImage Have fun WA. From wouter.abraham at pi.be Fri Jan 9 17:00:19 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 9 Jan 2004 23:00:19 +0100 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <20040109210450.BB3E793031D@mail.runrev.com> References: <20040109210450.BB3E793031D@mail.runrev.com> Message-ID: <37192A06-42EF-11D8-8045-003065CC999E@pi.be> On 09 Jan 2004, at 22:04, use-revolution-request at lists.runrev.com wrote: > Message: 9 > Date: Fri, 9 Jan 2004 14:02:42 -0700 > From: Dar Scott > Subject: Re: Rev Crash Again! ... cardImage() function > To: How to use Revolution > Message-ID: <2A7F9EF0-42E7-11D8-AA02-000A9567A3E6 at swcp.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On Friday, January 9, 2004, at 05:10 AM, Wouter wrote: > >> #### = changed >> function cardImage theStack #### >> local tCurrentCardImage, tOldBuffer, tID >> put the alwaysBuffer of stack theStack into tOldBuffer >> put the cantmodify of stack theStack into tCMOldBuffer #### >> set the cantmodify of stack theStack to false #### >> set the alwaysBuffer of stack theStack to false >> set the alwaysBuffer of stack theStack to true >> put the windowID of stack theStack into wID >> put the pixMapID of stack theStack into pID >> if not ((pID is wID) or (pID is 0)) then >> create invisible image -- put the imagePixMapID of last image into tID ### not really needed >> set the imagePixMapID of last image to (the pixMapID of stack >> theStack) #### >> export last image to tCurrentCardImage as PNG -- set the imagePixMapID of last image to tID >> set the alwaysBuffer of stack theStack to false >> set the cantmodify of stack theStack to tCMOldBuffer #### >> delete last image else answer "No picture data could be obtained" with "Sorry" exit to metacard end if >> return tCurrentCardImage >> end cardImage > > I like it! Maybe theStack can be made optional, too. If so, should it > be defaultStack or topStack? > > Anybody have ideas on specifying the card? > > Dar Scott > That depends on the application of this handler. Your choice :^) But anyway, the buggyness was ours. Though some more elaborate elucidation on this kind of things in the TD would not be a luxury. A happy man greeting, WA From dsc at swcp.com Fri Jan 9 18:03:06 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Jan 2004 16:03:06 -0700 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: Message-ID: On Friday, January 9, 2004, at 01:59 PM, Jim Carwardine wrote: > You guys are way beyond me. :-! I think I'll use another strategy to > allow > users to jump to a certain card. I always assume that I'm way beyond me, too. That is why I tend to package things like this into functions and then I can then think about the function and not the insides. Dar Scott From capellan2000 at yahoo.com Fri Jan 9 18:26:19 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 9 Jan 2004 15:26:19 -0800 (PST) Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <20040109210450.A58D093031C@mail.runrev.com> Message-ID: <20040109232619.67311.qmail@web40501.mail.yahoo.com> on Fri, 9 Jan 2004 14:02:42 -0700 Dar Scott wrote: > I like it! Maybe theStack can be made optional, > too. If so, should it > be defaultStack or topStack? > > Anybody have ideas on specifying the card? Look at these additions: In a button this handler calls the function: on mouseUp create img set the text of it to cardsImage(MyTestStack,5) end mouseUp where "MyTestStack" is the stack name and 5 is the card number. additions marked as -- **** function cardsImage theStack theCard -- **** local tCurrentCardImage, tOldBuffer, tID put the topstack into qwerty -- **** lock screen -- **** go to card theCard of stack thestack -- **** toplevel qwerty -- **** unlock screen -- **** put the alwaysBuffer of stack theStack into tOldBuffer put the cantmodify of stack theStack into tCMOldBuffer set the cantmodify of stack theStack to false set the alwaysBuffer of stack theStack to false set the alwaysBuffer of stack theStack to true put the windowID of stack theStack into wID put the pixMapID of stack theStack into pID if not ((pID is wID) or (pID is 0)) then create invisible image put the imagePixMapID of last image into tID set the imagePixMapID of last image to (the pixMapID of stack theStack) export last image to tCurrentCardImage as PNG set the imagePixMapID of last image to tID set the alwaysBuffer of stack theStack to false set the cantmodify of stack theStack to tCMOldBuffer delete last image end if return tCurrentCardImage end cardsImage al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From dsc at swcp.com Fri Jan 9 18:34:48 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Jan 2004 16:34:48 -0700 Subject: Real time voice transmission In-Reply-To: Message-ID: <6A2EE793-42FC-11D8-AA02-000A9567A3E6@swcp.com> On Friday, January 9, 2004, at 10:43 AM, Kirby Glad wrote: > What if you had an internet game and you wanted participants to be > able to > talk to each other by voice over T1. It would not have to be the > quality of > full VOIP. It could even be simplex rather than duplex. This problem > should be similar to broadcasting a web camera output, except you just > want > to send to a specific IP address. > > How could you do this using Rev? Unless you use some outside service, some form of sockets communication should work. If there are several games listening to the sound, then multicast would be great, but that is not supported in Revolution. Right now record and play are to files. That would create a delay and might not work well. It would be nice if sound input and output (as well as MIDI) could be open as a stream, in a manner much as sockets are used. I heard somebody mention connecting a player object to a QT stream. I don't know if that works well and even if it does, you still have the problem of setting up a server. Maybe there are external apps that can do this that can be controlled from within a Revolution application. And then there are externals... Dar Scott From dsc at swcp.com Fri Jan 9 18:48:37 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Jan 2004 16:48:37 -0700 Subject: Rev Crash Again! ... cardImage() function In-Reply-To: <20040109232619.67311.qmail@web40501.mail.yahoo.com> Message-ID: <582A0264-42FE-11D8-AA02-000A9567A3E6@swcp.com> On Friday, January 9, 2004, at 04:26 PM, Alejandro Tejada wrote: > function cardsImage theStack theCard -- **** > local tCurrentCardImage, tOldBuffer, tID > put the topstack into qwerty -- **** > lock screen -- **** > go to card theCard of stack thestack -- **** Should the body of this function go here? And then "go back"? > toplevel qwerty -- **** Is this > unlock screen -- **** > put the alwaysBuffer of stack theStack into > tOldBuffer > put the cantmodify of stack theStack into > tCMOldBuffer > set the cantmodify of stack theStack to false > set the alwaysBuffer of stack theStack to false > set the alwaysBuffer of stack theStack to true > put the windowID of stack theStack into wID > put the pixMapID of stack theStack into pID > if not ((pID is wID) or (pID is 0)) then > create invisible image > put the imagePixMapID of last image into tID > set the imagePixMapID of last image to (the pixMapID > of stack theStack) > export last image to tCurrentCardImage as PNG > set the imagePixMapID of last image to tID > set the alwaysBuffer of stack theStack to false > set the cantmodify of stack theStack to tCMOldBuffer > delete last image > end if > return tCurrentCardImage > end cardsImage Will all this restore defaultStack, too? If "go to" is used, then maybe the a function that calls the older smaller function might be used; the stack references in the body of this might not be needed. If "go to" goes to a card and the stack is already there, are there messages? Progress! Dar Scott From dsc at swcp.com Fri Jan 9 18:55:07 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 9 Jan 2004 16:55:07 -0700 Subject: An alternative to the one pixel editing of an image In-Reply-To: Message-ID: <406E56D8-42FF-11D8-AA02-000A9567A3E6@swcp.com> On Friday, January 9, 2004, at 08:01 AM, Wouter wrote: > export img < imagename > to aVar as PNG -- or RLE > set the text of img < imagename > to aVar RLE is not listed in the TD as an option. I see this: paint, JPEG, GIF, PNG On my setup, the "paint" format will generate PBM (P6). P6 is binary after the header. Is export as RLE an undocumented feature? Dar Scott From wouter.abraham at pi.be Fri Jan 9 19:38:30 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 10 Jan 2004 01:38:30 +0100 Subject: use-revolution Digest, Vol 4, Issue 60 In-Reply-To: <20040109210450.BB3E793031D@mail.runrev.com> References: <20040109210450.BB3E793031D@mail.runrev.com> Message-ID: <5011BF70-4305-11D8-8045-003065CC999E@pi.be> Hello, On 09 Jan 2004, at 22:04, use-revolution-request at lists.runrev.com wrote: > Message: 2 > Date: Fri, 9 Jan 2004 12:35:50 -0500 > From: Thomas J McGrath III <3mcgrath at adelphia.net> > Subject: Full keyboard Access > To: How to use Revolution > Message-ID: <4462FC87-42CA-11D8-BF9D-000A95DA60FA at adelphia.net> > Content-Type: text/plain; charset=WINDOWS-1252; format=flowed > > I posted about the keyboard access on Windows showing up in my app. I > turned on Keyboard access in OSX but it does not seem to work. > > Is there another thing that lets the Mac access the buttons like the > Windows is? traversal is on have a look in the TD at everything starting with "accel" or "mnemonic" > > Tom HTH, WA From capellan2000 at yahoo.com Fri Jan 9 19:48:32 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 9 Jan 2004 16:48:32 -0800 (PST) Subject: cardImage() function Message-ID: <20040110004832.33286.qmail@web40507.mail.yahoo.com> on Fri Jan 9 Dar Scott wrote: >> function cardsImage theStack theCard -- **** >> local tCurrentCardImage, tOldBuffer, tID >> put the topstack into qwerty -- **** >> lock screen -- **** >> go to card theCard of stack thestack -- **** >Should the body of this function go here? >And then "go back"? I don't remember any other way to go to a selected card in another stack. Notice that I suppose that the stack that you want to take the card image is not hidden, but if you prefers to hide that stack probably you could erase the lines that lock and unlock the screen. >> toplevel qwerty -- **** >Is this >> unlock screen -- **** >> put the alwaysBuffer of stack theStack into >> tOldBuffer [snip] >> return tCurrentCardImage >> end cardsImage >Will all this restore defaultStack, too? >If "go to" is used, then maybe the a function >that calls the older smaller function might be >used; the stack references in the body of >this might not be needed. >If "go to" goes to a card and the stack is already >there, are there messages? Yes, but using "Lock Messages" could stop them. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From capellan2000 at yahoo.com Fri Jan 9 20:01:02 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 9 Jan 2004 17:01:02 -0800 (PST) Subject: Converting Hexadecimal in Binary Message-ID: <20040110010102.84471.qmail@web40501.mail.yahoo.com> on Fri Jan 9 13:58:09 EST 2004 Dar Scott wrote: >Do these help? >unhex(h) is the string equivalent of a hex sequence >function unhex h > return binaryEncode("H*",h) >end unhex This function could help, but I was thinking about some way to convert this long hexadecimal string in an array or convert the "repeat until empty" to "repeat for each". How much time does it takes in your machine to convert the data in an image? al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From JimCarwardine at OwnYourFuture-net.com Fri Jan 9 20:13:13 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Fri, 09 Jan 2004 21:13:13 -0400 Subject: Scrolling Cards In-Reply-To: <3FDFEE79.9000704@hyperactivesw.com> Message-ID: How do I change the size of the group. In the inspector, if I use the Size and Position section, I don't seem to be able to resize the group and get the scroll bar to work correctly. I created a long, narrow group that extends off the card and I loaded it with buttons. Exactly what part of the inspector do I use to shrink the group... or do I use a rev statement in the msg box? Jim on 12/17/03 1:49 AM, J. Landman Gay wrote: > On 12/16/03 6:32 PM, Jim Carwardine wrote: > >> I?m very new to Revolution and I have a question. I?m designing a database >> that is relational in the sense that there are parent/child relationships >> between records that can go many levels deep. When I look at a parent >> record, I want to see all of the first level children of that record in a >> list. Each record has a number of fields I want to show. What I seem to be >> reading in the docs for Rev is that I can place a vertical scroll bar on the >> card that will allow the fields in the card to scroll, which is exactly what >> I want to do. Is that clear enough for someone to get me started? How do I >> do it? Jim > > The easiest way is to create a very tall card with enough space to lay > out all your fields. The card can be taller than the screen if > necessary. Then group all the fields and objects on the card. In the > property inspector, set the group to have a vertical scrollbar. Then > resize both the group and the stack window to be smaller than the card > so that the scrollbar becomes active. If you set the size of the group > to be the same size as the stack window, it will look just like a > scrolling document. -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From wouter.abraham at pi.be Fri Jan 9 20:22:18 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 10 Jan 2004 02:22:18 +0100 Subject: Conceptual question about opening multiple windows of thesamekind In-Reply-To: <20040108112711.7292D9301F6@mail.runrev.com> References: <20040108112711.7292D9301F6@mail.runrev.com> Message-ID: <6E3FBE6C-430B-11D8-8045-003065CC999E@pi.be> On 08 Jan 2004, at 12:27, use-revolution-request at lists.runrev.com wrote: > Message: 9 > Date: Thu, 08 Jan 2004 19:31:50 +0900 > From: Doug Lerner > Subject: Conceptual question about opening multiple windows of the > same kind > To: > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > This is a basic conceptual question. I'm trying to decide how to > proceed. > > Let's say I wanted to open multiple windows (stacks, not cards) of a > certain > type. Examples might be multiple drawing windows for a paint program. > Or > multiple chat windows for different chat rooms. > > What concepts should I be looking at? Templates? Groups and background > attributes? Cloning? > > For example, let's say I already have one window/stack that is working > as I > like. But maybe I want more than than that one window, with some > different > settings, opened up. Should I clone that stack and then delete it when > done? > Is there a better approach? > > I know the question is sort of vague, but I am looking for a general > conceptual pointer or best practices suggestion rather than a cookbook > total > answer at this stage. > > Thanks! > > Doug Lerner, Tokyo Hi, Have a real good look at Klaus Major's "Analyze_It" stack. You will discover a beauty. Greetings, WA From JimCarwardine at OwnYourFuture-net.com Fri Jan 9 20:30:46 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Fri, 09 Jan 2004 21:30:46 -0400 Subject: Scrolling Cards In-Reply-To: Message-ID: Figured it out... Jim on 1/9/04 9:13 PM, Jim Carwardine wrote: > How do I change the size of the group. In the inspector, if I use the Size > and Position section, I don't seem to be able to resize the group and get > the scroll bar to work correctly. I created a long, narrow group that > extends off the card and I loaded it with buttons. Exactly what part of the > inspector do I use to shrink the group... or do I use a rev statement in the > msg box? Jim > > on 12/17/03 1:49 AM, J. Landman Gay wrote: > >> On 12/16/03 6:32 PM, Jim Carwardine wrote: >> >>> I?m very new to Revolution and I have a question. I?m designing a database >>> that is relational in the sense that there are parent/child relationships >>> between records that can go many levels deep. When I look at a parent >>> record, I want to see all of the first level children of that record in a >>> list. Each record has a number of fields I want to show. What I seem to be >>> reading in the docs for Rev is that I can place a vertical scroll bar on the >>> card that will allow the fields in the card to scroll, which is exactly what >>> I want to do. Is that clear enough for someone to get me started? How do I >>> do it? Jim >> >> The easiest way is to create a very tall card with enough space to lay >> out all your fields. The card can be taller than the screen if >> necessary. Then group all the fields and objects on the card. In the >> property inspector, set the group to have a vertical scrollbar. Then >> resize both the group and the stack window to be smaller than the card >> so that the scrollbar becomes active. If you set the size of the group >> to be the same size as the stack window, it will look just like a >> scrolling document. -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From doug at webcrossing.com Fri Jan 9 21:02:53 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 10 Jan 2004 11:02:53 +0900 Subject: Setting custom properties for a newly cloned stack Message-ID: What is the best way, timing-wise, to set the custom properties of a newly cloned stack. I (stupidly) tried clone stack "myStack" set the myProperty of "Copy of myStack" to "123" But... if in the openStack handler of the cloned stack I need to make immediate use of that property it seems it is too late. The clone command opens up the stack *first*, right? Then *after that* the set command runs. So how to best set custom properties in the cloned stack if they need to be used during the openStack handler? Global variables? doug From alex at mindlube.com Fri Jan 9 22:59:31 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 9 Jan 2004 20:59:31 -0700 Subject: problems pasting text into the IDE (mac os x) Message-ID: <64BA4B18-4321-11D8-A69F-000393C4760A@mindlube.com> I work in MS Excel extensively, copy pasting text between it and Revolution. I experience problems with the Rev IDE when I copy-paste text from MS Excel into the IDE, on OS X. Like: - script won't compile - find and replace dialog won't find correctly - answer dialog won't properly display text stored in a custom property clipboard() just says "text". But most fields in the IDE seem to be perfectly happy to accept extended or control characters in a copy-paste operation, but that causes trouble later on. What makes me think it's a bug with Rev: If I delete the pasted text in the IDE, and then type the same text directly into the IDE, then the problems go away. Also if I paste the same text from Excel into Emacs, or into TextEdit.app, no control characters or extended characters are shown. So even if Excel *is* putting weird characters into the pasteboard, shouldn't Rev be able to deal with it? Are there any 3rd party apps I can use to clean up the text of what's on the clipboard. I guess I could write a smart pasteKey handler and try to insert it into the message path before the IDE's pasteKey handler, but what a pain to track this down. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kray at sonsothunder.com Sat Jan 10 00:04:14 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 9 Jan 2004 23:04:14 -0600 Subject: dotted lines in windows around back layer button In-Reply-To: <21DDA484-4258-11D8-A77C-000A956C462A@mangomultimedia.com> Message-ID: <000f01c3d737$34f6f9c0$6901a8c0@LightningFlash> > For Mac OS X you can turn on full keyboard navigation in the System > Preferences. In OS X.3 it is under Keyboard & Mouse -> Keyboard > Shortcuts -> Turn on full keyboard access. I use this all of > the time > for navigating dialog boxes. I haven't ever tested it with Rev apps > though. That's very cool, Trevor! I didn't even know that Macs could do that now... sweet! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dsc at swcp.com Sat Jan 10 02:17:00 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Jan 2004 00:17:00 -0700 Subject: Converting Hexadecimal in Binary In-Reply-To: <20040110010102.84471.qmail@web40501.mail.yahoo.com> Message-ID: On Friday, January 9, 2004, at 06:01 PM, Alejandro Tejada wrote: >> unhex(h) is the string equivalent of a hex sequence >> function unhex h >> return binaryEncode("H*",h) >> end unhex > > This function could help, but I was thinking about > some way to convert this long hexadecimal string > in an array or convert the "repeat until empty" > to "repeat for each". Maybe this can be simplified: > put numtochar(0) after qwe > repeat until asd is empty > put numtochar(baseconvert(char 1 to 2 of > asd,16,10)) after qwe > put numtochar(baseconvert(char 3 to 4 of > asd,16,10)) after qwe > put numtochar(baseconvert(char 5 to 6 of > asd,16,10)) after qwe > delete char 1 to 6 of asd > put numtochar(0) after qwe > end repeat > delete last char of qwe Maybe something like this would be faster. repeat with i = 1 to length(asd) step 6 put null & unhex(char i to i+5 of asd) after qwe end repeat To speed this up, you might expand the function call in the expression. The problem is inserting the extra null every three bytes, otherwise this could be done in one step. It is easy to get data from an image in three bytes per pixel, the export as "paint" provides data in P6 format, and that can be trimmed to get three bytes per pixel. The problem is setting the image. I can set it to a PNG value, but not to P6 (binary PPM). Dar Scott From doug at webcrossing.com Sat Jan 10 03:02:57 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 10 Jan 2004 17:02:57 +0900 Subject: When clicking on a palette item, how does Rev know what stack you were in? Message-ID: If there is not a built-in way of doing this I can probably rig something up with global variables, looking at the current open stacks manually, or something like that, but I thought I would ask first... Suppose there are several windows open and I click in a palette window somewhere choosing a tool or a chunk. Is there an easy way of detecting which of the windows I was in when I went to click the palette? Should I just use the mouseLeave handler to store a reference to where I was in a global variable or something like that? Thanks, doug From wouter.abraham at pi.be Sat Jan 10 05:16:10 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 10 Jan 2004 11:16:10 +0100 Subject: An alternative to the one pixel editing of an image Message-ID: <02ED81DA-4356-11D8-B7DD-003065CC999E@pi.be> > Re: An alternative to the one pixel editing of an image > ? From: Dar Scott > ? Subject: Re: An alternative to the one pixel editing of an image > ? Date: Fri, 09 Jan 2004 16:57:02 -0800 > > On Friday, January 9, 2004, at 08:01 AM, Wouter wrote: > > > export img < imagename > to aVar as PNG -- or RLE > set the text of img < imagename > to aVar > > > RLE is not listed in the TD as an option. I see this: > > paint, JPEG, GIF, PNG > > On my setup, the "paint" format will generate PBM (P6). P6 is binary > after the header. > > Is export as RLE an undocumented feature? > > Dar Scott No, just my fault. Just copy-pasting something from an experimental piece of script and not enough editing afterwards. rle is the standard setting of the paintcompression when importing a snapshot without the paint format. But PNG is so far the best for keeping the transparent information. Anyway after using the lines above it was not necessary to do Scott Raney's 1 pixel editing trick anymore. Sorry for the confusion, and hope not to add more to it with this reply, (I did it again :-) WA From FlexibleLearning at aol.com Sat Jan 10 05:44:04 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat, 10 Jan 2004 05:44:04 EST Subject: encryption question Message-ID: <16e.287aaf67.2d313174@aol.com> Does the current build of RR support customProperties containing compressed data in password protected stacks, or does does the compressed data still get scrambled when the stack is re-opened? /H From wouter.abraham at pi.be Sat Jan 10 06:42:30 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 10 Jan 2004 12:42:30 +0100 Subject: problems pasting text into the IDE (mac os x) In-Reply-To: <20040110101752.DFCAD930339@mail.runrev.com> References: <20040110101752.DFCAD930339@mail.runrev.com> Message-ID: <12833841-4362-11D8-B7DD-003065CC999E@pi.be> On 10 Jan 2004, at 11:17, use-revolution-request at lists.runrev.com wrote: > Message: 7 > Date: Fri, 9 Jan 2004 20:59:31 -0700 > From: Alex Rice > Subject: problems pasting text into the IDE (mac os x) > To: How to use Revolution > Message-ID: <64BA4B18-4321-11D8-A69F-000393C4760A at mindlube.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > I work in MS Excel extensively, copy pasting text between it and > Revolution. > > I experience problems with the Rev IDE when I copy-paste text from MS > Excel into the IDE, on OS X. Like: > > - script won't compile > - find and replace dialog won't find correctly > - answer dialog won't properly display text stored in a custom property > snip > Alex Rice | Mindlube Software | > Hi Alex, The problem can be caused by some < numtochar(0) > characters left in the text by any text editor. May be there are others, but this is the one I could catch. In the script editor you can produce the same effect : produce a little handler which will "apply" type for example a circumflex or umlaut followed by a tab then delete the character produced by this and try to "apply" again if done "correctly" it will throw the error then copy the text of the script into a fld and run the following handler: on mouseUp get fld "test" repeat for each char i in it put chartonum(i) & space after a end repeat put a into fld "test" end mouseUp HTH, WA From wouter.abraham at pi.be Sat Jan 10 10:43:06 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 10 Jan 2004 16:43:06 +0100 Subject: problems pasting text into the IDE (mac os x) Message-ID: Next results on: > >> Message: 7 >> Date: Fri, 9 Jan 2004 20:59:31 -0700 >> From: Alex Rice >> Subject: problems pasting text into the IDE (mac os x) >> To: How to use Revolution >> Message-ID: <64BA4B18-4321-11D8-A69F-000393C4760A at mindlube.com> >> Content-Type: text/plain; charset=US-ASCII; format=flowed >> >> I work in MS Excel extensively, copy pasting text between it and >> Revolution. >> >> I experience problems with the Rev IDE when I copy-paste text from MS >> Excel into the IDE, on OS X. Like: >> >> - script won't compile >> - find and replace dialog won't find correctly >> - answer dialog won't properly display text stored in a custom >> property >> > > snip > >> Alex Rice | Mindlube Software | >> > > > Hi Alex, > > The problem can be caused by some < numtochar(0) > characters left in > the text by any text editor. May be there are others, but this is the > one > I could catch. > Some more catches : the numtochar numbers to replace with empty in the scripttext: the 0 already mentioned produces a compile error "Handler: bad command" (in my testcase) 8, 29 will compile but produces a "can't find handler" - error when run Testmethod: on mouseUp put "on mouseup" & cr & "beep" & cr & "end mouseup" into fld "test" put numtochar(0) before line 2 of fld "test1" ### 0 8 29 end mouseUp Copy and paste the result into the script of a button and try to compile and/or run the script HTH, until the next catch if there are WA From 3mcgrath at adelphia.net Sat Jan 10 10:55:15 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sat, 10 Jan 2004 10:55:15 -0500 Subject: Message Path - bad behavior Message-ID: <61ED04AA-4385-11D8-BF9D-000A95DA60FA@adelphia.net> I need some advice. Bear with me on this explanation. The issue is the message path and openCard messages. Some times it does things unexpectedly. I have been tracking a problem with my stack. I have a main stack and a bunch of substacks. I set up the preOpenStack to handle some global variables and to set the screenLoc. I set up the preOpenCard to handle some handlers available in this stack. I also put a OpenCard in my stack script to handle specifics to this stacks cards. My problem is two fold: 1. Due to newness I put a pass Opencard in the openCard handler in my main stack. When I push a button to open another stack from the third card in my main stack the message goes to the main stacks opencard of it's first card and not even to the openCard of the card I was on. This has caused a weird glitch where the substack being called some times goes behind the main stack when called via Go. I eliminated the pass openCard in the main stack and now the message path goes instead to the script of the card I am on. Concerning the pass openCard: It seems like the pass openCard that is at the lowest level is being passed UP the line cause I press a button on card three and it goes right down to the lowest level and then goes up the path finding opencards. It should not do this.. It should only go down from button to card it is opening and then down the line. (believe me that this is happening and I think it is a bug or bad behavior at least) The path "with the pass openCard in the main stack" when I select the button on card three is: (the key here is card three) Button on card three - pressed (go to stack "Whatever") main stack - preOpenCard main stack - OpenCard Whatever stack - preOpenCard Whatever stack - OpenCard but sometimes it goes: (this should never happen) card 1 of main stack - preOpenCard card 1 of main stack - OpenCard Whatever stack - preOpenCard Whatever stack - OpenCard The difference is that in the script of the main stack is a openCard that is different then the one that is in card 1 of the main stack!! Why cause I want certain things to happen all of the time via the main stacks openCard and somethings I only want to happen when card 1 of the main stack is opened!! The path "without the pass openCard in the main stack" when I select the button on card three is: (the key here is card three) Button on card three - pressed (go to stack "Whatever") main stack - preOpenCard main stack - OpenCard Whatever stack - preOpenCard Whatever stack - OpenCard Always happens....... It appears like sometimes it look in one place and other times it looks else where. Meanwhile I didn't want it to look there at all. 2. What do I do to stop the message path when in substacks from going to handlers in the main stack. (I thought all I had to do was NOT pass the message ie. do nothing except trap the message where I am at) Would it not be better if there was a difference between the stack and substack????? This way a substack would act more like a truly separate window and things can be set up that are only specific to this substack and not EVER related to the main stack UNLESS I program it to do so. Like: stack - preopenStack stack - openStack stack - preopenCard stack - openCard AND substack - preopenSubstack (not related to the preopenStack and only applies to the substack we are in) substack - openSubstack (not related to the openStack and only applies to the substack we are in) substack - preopenCard - (but with no pass preopenCard then it does not go to main stack anywhere) substack - preopenCard - (with a pass preopenCard then it goes to the main stack) substack - openCard - (but with no pass openCard then it does not go to the main stack anywhere) substack - openCard - (with a pass openCard then it go to the main stack) Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From jacque at hyperactivesw.com Sat Jan 10 11:30:04 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 10 Jan 2004 10:30:04 -0600 Subject: Making handlers always available on startup In-Reply-To: References: Message-ID: <4000288C.8010109@hyperactivesw.com> On 1/8/04 5:26 PM, JonathanC at ag.nsw.gov.au wrote: > From: Scott Rossi wrote on Thu, 08 Jan 2004 > 08:03:07 -0800 > >>On 1/8/04 4:03 AM, "JonathanC at ag.nsw.gov.au" >>wrote: >> >> >>>I have come to Rev fairly recently from HyperCard. One of the things I >>>liked to do in HyperCard was creating custom handlers and having them >>>available in any stack. Some of these handlers would refer to other > > stacks > >>>(usually in the same folder as the Home stack, so they could just be >>>referred to by their short names rather than their full paths). >>>... >>>Isn't there the equivalent of a default "startUp" handler somewhere > > (like > >>>HyperCard's)? If so, I couldn't find it. >> >>Isn't "start using stack xyz" what you want? > > > Thanks, I know I can use that command, but: > 1. How do I get Revolution to execute that command every time it starts > up? Rev's Home stack is not accessible for editing, unlike HyperCard's. Instead, use the Plugins feature. To do that, create a stack and put all your custom handlers into the stack script. Include a preOpenStack (or an openStack) handler on the first card that puts the stack in use. Save the stack into Revolution's Plugins folder. Then restart Revolution and choose your plugin stack from the Development->Plugins->Settings menu. Set your stack to load every time Rev starts up. The next time you launch Rev, it will automatically open your plugin stack. The plugin stack's preOpenStack handler will put it in use. This effectively creates a library that will be accessible all the time, just as HC's home stack script was. > 2. How can I refer to stacks (or stack files) just by their short names? There are no globals for stacks, documents, or applications as there are in HyperCard. There is a similar feature though, a property called the stackfiles. You can set the stackfiles of a stack -- which is basically just the short name and the file name of any number of stacks -- and Rev will understand where the stack is when you refer to it by its short name (look up "stackfiles" in the dictionary for details.) However, this only works on a per-stack basis. There's no global way to link short file names with file paths. I haven't tried it, but you might experiment with setting the stackfiles in your new plugin stack. Since that stack will be in use, its stackfiles list might work globally as well, but I'm not sure. I'd be curious to know, if you get a chance to try it. From JimCarwardine at OwnYourFuture-net.com Sat Jan 10 11:29:14 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sat, 10 Jan 2004 12:29:14 -0400 Subject: Newbie Questions Message-ID: Short List of Questions... 1. Is there a search function that searches all the repositories of Rev. knowledge... especially the list archives over all years? And, BTW, what are all the repositories of knowledge? 2. If I have a button that is grouped so that it behaves like a bg btn in HC can I have a different icon for each card in that button? I know in HC I can?t because the button icon is shared in the background, but how about Rev? Would I have to keep it a card button and copy/paste it explicitly when i create a new card under script control? 3. If I give a button a custom icon (like a thumbnail jpg), I notice that Rev gives it an icon number. Is that number unique to the button? I think yes... 4. How do I reference a button in a group?... and, related to this, If I want to add a button to a scrolling group (the button position may be scrolled out of sight when I add it), how do I do it and get the position of the new button in the group spaced right? 5. I?m creating a set of custom nav buttons that allow the user to jump to a specific card of their choice. These buttons have the icon of the card button mentioned in question 2, so I?m transferring the thumbnail icon to the nav button, which of course will be seen on every card, by transferring the pictPath of the card button. If the user chooses to place a new picture on the original card button, will the thumbnail icon of the nav button change as well? 6. What?s a plugin and how do I use it? The Rev docs doesn?t give an answer as far as I can tell. Sorry for the long list. I?m sure some of these are answered in the knowledge base, I just can?t find them... hence my first question. Thanks... Jim -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From thomas at luquet.net Sat Jan 10 11:34:46 2004 From: thomas at luquet.net (Thomas Luquet) Date: Sat, 10 Jan 2004 17:34:46 +0100 Subject: french revolution mailing-liste In-Reply-To: <20040110101752.7EF3D930338@mail.runrev.com> References: <20040110101752.7EF3D930338@mail.runrev.com> Message-ID: There are a french mailing liste for revolution you can access it by http://fr.groups.yahoo.com/group/revolutionfr/ vous pouvez vous inscrire en envoyant un mail a : revolutionfr-subscribe at yahoogroupes.fr vous pouvez envoyez un message a : revolutionfr at yahoogroupes.fr n' esitez pas a vous inscrire et a parler de cette liste nous sommes encore trop peut. @ bient?t bhy ------- From 3mcgrath at adelphia.net Sat Jan 10 11:52:05 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sat, 10 Jan 2004 11:52:05 -0500 Subject: Newbie Questions In-Reply-To: References: Message-ID: <522DB24D-438D-11D8-BF9D-000A95DA60FA@adelphia.net> On Jan 10, 2004, at 11:29 AM, Jim Carwardine wrote: > Short List of Questions... > > 2. If I have a button that is grouped so that it behaves like a bg btn > in HC > can I have a different icon for each card in that button? I know in > HC I > can?t because the button icon is shared in the background, but how > about > Rev? Would I have to keep it a card button and copy/paste it > explicitly > when i create a new card under script control? when a new scripted card is created use the place group menu item. I learned that here on the list. tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From dsc at swcp.com Sat Jan 10 12:02:18 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Jan 2004 10:02:18 -0700 Subject: Message Path - bad behavior In-Reply-To: <61ED04AA-4385-11D8-BF9D-000A95DA60FA@adelphia.net> Message-ID: On Saturday, January 10, 2004, at 08:55 AM, Thomas J McGrath III wrote: > but sometimes it goes: (this should never happen) > card 1 of main stack - preOpenCard > card 1 of main stack - OpenCard > Whatever stack - preOpenCard > Whatever stack - OpenCard Is the main stack not open in this case? Dar Scott From capellan2000 at yahoo.com Sat Jan 10 12:39:57 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 10 Jan 2004 09:39:57 -0800 (PST) Subject: Converting Hexadecimal in Binary In-Reply-To: <20040110101752.A323F930337@mail.runrev.com> Message-ID: <20040110173957.30013.qmail@web40509.mail.yahoo.com> on Sat, 10 Jan 2004 00:17:00 -0700 Dar Scott wrote: > Maybe something like this would be faster. > > repeat with i = 1 to length(asd) step 6 > put null & unhex(char i to i+5 of asd) after qwe > end repeat This is 200% faster than the original!!! > The problem is inserting the extra null every three > bytes, otherwise this could be done in one step. > It is easy to get data from an image in three bytes > per pixel, the export as "paint" provides data in P6 > format, and that can be trimmed to get > three bytes per pixel. This is very interesting. Do you have a function able to export an image from MC/RR as RGB hexadecimal data? al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From James.Cass at sealedair.com Sat Jan 10 12:58:21 2004 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Sat, 10 Jan 2004 12:58:21 -0500 Subject: Newbie Questions In-Reply-To: Message-ID: > 1. Is there a search function that searches all the > repositories of Rev. knowledge... especially the > list archives over all years? Yes! The archived list has been Google-fied: http://www.google.com/advanced_search?q=site:lists.runrev.com > And, BTW, what are all the repositories of knowledge? That would be God. ;-P - James Jim Carwardine Sent by: use-revolution-bounces at lists.runrev.com 01/10/04 11:29 AM Please respond to How to use Revolution To: Revolution Listserve cc: Subject: Newbie Questions Short List of Questions... 1. Is there a search function that searches all the repositories of Rev. knowledge... especially the list archives over all years? And, BTW, what are all the repositories of knowledge? 2. If I have a button that is grouped so that it behaves like a bg btn in HC can I have a different icon for each card in that button? I know in HC I can?t because the button icon is shared in the background, but how about Rev? Would I have to keep it a card button and copy/paste it explicitly when i create a new card under script control? 3. If I give a button a custom icon (like a thumbnail jpg), I notice that Rev gives it an icon number. Is that number unique to the button? I think yes... 4. How do I reference a button in a group?... and, related to this, If I want to add a button to a scrolling group (the button position may be scrolled out of sight when I add it), how do I do it and get the position of the new button in the group spaced right? 5. I?m creating a set of custom nav buttons that allow the user to jump to a specific card of their choice. These buttons have the icon of the card button mentioned in question 2, so I?m transferring the thumbnail icon to the nav button, which of course will be seen on every card, by transferring the pictPath of the card button. If the user chooses to place a new picture on the original card button, will the thumbnail icon of the nav button change as well? 6. What?s a plugin and how do I use it? The Rev docs doesn?t give an answer as far as I can tell. Sorry for the long list. I?m sure some of these are answered in the knowledge base, I just can?t find them... hence my first question. Thanks... Jim -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jimlyons at earthlink.net Sat Jan 10 13:19:22 2004 From: jimlyons at earthlink.net (Jim Lyons) Date: Sat, 10 Jan 2004 13:19:22 -0500 Subject: Newbie Questions Message-ID: <838F86C6-4399-11D8-A124-000A95893982@earthlink.net> On Jan 10, 2004, at 11:29 AM, Jim Carwardine wrote: > Short List of Questions... > > 1. Is there a search function that searches all the repositories of > Rev. > knowledge... especially the list archives over all years? And, BTW, > what are > all the repositories of knowledge? I don't know ALL the repositories, but the main one you need to learn the answers to most of your other questions is the Rev docs. Use the Search feature a lot and ALWAYS look at the See Also menu of the items you turn up. > 2. If I have a button that is grouped so that it behaves like a bg btn > in HC > can I have a different icon for each card in that button? I know in > HC I > can?t because the button icon is shared in the background, but how > about > Rev? Would I have to keep it a card button and copy/paste it > explicitly > when i create a new card under script control? That would be one way. If you want it to be in a background group and have a different icon on each card, you would have to switch the icon of the button when the card opens. See Roadmap -> Welcome -> HyperCard Developer, About Groups and Backgrounds > 3. If I give a button a custom icon (like a thumbnail jpg), I notice > that > Rev gives it an icon number. Is that number unique to the button? I > think > yes... Yes. See Roadmap -> Transcript Dictionary -> ID property > 4. How do I reference a button in a group?... and, related to this, If > I > want to add a button to a scrolling group (the button position may be > scrolled out of sight when I add it), how do I do it and get the > position of > the new button in the group spaced right? See the doc ref to question 2 above and also Roadmap -> All Doc by Category, Objects and Messages -> About object types and object references > 5. I?m creating a set of custom nav buttons that allow the user to > jump to a > specific card of their choice. These buttons have the icon of the card > button mentioned in question 2, so I?m transferring the thumbnail icon > to > the nav button, which of course will be seen on every card, by > transferring > the pictPath of the card button. If the user chooses to place a new > picture > on the original card button, will the thumbnail icon of the nav button > change as well? When you ask a question like this, you'll have to give more information to get any useful help. Set up simple tests in a separate stack to try experiments. I always do this to try new things so that what I'm investigating doesn't get clouded by other stuff. Always do this to isolate some behavior you think isn't right. > 6. What?s a plugin and how do I use it? The Rev docs doesn?t give an > answer > as far as I can tell. Try entering "plugin" to the Roadmap -> Search Rev Docs. There are eleven hits including the definition, How to install, and a tip on adding your own. > Sorry for the long list... We'll let it go this time. ;^) Seriously, it's a good idea to put unrelated questions into their own messages, giving each a descriptive subject line. It will help us all find things easier in the archives, and follow the threads of replies. Welcome to the group! Jim Lyons From bill at igame3d.com Sat Jan 10 13:23:54 2004 From: bill at igame3d.com (WIlliam Griffin) Date: Sat, 10 Jan 2004 13:23:54 -0500 Subject: Several Questions In-Reply-To: <20040110170021.7E9BB930351@mail.runrev.com> Message-ID: <25EB9CDE-439A-11D8-97A8-0030657D0A8E@igame3d.com> Many questions: 1. Is there anywhere i can get information, esp. tutorial, on working source code into an external. I have access to endless amounts of source code, but its all useless to me until I know this external magic. 2. Is it possible to distort images, say into a perspective, I need to make a psuedo cube thing for skyboxes? 3. How would one fill a graphic with a gradient color? Do I always have to import images? Can I apply color to a generic grayscale image, like QuarkXpress does for its gradients? 4. Is there an external or some wicked script that could produce noise of the cloud variety? Filling random pixels? 5. If I make a stack, that is masked, how can I go about moving it? Should I designate an area as the draggable area? 6. I want to use the paint tool , or us imported images, then read from it for color values. I will need to return the x,y and rgb value...what commands should I be looking for to do this trick? http://www.igame3d.com/screens/quadmapsample1/ In this example I am using the mouse to generate individual polygon graphics, its effective but tedious. I'd like to be able to import an image, or use the brush tool to draw more quickly then translate that to the polygon objects....hopefully I'll figure out how to get better freeform shapes this way. Any ideas? Your help is appreciated, thanks in advance. Mr Bill bill at igame3d.com From dsc at swcp.com Sat Jan 10 13:24:00 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Jan 2004 11:24:00 -0700 Subject: Converting Hexadecimal in Binary In-Reply-To: <20040110173957.30013.qmail@web40509.mail.yahoo.com> Message-ID: <2985B066-439A-11D8-B1E6-000A9567A3E6@swcp.com> On Saturday, January 10, 2004, at 10:39 AM, Alejandro Tejada wrote: >> repeat with i = 1 to length(asd) step 6 >> put null & unhex(char i to i+5 of asd) after qwe >> end repeat > > This is 200% faster than the original!!! >> binaryEncode("H*",h) This might be faster yet: repeat with i = 1 to length(asd) step 6 put null & binaryEncode("H*", char i to i+5 of asd) after qwe end repeat I have a couple binaryEncode and binaryDecode enhancements suggested on bugzilla, but I'm not sure whether these would allow doing this in one call to binaryEncode(). That would be cool if that was possible. > >> The problem is inserting the extra null every three >> bytes, otherwise this could be done in one step. >> It is easy to get data from an image in three bytes >> per pixel, the export as "paint" provides data in P6 >> format, and that can be trimmed to get >> three bytes per pixel. > > This is very interesting. > Do you have a function able to export an image from > MC/RR as RGB hexadecimal data? No, but here are a couple ideas. 1. You can do the inverse of the above with imageData or 2. A. export as paint to a variable That has a text header with 3-byte binary RGB See: http://astronomy.swin.edu.au/~pbourke/dataformats/ppm/ B. Break out the binary pixel data from the text header You might try a regex that would work on any P6 data, or by looking at the header you might find that something like 'line 4 to -1" or some other method would work for Rev P6 data. C. Apply the previously mentioned hex() function only one time to the binary data. D. Done. Both of these ignore mask and alpha. The latter could be expanded to provide size data. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Sat Jan 10 13:46:26 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Jan 2004 11:46:26 -0700 Subject: Several Questions In-Reply-To: <25EB9CDE-439A-11D8-97A8-0030657D0A8E@igame3d.com> Message-ID: <4B9736E6-439D-11D8-B1E6-000A9567A3E6@swcp.com> On Saturday, January 10, 2004, at 11:23 AM, WIlliam Griffin wrote: > 1. Is there anywhere i can get information, esp. tutorial, on working > source code into an external. > I have access to endless amounts of source code, but its all useless > to me until I know this external magic. An example external and example stack come with the external SDK. It is easy to get off in the wrong direction or skip a step, so set aside a little time to play with this. > > 2. Is it possible to distort images, say into a perspective, I need to > make a psuedo cube thing for skyboxes? Scriptable. See imageData (etc.) > > 3. How would one fill a graphic with a gradient color? Scriptable. > Do I always have to import images? Paste works in a few cases. You can set the imageData (and maskData and alphaData) properties and you can set the image to a PNG value from a variable (etc). > Can I apply color to a generic grayscale image, like QuarkXpress does > for its gradients? Scriptable. > > 4. Is there an external or some wicked script that could produce noise > of the cloud variety? Filling random pixels? Scriptable. > > 5. If I make a stack, that is masked, how can I go about moving it? > Should I designate an area as the draggable area? Yes. I'd put window dragging into the card script, so it is the default. I think others have much more experience in how this works in the real world. > 6. I want to use the paint tool , or us imported images, then read > from it for color values. Scriptable. See imageData. All this can be slow. Do what you can at design time instead of run time. Try to process by rows instead of columns. Currently random write to bytes (chars) in imageData is slow; I recommend building row segments using 'put ... after ...'. Summary: imageData Dar Scott From capellan2000 at yahoo.com Sat Jan 10 13:49:41 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 10 Jan 2004 10:49:41 -0800 (PST) Subject: Paste image from clipboard In-Reply-To: <20040110170021.7E9BB930351@mail.runrev.com> Message-ID: <20040110184941.47447.qmail@web40501.mail.yahoo.com> Hi Developers, I have been pasting images in MC/RR and i have got some mixed results with two handlers that will like you confirm: 1) A jpg image of 34k copied from Internet Explorer and pasted in a stack GROWS to 56k. But this jpg decompressed takes 145k. Open a jpg image in explorer an right click on the image. Choose copy from the contextual menu. Create an empty image in a stack and write in the message box: set the text of img 1 to the clipboarddata It's the same size as original image? 2) Copy the file of a jpg image in windows explorer. The clipboard now has the path to the image: "C://Documents//MyImage.jpg" Notice, the function the clipboard in MC reports the clipboard as empty, but the function the clipboarddata returns the path of the image. write in message box: put the clipboarddata and you effectively get the path to the image Now, write in the message box: put "binfile:" & the clipboarddata into zxcv set the customProperty01 of the topstack to url zxcv create image set the text of it to the customProperty01 of the topstack Now, this code works sometimes, others no. Could you confirm this on your machines? Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From dsc at swcp.com Sat Jan 10 14:00:21 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Jan 2004 12:00:21 -0700 Subject: Paste image from clipboard In-Reply-To: <20040110184941.47447.qmail@web40501.mail.yahoo.com> Message-ID: <3D95ACAE-439F-11D8-B1E6-000A9567A3E6@swcp.com> On Saturday, January 10, 2004, at 11:49 AM, Alejandro Tejada wrote: > It's the same size as original image? I have a vague memory that it is the same until you "touch" it. Even getting the imageData or something might cause it to be recomputed and then expand. Dar Scott From 3mcgrath at adelphia.net Sat Jan 10 14:10:03 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sat, 10 Jan 2004 14:10:03 -0500 Subject: Message Path - bad behavior In-Reply-To: References: Message-ID: <9836FEAC-43A0-11D8-BF9D-000A95DA60FA@adelphia.net> No the main stack is open and that is where the button resides. On Jan 10, 2004, at 12:02 PM, Dar Scott wrote: > > On Saturday, January 10, 2004, at 08:55 AM, Thomas J McGrath III wrote: > >> but sometimes it goes: (this should never happen) >> card 1 of main stack - preOpenCard >> card 1 of main stack - OpenCard >> Whatever stack - preOpenCard >> Whatever stack - OpenCard > > Is the main stack not open in this case? > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From kray at sonsothunder.com Sat Jan 10 15:28:38 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 10 Jan 2004 14:28:38 -0600 Subject: stack "diff" tool? In-Reply-To: <09BB6032-42DB-11D8-B92E-000393C4760A@mindlube.com> Message-ID: <008801c3d7b8$57b17db0$6901a8c0@LightningFlash> Not that I'm aware of... (but a good idea, though!) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Alex Rice > Sent: Friday, January 09, 2004 1:36 PM > To: How to use Revolution > Subject: stack "diff" tool? > > > Are there any "diff" like tools that I can compare stacks with - like > say the altArchive numbered backup stacks, to see what changes were > made between different versions? > > Alex Rice | Mindlube Software | > > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From bob at ashford.ca Sat Jan 10 15:24:26 2004 From: bob at ashford.ca (Robert J. Earp) Date: Sat, 10 Jan 2004 12:24:26 -0800 Subject: Best place for common script Message-ID: <6.0.0.22.2.20040110120147.01f0c580@mail.ashford.ca> Hello all, greetings from Vancouver where the skiing is fantastic this year. Over the years I've scripted a whole mess of sub-routines/ functions/tools etc. , most recently in ToolBook, where I've used their System Books feature. For those of you that have never used ToolBook, they use the term Book the same as Rev uses Stack, and System Books are just regular ToolBook files (Books) with a .sbk extension, but with the ability to be dynamically linked with a project Book. This means that they are automatically in the message path hierarchy, above the project book (the main stack), and below the engine (ToolBook interpreter itself). The great thing about this is that you can just fire off a message to a handler/function located in a .sbk and it gets trapped, acted upon and replied to as appropriate. You also have the added feature of being able to have more than System Book with one for, say, a CBT navigation schema, and one with some development tools. On the fly you can link or unlink these books so its easy to deliver a project with the features of one System Book and automatically the other. My question is quite basic, but one that I suspect will draw a plethora of different opinions. Given the concept above and, to my knowledge Rev does not support such a concept, where is the best place to put "System Book" functionality ? Main stack, sub stack? At what level ? Can you link stacks so that they are at a specific level of the message hierarchy ? Many thanks in advance for your replies. 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 From kray at sonsothunder.com Sat Jan 10 15:30:23 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 10 Jan 2004 14:30:23 -0600 Subject: accentColor In-Reply-To: Message-ID: <008901c3d7b8$96e4b0b0$6901a8c0@LightningFlash> Tom, The first button or field in a window will automatically get the focus when the stack is opened. You can turn the 'traversalOn' off for everything and it won't get the focus. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Thomas J McGrath III > Sent: Thursday, January 08, 2004 10:29 AM > To: How to use Revolution > Subject: accentColor > > > Hello, > > I notice in my Windows builds that in my substacks the flat > button that > is 'send to back' gets highlighted via the accentColor. I don't want > any of the buttons highlighted at all until the user holds it down. > Which ever button is at the back level gets this accentColor > like as if > it is a default button. > > Is there a way to assign none to this behavior?? > Is it the 'default' button behavior? I did not set any as default! > > Can I put another button off screen somewhere that is at the back > position so it picks up this behavior? > Is this a bug? > > Thank you all. > > Tom > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB > RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III . 2003 . 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From lists at mangomultimedia.com Sat Jan 10 15:55:42 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 10 Jan 2004 13:55:42 -0700 Subject: dotted lines in windows around back layer button In-Reply-To: <000f01c3d737$34f6f9c0$6901a8c0@LightningFlash> References: <000f01c3d737$34f6f9c0$6901a8c0@LightningFlash> Message-ID: <5A6D6C1C-43AF-11D8-BE4E-000A956C462A@mangomultimedia.com> On Jan 9, 2004, at 10:04 PM, Ken Ray wrote: >> For Mac OS X you can turn on full keyboard navigation in the System >> Preferences. In OS X.3 it is under Keyboard & Mouse -> Keyboard >> Shortcuts -> Turn on full keyboard access. I use this all of >> the time >> for navigating dialog boxes. I haven't ever tested it with Rev apps >> though. > > That's very cool, Trevor! I didn't even know that Macs could do that > now... sweet! Yeah, I was very excited when I found this. It is something I really missed when I switched from Windows to Mac. Great time saver, or at least it means I have to move my arm less :-) -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From soapdog at mac.com Sat Jan 10 16:16:50 2004 From: soapdog at mac.com (Andre Garzia) Date: Sat, 10 Jan 2004 19:16:50 -0200 Subject: Is there a func for changing Database Query Builder connection parameters at runtime? Message-ID: <4E6C466A-43B2-11D8-8BA0-0003936D012E@mac.com> Hi revFolks, I am making an app (Called DataJunior, nice app, http://www.soapdog.org/blog for info) which uses a mix of DB handlers and Database Query Builder stuff... This application is a mix of substacks, each substack is like an self-contained application dealing with a very specific problem, like for example there's an addressbook like app, there's a team management app... When the substack needed more complex database resources, I wrote my own functions but when it was a simple query I used Database Query Builder (It's a cool thing!). It was like dream coding, adding complexity only when needed, but I didn't foresaw one problem. The bootstrap problem, like setting it up for the first run on another computer that is not mine. For my hand coded funcs, I made a substack called "DBConf" which is responsible for loading itself on launch time, checking for Database connection parameters, if they are not present (first run) asking for them, saving it, opening the connection. So far so good, I've got a reusable substack that will take care of opening and closing connections to database and will put all the usefull info in a nice global. The problem is, How do I take this parameters (host, username, pass...) to Database Query Builder. See, I can garantee that my funcs will work, but Automatic Queries are strange entities sometimes. Here, everything points to home.soapdog.org, but this will be deployed to an enterprize and hell knows where they will install MySQL, I would not like to build a new version everytime they feel like changing their ips or their servernames.... There must be an undocummented nice way like revHeyChangeAutoQueriesParametersToWhereverMyServerIs or something near this.. :-D So... anyone here can point me to some frontscript or info? Also, I am thinking about posting in the web a developer journal on this app and making the code available, would people here find this usefull? Cheers Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From soapdog at mac.com Sat Jan 10 16:50:12 2004 From: soapdog at mac.com (Andre Garzia) Date: Sat, 10 Jan 2004 19:50:12 -0200 Subject: Best place for common script In-Reply-To: <6.0.0.22.2.20040110120147.01f0c580@mail.ashford.ca> References: <6.0.0.22.2.20040110120147.01f0c580@mail.ashford.ca> Message-ID: On Jan 10, 2004, at 6:24 PM, Robert J. Earp wrote: > Hello all, greetings from Vancouver where the skiing is fantastic this > year. > > Over the years I've scripted a whole mess of sub-routines/ > functions/tools etc. , most recently in ToolBook, where I've used > their System Books feature. > > For those of you that have never used ToolBook, they use the term Book > the same as Rev uses Stack, and System Books are just regular ToolBook > files (Books) with a .sbk extension, but with the ability to be > dynamically linked with a project Book. This means that they are > automatically in the message path hierarchy, above the project book > (the main stack), and below the engine (ToolBook interpreter itself). > > The great thing about this is that you can just fire off a message to > a handler/function located in a .sbk and it gets trapped, acted upon > and replied to as appropriate. > > You also have the added feature of being able to have more than System > Book with one for, say, a CBT navigation schema, and one with some > development tools. On the fly you can link or unlink these books so > its easy to deliver a project with the features of one System Book and > automatically the other. > > My question is quite basic, but one that I suspect will draw a > plethora of different opinions. Given the concept above and, to my > knowledge Rev does not support such a concept, where is the best place > to put "System Book" functionality ? Main stack, sub stack? At what > level ? Can you link stacks so that they are at a specific level of > the message hierarchy ? > Well Bob, First, skiing must be fantastic, I live in Rio de Janeiro, so no snow here, but I've got summer, friends and caipirinha so I think I am as happy as you! I think you want to implement some script library thing. Also I understood that this script library need not be dynamic in the sense that you need not to plug/unplug it at runtime but only at the compilation/building step. I am no revGuru but I made a solution here that is not elegant but suits me. First check documentation for "Start using" (aka Library) this is a func that will place some stack script in the message path just between your stack and the backscripts. So the trick is: * Put all your scripts in some cool stack, here I use "Soap Dog Studios MiddleScripts". * Write yourself a plugin, it's idiot, this plugin open a listbox and fills it with all the MainStacks opened. By doubleclicking a stack this plugin does a: put "start using " & quote & "Soap Dog MiddleScripts" & quote before the script of the clicked stack (look this is not the code, this is the idea) This way, you go coding... when you need to attach you lib, you just fire your plugin and attach that function (also note that sometimes it's faster to type library "bla bla bla" than actualy lauching and clicking a plugin, but the plugin is cooler.) Cheers Andre > Many thanks in advance for your replies. > > 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 > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From capellan2000 at yahoo.com Sat Jan 10 20:08:02 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 10 Jan 2004 17:08:02 -0800 (PST) Subject: Converting Hexadecimal in Binary In-Reply-To: <20040110191100.88FF9930356@mail.runrev.com> Message-ID: <20040111010802.54537.qmail@web40507.mail.yahoo.com> on Sat, 10 Jan 2004 11:24:00 -0700 Dar Scott wrote > This might be faster yet: > > repeat with i = 1 to length(asd) step 6 > put null & binaryEncode("H*", char i to i+5 of > asd) after qwe > end repeat This is 400% faster than original!!!!!!!!!! So, putting the function inline cut the time in half. Excellent! Look at the three handlers working in this stack: > > Do you have a function able to export an image > > from MC/RR as RGB hexadecimal data? > No, but here are a couple ideas. > > 1. > You can do the inverse of the above with imageData > > or > > 2. > > A. export as paint to a variable > That has a text header with 3-byte binary RGB > See: > > http://astronomy.swin.edu.au/~pbourke/dataformats/ppm/ > > B. Break out the binary pixel data from the text > header > You might try a regex that would work on any > P6 data, or by looking at the header you might > find that something like 'line 4 to -1" or some > other method would work for Rev P6 data. > > C. Apply the previously mentioned hex() function > only one time to the binary data. > > D. Done. I'll try the first option. > Both of these ignore mask and alpha. The latter > could be expanded to provide size data. What do you mean with expanded? Is this the answer to my other question about the grow of pasted images in a stack? Is because the addition of maskdata or alphadata to the image pasted? al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From dsc at swcp.com Sat Jan 10 20:14:44 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Jan 2004 18:14:44 -0700 Subject: Converting Hexadecimal in Binary In-Reply-To: <20040111010802.54537.qmail@web40507.mail.yahoo.com> Message-ID: <8A4E0CC6-43D3-11D8-B1E6-000A9567A3E6@swcp.com> On Saturday, January 10, 2004, at 06:08 PM, Alejandro Tejada wrote: >> Both of these ignore mask and alpha. The latter >> could be expanded to provide size data. > > What do you mean with expanded? The header in the P6 format includes size data. It can be pulled from the export, perhaps with the same regex that gets the binary data or marks the location of the binary data. Dar Scott From capellan2000 at yahoo.com Sat Jan 10 20:25:56 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 10 Jan 2004 17:25:56 -0800 (PST) Subject: Paste image from clipboard In-Reply-To: <20040110191100.88FF9930356@mail.runrev.com> Message-ID: <20040111012556.49638.qmail@web40514.mail.yahoo.com> on Sat, 10 Jan 2004 12:00:21 -0700 Dar Scott wrote: > > It's the same size as original image? > > I have a vague memory that it is the same until you > "touch" it. Even getting the imageData or something > might cause it to be recomputed and then expand. I'll try to confirm this. But, did you try the second handler that convert a file in a custom property of the stack? Did exist a way to reference the customproperty in the same way that you could set the filename of an image? i.e. set the filename of img 1 to mycustomproperty01 The stack file will quickly become bloated if i have to set the text of every image that i want to show this customproperty. Maybe, it'll be better to parse the clipboarddata and import it into the stack if the data looks like a path to a jpg, png or gif. al > on Sat, 10 Jan 2004 > From: Alejandro Tejada > Subject: Paste image from clipboard > To: use-revolution at lists.runrev.com > Message-ID: > <20040110184941.47447.qmail at web40501.mail.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > Hi Developers, > > I have been pasting images in MC/RR and > i have got some mixed results with two > handlers that will like you confirm: > > 1) A jpg image of 34k copied from Internet Explorer > and pasted in a stack GROWS to 56k. But this > jpg decompressed takes 145k. > > Open a jpg image in explorer an right click > on the image. Choose copy from the contextual menu. > > Create an empty image in a stack and write in > the message box: > > set the text of img 1 to the clipboarddata > > It's the same size as original image? > > 2) Copy the file of a jpg image in windows > explorer. The clipboard now has the path to the > image: "C://Documents//MyImage.jpg" > > Notice, the function the clipboard in MC reports > the clipboard as empty, but the function the > clipboarddata returns the path of the image. > > write in message box: > > put the clipboarddata > > and you effectively get the path to the image > > Now, write in the message box: > > put "binfile:" & the clipboarddata into zxcv > set the customProperty01 of the topstack to url zxcv > create image > set the text of it to the customProperty01 of the > topstack > > Now, this code works sometimes, others no. > > Could you confirm this on your machines? > > Thanks in advance. > > al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From wouter.abraham at pi.be Sat Jan 10 21:17:20 2004 From: wouter.abraham at pi.be (Wouter) Date: Sun, 11 Jan 2004 03:17:20 +0100 Subject: problems pasting text into the IDE (mac os x) In-Reply-To: <20040110170021.4A99C930348@mail.runrev.com> References: <20040110170021.4A99C930348@mail.runrev.com> Message-ID: <49417373-43DC-11D8-8899-003065CC999E@pi.be> On 10 Jan 2004, at 18:00, use-revolution-request at lists.runrev.com wrote: > Message: 3 > Date: Sat, 10 Jan 2004 16:43:06 +0100 > From: Wouter > Subject: Re: problems pasting text into the IDE (mac os x) > To: use-revolution at lists.runrev.com > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Next results on: >> >>> Message: 7 >>> Date: Fri, 9 Jan 2004 20:59:31 -0700 >>> From: Alex Rice >>> Subject: problems pasting text into the IDE (mac os x) >>> To: How to use Revolution >>> Message-ID: <64BA4B18-4321-11D8-A69F-000393C4760A at mindlube.com> >>> Content-Type: text/plain; charset=US-ASCII; format=flowed >>> >>> snip Other test on: problems pasting text into the IDE (mac os x) on mouseUp put "on mouseup" & cr & "beep" & cr & "end mouseup" into fld "test1" put numtochar(0) after char 2 of word 1 of line 2 of fld "test1" --test with 0 8 29 set the script of btn "test" to fld "test1" if the result is "" then put "the script is set" else put "something is wrong with the script" end mouseUp with numtochar(0) you get "something is wrong with the script" but no script error dialog is generated and when opening the script editor : on mouseup be with numtochar(8 or 29) you get "the script is set" but when run the execution error is generated. When the script editor is opened the script seems normal to the eye Food for virii writers or busters Greetings, WA From alex at mindlube.com Sat Jan 10 22:23:57 2004 From: alex at mindlube.com (Alex Rice) Date: Sat, 10 Jan 2004 20:23:57 -0700 Subject: problems pasting text into the IDE (mac os x) In-Reply-To: <12833841-4362-11D8-B7DD-003065CC999E@pi.be> References: <20040110101752.DFCAD930339@mail.runrev.com> <12833841-4362-11D8-B7DD-003065CC999E@pi.be> Message-ID: <97BF3146-43E5-11D8-B6FA-000393C4760A@mindlube.com> On Jan 10, 2004, at 4:42 AM, Wouter wrote: > The problem can be caused by some < numtochar(0) > characters left in > the text by any text editor. May be there are others, but this is the > one > I could catch. Thanks for the ideas. Do you think this could be classified as a bug with the Rev IDE? Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kray at sonsothunder.com Sat Jan 10 22:46:35 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 10 Jan 2004 21:46:35 -0600 Subject: Converting Hexadecimal in Binary In-Reply-To: <20040111010802.54537.qmail@web40507.mail.yahoo.com> Message-ID: <00d701c3d7f5$85a22020$6901a8c0@LightningFlash> > This is 400% faster than original!!!!!!!!!! Actually, I got a MUCH greater time savings, Alejandro... I'm running a 2.2GHz WinXP machine with 1GB of memory and the times I received from your stack are as follows: "Original = 5.866667 seconds "200% Faster" = 0.25 seconds (23x Faster!) "400% Faster" = 0.166667 seconds (35x Faster!) Just FYI... The final one is nearly instantaneous to me - btw: are you going to make this into part of a public library at some point? :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jerry at daniels-mara.com Sun Jan 11 00:40:11 2004 From: jerry at daniels-mara.com (Jerry Daniels) Date: Sat, 10 Jan 2004 21:40:11 -0800 Subject: Outstanding Revolution Developer Conference Message-ID: <9FA43708-43F8-11D8-A4BF-000A95B300EC@daniels-mara.com> Wow! Great conference here in San Francisco. In two days I learned stuff that would have taken a long time to learn on my own. Many thanks to Kevin and the RR team for their dedication and hard work in putting this together. I'll be at the next one, too! Jerry Daniels From capellan2000 at yahoo.com Sun Jan 11 00:46:36 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 10 Jan 2004 21:46:36 -0800 (PST) Subject: Converting Hexadecimal in Binary In-Reply-To: <20040111012654.C3426930083@mail.runrev.com> Message-ID: <20040111054636.83067.qmail@web40504.mail.yahoo.com> Sat, 10 Jan 2004 Dar Scott wrote: > > What do you mean with expanded? > The header in the P6 format includes size data. It > can be pulled from the export, perhaps with the > same regex that gets the binary data or > marks the location of the binary data. Please check this handler to convert binary data in hexadecimal. I feel it slow. In a new stack: 1- Import an image (embedded, not linked). 2- Create a field. 3- Create a button and put this handler in it: local v1 on mouseUp put the ticks into zxcv put the imagedata of img 1 into asd delete char 1 of asd -- the first char of the imagedata is the alphadata or maskdata repeat with i = 1 to length(asd) step 4 get binaryDecode("H*", char i to i+2 of asd, v1) add 1 to zxc if zxc mod 10 = 0 then put toupper(v1) & return after fldhex -- the function toUpper converts lowercase in uppercase else put toupper(v1) after fldhex end if end repeat put fldhex into fld 1 put ((the ticks - zxcv) / 60) && "seconds to create the hexadecimal data from binary imagedata" end mouseUp al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From jerry at daniels-mara.com Sun Jan 11 00:47:01 2004 From: jerry at daniels-mara.com (Jerry Daniels) Date: Sat, 10 Jan 2004 21:47:01 -0800 Subject: Outstanding Revolution Developer Conference In-Reply-To: <9FA43708-43F8-11D8-A4BF-000A95B300EC@daniels-mara.com> References: <9FA43708-43F8-11D8-A4BF-000A95B300EC@daniels-mara.com> Message-ID: <93C22100-43F9-11D8-A4BF-000A95B300EC@daniels-mara.com> test On Jan 10, 2004, at 9:40 PM, Jerry Daniels wrote: > Wow! > > Great conference here in San Francisco. In two days I learned stuff > that would have taken a long time to learn on my own. > > Many thanks to Kevin and the RR team for their dedication and hard > work in putting this together. > > I'll be at the next one, too! > > Jerry Daniels > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From zink at newmex.com Sun Jan 11 01:13:32 2004 From: zink at newmex.com (Nelson Zink) Date: Sat, 10 Jan 2004 23:13:32 -0700 Subject: Flute Tuner Message-ID: To All, I'd like to build a flute tuner. Can anyone suggest a rough script of how to get the frequency of input from the internal microphone on a Mac? Nelson From dsc at swcp.com Sun Jan 11 01:20:24 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 10 Jan 2004 23:20:24 -0700 Subject: Converting Hexadecimal in Binary In-Reply-To: <20040111054636.83067.qmail@web40504.mail.yahoo.com> Message-ID: <3DFC2088-43FE-11D8-B1E6-000A9567A3E6@swcp.com> On Saturday, January 10, 2004, at 10:46 PM, Alejandro Tejada wrote: > Please check this handler to convert > binary data in hexadecimal. I feel it slow. You can move toUpper() out of the loop. It might help to avoid the "if", they seem to take a long time. I don't know if avoiding that is worth the trouble, though. One way to to make the hex string and then break it up aftwards. Dar Scott From Mark.Powell at veritas.com Sun Jan 11 01:45:17 2004 From: Mark.Powell at veritas.com (Mark Powell) Date: Sat, 10 Jan 2004 22:45:17 -0800 Subject: Outstanding Revolution Developer Conference Message-ID: I second the emotion...was like a reunion with old friends, except I had never actually met any of them before. Kudos to all the organizers and presenters. Great work. Mark Powell -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] Sent: Saturday, January 10, 2004 10:40 PM To: Use Revolution List Subject: Outstanding Revolution Developer Conference Wow! Great conference here in San Francisco. In two days I learned stuff that would have taken a long time to learn on my own. Many thanks to Kevin and the RR team for their dedication and hard work in putting this together. I'll be at the next one, too! Jerry Daniels _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From shaosean at unitz.ca Sun Jan 11 02:29:13 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Sun, 11 Jan 2004 02:29:13 -0500 Subject: RunRev WebRing Message-ID: Incase you're not aware of it, but RunRev has stopped being the co- ordinator of the RunRev webring and I foolishly took over ;-) I have been contacting some of you to join up, and I will be contacting a few more people in the next couple of days. Currently we're up to 10 sites (I'm sure there's more than that out there), with Klaus Major and Alejandro Tejada Capellan being the two newest members (just joined up tonight =) If you have a site that you'd like added to the ring, feel free to contact me directly and we'll get you listed. -Sean From capellan2000 at yahoo.com Sun Jan 11 02:28:43 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 10 Jan 2004 23:28:43 -0800 (PST) Subject: Converting Hexadecimal in Binary In-Reply-To: <20040111012654.C3426930083@mail.runrev.com> Message-ID: <20040111072843.48030.qmail@web40506.mail.yahoo.com> on Sat Jan 10 21:46:35 EST 2004 Ken Ray wrote: >> This is 400% faster than original!!!!!!!!!! >Actually, I got a MUCH greater time savings, >Alejandro... I'm running a 2.2GHz WinXP machine >with 1GB of memory and the times I received from >your stack are as follows: >"Original = 5.866667 seconds >"200% Faster" = 0.25 seconds (23x Faster!) >"400% Faster" = 0.166667 seconds (35x Faster!) My best time here are 0.54 seconds with the "400% faster", but I have an AMD running a 500 mhz with Win98. >Just FYI... The final one is nearly instantaneous to >me - btw: are you going to make this into part of a >public library at some point? :-) The credits goes to Dar Scott who shared his extensive experience with binary conversions. Actually, i only feel responsable for the original slow function. :) I'll include these handlers in the epsImportv04 to import some embedded images and the epsExportv01 to export embedded images in the stack to .ai files. (Nobody hold your breath, waiting for the release of these two utilities stacks) ;) By the way Ken, did you receive my mail about encrypted stacks? al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From kray at sonsothunder.com Sun Jan 11 02:54:38 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 11 Jan 2004 01:54:38 -0600 Subject: ODD open stack behavior In-Reply-To: <8291D5F2-42B3-11D8-BF9D-000A95DA60FA@adelphia.net> Message-ID: <001001c3d818$2d5d9bb0$6901a8c0@LightningFlash> > I have a stack with hundreds of substacks. Just curious... why do you have hundreds of substacks? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Sun Jan 11 02:55:17 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 11 Jan 2004 01:55:17 -0600 Subject: A question about setting custom properties In-Reply-To: Message-ID: <001101c3d818$42140990$6901a8c0@LightningFlash> > Well, I guess my question isn't so much of a question as it > is a caution. I guess that's just the way it is, right? Right. :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From capellan2000 at yahoo.com Sun Jan 11 04:26:43 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun, 11 Jan 2004 01:26:43 -0800 (PST) Subject: Converting Hexadecimal in Binary In-Reply-To: <20040111075704.D42929300A2@mail.runrev.com> Message-ID: <20040111092643.12588.qmail@web40514.mail.yahoo.com> on Sat Jan 10 Dar Scott wrote: >You can move toUpper() out of the loop. You are right. The time dropped from 1.05 seconds to 0.9 >It might help to avoid the "if", they seem to >take a long time. I don't know if avoiding that >is worth the trouble, though. One way to >to make the hex string and then break it up aftwards. Amazing! This make the time drop from 0.9 to 0.7 seconds. This is the handler: local v1 on mouseUp put the ticks into zxcv -- this line put the ticks into a variable to count the time -- that takes to execute this handler. There are 60 ticks in a second put the imagedata of img 1 into asd delete char 1 of asd -- the first char of the imagedata is the alphadata or maskdata repeat with i = 1 to length(asd) step 4 get binaryDecode("H*", char i to i+2 of asd, v1) put v1 after fldhex end repeat put length(fldhex) into lenghtofldhex repeat with i = 1 to lenghtofldhex step 60 -- I want 60 chars per line put return & char i to (i+59) of fldhex after fldhexa2 end repeat put empty into fldhex put toUpper(fldhexa2) into fld "hex" put ((the ticks - zxcv) / 60) && "seconds to create the hexadecimal data from binary imagedata" end mouseUp But still, i feel curious to know WHY binaryencode() could put his results after a variable and binarydecode reports an error. The sintax of both functions is similar so, Where did originates this error? put binaryDecode("H*", char i to i+2 of asd)after var -- produces an error! put binaryEncode("H*", char i to i+2 of asd)after var -- works perfectly! Thanks again Dar, for your extraordinary help with this task. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From capellan2000 at yahoo.com Sun Jan 11 04:35:07 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun, 11 Jan 2004 01:35:07 -0800 (PST) Subject: Paste image from clipboard In-Reply-To: <20040111075704.D42929300A2@mail.runrev.com> Message-ID: <20040111093507.63796.qmail@web40506.mail.yahoo.com> Hi Developers, I have been pasting images in MC/RR and i have got some mixed results with one handler that will like you confirm. 1) Copy the file of a jpg image in windows explorer. The clipboard now has the path to the image: "C://Documents//MyImage.jpg" Notice, the function the clipboard in MC reports the clipboard as empty, but the function the clipboarddata returns the path of the image. write in message box: put the clipboarddata and you effectively get the path to the image Now, write in the message box: put "binfile:" & the clipboarddata into zxcv set the customProperty01 of the topstack to url zxcv create image set the text of it to the customProperty01 of the topstack Now, this code works sometimes, others no. Could you confirm this on your machines? Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From sanke at hrz.uni-kassel.de Sun Jan 11 05:24:05 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sun, 11 Jan 2004 11:24:05 +0100 Subject: List test Message-ID: <40012445.7060905@hrz.uni-kassel.de> Just to test if my posts get to the list as I was "bounced" - whatever that could mean - and presently do not receive any list mails. From wouter.abraham at pi.be Sun Jan 11 05:44:49 2004 From: wouter.abraham at pi.be (Wouter) Date: Sun, 11 Jan 2004 11:44:49 +0100 Subject: problems pasting text into the IDE (mac os x) In-Reply-To: <20040111075705.1BE1E9300A3@mail.runrev.com> References: <20040111075705.1BE1E9300A3@mail.runrev.com> Message-ID: <2E2A725C-4423-11D8-8899-003065CC999E@pi.be> On 11 Jan 2004, at 08:57, use-revolution-request at lists.runrev.com wrote: > Message: 2 > Date: Sat, 10 Jan 2004 20:23:57 -0700 > From: Alex Rice > Subject: Re: problems pasting text into the IDE (mac os x) > To: How to use Revolution > Message-ID: <97BF3146-43E5-11D8-B6FA-000393C4760A at mindlube.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On Jan 10, 2004, at 4:42 AM, Wouter wrote: >> The problem can be caused by some < numtochar(0) > characters left in >> the text by any text editor. May be there are others, but this is the >> one >> I could catch. > > Thanks for the ideas. Do you think this could be classified as a bug > with the Rev IDE? > I think this is more engine related. But ... a little change in the scripteditors stack could take out this problem forever by removing these characters before setting the script. You can make the problem visible by using the htmltext property. > > Alex Rice | Mindlube Software | > > WA From wouter.abraham at pi.be Sun Jan 11 05:45:08 2004 From: wouter.abraham at pi.be (Wouter) Date: Sun, 11 Jan 2004 11:45:08 +0100 Subject: Converting Hexadecimal in Binary In-Reply-To: <20040111012655.05537930084@mail.runrev.com> References: <20040111012655.05537930084@mail.runrev.com> Message-ID: <3936AE64-4423-11D8-8899-003065CC999E@pi.be> On 11 Jan 2004, at 02:26, use-revolution-request at lists.runrev.com wrote: > > Message: 7 > Date: Sat, 10 Jan 2004 17:08:02 -0800 (PST) > From: Alejandro Tejada > Subject: Re: Converting Hexadecimal in Binary > To: use-revolution at lists.runrev.com > Message-ID: <20040111010802.54537.qmail at web40507.mail.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > on Sat, 10 Jan 2004 11:24:00 -0700 > Dar Scott wrote > >> This might be faster yet: >> >> repeat with i = 1 to length(asd) step 6 >> put null & binaryEncode("H*", char i to i+5 of >> asd) after qwe >> end repeat > > This is 400% faster than original!!!!!!!!!! > > So, putting the function inline cut the time > in half. Excellent! > > Look at the three handlers working in this > stack: > snip On my slower rig it this is a little faster: repeat with i = 1 to length(asd) step 6 put 00 & char i to i+5 of asd after qwd end repeat put binaryEncode("H*",qwd) into qwe Greetings, WA From 3mcgrath at adelphia.net Sun Jan 11 08:07:58 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sun, 11 Jan 2004 08:07:58 -0500 Subject: ODD open stack behavior In-Reply-To: <001001c3d818$2d5d9bb0$6901a8c0@LightningFlash> References: <001001c3d818$2d5d9bb0$6901a8c0@LightningFlash> Message-ID: <2DB2AE98-4437-11D8-B031-000A95DA60FA@adelphia.net> Ken, I put together an interactive CD for a company for their new product launch. In the CD is 14 chapters that each have multiple pages in them. On each page there are around 10 to 15 links, each link is to an area of content supplied by that links author. Since I had no prior way of knowing what content was to be provided by each person I set up a series of windows(substacks) to handle the content. Some people provided the content for multiple areas. Some provided Excel charts, some word docs and still others powerpoint files. There were also a couple of movies and links to web sites, etc. Some of the content turned out to be hundreds of slides but the engine was able to handle all of the content. The main stack with chapters and pages has voiceovers and can be navigated sequentially or via a chapter menu. The links are set up before hand to a corresponding substack which then each substack is handled by replacing or adding to the contents of a corresponding folder and the type of content for that link is handled accordingly. I spent my first few weeks learning Rev and then spent a month writing and designing the 'engine' to handle all of this expected content (it didn't come in until Christmas). I then had to wait for content to come in so I tested and cleaned up the CD. The engine done, I then only had to do some conversions(powerpoint to pngs, etc) on content and pop them in the right folders. This way the engine could be tested and changed and I was not concerned with what the content was or when it arrived. The final CD is 300 megs. and has hundreds of links plus a downloadable set of emulator demos for the new product. It runs on Windows 98, 2000, XP home, XP Pro, Macintosh OS9 and Macintosh OSX. Not bad for only just buying REV (October) and learning it and putting out a multiple platform interactive CD. In the end I think there were over a couple thousand chunks of content that had to fit together seamlessly into an engine that would know how to handle them regardless of what or how many there were. Since the start I now feel a little bit comfortable with REV and enjoy my REV coffee mug and long sleeve t-shirt. But most of all I have really enjoyed this list. I recognize some of the names here from my old Supercard days and everyone has been very patient with me and has helped me beyond knowing. I only hope I can give back what was given so freely to me. Thanks to you all, Tom On Jan 11, 2004, at 2:54 AM, Ken Ray wrote: >> I have a stack with hundreds of substacks. > > Just curious... why do you have hundreds of substacks? > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Sun Jan 11 08:19:00 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sun, 11 Jan 2004 08:19:00 -0500 Subject: on startup and on shutdown Message-ID: I just found the on startup and on shutdown handlers. I have tried to clean up my CD project by putting the initializers into these handlers. The docs say that is what they are for. Has anyone used these that much? I don't think they load when the stack is launched in the IDE. I think they only run in the final build. Does anyone know for sure? I had to put the code in both the startup and preopen stack handlers. In the preopenstack I put an 'if the environment is "development" then do the same code as in the startup handler. Also related to this, I was reading the docs and they say if you want to keep a preference set to load the variables into a custom property on shutdown and then reload the custom prop into the variable on start up. I have not been successful in this in my CD. Also, I thought from this list that the only way to save info was via a separate stack outside the build. Seems a contradiction. Has anyone done this? I need to test it in a simple stack. Thanks Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From wouter.abraham at pi.be Sun Jan 11 08:25:59 2004 From: wouter.abraham at pi.be (Wouter) Date: Sun, 11 Jan 2004 14:25:59 +0100 Subject: Converting Hexadecimal in Binary Message-ID: > Re: Converting Hexadecimal in Binary > ? From: Alejandro Tejada > ? Subject: Re: Converting Hexadecimal in Binary > ? Date: Sun, 11 Jan 2004 02:28:37 -0800 > on Sat Jan 10 > Dar Scott wrote: > > >You can move toUpper() out of the loop. > snip > on mouseUp > > -- put the ticks into zxcv > > -- this line put the ticks into a variable to count > the time > -- that takes to execute this handler. There are 60 > ticks in a second > > put the imagedata of img 1 into asd > delete char 1 of asd > -- the first char of the imagedata is the alphadata > or maskdata > > repeat with i = 1 to length(asd) step 4 > get binaryDecode("H*", char i to i+2 of asd, v1) > put v1 after fldhex > end repeat > > put length(fldhex) into lenghtofldhex > repeat with i = 1 to lenghtofldhex step 60 -- I want > 60 chars per line > put return & char i to (i+59) of fldhex after > fldhexa2 > end repeat > > put empty into fldhex > put toUpper(fldhexa2) into fld "hex" > put ((the ticks - zxcv) / 60) && "seconds to create > the hexadecimal data from binary imagedata" > end mouseUp changed to this may make it (a lot) quicker: ### = change on mouseUp --put the ticks into zxcv ### old HC way :^) put the millisecs into zap ### if the img is small this shows more exactly the difference -- this line put the ticks into a variable to count the time -- that takes to execute this handler. There are 60 ticks in a second put the imagedata of img "prep" into asd delete char 1 of asd -- the first char of the imagedata is the alphadata or maskdata ### get binaryDecode("H*", asd, v1) repeat with i = 1 to length(v1) step 8 put char i to i + 5 of v1 after fldhex end repeat ### put length(fldhex) into lenghtofldhex repeat with i = 1 to lenghtofldhex step 60 -- I want 60 chars per line put return & char i to (i+59) of fldhex after fldhexa2 end repeat put empty into fldhex put toUpper(fldhexa2) into fld "text" --put ((the ticks - zxcv) / 60) && "seconds to create the hexadecimal data from binary imagedata" ### put the millisecs - zap && "milliseconds to create the hexadecimal data from binary imagedata" end mouseUp > > But still, i feel curious to know WHY binaryencode() > could put his results after a variable and > binarydecode > reports an error. The sintax of both functions is > similar so, Where did originates this error? > > put binaryDecode("H*", char i to i+2 of asd)after var > -- produces an error! Of coarse it should be : get binarydecode("H*", char i to i+2 of asd,v1) put v1 after var > put binaryEncode("H*", char i to i+2 of asd)after var > -- works perfectly! > > Thanks again Dar, for your extraordinary help > with this task. > > al Greetings, WA From klaus at major-k.de Sun Jan 11 08:38:31 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 11 Jan 2004 14:38:31 +0100 Subject: on startup and on shutdown In-Reply-To: References: Message-ID: <71E7DC2E-443B-11D8-AB67-000A27B49A96@major-k.de> Hi Thomas, > I just found the on startup and on shutdown handlers. I have tried to > clean > up my CD project by putting the initializers into these handlers. The > docs say that is what they are for. > > Has anyone used these that much? I don't think they load when the > stack is launched > in the IDE. I think they only run in the final build. > Does anyone know for sure? I had to put the code in both the startup > and preopen > stack handlers. In the preopenstack I put an 'if the environment is > "development" > then do the same code as in the startup handler. I have no experience with "startup" but i would say that "preopenstck" IS the best place to initialize everything... And "closestack" or "closestackrequest" or something the best place to cleanup things before you leave... > Also related to this, I was reading the docs and they say if you want > to keep a preference > set to load the variables into a custom property on shutdown and then > reload the custom > prop into the variable on start up. I have not been successful in this > in my CD. Also, I thought > from this list that the only way to save info was via a separate stack > outside the build. > Seems a contradiction. No, it isn't. Yes, it is! No, it isn't. Yes, it is! No, it isn't. Yes, it is! No, it isn't. Yes, it is! No, it isn't. Yes, it is! Oh, c'mon this is not an argument, this is a contradiction... etc... Monty Python... :-D Contradiction or not, that's the way it works with "modern" OSs... ;-) > Has anyone done this? I need to test it in a simple stack. Check this for a quick guide: http://lists.runrev.com/pipermail/use-revolution/2003-December/ 026781.html > Thanks > > Tom Regards Klaus Major klaus at major-k.de www.major-k.de From 3mcgrath at adelphia.net Sun Jan 11 08:55:10 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sun, 11 Jan 2004 08:55:10 -0500 Subject: on startup and on shutdown In-Reply-To: <71E7DC2E-443B-11D8-AB67-000A27B49A96@major-k.de> References: <71E7DC2E-443B-11D8-AB67-000A27B49A96@major-k.de> Message-ID: On Jan 11, 2004, at 8:38 AM, Klaus Major wrote: > Hi Thomas, > >> I just found the on startup and on shutdown handlers. I have tried to >> clean >> up my CD project by putting the initializers into these handlers. The >> docs say that is what they are for. >> >> Has anyone used these that much? I don't think they load when the >> stack is launched >> in the IDE. I think they only run in the final build. >> Does anyone know for sure? I had to put the code in both the startup >> and preopen >> stack handlers. In the preopenstack I put an 'if the environment is >> "development" >> then do the same code as in the startup handler. > > I have no experience with "startup" but i would say that "preopenstck" > IS the best place to > initialize everything... > > And "closestack" or "closestackrequest" or something the best place to > cleanup things > before you leave... My problem with the preopenstack is that I have a lot of substacks that I don't want to use what is in the preopenstack handler. That is why the startup looks so good. The docs say it is only called once but each time I open a substack it 'reloads' all of the things in the main stack's preopenstack which I don't want to happen. >> Also related to this, I was reading the docs and they say if you want >> to keep a preference >> set to load the variables into a custom property on shutdown and then >> reload the custom >> prop into the variable on start up. I have not been successful in >> this in my CD. Also, I thought >> from this list that the only way to save info was via a separate >> stack outside the build. >> Seems a contradiction. > > No, it isn't. > Yes, it is! > No, it isn't. > Yes, it is! > No, it isn't. > Yes, it is! > No, it isn't. > Yes, it is! > No, it isn't. > Yes, it is! > > Oh, c'mon this is not an argument, this is a contradiction... > etc... > > Monty Python... > :-D > > > Contradiction or not, that's the way it works with "modern" OSs... ;-) Which one is the way it works in "modern" OSs?????? Either a custom prop can store info collected during use or if not, then a sep stack needs to do it???? Which one? Thanks Klaus, Tom > >> Has anyone done this? I need to test it in a simple stack. > > Check this for a quick guide: > > http://lists.runrev.com/pipermail/use-revolution/2003-December/ > 026781.html > >> Thanks >> >> Tom > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Sun Jan 11 08:59:34 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sun, 11 Jan 2004 08:59:34 -0500 Subject: on startup and on shutdown In-Reply-To: <71E7DC2E-443B-11D8-AB67-000A27B49A96@major-k.de> References: <71E7DC2E-443B-11D8-AB67-000A27B49A96@major-k.de> Message-ID: <62CB938A-443E-11D8-B031-000A95DA60FA@adelphia.net> On Jan 11, 2004, at 8:38 AM, Klaus Major wrote: > >> Has anyone done this? I need to test it in a simple stack. > > Check this for a quick guide: > > http://lists.runrev.com/pipermail/use-revolution/2003-December/ > 026781.html Thanks for the link. I was aware of that discussion. But the docs say you can store info in a custom prop on shutdown. They even say that 'that is what the on shutdown and on startup are for'. They don't say "But wait, you then have to save the custom prop in a separate stack etc.! That was why I asked, because after reading the thread you reference before I thought that that was the only way BUT then I read in the docs that you can do it in a custom prop???? THanks anyway, Tom > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From graham.samuel at wanadoo.fr Sun Jan 11 10:20:39 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Sun, 11 Jan 2004 16:20:39 +0100 Subject: on startup and on shutdown Message-ID: <5.2.1.1.0.20040111160256.00c524b8@pop.wanadoo.fr> On Sun, 11 Jan 2004 08:19:00 -0500, Thomas J McGrath III <3mcgrath at adelphia.net> wrote: >I just found the on startup and on shutdown handlers. I have tried to >clean up my CD project by putting the initializers into these handlers. >The docs say that is what they are for. > >Has anyone used these that much? I don't think they load when the stack >is launched in the IDE. I think they only run in the final build. >Does anyone know for sure? I had to put the code in both the startup >and preopen stack handlers. In the preopenstack I put an 'if the >environment is "development" then do the same code as in the startup >handler. > >Also related to this, I was reading the docs and they say if you want >to keep a preference set to load the variables into a custom property >on shutdown and then reload the custom prop into the variable on start >up. I have not been successful in this in my CD. Also, I thought from >this list that the only way to save info was via a separate stack >outside the build. Seems a contradiction. > >Has anyone done this? I need to test it in a simple stack. Hi Tom I always use a startup handler to initialise globals and other settings for the whole program, because it seems a very neat way to do it in the final app. I put the handler in the stack script of my first stack (usually a splash screen which acts as the repository for my common routines). It is true that it doesn't work in the IDE (presumably when the IDE is started it swallows the startup message on its own account), but you can get round that by typing send "startup" to stack "mySplash" into the Message Box: another technique I have used is to have a button on a card which is only used during my development cycle (contains timing data, private logs and such) which just executes the script above. Late in the development cycle this card gets hidden or sent offscreen, but can be brought back easily enough if users report bugs. The shutdown handler is invoked during the quit sequence, and in fact 'shutdown' and 'shutDownRequest' are the only ways AFAIK to handle any shutdown actions you might want to perform under OSX, since the actual 'Quit' menu item is taken out of your hands by the OS. It seems to me that 'shutDownRequest' is superior to 'shutDown' because this gets sent when the OS demands that the application quits, at least on Mac systems (don't know how this differs from handling the aevtquit Apple Event, but that's another story). I have no experience with custom property sets, but clearly the technique you mention will only work for a non-read-only stack, otherwise all changes will be lost... HTH Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From klaus at major-k.de Sun Jan 11 10:24:12 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 11 Jan 2004 16:24:12 +0100 Subject: on startup and on shutdown In-Reply-To: References: <71E7DC2E-443B-11D8-AB67-000A27B49A96@major-k.de> Message-ID: <3562402C-444A-11D8-AB67-000A27B49A96@major-k.de> Hi Thomas, >> ... >> And "closestack" or "closestackrequest" or something the best place >> to cleanup things >> before you leave... > My problem with the preopenstack is that I have a lot of substacks > that I don't want to use > what is in the preopenstack handler. That is why the startup looks so > good. > The docs say it is only called once but each time I open a substack it > 'reloads' > all of the things in the main stack's preopenstack which I don't want > to happen. In this case you can put your "preopenstack"-handler into the card-script of the first card! This way the substacks will not execute this handler :-) > ... >> http://lists.runrev.com/pipermail/use-revolution/2003-December/ >> 026781.html > Thanks for the link. I was aware of that discussion. But the docs say > you can store info > in a custom prop on shutdown. They even say that 'that is what the on > shutdown and > on startup are for'. They don't say "But wait, you then have to save > the custom prop in > a separate stack etc.! > That was why I asked, because after reading the thread you reference > before I thought > that that was the only way BUT then I read in the docs that you can do > it in a custom prop???? Well, fact is standalones CANNOT save themselves! In this case you will have to store your info/prefs outside the standalone... And saving in the folder where the standalone resides may cause permission-problems on OS X, Linux and Win2000 & XP... You could create an invisible stack, give it a name, store your info/customprops in that stack and save it in the appropriate folder using my function. This way you have almost unlimited space to store info at once! Since any new stack will automatically have one card, you can use the stack or card customprops and additionally their custompropertysets! I call it "storeprefs" here in my example. "safe_place_to_store_my_bloody_prefs" is definitively too long :-) When your app starts you can check with my function if there is already a prefs-file, then read the customprop(s) of that file and do whatever you want with this info :-) on preopenstack if there is a file (storeprefs() & "yourprefs.prf") then put the myinfo of stack (storeprefs() & "yourprefs.prf") into xyz ## do whatever you want with xyz else ## do whatever you like, since this is probably the first start of your app ## on the end-users computer ;-) end if ... end preopenstack And on "closestack" or whenever you can do this: on closestack ##collect your info into xyz... if there is a file (storeprefs() & "yourprefs.prf") then ## even no need to add the REV suffix set the myinfo of stack (storeprefs() & "yourprefs.prf") to xyz save stack (storeprefs() & "yourprefs.prf") else create invisible stack "myprefs" ## or whatever set the myinfo of stack "myprefs save stack "myinfo" as (storeprefs() & "yourprefs.prf") end if ... end closestack You get the picture ;-) !!!Not tested, but should work... (Famous last words ;-) Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From JimCarwardine at OwnYourFuture-net.com Sun Jan 11 10:58:13 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sun, 11 Jan 2004 11:58:13 -0400 Subject: Recurring Dates Script Message-ID: Has anyone written a script that handles recurring dates like Outlook or Entourage do? Jim -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From martin at harbourtown.co.uk Sun Jan 11 11:48:23 2004 From: martin at harbourtown.co.uk (Martin Baxter) Date: Sun, 11 Jan 2004 16:48:23 +0000 Subject: on startup and on shutdown Message-ID: >Thomas J McGrath III wrote> >I just found the on startup and on shutdown handlers. I have tried to >clean up my CD project by putting the initializers into these handlers. >The docs say that is what they are for. > >Has anyone used these that much? I use on startup and rely on it. It's true that it doesn't run in the IDE, only in a standalone. So what I do, in outline is... on startup # do things that only need to be done when run as a standalone initialise end startup on initialise # read prefs files, set up global environment etc. if the environment "development" then # do things that only need doing in the IDE end if end initialise Rather than use a preopenstack handler to run initialise automatically in the IDE (which has potential problems you have found out already by the sound of it), I either run initialise from the message box by hand, or sometimes include a temporary (during development) menu item to run it. The latter approach can sometimes be handy when testing a standalone, as it allows you to reinitialise - should you need to - without having to quit and relaunch the application. Of course that menu item would be removed from a published build. shutdown I never used, but actually I think it might be a good idea of I did. It looks like probably the most logical point to save an application's session state variables to disk. Martin From mcdomi at free.fr Sun Jan 11 11:52:43 2004 From: mcdomi at free.fr (Dom) Date: Sun, 11 Jan 2004 17:52:43 +0100 Subject: on startup and on shutdown In-Reply-To: Message-ID: <1g7eryy.pcwru4qmz4zkM%mcdomi@free.fr> Thomas J McGrath III <3mcgrath at adelphia.net> wrote: > My problem with the preopenstack is that I have a lot of substacks that > I don't want to use what is in the preopenstack handler. That is why > the startup looks so good. In the substacks just put: on preopenstack end preopenstack to trap this command. As for "on startup", I was used to go with it in my HyperCard times, but no more since then... -- Digital photos (nature, garden) : http://cooldomi.free.fr/ Scripting : http://domiscript.free.fr/ From 3mcgrath at adelphia.net Sun Jan 11 12:08:24 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sun, 11 Jan 2004 12:08:24 -0500 Subject: on startup and on shutdown In-Reply-To: <1g7eryy.pcwru4qmz4zkM%mcdomi@free.fr> References: <1g7eryy.pcwru4qmz4zkM%mcdomi@free.fr> Message-ID: Thanks, everyone, it seems to me the startup is what I wanted and the IDE does not process it 'in my stack' (which actually makes sense since it is a call only once message and REV already did that on it's startup). I handled the startup not being loaded in the IDE by putting an if environment is "development" then do initialize in the preopenstack. This way I can leave the code in the app when built and it will switch to the startup instead. I guess I misinterpreted the docs about the shutdown message. It sounds like it would be the best place to set a 'save' . I thought it was saying I could put variables into a custom prop and it would actually save it. What set me off was I was quitting in the IDE and it was saving my stack with the new data in the custom prop each time I tested it so in affect "I" was doing the saving and a build of course can not save itself with the new data. Once again I notice that I put a lot of scripts into each handler that should be it's own function. This makes so much sense for reusing the script and yet I always seem to forget and end up with very long scripts. THanks again, TOm On Jan 11, 2004, at 11:52 AM, Dom wrote: > Thomas J McGrath III <3mcgrath at adelphia.net> wrote: > >> My problem with the preopenstack is that I have a lot of substacks >> that >> I don't want to use what is in the preopenstack handler. That is why >> the startup looks so good. > > In the substacks just put: > > on preopenstack > end preopenstack > > to trap this command. > > As for "on startup", I was used to go with it in my HyperCard times, > but > no more since then... > > -- > Digital photos (nature, garden) : http://cooldomi.free.fr/ > Scripting : http://domiscript.free.fr/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From kumasoftdev at bignewfs.com Sun Jan 11 12:41:15 2004 From: kumasoftdev at bignewfs.com (KumaSoftDev) Date: Sun, 11 Jan 2004 11:41:15 -0600 Subject: Windows ODBC Message-ID: <2004111114121.850797@BobMobile1> I am using Runtime Revolution on Windows XP Professional and am unable to successfully connect to either Firebird or MS Access via ODBC. Using the Microsoft Access 2003 ODBC driver I can get as far as connecting within the "Database Query Builder", but when I go to the "Record Set" table there aren't any tables in the "Table" drop-down. Note that I CAN successfully use this ODBC Driver within other programs, such as R:Base. Using the Firebird ODBC driver my results are identical. I can establish a connection with the "Database Query Builder" but cannot get any tables to appear within the "Record Set Table" drop-down. Once again, I can successfully use this ODBC Driver within other programs, such as MS Access 2003. Using the Gemini ODBC driver for Interbase/Firebird my results are a bit different. With this driver I can establish a connection and I do see tables listed in the "Record Set Table" drop-down. However, my results at this point vary. For tables that contain a certain configuration of columns (I haven't locked down the pattern yet) RunRev will GPF and terminate as soon as I select a table from the list. For other tables I can successfully select a table - resulting in the creation of a select statement in the "SQL Query" edit field. However, for these tables as soon as I attempt to bind the table to a field in card RunRev will again GPF and terminate. Can someone please shed some light on this for me? Am I doing something incorrectly or is this a bug? Thanks Bob From dsc at swcp.com Sun Jan 11 12:56:18 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 11 Jan 2004 10:56:18 -0700 Subject: Converting Hexadecimal in Binary In-Reply-To: <00d701c3d7f5$85a22020$6901a8c0@LightningFlash> Message-ID: <754C01E3-445F-11D8-9D0B-000A9567A3E6@swcp.com> On Saturday, January 10, 2004, at 08:46 PM, Ken Ray wrote: >> This is 400% faster than original!!!!!!!!!! > > Actually, I got a MUCH greater time savings, Alejandro... The problem might be that putting the data into the field is inside the timing test. That adds an offset to the timing. If that is put outside the timing bracket, we should see even greater results. Also, we should see different results on different platforms. How does this look with just the computation and without putting the value into the field? Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From ncouch at mail.airmail.net Sun Jan 11 12:59:03 2004 From: ncouch at mail.airmail.net (nc) Date: Sun, 11 Jan 2004 11:59:03 -0600 Subject: Multi-level filtering question Message-ID: I have a database which I have extracted a finite set of attributes from (call them A,B,C, and D). They are output as four lines of text for each record, for example: AttributeA: DN=Smith, John,OU=Users,DN=domain,DN=Com AttributeB: MTA=MSEXC210 AttributeC: MDB=MSEXC210,Server=MSEXC212 AttributeD: MailAddress: Jsmith at domain.com I have been able to filter on any one of these attributes without a hitch. Even better since the database I am querying against can be several hundred MB in size the filter query is very fast, oftentimes taking less than a minute to extract for the query. The queries for this same job without the filter function took over 45 minutes in some cases so thank you developers! Anyway, getting back to my question. What I would like to do is filter for multiple aspects of each record (assuming several thousand records and each record having four lines with each line ending with a CR). I have been able to run a multi-level filter against the database and that works great, but what I have not been able to solve yet is to run the multi-level filter and have it extract all four lines of the record. Going back to the entry above, say I wanted to do a query that would find all records where AttributeB: MTA=MSEXC210 AND where AtrributeC: MDB=MSEXC210,Server=MSEXC212 were present then pipe all four lines of each record that fit the criteria out to a text file or output field. I hope this is clear as to what I am trying to accomplish. If you have any questions please let me know. Regards and thanks. Nate From dsc at swcp.com Sun Jan 11 13:15:12 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 11 Jan 2004 11:15:12 -0700 Subject: Converting Hexadecimal in Binary In-Reply-To: <20040111092643.12588.qmail@web40514.mail.yahoo.com> Message-ID: <18FFA784-4462-11D8-9D0B-000A9567A3E6@swcp.com> This has text pictures needing a fixed pitch font. On Sunday, January 11, 2004, at 02:26 AM, Alejandro Tejada wrote: > put binaryDecode("H*", char i to i+2 of asd)after var > -- produces an error! > put binaryEncode("H*", char i to i+2 of asd)after var > -- works perfectly! It is related to where the binary data is. In binaryDecode(), it is a parameter; you are decoding the binary data. In binaryEncode() it is the value returned by the function; you are encoding or building the binary data. Like this: put binaryDecode( formatsList, binaryData, datum1, datum2, datum3) into numConverted datum1 { binaryData ========> datum2 }-------> numConverted ^ datum3 | formatsList local datum1, datum2, datum3 put binaryEncode( formatsList, datum1, datum2, datum3) into binaryData datum1 datum2 ========> binaryData datum3 ^ | formatsList Now the designers could have made binaryEncode to be more like binaryDecode, and that might have made things easier to remember, but I like the functional binaryEncode and I build functions for conversions around both anyway. So the problem with your example of binaryDecode is that the parameter for the binary data is missing. Dar Scott From DVGlasgow at aol.com Sun Jan 11 13:51:09 2004 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Sun, 11 Jan 2004 13:51:09 EST Subject: XP GIF display oddities Message-ID: <154.2b7286c8.2d32f51d@aol.com> In a message dated 7/1/04 8:43:14 PM, Chipp Walters writes: >1) I doubt the compatibility wizard creates *any* envrironment variables >(course, I could be wrong, but this is the *first* I've ever heard of this. Thanks Chipp, and I will certainly try your advice. However, from playing around with the Wizard and the following (from Microsoft support here) it *does* seem that the Wizard tries settings and then if you indicate the problem is resolved, it remembers the settings and these are automatically applied to your standalone on launch. As far as I can tell, you aren't informed what has been changed. >This article describes how to use the Program Compatibility Wizard. The Program Compatibility Wizard prompts you to test your program in different modes > (environments) and with various settings. >For example, if the program was originally designed to run on Microsoft Windows 95, set the Compatibility Mode to Windows 95, and then try to run your program >again. If this is successful, the program will start in that mode each time. >The wizard also allows you to try different settings, such as switching the display to 256 colors and the screen resolution to 640 by 480 pixels. >Most programs run properly on Windows XP. The exceptions are some older games and other programs that were written specifically for an earlier version of > Windows. >If you are experiencing problems with a program that worked correctly on an earlier version of Windows, this wizard helps you select and test compatibility >settings that may fix those problems. Many of the most common issues that prohibit earlier versions of programs from working correctly are resolved. If you run >a program and it does not function as expected, it is recommended that you run the program in one of the compatibility environments. > They are somewhat grandly called "compatibility environments", but actually, the only things that are changed are colour depth, screen resolution and visual themes may be disabled. The confusing thing is that your colour settings could be OK, but then get messed up when you launch and presumably are reset when you quit. I am going to have another wrestle with it this week to find out how to stop it interfering if a user has unwisely let it believe that the standalone needs a particular "compatibility environment". Best wishes, David Glasgow Forensic Psychology Software and Services i-Psych From soapdog at mac.com Sun Jan 11 14:19:48 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 11 Jan 2004 17:19:48 -0200 Subject: Two Questions on Database Query Builder Message-ID: <1F478830-446B-11D8-A9CE-0003936D012E@mac.com> Hi Folks, Is there a way to change connections parameters (server, user, pass) at run time? And what about SQL joins, if I try to use something like "SELECT * FROM names, projects WHERE projects.manager = names.id" will it work in the Database Query Builder, like being able to set control for columns of both tables? Cheers, and thanks in advance. Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From frank at backtalk.com Sun Jan 11 14:50:15 2004 From: frank at backtalk.com (Frank Leahy) Date: Sun, 11 Jan 2004 19:50:15 +0000 Subject: on startup and on shutdown In-Reply-To: <20040111135622.5212F9300BC@mail.runrev.com> Message-ID: <606962F4-446F-11D8-9D1A-000A9580FCCE@backtalk.com> Tom, If you're trying to store the property into a stack that resides on the CD, you're toast because the CD is read-only. The only way to do what you want is to either: 1) Copy at least one stack to the user's disk and store the properties there, or 2) Create a preferences file where you store the property data on the user's disk, and read/write that prefs file on startup and shutdown. As for using preOpenStack or a startup handler -- if you have a preOpenStack handler in your main stack, then you'll have to have an empty preOpenStack handler in each substack so that the main stack's preOpenStack handler is overridden. Like this: on preOpenStack -- This overrides the main stack handler. -- Do not call "pass preOpenStack" otherwise the main stack handler will get called. end preOpenStack Best, -- Frank Leahy On Sunday, January 11, 2004, at 01:56 PM, use-revolution-request at lists.runrev.com wrote: > > Either a custom prop can store info collected during use or if not, > then a sep stack needs to do it???? > Which one? From mwieder at ahsoftware.net Sun Jan 11 15:09:38 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 11 Jan 2004 12:09:38 -0800 Subject: Outstanding Revolution Developer Conference In-Reply-To: <9FA43708-43F8-11D8-A4BF-000A95B300EC@daniels-mara.com> References: <9FA43708-43F8-11D8-A4BF-000A95B300EC@daniels-mara.com> Message-ID: <01733763.20040111120938@ahsoftware.net> Jerry- I almost hesitate to recommend this because we'll have to get a bigger room next time if more people find out how good this was. But it *was* the best seminar I've been to in... well... ever. My mind didn't wander once in two solid packed days of presentations. ...and welcome back to the list. Glad to see you got your email problems sorted out. -- -Mark Wieder mwieder at ahsoftware.net From gizmotron at earthlink.net Sun Jan 11 15:30:19 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun, 11 Jan 2004 12:30:19 -0800 Subject: Outstanding Revolution Developer Conference In-Reply-To: <01733763.20040111120938@ahsoftware.net> Message-ID: So, unless a secret decoder ring is required, will someone that went to this tell us what Kevin Miller said: 8 AM ? 9 AM Kevin Miller, Runtime Revolution Revolution?s fearless leader will be letting you get the inside scoop on version 2.5 with additional surprise announcements and guests. Mark From soapdog at mac.com Sun Jan 11 15:42:05 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 11 Jan 2004 18:42:05 -0200 Subject: Outstanding Revolution Developer Conference In-Reply-To: References: Message-ID: <9E1ACF06-4476-11D8-A9CE-0003936D012E@mac.com> We Should Launch Revolution Developer Field Trip to South America, this way I could visit you folks! :-D Cheers Andre On Jan 11, 2004, at 6:30 PM, Mark Brownell wrote: > So, unless a secret decoder ring is required, will someone that went > to this tell us what Kevin Miller said: > > 8 AM ? 9 AM > Kevin Miller, Runtime Revolution > Revolution?s fearless leader will be letting you get the inside scoop > on version 2.5 with additional surprise announcements and guests. > > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From hannu.kokko at iki.fi Sun Jan 11 15:47:12 2004 From: hannu.kokko at iki.fi (Hannu Kokko) Date: Sun, 11 Jan 2004 22:47:12 +0200 Subject: Outstanding Revolution Developer Conference In-Reply-To: <9E1ACF06-4476-11D8-A9CE-0003936D012E@mac.com> Message-ID: Or perhaps to Finland... --h On 11.1.2004 22:42, "Andre Garzia" wrote: > > We Should Launch Revolution Developer Field Trip to South America, this > way I could visit you folks! :-D > > Cheers > Andre > > > > > On Jan 11, 2004, at 6:30 PM, Mark Brownell wrote: > >> So, unless a secret decoder ring is required, will someone that went >> to this tell us what Kevin Miller said: >> >> 8 AM ? 9 AM >> Kevin Miller, Runtime Revolution >> Revolution?s fearless leader will be letting you get the inside scoop >> on version 2.5 with additional surprise announcements and guests. >> >> Mark >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > Andre Alves Garzia ? 2003 ? BRAZIL > http://www.soapdog.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- Mr Hannu Kokko, Senior Vice President, Head of Product Engineering Meridea Financial Software Oy, Valimotie 21, FIN-00380 HELSINKI, FINLAND http://www.merideasoftware.com Phone: +358 50 386 6448 "99,5% ain't enough" This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. From mwieder at ahsoftware.net Sun Jan 11 15:54:04 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 11 Jan 2004 12:54:04 -0800 Subject: Windows ODBC In-Reply-To: <2004111114121.850797@BobMobile1> References: <2004111114121.850797@BobMobile1> Message-ID: <1214400227.20040111125404@ahsoftware.net> Bob- Sunday, January 11, 2004, 9:41:15 AM, you wrote: K> Using the Microsoft Access 2003 ODBC driver I can get as far as K> connecting within the "Database Query Builder", but when I go to K> the "Record Set" table there aren't any tables in the "Table" K> drop-down. Note that I CAN successfully use this ODBC Driver K> within other programs, such as R:Base. It's definitely a bug with the Query Builder. You'll find the same thing happening with SQL Server. Skip the Database Query Builder and use the revdb commands. They work just fine even if the Query Builder can't come up with a list of tables. Also, you'll find that if you enter valid SQL into the query builder it *will* work, it just won't give you any help getting there. -- -Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Sun Jan 11 15:55:51 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 11 Jan 2004 13:55:51 -0700 Subject: Converting Hexadecimal in Binary In-Reply-To: <18FFA784-4462-11D8-9D0B-000A9567A3E6@swcp.com> Message-ID: <8A8EDBD2-4478-11D8-9D0B-000A9567A3E6@swcp.com> On Sunday, January 11, 2004, at 11:15 AM, Dar Scott wrote: > put binaryDecode( formatsList, binaryData, datum1, datum2, datum3) > into numConverted > put binaryEncode( formatsList, datum1, datum2, datum3) into binaryData Here is another way to remember: The binaryDecode() function is somewhat like matchText(): put matchText( textData, regex, datum1, datum2, datum3 ) into validMatch The binaryEncode() function is somewhat like format(): put format( formatString, datum1, datum2, datum3 ) into textData I think I made a mistake earlier; it must be binaryDecode() and matchText() that need the variables to already exist. (Perhaps a reasonable enhancement would be to make the compiler create these if they do not exist.) Dar Scott From dsc at swcp.com Sun Jan 11 16:03:55 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 11 Jan 2004 14:03:55 -0700 Subject: on startup and on shutdown In-Reply-To: <606962F4-446F-11D8-9D1A-000A9580FCCE@backtalk.com> Message-ID: I have learned that somethings must be done in startup and somethings can't be done, but I don't remember which are which. I also learned that it is not sent to the first card, but to the stack, or so it seemed. I try to divide up things into app init and stack init and give stack init preference. Dar Scott From sarahr at genesearch.com.au Sun Jan 11 16:47:37 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 12 Jan 2004 07:47:37 +1000 Subject: A couple of weird things with cloned stacks In-Reply-To: References: Message-ID: On 10 Jan 2004, at 1:41 am, Doug Lerner wrote: > (1) If I use the > > set mainStack > > command to cause cloned stacks to be a substack of the main stack it > has the > inconvenient side-effect of storing all the created cloned substacks > in the > main file when I save everything in the IDE. > > It's probably better to duplicate main stack handlers in the clone > itself > and leave it out of the mainstack. If you just want them to have access to the scripts in your mainStack, you could: start using stack "MainStack" so that all stacks can use it's handlers. > > (2) If I use the > > set name > > command to change the name of the newly cloned stack, the Application > Browser does not reflect the change. This is probably an Application > Browser > bug. Yes, the Application Browser doesn't always update itself. Close & re-open it and then you should see the new name. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From pixelbird at interisland.net Sun Jan 11 16:49:36 2004 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 11 Jan 2004 13:49:36 -0800 Subject: Flute Tuner In-Reply-To: <20040111075704.BE8999300A1@mail.runrev.com> Message-ID: Hi Nelson, > Date: Sat, 10 Jan 2004 23:13:32 -0700 > From: Nelson Zink > Subject: Flute Tuner > > I'd like to build a flute tuner. Can anyone suggest a rough script of how to > get the frequency of input from the internal microphone on a Mac? ---------- I noticed you didn't get a response so far...with good reason. I'd be the last to say something can't be done with Rev, but what you're asking for is not so simple and AFAIK there are no Rev terms for dealing with it from scratch, i.e., it may reqire an external (perhaps more than one). First, I should make mention that there are numerous dedicated portable digital tuners available at every music store I've ever been in. They're very common and not expensive anymore: ***...but if you hurry to get in a bid, you can get a KORG tuner dirt cheap on eBay right now (bid was at $14.95 when I looked): Having said that, here is some software from BuzzMac (maybe you can figure out how they did it): ...other than that, the only thing I can do is point you to QuickTime midi instruments and see if there is some way to use the player to make comparisons. At least you could do it by ear. HTH, Ken N. From capellan2000 at yahoo.com Sun Jan 11 16:59:09 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun, 11 Jan 2004 13:59:09 -0800 (PST) Subject: Converting Hexadecimal in Binary In-Reply-To: <20040111135622.5212F9300BC@mail.runrev.com> Message-ID: <20040111215909.81200.qmail@web40501.mail.yahoo.com> on Sun, 11 Jan 2004 Wouter wrote: > On my slower rig it this is a little faster: > > repeat with i = 1 to length(asd) step 6 > put 00 & char i to i+5 of asd after qwd > end repeat > put binaryEncode("H*",qwd) into qwe Extraordinary! This reduces the time in another 150 milliseconds!!! > changed to this may make it (a lot) quicker: > ### = change > on mouseUp > > --put the ticks into zxcv ### old HC way :^) > put the millisecs into zap ### if the img is > small this shows more > exactly the difference > -- this line put the ticks into a variable to > count the time > -- that takes to execute this handler. There are > 60 ticks in a second > > put the imagedata of img "prep" into asd > delete char 1 of asd > -- the first char of the imagedata is the > alphadata or maskdata > ### > get binaryDecode("H*", asd, v1) > repeat with i = 1 to length(v1) step 8 > put char i to i + 5 of v1 after fldhex > end repeat > ### > put length(fldhex) into lenghtofldhex > repeat with i = 1 to lenghtofldhex step 60 -- I > want 60 chars per line > put return & char i to (i+59) of fldhex after > fldhexa2 > end repeat > put empty into fldhex > put toUpper(fldhexa2) into fld "text" > --put ((the ticks - zxcv) / 60) && "seconds to > create the hexadecimal > data from binary imagedata" > ### > put the millisecs - zap && "milliseconds to > create the hexadecimal > data from binary imagedata" > > end mouseUp Excellent! With the comments that you put in the code, I have learned very important techniques. > > put binaryDecode("H*", char i to i+2 of asd)after var > > -- produces an error! > > Of course it should be : > get binarydecode("H*", char i to i+2 of asd,v1) > put v1 after var I agree, but then, Why binaryEncode permits this different sintax: put binaryEncode("H*", char i to i+2 of asd)after var After all this time crunching, I suppose that the next step for more speed is an external. :-) Thanks a lot, Wouter and Dar! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From dsc at swcp.com Sun Jan 11 17:10:57 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 11 Jan 2004 15:10:57 -0700 Subject: Flute Tuner In-Reply-To: Message-ID: <080BD984-4483-11D8-9D0B-000A9567A3E6@swcp.com> On Sunday, January 11, 2004, at 02:49 PM, Ken Norris wrote: > ...other than that, the only thing I can do is point you to QuickTime > midi > instruments and see if there is some way to use the player to make > comparisons. At least you could do it by ear. I think this is a good idea. Or look for other methods that avoid actually measuring the frequency of the flute. Would high, low or right-on indicators be OK? I see three problems areas in measuring the frequency of a flute tone. The first is (the best I know) that recording is to a file and is not an input stream. That will make a delay from recording the tone and then analyzing it. The greater the accuracy needed, the longer the delay. (There might be some way to avoid some of that.) The second is converting the sound file into a form for computation. The third is the signal processing. This might involve some digital filtering and then a FFT. The FFT result would then be analyzed for finding the fundamental. There are probably ways to avoid that if all you need is the fundamental and you know about what it is. I hope that I'm missing something in all this. This looks like a lot of work to me. Dar Scott From sarahr at genesearch.com.au Sun Jan 11 17:11:44 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 12 Jan 2004 08:11:44 +1000 Subject: When clicking on a palette item, how does Rev know what stack you were in? In-Reply-To: References: Message-ID: <240966FC-4483-11D8-8418-0003937A97B8@genesearch.com.au> Check the docs for the topStack. It tells you the front most window with the lowest mode, where normal stack windows have a mode of 1. (Read the docs entry for mode to get further details.) Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 10 Jan 2004, at 6:03 pm, Doug Lerner wrote: > If there is not a built-in way of doing this I can probably rig > something up > with global variables, looking at the current open stacks manually, or > something like that, but I thought I would ask first... > > > Suppose there are several windows open and I click in a palette window > somewhere choosing a tool or a chunk. > > Is there an easy way of detecting which of the windows I was in when I > went > to click the palette? > > Should I just use the mouseLeave handler to store a reference to where > I was > in a global variable or something like that? > > Thanks, > > doug From zink at newmex.com Sun Jan 11 17:12:33 2004 From: zink at newmex.com (Nelson Zink) Date: Sun, 11 Jan 2004 15:12:33 -0700 Subject: Flute Tuner In-Reply-To: Message-ID: Ken, > First, I should make mention that there are numerous dedicated portable > digital tuners available at every music store I've ever been in. They're > very common and not expensive anymore: I have tuners, both hard and software--my interest is to create one with features not found in others. > I'd be the last to say something can't be done with Rev, but what you're > asking for is not so simple and AFAIK there are no Rev terms for dealing > with it from scratch, i.e., it may reqire an external (perhaps more than > one). Maybe I'll have to go back and wrestle with C. Thanks, Nelson From sarahr at genesearch.com.au Sun Jan 11 17:15:11 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 12 Jan 2004 08:15:11 +1000 Subject: Setting custom properties for a newly cloned stack In-Reply-To: References: Message-ID: <9F85A976-4483-11D8-8418-0003937A97B8@genesearch.com.au> Hi Doug, I have done a similar thing in the past, and in the post referenced below, you can see details of how I did it: http://lists.runrev.com/pipermail/use-revolution/2003-September/ 023280.html Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 10 Jan 2004, at 12:03 pm, Doug Lerner wrote: > What is the best way, timing-wise, to set the custom properties of a > newly > cloned stack. > > I (stupidly) tried > > clone stack "myStack" > set the myProperty of "Copy of myStack" to "123" > > But... if in the openStack handler of the cloned stack I need to make > immediate use of that property it seems it is too late. The clone > command > opens up the stack *first*, right? Then *after that* the set command > runs. > > So how to best set custom properties in the cloned stack if they need > to be > used during the openStack handler? > > Global variables? > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From zink at newmex.com Sun Jan 11 17:15:47 2004 From: zink at newmex.com (Nelson Zink) Date: Sun, 11 Jan 2004 15:15:47 -0700 Subject: Flute Tuner In-Reply-To: <080BD984-4483-11D8-9D0B-000A9567A3E6@swcp.com> Message-ID: Dar, > The first is (the best I know) that recording is to a file and is not > an input stream. That will make a delay from recording the tone and > then analyzing it. That kind of shoots the whole concept of real time feedback. Thanks, Nelson From sarahr at genesearch.com.au Sun Jan 11 17:21:01 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 12 Jan 2004 08:21:01 +1000 Subject: Recurring Dates Script In-Reply-To: References: Message-ID: <6FD92382-4484-11D8-8418-0003937A97B8@genesearch.com.au> Hi Jim, I don't know exactly what sort of recurring dates you are planning, but you will find that using the dateItems format works really well for date calculations: Try something like this: put the seconds into theDate convert theDate to dateItems -- 2004,1,12,8,16,46,2 -- see the docs for dateItems to check what each item is. Now you can edit any of these items WITHOUT having to worry about whether it results in a correct date. When you convert it back, the engine will make it into a real date. add 18 to item 2 of theDate -- item 2 = month, so move 18 months forward -- 2004,19,12,8,18,26,2 convert theDate to long date -- Tuesday, July 12, 2005 Hope this helps, Sarah On 12 Jan 2004, at 1:59 am, Jim Carwardine wrote: > Has anyone written a script that handles recurring dates like Outlook > or > Entourage do? Jim > -- > > OYF is... Highly resourceful people working together. > > > Own Your Future Consulting Services Limited, > 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 > Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarahr at genesearch.com.au Sun Jan 11 17:24:43 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 12 Jan 2004 08:24:43 +1000 Subject: Multi-level filtering question In-Reply-To: References: Message-ID: > Anyway, getting back to my question. What I would like to do is > filter for multiple aspects of each record (assuming several thousand > records and each record having four lines with each line ending with a > CR). I have been able to run a multi-level filter against the > database and that works great, but what I have not been able to solve > yet is to run the multi-level filter and have it extract all four > lines of the record. Going back to the entry above, say I wanted to > do a query that would find all records where AttributeB: MTA=MSEXC210 > AND where AtrributeC: MDB=MSEXC210,Server=MSEXC212 were present then > pipe all four lines of each record that fit the criteria out to a text > file or output field. > I see two options here: 1. If you know the records are going to be adjacent, you can find the first one using filter, get it's lineOffset in the original data and return the filtered line plus the following 3 lines. 2. You can do a series of filters, renewing the original data before each one, then concatenate the results. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From kray at sonsothunder.com Sun Jan 11 17:24:42 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 11 Jan 2004 16:24:42 -0600 Subject: Converting Hexadecimal in Binary In-Reply-To: <754C01E3-445F-11D8-9D0B-000A9567A3E6@swcp.com> Message-ID: <007b01c3d891$b96976a0$6901a8c0@LightningFlash> it's a bit faster... here's the "old" test: "Original = 5.866667 seconds "200% Faster" = 0.25 seconds (23x Faster!) "400% Faster" = 0.166667 seconds (35x Faster!) and the new one: "Original = 5.666667 seconds "200% Faster" = 0.233333 seconds (24x Faster!) "400% Faster" = 0.15 seconds (38x Faster!) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: Dar Scott [mailto:dsc at swcp.com] > Sent: Sunday, January 11, 2004 11:56 AM > To: kray at sonsothunder.com; How to use Revolution > Subject: Re: Converting Hexadecimal in Binary > > > > On Saturday, January 10, 2004, at 08:46 PM, Ken Ray wrote: > > >> This is 400% faster than original!!!!!!!!!! > > > > Actually, I got a MUCH greater time savings, Alejandro... > > The problem might be that putting the data into the field is > inside the > timing test. That adds an offset to the timing. If that is put > outside the timing bracket, we should see even greater > results. Also, > we should see different results on different platforms. > > How does this look with just the computation and without putting the > value into the field? > > Dar Scott > > **************************************** > Dar Scott Consulting > http://www.swcp.com/dsc/ > Programming Services > **************************************** > > From dsc at swcp.com Sun Jan 11 17:26:16 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 11 Jan 2004 15:26:16 -0700 Subject: Flute Tuner In-Reply-To: Message-ID: <2C2AA0FE-4485-11D8-9D0B-000A9567A3E6@swcp.com> On Sunday, January 11, 2004, at 03:15 PM, Nelson Zink wrote: >> The first is (the best I know) that recording is to a file and is not >> an input stream. That will make a delay from recording the tone and >> then analyzing it. > > That kind of shoots the whole concept of real time feedback. Maybe. Computers are getting faster faster. You are probably right. But, maybe... dar From doug at webcrossing.com Sun Jan 11 18:18:41 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 08:18:41 +0900 Subject: A couple of weird things with cloned stacks In-Reply-To: Message-ID: On 1/12/04 6:47 AM, "Sarah Reichelt" wrote: > On 10 Jan 2004, at 1:41 am, Doug Lerner wrote: > >> (1) If I use the >> >> set mainStack >> >> command to cause cloned stacks to be a substack of the main stack it >> has the >> inconvenient side-effect of storing all the created cloned substacks >> in the >> main file when I save everything in the IDE. >> >> It's probably better to duplicate main stack handlers in the clone >> itself >> and leave it out of the mainstack. > If you just want them to have access to the scripts in your mainStack, > you could: > start using stack "MainStack" > so that all stacks can use it's handlers. Thanks, Sarah. I'll check that out. doug From wouter.abraham at pi.be Sun Jan 11 19:00:25 2004 From: wouter.abraham at pi.be (Wouter) Date: Mon, 12 Jan 2004 01:00:25 +0100 Subject: Converting Hexadecimal in Binary In-Reply-To: <20040111221616.D8ECC930355@mail.runrev.com> References: <20040111221616.D8ECC930355@mail.runrev.com> Message-ID: <52D3506C-4492-11D8-AEF0-003065CC999E@pi.be> On 11 Jan 2004, at 23:16, use-revolution-request at lists.runrev.com wrote: > Message: 7 > Date: Sun, 11 Jan 2004 13:59:09 -0800 (PST) > From: Alejandro Tejada > Subject: Re: Converting Hexadecimal in Binary > To: use-revolution at lists.runrev.com > Message-ID: <20040111215909.81200.qmail at web40501.mail.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > snip > After all this time crunching, I suppose that > the next step for more speed is an external. :-) > > Thanks a lot, Wouter and Dar! > > al > Same to you. Thanks to the nice Homer image you included in your example stack, I stumbled on another problem with PNG and keeping transparency. A new bone to chew on. Keep you posted after obtaining some more details. Greetings, WA From mwieder at ahsoftware.net Sun Jan 11 19:50:39 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 11 Jan 2004 16:50:39 -0800 Subject: Flute Tuner In-Reply-To: <080BD984-4483-11D8-9D0B-000A9567A3E6@swcp.com> References: <080BD984-4483-11D8-9D0B-000A9567A3E6@swcp.com> Message-ID: <15518594938.20040111165039@ahsoftware.net> Nelson- The good news here is that a flute produces the closest thing to a pure sine wave that you can get from a musical instrument. You'd probably have to open the audio in port and start counting zero-crossings and reject anything too far out of band. Even looking at just an A-440Hz signal, though, that means looking looking for a transition every 1.8 milliseconds. System ticks aren't that accurate. If you're not using a machine with an accessible DSP chip hooked up to your audio input I think you're going to be dealing with some very low-level code - deeper than you'll be able to get with Transcript. -- -Mark Wieder mwieder at ahsoftware.net From zink at newmex.com Sun Jan 11 20:56:00 2004 From: zink at newmex.com (Nelson Zink) Date: Sun, 11 Jan 2004 18:56:00 -0700 Subject: Flute Tuner In-Reply-To: <15518594938.20040111165039@ahsoftware.net> Message-ID: Mark, > The good news here is that a flute produces the closest thing to a > pure sine wave that you can get from a musical instrument. You'd > probably have to open the audio in port and start counting > zero-crossings and reject anything too far out of band. That's the basic idea. > Even looking at just an A-440Hz signal, though, that means looking > looking for a transition every 1.8 milliseconds. System ticks aren't > that accurate. The program wouldn't report more often than maybe a fifth of second (averaging maybe 50 cycles) or else the output gets too jittery. Nelson From JimCarwardine at OwnYourFuture-net.com Sun Jan 11 21:54:47 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sun, 11 Jan 2004 22:54:47 -0400 Subject: Recurring Dates Script In-Reply-To: <6FD92382-4484-11D8-8418-0003937A97B8@genesearch.com.au> Message-ID: Thanks, Sarah. I'm familiar with dateItems from HC. Even with dateItems, checking on things like the second Tuesday of every month is tricky. I was hoping that somebody might have done some of that... Jim on 1/11/04 6:21 PM, Sarah Reichelt wrote: > Hi Jim, > > I don't know exactly what sort of recurring dates you are planning, but > you will find that using the dateItems format works really well for > date calculations: > > Try something like this: > put the seconds into theDate > convert theDate to dateItems > -- 2004,1,12,8,16,46,2 > -- see the docs for dateItems to check what each item is. > > Now you can edit any of these items WITHOUT having to worry about > whether it results in a correct date. When you convert it back, the > engine will make it into a real date. > > add 18 to item 2 of theDate -- item 2 = month, so move 18 months > forward > -- 2004,19,12,8,18,26,2 > convert theDate to long date > -- Tuesday, July 12, 2005 > > Hope this helps, > Sarah > > On 12 Jan 2004, at 1:59 am, Jim Carwardine wrote: > >> Has anyone written a script that handles recurring dates like Outlook >> or >> Entourage do? Jim >> -- >> >> OYF is... Highly resourceful people working together. >> >> >> Own Your Future Consulting Services Limited, >> 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 >> Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From kray at sonsothunder.com Sun Jan 11 22:25:11 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 11 Jan 2004 21:25:11 -0600 Subject: When clicking on a palette item, how does Rev know what stack youwere in? In-Reply-To: Message-ID: <00bb01c3d8bb$b2fe4c80$6901a8c0@LightningFlash> > Is there an easy way of detecting which of the windows I was > in when I went to click the palette? Well, if you ask for the topStack, you'll get the top-most, non-palette stack (which *should* be the one you were last working with. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From doug at webcrossing.com Sun Jan 11 22:37:06 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 12:37:06 +0900 Subject: When clicking on a palette item, how does Rev know what stackyouwere in? In-Reply-To: <00bb01c3d8bb$b2fe4c80$6901a8c0@LightningFlash> Message-ID: On 1/12/04 12:25 PM, "Ken Ray" wrote: >> Is there an easy way of detecting which of the windows I was >> in when I went to click the palette? > > Well, if you ask for the topStack, you'll get the top-most, non-palette > stack (which *should* be the one you were last working with. > I ended up doing this with a mouseLeave handler in the stack I was in. That seems most reliable, in case the other stack is not a palette. doug From erikhans08 at yahoo.com Sun Jan 11 22:46:39 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sun, 11 Jan 2004 19:46:39 -0800 (PST) Subject: [OT] new Mac software: GarageBand and iLife'04 In-Reply-To: Message-ID: <20040112034639.66872.qmail@web61102.mail.yahoo.com> --- Scott Rossi wrote: > This is not to argue that GarageBand is a > replacement for the other > commercial audio apps, but I, for one, was > wondering how Apples loops > compared to those of other music building apps > (GrooveMaker, MixMan, etc). > http://www.tactilemedia.com Band In A Box is the most widely used. Roland and Yamaha have dedicated "boxes". i imagine we will soon be able to feed output from Kurt Kaufman's MIDI app to GarageBand. Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From bvlahos at mac.com Sun Jan 11 23:46:23 2004 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 11 Jan 2004 20:46:23 -0800 Subject: Linux dist build problem In-Reply-To: <3FFED9E8.8060203@orwell.net> References: <3FFED9E8.8060203@orwell.net> Message-ID: <45D7D02F-44BA-11D8-ABAC-0003936A2C42@mac.com> This is expected behavior as OS9 doesn't have an execute bit to set. You found the fix. Bill Vlahos On Jan 9, 2004, at 8:42 AM, T. R. Ponn wrote: > Hello all! > > I'm developing with MacOS9.2.2, RunRev2.0.3 for multi-platform > distribution... > > Apparently, one of my Linux beta sites reports that the app is not > appearing as an executable. So...he manually sets that flag before he > uses the app so that Linux will treat it properly. Any clues? Is > this a distribution buider problem, or some setting that I've > overlooked? I don't recall having this problem with 1.1.1, I think it > just started with 2.0.3, although I'll be looking through previous > versions of my app very quickly now :-[ > > Thanks in advance for your help! > > Best Regards, > > Tim Ponn > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Sun Jan 11 23:50:55 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 12 Jan 2004 02:50:55 -0200 Subject: ANN: New webpage :D (my stacks will be here from now on...) Message-ID: Hi Folks, It's full of happyness that I announce here first my new home on the web. It took a while to organize everything. Also not everything is online yet. I must upload the stacks, but there's info there. Also this makes a huge step from working with Rev from a hobbie standpoint to a more mature (and commercial) standpoint. All my projects and contracts will be here. Everything that I think is usefull for our community will be public domain. Also there's a blog where I'll put the news! The XML-RPC Project and the HTTPd Project will be updated this week. Also simple code tidbits will be posted to the blog. my new url is http://studio.soapdog.org feel free to mail me comments on my projects and page!!!! :D Ah, and I want to qualify for membership on the RunRev Web Ring!!! Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From shaosean at unitz.ca Mon Jan 12 01:01:26 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Mon, 12 Jan 2004 01:01:26 -0500 Subject: [ANN] libEmail v1.00 and libSmtp v2.00 Message-ID: Well after many months of sitting around and doing nothing, I'm finally releasing the next version of libSmtp and it's new companion library - libEmail! libSmtp has been re-written and all of the email encoding features that were found in the previous versions have all been off-loaded to libEmail. What's new in libSmtp v2 - almost 100% re-written - more robust error handling - everything should be "threaded" (wait with messages) - better smtp authentication support and handling libEmail v1.0.0 is a new library featuring all the great features found in the old libSmtp library, but with much better support. All the code has been sifted through and re-written in many places. Support for unicode in headers and message body parts was added in. Why two libraries now? It's not a money grab ^_^ as they are both released into the public domain. The reason for the two libraries is to allow me to give better attention to the one task that they're to do, but also to allow you greater flexibility and choice. What choices? By spliting them into two libraries, you can use another library with either one of these libraries. As always, feel free to write with comments, suggestions or fixes for "undocumented features" ;-) -Sean www.shaosean.tk From mwieder at ahsoftware.net Mon Jan 12 01:02:51 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 11 Jan 2004 22:02:51 -0800 Subject: Flute Tuner In-Reply-To: References: Message-ID: <11237326733.20040111220251@ahsoftware.net> Nelson- Sunday, January 11, 2004, 5:56:00 PM, you wrote: >> Even looking at just an A-440Hz signal, though, that means looking >> looking for a transition every 1.8 milliseconds. System ticks aren't >> that accurate. NZ> The program wouldn't report more often than maybe a fifth of second NZ> (averaging maybe 50 cycles) or else the output gets too jittery. ...and true to form I miscalculated the period in my head. It's actually 1.14 milliseconds per transition. I was referring to you trying to figure out the frequency yourself by checking the period of the incoming waveform, not the reporting interval. I think this is something that's better off done in hardware, or as close to the hardware as you can get. -- -Mark Wieder mwieder at ahsoftware.net From erikhans08 at yahoo.com Mon Jan 12 01:57:46 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sun, 11 Jan 2004 22:57:46 -0800 (PST) Subject: iMovie vs Final Cut Pro In-Reply-To: <6A576A08-4184-11D8-BB6E-000A959D005E@earthlink.net> Message-ID: <20040112065746.86545.qmail@web61107.mail.yahoo.com> doe anyone have direct experience editing videos with iMovie vs Final Cut Pro and running the videos from Revolution? thanks, Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From FlexibleLearning at aol.com Mon Jan 12 02:45:56 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon, 12 Jan 2004 02:45:56 EST Subject: Storing compressed data: tidbit Message-ID: <44.3a0e771d.2d33aab4@aol.com> -- These allow compressed data to be stored in a password-protected stack... I recently asked if RR still corrupts compressed data when stored in a password-protected stack. Assuming this remains the case, the solution is to encode the compressed data which, although making the compressed data a bit bigger, does at least avoid invalid data problems... function compressAlt tData put compress(tData) into dummy return base64Encode(dummy) end compressAlt function decompressAlt tData put base64Decode(tData) into dummy return decompress(dummy) end decompressAlt eg - set the MyDataFile of this stack to compressAlt(url("binfile:"&tPath)) - put decompressAlt(the MyDataFile of this stack) into url ("binfile:"&tPath) Splitting the command into two lines does appear to be required. Usng a one-liner like "return base64Encode(compress(tData))" does not always work. Hope someone may find this useful. /H From capellan2000 at yahoo.com Mon Jan 12 03:51:19 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 12 Jan 2004 00:51:19 -0800 (PST) Subject: Vector Animation In-Reply-To: <20040112033649.7E8A6930355@mail.runrev.com> Message-ID: <20040112085119.51172.qmail@web40503.mail.yahoo.com> Hi developers, I'm looking for a way to have animated vector graphics in MC/RR. This is the first result: http://geocities.yahoo.com/Vector_Animation.gz In this stack, a group is used to show a matrix of vector shapes. This is similar to the Filmstrip player of Supercard. Now, I need some opinions about the best way in which this feature could be implemented. This is a handler, but ideally it must be a function available from the stack script. If you could convert this handler in a function, please download this stack and give it a try. The handler is in the button "Animate". Ideally, vector shapes must be compressed like bitmap graphics, but i do not have success compressing and restoring vector graphics... Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From capellan2000 at yahoo.com Mon Jan 12 03:56:59 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 12 Jan 2004 00:56:59 -0800 (PST) Subject: Vector Animation Message-ID: <20040112085659.70870.qmail@web40509.mail.yahoo.com> Hi developers, Previous post has the wrong direction. :( I'm looking for a way to have animated vector graphics in MC/RR. This is the first result: In this stack, a group is used to show a matrix of vector shapes. This is similar to the Filmstrip player of Supercard. Now, I need some opinions about the best way in which this feature could be implemented. This is a handler, but ideally it must be a function available from the stack script. If you could convert this handler in a function, please download this stack and give it a try. The handler is in the button "Animate". Ideally, vector shapes must be compressed like bitmap graphics, but i do not have success compressing and restoring vector graphics... Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From capellan2000 at yahoo.com Mon Jan 12 04:25:56 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 12 Jan 2004 01:25:56 -0800 (PST) Subject: Vector Animation In-Reply-To: <20040112033649.7E8A6930355@mail.runrev.com> Message-ID: <20040112092556.78163.qmail@web40506.mail.yahoo.com> The direction to download is Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From doug at webcrossing.com Mon Jan 12 04:33:24 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 18:33:24 +0900 Subject: Mac OS 9 and sockets - are they slow? Message-ID: I am doing some socket experiments between a Rev client and a server. For the standalone apps I build for OS X or Windows, the response is great - the sockets open and the communication with the server is essentially instantaneous. But with the OS 9 build, the socket open time is REALLY slow - like 15 to 30 seconds - during which time nothing seems to be happening with the client. And with multiple sockets open it gets worse. Is this just an OS 9 socket implementation limitation? Or is the problem that I am running my OS 9 standalone app under Classic? (My machine won't startup directly in OS 9). I am not even sure I need to support OS 9 with what I am doing, but thought I would ask... Thanks, Doug Lerner, Tokyo From peter9.smith at ps.ge.com Mon Jan 12 04:50:41 2004 From: peter9.smith at ps.ge.com (peter9.smith at ps.ge.com) Date: Mon, 12 Jan 2004 04:50:41 -0500 Subject: Setting the icon of a button to be an image Message-ID: <6192367D59F8904CA553579EF41FEEA0026E690F@ukcbgx01psge.geips.ge.com> I have a button and an image of exactly the same size. When I set the button's showIcon to true and the icon to the image ID the image does appear in the button but it's shifted up about 5 pixels. I've checked out all the properties of the button and icon the inspectors offer but haven't been able to get rid of this 5 pixel shift. I'm using Rev 2.1 on Mac OSX 10.2.8. Should what I'm trying to do work? Any advice welcome. Thanks, Peter Smith. From doug at webcrossing.com Mon Jan 12 05:17:16 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 19:17:16 +0900 Subject: cloned stacks and whether they get saved or not Message-ID: If I clone a stack and then set it's main stack as the main stack (instead of itself) it gets saved in the main stack's file by default. In the standalone app these are not getting saved though, are they? doug From janschenkel at yahoo.com Mon Jan 12 05:19:23 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 12 Jan 2004 02:19:23 -0800 (PST) Subject: cloned stacks and whether they get saved or not In-Reply-To: Message-ID: <20040112101923.37486.qmail@web60508.mail.yahoo.com> --- Doug Lerner wrote: > If I clone a stack and then set it's main stack as > the main stack (instead > of itself) it gets saved in the main stack's file by > default. > > In the standalone app these are not getting saved > though, are they? > > doug > That's right, Doug : they don't get saved. A potential workaround is to change the mainStack property so that you can save them as separate files, upon closeStackRequest. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From janschenkel at yahoo.com Mon Jan 12 05:21:08 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 12 Jan 2004 02:21:08 -0800 (PST) Subject: Setting the icon of a button to be an image In-Reply-To: <6192367D59F8904CA553579EF41FEEA0026E690F@ukcbgx01psge.geips.ge.com> Message-ID: <20040112102108.69007.qmail@web60502.mail.yahoo.com> --- peter9.smith at ps.ge.com wrote: > I have a button and an image of exactly the same > size. When I set the > button's showIcon to true and the icon to the image > ID the image does appear > in the button but it's shifted up about 5 pixels. > > I've checked out all the properties of the button > and icon the inspectors > offer but haven't been able to get rid of this 5 > pixel shift. I'm using Rev > 2.1 on Mac OSX 10.2.8. > > Should what I'm trying to do work? Any advice > welcome. > > Thanks, Peter Smith. > Hi Peter, Assuming you've set the 'showName' property to false, you'll want to also tinker the 'margins' property -- this allows you to shift around the icon and text in a button. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From doug at webcrossing.com Mon Jan 12 05:23:24 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 19:23:24 +0900 Subject: cloned stacks and whether they get saved or not In-Reply-To: <20040112101923.37486.qmail@web60508.mail.yahoo.com> Message-ID: On 1/12/04 7:19 PM, "Jan Schenkel" wrote: > --- Doug Lerner wrote: >> If I clone a stack and then set it's main stack as >> the main stack (instead >> of itself) it gets saved in the main stack's file by >> default. >> >> In the standalone app these are not getting saved >> though, are they? >> >> doug >> > > That's right, Doug : they don't get saved. A potential > workaround is to change the mainStack property so that > you can save them as separate files, upon > closeStackRequest. > > Hope this helped, > Thanks, Jan. Actually, I was thinking of just deleting them in a separate handler upon closeStackRequest. I don't need them. I just made the main stack substacks so I could more easily make use of the main stack handlers. doug From janschenkel at yahoo.com Mon Jan 12 05:24:49 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 12 Jan 2004 02:24:49 -0800 (PST) Subject: Mac OS 9 and sockets - are they slow? In-Reply-To: Message-ID: <20040112102449.38689.qmail@web60508.mail.yahoo.com> --- Doug Lerner wrote: > I am doing some socket experiments between a Rev > client and a server. For > the standalone apps I build for OS X or Windows, the > response is great - the > sockets open and the communication with the server > is essentially > instantaneous. > > But with the OS 9 build, the socket open time is > REALLY slow - like 15 to 30 > seconds - during which time nothing seems to be > happening with the client. > And with multiple sockets open it gets worse. > > Is this just an OS 9 socket implementation > limitation? Or is the problem > that I am running my OS 9 standalone app under > Classic? (My machine won't > startup directly in OS 9). > > I am not even sure I need to support OS 9 with what > I am doing, but thought > I would ask... > > Thanks, > > Doug Lerner, Tokyo > Hi Doug, In Classic mode, all networking has to be rewired to go through OS X networking protocols, so that's one explanation for the delay. Another is that MacOS pre-X never had a really robust TCP/IP stack, and was alywas a bit on the slow side. But maybe someone else can offer you hints on speeding things up. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From janschenkel at yahoo.com Mon Jan 12 05:31:38 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 12 Jan 2004 02:31:38 -0800 (PST) Subject: Is there a func for changing Database Query Builder connection parameters at runtime? In-Reply-To: <4E6C466A-43B2-11D8-8BA0-0003936D012E@mac.com> Message-ID: <20040112103138.92658.qmail@web60507.mail.yahoo.com> --- Andre Garzia wrote: > Hi revFolks, > > I am making an app (Called DataJunior, nice app, > http://www.soapdog.org/blog for info) which uses a > mix of DB handlers > and Database Query Builder stuff... This application > is a mix of > substacks, each substack is like an self-contained > application dealing > with a very specific problem, like for example > there's an addressbook > like app, there's a team management app... When the > substack needed > more complex database resources, I wrote my own > functions but when it > was a simple query I used Database Query Builder > (It's a cool thing!). > > It was like dream coding, adding complexity only > when needed, but I > didn't foresaw one problem. The bootstrap problem, > like setting it up > for the first run on another computer that is not > mine. For my hand > coded funcs, I made a substack called "DBConf" which > is responsible for > loading itself on launch time, checking for Database > connection > parameters, if they are not present (first run) > asking for them, saving > it, opening the connection. So far so good, I've got > a reusable > substack that will take care of opening and closing > connections to > database and will put all the usefull info in a nice > global. The > problem is, How do I take this parameters (host, > username, pass...) to > Database Query Builder. See, I can garantee that my > funcs will work, > but Automatic Queries are strange entities > sometimes. Here, everything > points to home.soapdog.org, but this will be > deployed to an enterprize > and hell knows where they will install MySQL, I > would not like to build > a new version everytime they feel like changing > their ips or their > servernames.... There must be an undocummented nice > way like > revHeyChangeAutoQueriesParametersToWhereverMyServerIs > or something near > this.. :-D > > So... anyone here can point me to some frontscript > or info? Also, I am > thinking about posting in the web a developer > journal on this app and > making the code available, would people here find > this usefull? > > Cheers > > Andre Alves Garzia ? 2003 ? BRAZIL > http://www.soapdog.org > Hi Andre, Take a look at the solution I posted for this situation last month, at the following link : Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From janschenkel at yahoo.com Mon Jan 12 05:40:58 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 12 Jan 2004 02:40:58 -0800 (PST) Subject: Two Questions on Database Query Builder In-Reply-To: <1F478830-446B-11D8-A9CE-0003936D012E@mac.com> Message-ID: <20040112104058.94975.qmail@web60507.mail.yahoo.com> --- Andre Garzia wrote: > Hi Folks, > > > Is there a way to change connections parameters > (server, user, pass) > at run time? See the following answers from last month's list archives : > And what about SQL joins, if I try to > use something like > "SELECT * FROM names, projects WHERE > projects.manager = names.id" will > it work in the Database Query Builder, like being > able to set control > for columns of both tables? > Have you tried ? *grin* Just tried it here, and it seems to work just fine, allowing you to fetch fields from both tables when you link fields to the query. > Cheers, and thanks in advance. > > Andre Alves Garzia ? 2003 ? BRAZIL > http://www.soapdog.org > Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From malte.brill at t-online.de Mon Jan 12 05:50:41 2004 From: malte.brill at t-online.de (Malte Brill) Date: Mon, 12 Jan 2004 11:50:41 +0100 Subject: iMovie vs Final Cut Pro In-Reply-To: <20040111012655.05537930084@mail.runrev.com> Message-ID: Hi Erik, I have. I see not many differences between the exported movies, if the settings are the same, but Final Cut (Pro 1.25) saves me a lot of headaches when I render my movies, especially when it comes to animations. It?s great to import a Photoshop Document with Layers into Final Cut and then Animate each layer independently on the Timeline. If you only want to edit few movies iMovie is IMHO a very good choice, but if you want to add animation within your movies or do cutting a lot I defenetly recommend Final Cut Pro. Regards, Malte From janschenkel at yahoo.com Mon Jan 12 06:07:14 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 12 Jan 2004 03:07:14 -0800 (PST) Subject: A text representation of recent actions? In-Reply-To: Message-ID: <20040112110714.90951.qmail@web60509.mail.yahoo.com> --- Doug Lerner wrote: > For example, say a user has > > choose pencil tool > > set and draws in the image. > > Is there a way of capturing, in text form, what the > user did so that > information can be sent to a server? > > doug > Hi Doug, Even if it may not immediately apply to your project, here's a good trick for tracking the user's scribblings : 1) Make a button "Prepare to scribble" and set its script to : -- on mouseUp set the style of the templateGraphic to "curve" choose graphics tool end mouseUp -- 2) Make another button "Show scribblings" and set its script to : -- on mouseUp answer the points of graphic -1 end mouseUp -- 3) Click on the first button, and scribble away. Then click on the second button to see where the mouse was dragged to create the scribbling. What it boils down to : when you use the 'curve' tool, the engine tracks how the user created the curve by means of the points the user dragged the mouse over. So by looking at the points, you can effectively see how the user scribbled all over the place. You can even use the 'export snapshot' command to update the image afterwards to include the curve graphic. Just a thought, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From janschenkel at yahoo.com Mon Jan 12 06:12:25 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 12 Jan 2004 03:12:25 -0800 (PST) Subject: Linux Filepath problem In-Reply-To: <3FFED818.4020006@orwell.net> Message-ID: <20040112111225.84101.qmail@web60502.mail.yahoo.com> --- "T. R. Ponn" wrote: > Hello all! > > I'm developing on Mac OS9.2.2, RunRev2.0.3 for > multiple platform > distribution... > > One of the first things I do in my app (on > openstack) is to: > > on openStack > global warming -- :-) > set the itemDelimiter to "/" > put (item 1 to -2 of the effective filename of > this stack)&"/" into > line 26 of warming > > This puts the pathname into a global, which is used > for MANY file > functions (put "blah" into url...get url...etc) in > my app. I've found > it to be a handy way for me to look for various cfg > files I've placed in > the same folder with the app. If the user moves a > cfg file out of the > folder, I have a function that rebuilds it and puts > it where it should be. > > So...on the mac and win...no problems. But on my > Linux build, it puts > "./" into the global. What gives here? Any Linux > lovers know a > work-around? Any special ways to use "effective > filename of this stack" > to get the explicit path name? > > Thanks for any assistance you can lend! > > Best Regards, > > Tim Ponn > Hi Tim, Is it possible you're launching Revolution from the command line ? I heard that may cause Revolution to think it's operating in dir "./" Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From doug at webcrossing.com Mon Jan 12 06:14:55 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 20:14:55 +0900 Subject: A text representation of recent actions? In-Reply-To: <20040112110714.90951.qmail@web60509.mail.yahoo.com> Message-ID: So that is the difference between the pencil tool and the curve tool. I was wondering. The curve tool is a vector graphic with points defined, and the pencil tool just adds points to a bit map image. If this can all be done with vector graphics it would obviously be better. Thanks - I will take a look at that! Very informative suggestion! doug On 1/12/04 8:07 PM, "Jan Schenkel" wrote: > --- Doug Lerner wrote: >> For example, say a user has >> >> choose pencil tool >> >> set and draws in the image. >> >> Is there a way of capturing, in text form, what the >> user did so that >> information can be sent to a server? >> >> doug >> > > Hi Doug, > > Even if it may not immediately apply to your project, > here's a good trick for tracking the user's > scribblings : > > 1) Make a button "Prepare to scribble" and set its > script to : > -- > on mouseUp > set the style of the templateGraphic to "curve" > choose graphics tool > end mouseUp > -- > > 2) Make another button "Show scribblings" and set its > script to : > -- > on mouseUp > answer the points of graphic -1 > end mouseUp > -- > > 3) Click on the first button, and scribble away. Then > click on the second button to see where the mouse was > dragged to create the scribbling. > > What it boils down to : when you use the 'curve' tool, > the engine tracks how the user created the curve by > means of the points the user dragged the mouse over. > So by looking at the points, you can effectively see > how the user scribbled all over the place. You can > even use the 'export snapshot' command to update the > image afterwards to include the curve graphic. > > Just a thought, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La > Rochefoucauld) > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Mon Jan 12 06:20:21 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 12 Jan 2004 03:20:21 -0800 (PST) Subject: Multi-level filtering question In-Reply-To: Message-ID: <20040112112021.18820.qmail@web60506.mail.yahoo.com> --- nc wrote: > I have a database which I have extracted a finite > set of attributes > from (call them A,B,C, and D). They are output as > four lines of text > for each record, for example: > > AttributeA: DN=Smith, > John,OU=Users,DN=domain,DN=Com > AttributeB: MTA=MSEXC210 > AttributeC: MDB=MSEXC210,Server=MSEXC212 > AttributeD: MailAddress: Jsmith at domain.com > > I have been able to filter on any one of these > attributes without a > hitch. Even better since the database I am querying > against can be > several hundred MB in size the filter query is very > fast, oftentimes > taking less than a minute to extract for the query. > The queries for > this same job without the filter function took over > 45 minutes in some > cases so thank you developers! > > Anyway, getting back to my question. What I would > like to do is filter > for multiple aspects of each record (assuming > several thousand records > and each record having four lines with each line > ending with a CR). I > have been able to run a multi-level filter against > the database and > that works great, but what I have not been able to > solve yet is to run > the multi-level filter and have it extract all four > lines of the > record. Going back to the entry above, say I wanted > to do a query that > would find all records where AttributeB: > MTA=MSEXC210 AND where > AtrributeC: MDB=MSEXC210,Server=MSEXC212 were > present then pipe all > four lines of each record that fit the criteria out > to a text file or > output field. > > I hope this is clear as to what I am trying to > accomplish. > > If you have any questions please let me know. > > Regards and thanks. > > Nate > Hi Nate, My suggestion would be to pump the data into an array first. -- set the itemDelimiter to ":" put empty into tArray repeat for each line tLine in tData add 1 to i put i MOD 4 into tIndex put item 1 of tLine into tAttribName put item 2 to -1 of tLine into \ tArray[tIndex,tAttribName] end repeat -- Now you should be able to build more arrays and filter the data, saving the index in the complete array, so you can fetch all the corresponding data in the other attributes. If you need more info, feel free to post here. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From xbury.cs at clearstream.com Mon Jan 12 05:06:49 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 12 Jan 2004 11:06:49 +0100 Subject: Setting the icon of a button to be an image Message-ID: Peter9, Make sure the showname is false. ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 peter9.smith at ps.ge.com Sent by: use-revolution-bounces at lists.runrev.com 12/01/04 10:50 Please respond to How to use Revolution To: use-revolution at lists.runrev.com cc: Subject: Setting the icon of a button to be an image . I have a button and an image of exactly the same size. When I set the button's showIcon to true and the icon to the image ID the image does appear in the button but it's shifted up about 5 pixels. I've checked out all the properties of the button and icon the inspectors offer but haven't been able to get rid of this 5 pixel shift. I'm using Rev 2.1 on Mac OSX 10.2.8. Should what I'm trying to do work? Any advice welcome. Thanks, Peter Smith. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From doug at webcrossing.com Mon Jan 12 07:19:38 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 21:19:38 +0900 Subject: A couple of graphic object questions Message-ID: After a new graphic object is created, is the name of the object in "it"? How do we know that the graphic object is created? Is there a convenient list of all the graphic objects on a card? Thanks, doug From janschenkel at yahoo.com Mon Jan 12 07:24:10 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 12 Jan 2004 04:24:10 -0800 (PST) Subject: A couple of graphic object questions In-Reply-To: Message-ID: <20040112122410.17450.qmail@web60505.mail.yahoo.com> --- Doug Lerner wrote: > After a new graphic object is created, is the name > of the object in "it"? > How do we know that the graphic object is created? > > Is there a convenient list of all the graphic > objects on a card? > > Thanks, > > doug > Hi Doug, When an object is created, the engine will send a message : 'newField' for fields, 'newGraphic' for graphics, etc. As for a convenient list : you can address graphics by number, so to get a list of their long IDs, you would do something like. -- repeat with i = 1 to the number of graphics put the long id of graphic i & return after \ tLongIDList end repeat -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From doug at webcrossing.com Mon Jan 12 07:35:35 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 21:35:35 +0900 Subject: graphic fill property Message-ID: The docs say: "? The backgroundColor of a graphic is displayed inside the graphic?s border if the graphic?s fill property is true. If the graphic?s fill is false, the setting of the backgroundColor has no effect." But setting the fill property of a graphic object seems to set a *custom* fill property and the backgroundColor doesn't seem to be used. Any ideas? Thanks, doug From doug at webcrossing.com Mon Jan 12 07:37:25 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 21:37:25 +0900 Subject: A couple of graphic object questions In-Reply-To: <20040112122410.17450.qmail@web60505.mail.yahoo.com> Message-ID: On 1/12/04 9:24 PM, "Jan Schenkel" wrote: Hi, Jan, > Hi Doug, > > When an object is created, the engine will send a > message : 'newField' for fields, 'newGraphic' for > graphics, etc. When it does that, how can I reference the "new graphic"? > > As for a convenient list : you can address graphics by > number, so to get a list of their long IDs, you would > do something like. > -- > repeat with i = 1 to the number of graphics Is the "number of graphics" the number of graphics on a card? Thanks, doug > put the long id of graphic i & return after \ > tLongIDList > end repeat > -- > > Hope this helped, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La > Rochefoucauld) > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Mon Jan 12 07:44:32 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 21:44:32 +0900 Subject: two graphic 16s? Message-ID: I created a bunch of graphic objects on a card. All were numbered consecutively except for some reason I ended up with two "graphic 16" objects. Can anybody think why that might have happened? Thanks, doug From janschenkel at yahoo.com Mon Jan 12 07:43:03 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 12 Jan 2004 04:43:03 -0800 (PST) Subject: A couple of graphic object questions In-Reply-To: Message-ID: <20040112124303.8455.qmail@web60502.mail.yahoo.com> --- Doug Lerner wrote: > On 1/12/04 9:24 PM, "Jan Schenkel" > wrote: > > > > When an object is created, the engine will send a > > message : 'newField' for fields, 'newGraphic' for > > graphics, etc. > > When it does that, how can I reference the "new > graphic"? > Either as 'graphic -1', or you can check 'the target' on newGraphic -- that should give you the name of the graphic that was just created. You can trap the newGraphic message in the card script for example, and do your thing from there. > > > > As for a convenient list : you can address > graphics by > > number, so to get a list of their long IDs, you > would > > do something like. > > -- > > repeat with i = 1 to the number of graphics > > put the long id of graphic i & return after \ > > tLongIDList > > end repeat > > -- > > > > Is the "number of graphics" the number of graphics > on a card? > Indeed, if you don't specify any further, the engine assumes you want the number of graphics on the current card of the current stack. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From doug at webcrossing.com Mon Jan 12 07:45:08 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 21:45:08 +0900 Subject: A couple of graphic object questions In-Reply-To: Message-ID: On 1/12/04 9:37 PM, "Doug Lerner" wrote: > On 1/12/04 9:24 PM, "Jan Schenkel" wrote: > > Hi, Jan, > >> Hi Doug, >> >> When an object is created, the engine will send a >> message : 'newField' for fields, 'newGraphic' for >> graphics, etc. > > When it does that, how can I reference the "new graphic"? Nevermind - I see that. It is just "the target". I can save an array of created graphics there to manipulate later on. doug From doug at webcrossing.com Mon Jan 12 07:50:33 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 21:50:33 +0900 Subject: A couple of graphic object questions In-Reply-To: <20040112124303.8455.qmail@web60502.mail.yahoo.com> Message-ID: On 1/12/04 9:43 PM, "Jan Schenkel" wrote: >> Is the "number of graphics" the number of graphics >> on a card? >> > > Indeed, if you don't specify any further, the engine > assumes you want the number of graphics on the current > card of the current stack. That actually does NOT seem to work. But since I am now using your suggested newGraphic handler to store new graphic names in an array I can get the information I need. Thanks, doug From janschenkel at yahoo.com Mon Jan 12 07:50:37 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 12 Jan 2004 04:50:37 -0800 (PST) Subject: graphic fill property In-Reply-To: Message-ID: <20040112125037.39710.qmail@web60501.mail.yahoo.com> --- Doug Lerner wrote: > The docs say: > > "? The backgroundColor of a graphic is displayed > inside the graphic?s border > if the graphic?s fill property is true. If the > graphic?s fill is false, the > setting of the backgroundColor has no effect." > > But setting the fill property of a graphic object > seems to set a *custom* > fill property and the backgroundColor doesn't seem > to be used. > > Any ideas? > > Thanks, > > doug > Hi Doug, The name of the property is 'filled' or 'showFill' -- so you may want to bugzilla it so Jeanne can fix it in the docs for 'backgroundColor'. Also make sure the 'opaque' property is true. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From janschenkel at yahoo.com Mon Jan 12 07:57:58 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 12 Jan 2004 04:57:58 -0800 (PST) Subject: A couple of graphic object questions In-Reply-To: Message-ID: <20040112125758.36594.qmail@web60504.mail.yahoo.com> --- Doug Lerner wrote: > On 1/12/04 9:43 PM, "Jan Schenkel" > wrote: > > >> Is the "number of graphics" the number of > graphics > >> on a card? > >> > > > > Indeed, if you don't specify any further, the > engine > > assumes you want the number of graphics on the > current > > card of the current stack. > > That actually does NOT seem to work. But since I am > now using your suggested > newGraphic handler to store new graphic names in an > array I can get the > information I need. > In what sense does it not work ? Are you getting compile errors or unexpected results ? I just tested it here and my sample code showed the long id's of each graphic control on the card. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From doug at webcrossing.com Mon Jan 12 08:01:16 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 22:01:16 +0900 Subject: graphic fill property In-Reply-To: <20040112125037.39710.qmail@web60501.mail.yahoo.com> Message-ID: On 1/12/04 9:50 PM, "Jan Schenkel" wrote: > --- Doug Lerner wrote: >> The docs say: >> >> "? The backgroundColor of a graphic is displayed >> inside the graphic?s border >> if the graphic?s fill property is true. If the >> graphic?s fill is false, the >> setting of the backgroundColor has no effect." >> >> But setting the fill property of a graphic object >> seems to set a *custom* >> fill property and the backgroundColor doesn't seem >> to be used. >> >> Any ideas? >> >> Thanks, >> >> doug >> > > Hi Doug, > > The name of the property is 'filled' or 'showFill' -- > so you may want to bugzilla it so Jeanne can fix it in > the docs for 'backgroundColor'. > Also make sure the 'opaque' property is true. Thanks, That worked. The docs are not only wrong there, they are confusing about the "filled" property too. They make it sound like it just applies to paint. doug From doug at webcrossing.com Mon Jan 12 08:02:49 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 22:02:49 +0900 Subject: A couple of graphic object questions In-Reply-To: <20040112125758.36594.qmail@web60504.mail.yahoo.com> Message-ID: On 1/12/04 9:57 PM, "Jan Schenkel" wrote: > --- Doug Lerner wrote: >> On 1/12/04 9:43 PM, "Jan Schenkel" >> wrote: >> >>>> Is the "number of graphics" the number of >> graphics >>>> on a card? >>>> >>> >>> Indeed, if you don't specify any further, the >> engine >>> assumes you want the number of graphics on the >> current >>> card of the current stack. >> >> That actually does NOT seem to work. But since I am >> now using your suggested >> newGraphic handler to store new graphic names in an >> array I can get the >> information I need. >> > > In what sense does it not work ? Are you getting > compile errors or unexpected results ? I just tested > it here and my sample code showed the long id's of > each graphic control on the card. It does work - sorry. But I am definitely, and weirdly, getting lots of duplicate graphic numbers, like 16 and 16, 17 and 17, 18 and 18. This is in the inspector. doug From janschenkel at yahoo.com Mon Jan 12 08:05:27 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 12 Jan 2004 05:05:27 -0800 (PST) Subject: A couple of graphic object questions In-Reply-To: Message-ID: <20040112130527.38665.qmail@web60504.mail.yahoo.com> --- Doug Lerner wrote: > On 1/12/04 9:57 PM, "Jan Schenkel" > wrote: > > > > In what sense does it not work ? Are you getting > > compile errors or unexpected results ? I just > tested > > it here and my sample code showed the long id's of > > each graphic control on the card. > > It does work - sorry. > > But I am definitely, and weirdly, getting lots of > duplicate graphic numbers, > like 16 and 16, 17 and 17, 18 and 18. > > This is in the inspector. > > doug > If my memory serves me well, the IDE wants to get the newGraphic message as well, since it will give the new graphic a name based on the name of the last graphic created. If you include a line 'pass newGraphic' at the end of the newGraphic handler in your card script, this should allow everything to work. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From soapdog at mac.com Mon Jan 12 08:22:55 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 12 Jan 2004 11:22:55 -0200 Subject: iMovie vs Final Cut Pro In-Reply-To: <20040112065746.86545.qmail@web61107.mail.yahoo.com> References: <20040112065746.86545.qmail@web61107.mail.yahoo.com> Message-ID: <6E6E65DC-4502-11D8-A9CE-0003936D012E@mac.com> On Jan 12, 2004, at 4:57 AM, erik hansen wrote: > doe anyone have direct experience editing > videos with iMovie vs Final Cut Pro and > running the videos from Revolution? > > thanks, Erik Erik, Yes, I did it. I can help!!!! :D Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From doug at webcrossing.com Mon Jan 12 09:02:20 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 23:02:20 +0900 Subject: A couple of graphic object questions In-Reply-To: <20040112130527.38665.qmail@web60504.mail.yahoo.com> Message-ID: On 1/12/04 10:05 PM, "Jan Schenkel" wrote: > --- Doug Lerner wrote: >> On 1/12/04 9:57 PM, "Jan Schenkel" >> wrote: >>> >>> In what sense does it not work ? Are you getting >>> compile errors or unexpected results ? I just >> tested >>> it here and my sample code showed the long id's of >>> each graphic control on the card. >> >> It does work - sorry. >> >> But I am definitely, and weirdly, getting lots of >> duplicate graphic numbers, >> like 16 and 16, 17 and 17, 18 and 18. >> >> This is in the inspector. >> >> doug >> > > If my memory serves me well, the IDE wants to get the > newGraphic message as well, since it will give the new > graphic a name based on the name of the last graphic > created. > If you include a line 'pass newGraphic' at the end of > the newGraphic handler in your card script, this > should allow everything to work. That does work. Thanks. doug From doug at webcrossing.com Mon Jan 12 09:12:52 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 12 Jan 2004 23:12:52 +0900 Subject: A couple of graphic object questions In-Reply-To: <20040112122410.17450.qmail@web60505.mail.yahoo.com> Message-ID: On 1/12/04 9:24 PM, "Jan Schenkel" wrote: > When an object is created, the engine will send a > message : 'newField' for fields, 'newGraphic' for > graphics, etc. > > As for a convenient list : you can address graphics by > number, so to get a list of their long IDs, you would > do something like. > -- > repeat with i = 1 to the number of graphics > put the long id of graphic i & return after \ > tLongIDList > end repeat > -- Where is "the number of graphics" documented? I can't find the "graphics" keyword referenced anywhere. doug From ambassador at fourthworld.com Mon Jan 12 09:26:56 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 12 Jan 2004 06:26:56 -0800 Subject: Outstanding Revolution Developer Conference In-Reply-To: Message-ID: Jerry Daniels wrote: > Wow! > > Great conference here in San Francisco. In two days I learned stuff > that would have taken a long time to learn on my own. > > Many thanks to Kevin and the RR team for their dedication and hard work > in putting this together. > > I'll be at the next one, too! > > Jerry Daniels At the risk of making a "me too" post, me too! :) It was a great time and very valuable. Putting a seminar together is hard enough, let alone arranging a company's first one over the holiday season, but RunRev did a great job. I owe a special thanks to Jerry and Chipp Walters: we expanded the plugins session to become a panel discussion with Jerry and Chipp. After I did an intro on how to make and use plugins, they each stpped up to the plate and knocked the ball out of the park with presentations of some very powerful tools they've been working on to be released to the Rev community soon. Their contributions are especially noteworthy given that we arranged the panel on short notice, but you'd never know it from the polish of their presentations or the audible "wow"s from the attendees. They have some mighty cool tools in the works (or as Jerry might call them, Weapons of Mass Construction), and I look forward to seeing them unleashed. Many kudos to Jerry and Chipp for their contributions to the plugins session. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Jan 12 09:36:40 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 12 Jan 2004 06:36:40 -0800 Subject: A couple of graphic object questions In-Reply-To: Message-ID: Doug Lerner wrote: > Where is "the number of graphics" documented? It may be under the "number" entry in the Transcript Dictionary; all objects can be referenced by name, number, or ID. > I can't find the "graphics" keyword referenced anywhere. Use the Search Documentation feature: are 61 hits for "graphics". -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Jan 12 09:40:28 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 12 Jan 2004 06:40:28 -0800 Subject: Outstanding Revolution Developer Conference In-Reply-To: Message-ID: >> On Jan 11, 2004, at 6:30 PM, Mark Brownell wrote: >> >>> So, unless a secret decoder ring is required, will someone that went >>> to this tell us what Kevin Miller said: >>> >>> 8 AM ? 9 AM >>> Kevin Miller, Runtime Revolution >>> Revolution?s fearless leader will be letting you get the inside scoop >>> on version 2.5 with additional surprise announcements and guests. That portion was under NDA. Until Kevin makes another post here, to the best of my knowledge the press release is the only public info on v2.5 available: Speaking of MacTech: the January issue (on the stands now or very soon in most areas) has an article starting on p54 from yours truly titled "In Praise of 4GLs: How to build an Internet app in less than a day", which serves as an introduction to using libURL. If you've been interested in getting started with libURL you may find that article helpful. MacTech has been very kind to the Revolution community. If you missed Tim Monroe's great series on working with QuickTime in Rev, back issues of MacTech are available through Dev Depot: >> We Should Launch Revolution Developer Field Trip to South America, this >> way I could visit you folks! :-D >> >> Cheers >> Andre >> > Or perhaps to Finland... > > --h > If you need speakers in either place just send a plane ticket and I'm there. :) Here in SoCal we've found the mini-RevDevCon meetings we've been holding to be fun and valuable. One of the nice things about RunRev's good marketing is that you might be surprised a how many other Rev developers are in your area. Before Rev came along I knew of only three MetaCard users in Los Angeles, but lately the RevDevCons have outgrown my mezzanine and now I have to turn up extra seating for my larger downstairs for the next one. Our last meeting had more than a dozen folks, and Scott Rossi even flew down from the Bay area to show us some cool tools he's been working on. We've found this format loose enough to be fun and just structured enough to be useful: we meet, greet, and gab from 7pm tp 8pm, dinner at a restaurant a few yards from 8pm to 9pm (pizza will probably do if you're not walking distance from a restaurant ), then back to the loft for a presentation or two followed by group problem-solving over dessert. Even if you only have a few Rev developers in your area, holding a local user group meeting can be a very good time. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From xslaugh at hotmail.com Mon Jan 12 09:48:05 2004 From: xslaugh at hotmail.com (Scott Slaugh) Date: Mon, 12 Jan 2004 07:48:05 -0700 Subject: Mac OS 9 and sockets - are they slow? Message-ID: >In Classic mode, all networking has to be rewired to >go through OS X networking protocols, so that's one >explanation for the delay. >Another is that MacOS pre-X never had a really robust >TCP/IP stack, and was alywas a bit on the slow side. >But maybe someone else can offer you hints on speeding >things up. I also discovered that I got a huge speed increase if I used datagram sockets instead of normal sockets. Scott Slaugh _________________________________________________________________ Rethink your business approach for the new year with the helpful tips here. http://special.msn.com/bcentral/prep04.armx From ambassador at fourthworld.com Mon Jan 12 09:58:53 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 12 Jan 2004 06:58:53 -0800 Subject: Storing compressed data: tidbit In-Reply-To: <44.3a0e771d.2d33aab4@aol.com> Message-ID: FlexibleLearning at aol.com wrote: > -- These allow compressed data to be stored in a password-protected stack... > > I recently asked if RR still corrupts compressed data when stored in a > password-protected stack. Assuming this remains the case, the solution is to > encode > the compressed data which, although making the compressed data a bit bigger, > does at least avoid invalid data problems... > > function compressAlt tData > put compress(tData) into dummy > return base64Encode(dummy) > end compressAlt > > function decompressAlt tData > put base64Decode(tData) into dummy > return decompress(dummy) > end decompressAlt I believe the only issue is when storing data in fields. When stored in custom properties they should be preserved reliably. If not, lets come up with a recipe for reproducingthe error and Bugzilla it. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Jan 12 10:16:45 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 12 Jan 2004 07:16:45 -0800 Subject: encryption question In-Reply-To: <16e.287aaf67.2d313174@aol.com> Message-ID: FlexibleLearning at aol.com wrote: > Does the current build of RR support customProperties containing compressed > data in password protected stacks, or does does the compressed data still get > scrambled when the stack is re-opened? As far as I can tell all binary data stored in custom properties is preserved, whether or not the stack is password-protected. If you find an exception to that please submit the recipe to Bugzilla. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From 3mcgrath at adelphia.net Mon Jan 12 10:41:13 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 12 Jan 2004 10:41:13 -0500 Subject: XML Tutorial Message-ID: Hello everyone, Does anyone have a stack that shows how XML's work in Rev for 'beginners'? I don't know anything about XML. I found "Way too much" on the web and not enough of how it concerns usage in REV. I can learn more in thirty minutes of studying a stack then 5 hours of reading about it online. I am truly a hands on person. Thanks Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From bob at armbase.com Mon Jan 12 10:59:30 2004 From: bob at armbase.com (Bob Hartley) Date: Mon, 12 Jan 2004 15:59:30 +0000 Subject: scottish user group? Message-ID: <6.0.0.22.0.20040112155831.02482f08@udcf.gla.ac.uk> Hi all. OK sorry if this gets sent twice. I sent it via the work mail address and itis not registered. OOOPS! I live 40 miles from runrev-HQ. In sunny Glasgow. Are there any Scottish (as in the country not the nationality) users? :-) Swapping tips and tricks F2F would be handy. Cheers bob Dr Robert Hartley, Armbase Software Developments. Custom PDA database design in as little as 1 hour. Cross-platform custom solutions for Windows, MacOS, Linux, UNIX, BSD From lists at mangomultimedia.com Mon Jan 12 11:14:45 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 12 Jan 2004 09:14:45 -0700 Subject: XML Tutorial In-Reply-To: References: Message-ID: <6F9F8460-451A-11D8-BE4E-000A956C462A@mangomultimedia.com> On Jan 12, 2004, at 8:41 AM, Thomas J McGrath III wrote: > Hello everyone, > > Does anyone have a stack that shows how XML's work in Rev for > 'beginners'? > > I don't know anything about XML. I found "Way too much" on the web and > not enough of how it concerns usage in REV. > > I can learn more in thirty minutes of studying a stack then 5 hours of > reading about it online. I am truly a hands on person. Take a look at the xmltree-view.rev file in the Sample Stacks folder of the Rev application folder. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From mmaitzen at iupui.edu Mon Jan 12 11:24:58 2004 From: mmaitzen at iupui.edu (Michael Maitzen) Date: Mon, 12 Jan 2004 11:24:58 -0500 Subject: use-revolution Digest, Vol 4, Issue 75 In-Reply-To: <20040112160053.465BC930384@mail.runrev.com> Message-ID: Erik, Yes, I have experience with both iMovie and Final Cut Pro. Do you want to discuss something off-list? MRM -- Michael R. Maitzen Teleproduction Supervisor School of Liberal Arts, IUPUI mmaitzen at iupui.edu http://comtechlab.iupui.edu > ------------------------------ > > Message: 2 > Date: Mon, 12 Jan 2004 11:22:55 -0200 > From: Andre Garzia > Subject: Re: iMovie vs Final Cut Pro > To: erik at erikhansen.org, How to use Revolution > > Message-ID: <6E6E65DC-4502-11D8-A9CE-0003936D012E at mac.com> > Content-Type: text/plain; charset=MACINTOSH; format=flowed > > > On Jan 12, 2004, at 4:57 AM, erik hansen wrote: > >> doe anyone have direct experience editing >> videos with iMovie vs Final Cut Pro and >> running the videos from Revolution? >> >> thanks, Erik > > > Erik, > > Yes, I did it. I can help!!!! :D > > Andre Alves Garzia ? 2003 ? BRAZIL > http://www.soapdog.org > > > ------------------------------ From cteno4 at earthlink.net Mon Jan 12 11:36:17 2004 From: cteno4 at earthlink.net (cteno4) Date: Mon, 12 Jan 2004 11:36:17 -0500 Subject: iMovie vs Final Cut Pro Message-ID: <20040112163543.CFFC4930130@mail.runrev.com> Erik, Both will make movies you can play, only difference is the scope of what you can do with the programs. kind of like mac paint (imovie) vs photoshop (final cut). final cut gives you total editing control with all the bells and whistles of a professional editing bay. imovie, while a great little program, only does the basics of cuts, transitions, titles and limited audio control. both will suck video off your dv camcorder with no problems (and back onto it if you want to make tapes). if you not working with a dv camera/player you will have to spend a couple of hundred for a ntsc to firewire (dv) converter box (the dazzle box at about $200 is a fantastic box). if you are just doing some simple video presentations that need some edits and narration, you'll find imovie will make your pocket book very happy (free) vs the final cut prices. the other gotcha is learning curve. imovie is set up for most anyone to be editing with it w/in 10 minutes. final cut, although easier than many other professional editing packages, takes awhile to get use to and learn all the tricks and techniques even when you only want to do some simple tasks. one other problem is that final cut lets you do so much you can easily get carried away in the editing/effects and spend way more time on something that may have just needed a couple of well placed, simple cuts... with all the new tools in video editing today at the click of a mouse, content is being replaced by effects very quickly (as evidenced by all the pbs specials now, unfortunatly--but thats another soap box...) and really making the final products look flashy, but loose all their meat. only other thing that might be useful to you is that the newest version of final cut has a huge amount of new compression stuff that will let you do much more tweaking of your final output mov file compression than imovie will. imovie does the basic compressions and a decent job of it, so if you're just doing a simple job it may fit the bill. I have done a few cdrom and exhibit projects that had movies made from imovie and finalcut and they looked fine as quicktimes with it being hard to tell which was which. my suggestion would be to spend an hour or two and try making one of your more complicated movies on imovie and see if it works. if it does then you have just saved a lot of money and time and wait to buy finalcut when you really need it for a project! best of luck, jeff Jeffrey H. Reynolds 6620 Michaels Dr. Bethesda, MD 20817 301.469.8562 email: cteno4 at earthlink.net cteno4 at aol.com From dcragg at lacscentre.co.uk Mon Jan 12 12:38:32 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 12 Jan 2004 17:38:32 +0000 Subject: scottish user group? In-Reply-To: <6.0.0.22.0.20040112155831.02482f08@udcf.gla.ac.uk> References: <6.0.0.22.0.20040112155831.02482f08@udcf.gla.ac.uk> Message-ID: At 3:59 pm +0000 12/1/04, Bob Hartley wrote: >Are there any Scottish (as in the country not the nationality) users? :-) There seem to be a few. >Swapping tips and tricks F2F would be handy. Over a beer would be nice. How about we start informally by nominating a pub close to one of the main railway stations in this sun-drenched paradise. Glasgow, Edinburgh, Stirling, etc.??? Anyone who's interested, mail in a preferred location, and we'll see if there's a pattern to people's preferences. Perhaps we could alternate locations if it gets off the ground. I'm in Edinburgh, so my preference would be there. And I take it Bob's would be Glasgow. I guess it would be better to mail off list. If you mail me, I'm happy to coordinate things. (And if you'd prefer not to meet in a pub on account of age, preference, or reputation, let me know too.) Cheers Dave From ambassador at fourthworld.com Mon Jan 12 12:47:06 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 12 Jan 2004 09:47:06 -0800 Subject: Uh... yet Game Programming... or Is there a way to build tilemap graphics in Rev? In-Reply-To: Message-ID: Alex Rice wrote: > I bet you could gain some speed by moving that field lookup into a > custom property. Field accesses are slower than custom property > accesses. ...by about an order of magnitude, depending on what's in the field. > It would be interesting to know if 2D arrays would be faster than > item/line chunking. In my tests here I've found that for operations involving sequential access of all items in a list/elements in an array, stepping the rough each line is about 20% faster than stepping through each array element. But for random access arrays are several times faster than line chunks. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From frank at backtalk.com Mon Jan 12 13:00:32 2004 From: frank at backtalk.com (Frank Leahy) Date: Mon, 12 Jan 2004 18:00:32 +0000 Subject: Mac OS 9 and sockets - are they slow? In-Reply-To: <20040112160053.80511930389@mail.runrev.com> Message-ID: <36C0351E-4529-11D8-9D1A-000A9580FCCE@backtalk.com> Scott, You should be careful about using datagram sockets -- my understanding is that there is no guaranteed delivery when using datagrams, unlike when sending via normal sockets, and so you can lose packets and never know it. As for the speed issues someone was seeing under OS9, a long time ago I built a web server using pre-OSX (it was even pre-OpenTransport), and the speed was absolutely fine. (I've also been using a net app under OS 9 on my OSX box, and it runs just fine.) One guess about the problems you're seeing is that it may not be getting enough cycles to connect, read, write, etc. If you're sitting in a tight loop waiting for a socket connection, or waiting on a send or receive, try using the callback message forms instead. (And if you're already using the callback messages then I'm not sure what to tell you.) -- Frank On Monday, January 12, 2004, at 04:00 PM, use-revolution-request at lists.runrev.com wrote: > Message: 8 > Date: Mon, 12 Jan 2004 07:48:05 -0700 > From: "Scott Slaugh" > Subject: Re: Mac OS 9 and sockets - are they slow? > To: use-revolution at lists.runrev.com > Message-ID: > Content-Type: text/plain; format=flowed > >> In Classic mode, all networking has to be rewired to >> go through OS X networking protocols, so that's one >> explanation for the delay. >> Another is that MacOS pre-X never had a really robust >> TCP/IP stack, and was alywas a bit on the slow side. >> But maybe someone else can offer you hints on speeding >> things up. > > I also discovered that I got a huge speed increase if I used datagram > sockets instead of normal sockets. > > Scott Slaugh From alex at mindlube.com Mon Jan 12 13:06:05 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 12 Jan 2004 11:06:05 -0700 Subject: Uh... yet Game Programming... or Is there a way to build tilemap graphics in Rev? In-Reply-To: References: Message-ID: On Jan 12, 2004, at 10:47 AM, Richard Gaskin wrote: > In my tests here I've found that for operations involving sequential > access > of all items in a list/elements in an array, stepping the rough each > line is > about 20% faster than stepping through each array element. Thanks it's good to know that > But for random access arrays are several times faster than line chunks. This makes sense- I think Rev's arrays are really what's called in other programming languages: hashtable or dictionary or shelve. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From capellan2000 at yahoo.com Mon Jan 12 13:27:53 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 12 Jan 2004 10:27:53 -0800 (PST) Subject: [ANN] libEmail v1.00 and libSmtp v2.00 In-Reply-To: <20040112112120.4AE0C930362@mail.runrev.com> Message-ID: <20040112182753.88214.qmail@web40509.mail.yahoo.com> Hi Shao Sean, You have done a extraordinary good work with these email libraries. shaosean wrote: >libSmtp has been re-written and all of the email >encoding features that were found in the previous >versions have all been off-loaded to libEmail. >What's new in libSmtp v2 >- almost 100% re-written >- more robust error handling >- everything should be "threaded" (wait with messages) >- better smtp authentication support and handling When I used smpt library, it send emails using the account and password of the current internet connection. So, the mails sender was the owner of the internet account, not always the real sender. This will make that some messages get trashed because the sender is not know by the receiver. How could I send an email using my own user name and password from a computer in a local area network connected to the internet in a laboratory? [snip] >As always, feel free to write with comments, >suggestions or fixes for "undocumented features" ;-) Now that you ask... Could you make that libsmtp use the free yahoo or hotmail accounts to send and receive messages? :)) KeepUp the good work! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From aj445 at traverse.lib.mi.us Mon Jan 12 13:38:22 2004 From: aj445 at traverse.lib.mi.us (aj445) Date: Mon, 12 Jan 2004 13:38:22 -0500 Subject: iMovie vs Final Cut Pro-- and Final Cut Express In-Reply-To: <20040112170004.ECAE9930394@mail.runrev.com> Message-ID: Also, there is Final Cut Express-- much less expensive than FCP, yet has most of the features of the high-end model. Sandy From 3mcgrath at adelphia.net Mon Jan 12 13:50:28 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 12 Jan 2004 13:50:28 -0500 Subject: XML Tutorial In-Reply-To: <6F9F8460-451A-11D8-BE4E-000A956C462A@mangomultimedia.com> References: <6F9F8460-451A-11D8-BE4E-000A956C462A@mangomultimedia.com> Message-ID: <309B5B4B-4530-11D8-B031-000A95DA60FA@adelphia.net> Where the h*ll did that come from???? I swear it was not in there before?? Thanks Trevor TOm On Jan 12, 2004, at 11:14 AM, Trevor DeVore wrote: > > On Jan 12, 2004, at 8:41 AM, Thomas J McGrath III wrote: > >> Hello everyone, >> >> Does anyone have a stack that shows how XML's work in Rev for >> 'beginners'? >> >> I don't know anything about XML. I found "Way too much" on the web >> and not enough of how it concerns usage in REV. >> >> I can learn more in thirty minutes of studying a stack then 5 hours >> of reading about it online. I am truly a hands on person. > > Take a look at the xmltree-view.rev file in the Sample Stacks folder > of the Rev application folder. > > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From lists at mangomultimedia.com Mon Jan 12 14:02:30 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 12 Jan 2004 12:02:30 -0700 Subject: XML Tutorial In-Reply-To: <309B5B4B-4530-11D8-B031-000A95DA60FA@adelphia.net> References: <6F9F8460-451A-11D8-BE4E-000A956C462A@mangomultimedia.com> <309B5B4B-4530-11D8-B031-000A95DA60FA@adelphia.net> Message-ID: On Jan 12, 2004, at 11:50 AM, Thomas J McGrath III wrote: > Where the h*ll did that come from???? > > I swear it was not in there before?? > > Thanks Trevor I only found it because someone else pointed it out to me :-) -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From capellan2000 at yahoo.com Mon Jan 12 15:41:39 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 12 Jan 2004 12:41:39 -0800 (PST) Subject: Vector Animation using Filmstrip player In-Reply-To: <20040112170005.66E9A930395@mail.runrev.com> Message-ID: <20040112204139.22431.qmail@web40509.mail.yahoo.com> Hi developers, I'm having troubles to access or download from my Geocities webpages, so I'll post the code here for further examination. 1) Visit this page for a sample of a java based filmstrip player: Now while you are at this page, download their player, to get a sample image to play with. (Does exist a repository of filmstrip animations in the web? The secuences of human motion by Edward Muybridge could be good examples, if they could be found in the web.) Create a new stack and import the image. Convert it in a group. The purpose of converting the image in a group is to clip the content to the exact size of one frame. The example image of MetaMovie has a size of 180 pixel of width and 2400 pixels of height. You had to reduce the size of the group to clip an area of 180 pixel (width) by 120 pixel (height). (In the example that i posted, it's a secuence of vector shapes that morphs ) Now, create a button and paste this code in it: on mouseUp -- groups grows 5 pixel in every direction, in total 10 pixels vertical and 10 pixels horizontal put the id of group 1 into mygroup put 1 into framerows put 20 into framecolumns put 180 into framewidth put 120 into frameheight put fld "loops" into loops put fld "time" into timebetweenframes put 0 into mycounter repeat loops repeat (framerows * framecolumns) if the hscroll of grp id mygroup = 0 -- (the formattedwidth of grp id mygroup - (framewidth + 10)) -- reached the last horizontal frame then if mycounter < (framecolumns - 1) then add 1 to mycounter else put 0 into mycounter set the vscroll of grp id mygroup to frameheight * mycounter set the hscroll of grp id mygroup to 0 put the vscroll of grp id mygroup && "vscroll" && the hscroll of grp id mygroup && "hscroll" wait timebetweenframes seconds else set the hscroll of grp id mygroup to the hscroll of grp id mygroup + 72 put the vscroll of grp id mygroup && "vscroll" && the hscroll of grp id mygroup && "hscroll" wait timebetweenframes seconds end if end repeat set the hscroll of grp id mygroup to 0 set the vscroll of grp id mygroup to 0 end repeat set the hscroll of grp id mygroup to 0 set the vscroll of grp id mygroup to 0 end mouseUp I'll like to convert this handler in a function. Any help is welcome. Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From rodmc at runrev.com Mon Jan 12 15:49:20 2004 From: rodmc at runrev.com (Rod McCall) Date: Mon, 12 Jan 2004 20:49:20 +0000 Subject: Your software Message-ID: Just my regular reminder that if anyone is about to release new software can they please get in touch? We like to make sure we can help where possible. Best, Rod Rod McCall, PhD. www.runrev.com Runtime Revolution Ltd 91 Hanover Street, Edinburgh, EH2 1DJ t: +44 (0)131 718 4333 f: +44 (0) 131 718 4334 Runtime Revolution - User-Centric Development Tools All incoming emails are subject to virus and spam checking, this may delay receipt and any response. From kray at sonsothunder.com Mon Jan 12 15:59:32 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 12 Jan 2004 14:59:32 -0600 Subject: XML Tutorial In-Reply-To: Message-ID: <016a01c3d94e$fdd50b20$6901a8c0@LightningFlash> Tom, An alternative to Rev's xml DLL is the all-Transcript XML Library at: http://www.sonsothunder.com/products/metacard/xmllib.htm Full docs are included (you can even read them online from the page above). Just providing options... :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Thomas J McGrath III > Sent: Monday, January 12, 2004 9:41 AM > To: How to use Revolution > Subject: XML Tutorial > > > Hello everyone, > > Does anyone have a stack that shows how XML's work in Rev for > 'beginners'? > > I don't know anything about XML. I found "Way too much" on > the web and > not enough of how it concerns usage in REV. > > I can learn more in thirty minutes of studying a stack then 5 > hours of > reading about it online. I am truly a hands on person. > > Thanks > > Tom > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB > RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III . 2003 . 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From mwieder at ahsoftware.net Mon Jan 12 16:02:17 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 12 Jan 2004 13:02:17 -0800 Subject: Mac OS 9 and sockets - are they slow? In-Reply-To: References: Message-ID: <13491293433.20040112130217@ahsoftware.net> Scott- Monday, January 12, 2004, 6:48:05 AM, you wrote: SS> I also discovered that I got a huge speed increase if I used datagram SS> sockets instead of normal sockets. You *do* have to be extra careful with datagram packets, though, as they're not guaranteed to be delivered at that level. But you're right - nothing beats them for speed. -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Mon Jan 12 16:05:43 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 12 Jan 2004 15:05:43 -0600 Subject: Windows ODBC In-Reply-To: <1214400227.20040111125404@ahsoftware.net> Message-ID: <016d01c3d94f$db1d4c40$6901a8c0@LightningFlash> > It's definitely a bug with the Query Builder. You'll find the > same thing happening with SQL Server. Skip the Database Query > Builder and use the revdb commands. They work just fine even > if the Query Builder can't come up with a list of tables. > Also, you'll find that if you enter valid SQL into the query > builder it *will* work, it just won't give you any help getting there. Mark, has this been BugZilla'ed? Just wanting to make sure RunRev knows about this one... Thanks, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From sonesond1 at southernct.edu Mon Jan 12 16:10:08 2004 From: sonesond1 at southernct.edu (Dan Soneson) Date: Mon, 12 Jan 2004 16:10:08 -0500 Subject: Outstanding Revolution Developer Conference Message-ID: > Jerry Daniels wrote: > > > Wow! >>Great conference here in San Francisco. In two days I learned > stuff >that would have taken a long time to learn on my own. > >>Many thanks to Kevin and the RR team for their dedication and hard > work >in putting this together. > >>I'll be at the next one, too! > >>Jerry Daniels > At the risk of making a "me too" post, me too! :) It was a great time > and > very valuable. Putting a seminar together is hard enough, let alone > arranging a company's first one over the holiday season, but RunRev > did a > great job. > > I owe a special thanks to Jerry and Chipp Walters: we expanded the > plugins > session to become a panel discussion with Jerry and Chipp. After I > did an > intro on how to make and use plugins, they each stpped up to the plate > and > knocked the ball out of the park with presentations of some very > powerful > tools they've been working on to be released to the Rev community soon. > Their contributions are especially noteworthy given that we arranged > the > panel on short notice, but you'd never know it from the polish of their > presentations or the audible "wow"s from the attendees. > > They have some mighty cool tools in the works (or as Jerry might call > them, > Weapons of Mass Construction), and I look forward to seeing them > unleashed. > Many kudos to Jerry and Chipp for their contributions to the plugins > session. > > -- > Richard Gaskin > Fourth World Media Corporation Just want to add my voice to the choir praising the seminar this past weekend. It was well worth the all-day trip from Connecticut to San Francisco and back again. Richard's and Chipp's and Jerry's session on plugins, along with a general discussion the next day inspired me to try my hand at my own plugin, which I began constructing on the plane trip home -- It's an attempt to create a user-entry field coupled with its own label, with options for placing, aligning, and formatting the label field's contents prior to generating it. I'll keep you posted on its progress... Thanks to the RunRev team for putting this inspirational seminar together, thanks to the marvelous presenters for sharing their expertise with us, and thanks to the participants for sharing ideas, experiences and suggestions throughout the seminar! Dan Soneson Language Lab Director Southern CT State University From James.Cass at sealedair.com Mon Jan 12 16:48:59 2004 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Mon, 12 Jan 2004 16:48:59 -0500 Subject: Outstanding Revolution Developer Conference In-Reply-To: Message-ID: Does anyone know if there plans to have a Rev Conference at MacWorld EXPO in New York (July 12-15, 2004)? -James Dan Soneson Sent by: use-revolution-bounces at lists.runrev.com 01/12/04 04:10 PM Please respond to How to use Revolution To: use-revolution at lists.runrev.com cc: Subject: Re: Outstanding Revolution Developer Conference > Jerry Daniels wrote: > > > Wow! >>Great conference here in San Francisco. In two days I learned > stuff >that would have taken a long time to learn on my own. > >>Many thanks to Kevin and the RR team for their dedication and hard > work >in putting this together. > >>I'll be at the next one, too! > >>Jerry Daniels > At the risk of making a "me too" post, me too! :) It was a great time > and > very valuable. Putting a seminar together is hard enough, let alone > arranging a company's first one over the holiday season, but RunRev > did a > great job. > > I owe a special thanks to Jerry and Chipp Walters: we expanded the > plugins > session to become a panel discussion with Jerry and Chipp. After I > did an > intro on how to make and use plugins, they each stpped up to the plate > and > knocked the ball out of the park with presentations of some very > powerful > tools they've been working on to be released to the Rev community soon. > Their contributions are especially noteworthy given that we arranged > the > panel on short notice, but you'd never know it from the polish of their > presentations or the audible "wow"s from the attendees. > > They have some mighty cool tools in the works (or as Jerry might call > them, > Weapons of Mass Construction), and I look forward to seeing them > unleashed. > Many kudos to Jerry and Chipp for their contributions to the plugins > session. > > -- > Richard Gaskin > Fourth World Media Corporation Just want to add my voice to the choir praising the seminar this past weekend. It was well worth the all-day trip from Connecticut to San Francisco and back again. Richard's and Chipp's and Jerry's session on plugins, along with a general discussion the next day inspired me to try my hand at my own plugin, which I began constructing on the plane trip home -- It's an attempt to create a user-entry field coupled with its own label, with options for placing, aligning, and formatting the label field's contents prior to generating it. I'll keep you posted on its progress... Thanks to the RunRev team for putting this inspirational seminar together, thanks to the marvelous presenters for sharing their expertise with us, and thanks to the participants for sharing ideas, experiences and suggestions throughout the seminar! Dan Soneson Language Lab Director Southern CT State University _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From squance at elkvalley.net Mon Jan 12 17:06:55 2004 From: squance at elkvalley.net (David Squance) Date: Mon, 12 Jan 2004 15:06:55 -0700 Subject: Field redistribution line by line In-Reply-To: References: Message-ID: Hello Group, I'm having trouble with a script which takes individual lines from a field and places them in various fields on another card (and stack). The basic structure involves a repeat loop which works through each line of the source field, assigning it a variable name, and then is supposed to place each of those into separate fields in the destination card. What's the proper syntax for this? I can't make the do "put tname" & x && "into fld fname" & x approach work. Dave From graham.samuel at wanadoo.fr Mon Jan 12 17:36:55 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Mon, 12 Jan 2004 23:36:55 +0100 Subject: XML Tutorial Message-ID: <5.2.1.1.0.20040112233330.00c529f8@pop.wanadoo.fr> On on, 12 Jan 2004 10:41:13 -0500, Thomas J McGrath III <3mcgrath at adelphia.net> wrote: >Does anyone have a stack that shows how XML's work in Rev for >'beginners'? > >I don't know anything about XML. I found "Way too much" on the web and >not enough of how it concerns usage in REV. > >I can learn more in thirty minutes of studying a stack then 5 hours of >reading about it online. I am truly a hands on person. This is a 'me too' response. I don't know how XML crept past me without my noticing, but it seems to be all over the place now, and yet I don't have a clue about it either. I guess there IS a good tutorial on the Internet somewhere (tho I have yet to find it) but of course that wouldn't handle the RR aspect. I second Tom's request for some stackwise way of getting us started. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From graham.samuel at wanadoo.fr Mon Jan 12 17:42:23 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Mon, 12 Jan 2004 23:42:23 +0100 Subject: User group in London, England? Message-ID: <5.2.1.1.0.20040112233724.01c15d30@pop.wanadoo.fr> Noting the posts re RunRev user groups from Richard Gaskin and Bob Hartley, I'm not near either of you; but I imagine there must be some RunRev users in London apart from me - if there are, maybe you'd consider contacting me at my UK address livfoss at blueyonder.co.uk and perhaps we could consider starting a local user group. I'm in the UK about half the time. (Somehow I don't think I'll find too many RunRev users at my other location - South West France, not very near Toulouse). Here's hoping Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From klaus at major-k.de Mon Jan 12 17:55:06 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 12 Jan 2004 23:55:06 +0100 Subject: Field redistribution line by line In-Reply-To: References: Message-ID: <5D925FBA-4552-11D8-A135-000A27B49A96@major-k.de> Hi David, > Hello Group, > I'm having trouble with a script which takes individual lines from a > field > and places them in various fields on another card (and stack). The > basic > structure involves a repeat loop which works through each line of the > source field, assigning it a variable name, and then is supposed to > place > each of those into separate fields in the destination card. What's the > proper syntax for this? I can't make the > do "put tname" & x && "into fld fname" & x > approach work. Try this (no need to do "do" ;-) ... put value(tname & x) into fld (fname & x) ... Hope that helps... > Dave Regards Klaus Major klaus at major-k.de www.major-k.de From doug at webcrossing.com Mon Jan 12 18:27:40 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 13 Jan 2004 08:27:40 +0900 Subject: A couple of graphic object questions In-Reply-To: Message-ID: On 1/12/04 11:36 PM, "Richard Gaskin" wrote: > Doug Lerner wrote: > >> Where is "the number of graphics" documented? > > It may be under the "number" entry in the Transcript Dictionary; all objects > can be referenced by name, number, or ID. > >> I can't find the "graphics" keyword referenced anywhere. > > Use the Search Documentation feature: are 61 hits for "graphics". > > -- > Richard Gaskin > Fourth World Media Corporation It turned out to be in the "number" function description. 60 of the 61 search hits were just using the word graphics in a generic sense - like "graphics card" or as a plural for the "graphic" type. But one of them was about the number function. Thanks, doug From doug at webcrossing.com Mon Jan 12 18:30:31 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 13 Jan 2004 08:30:31 +0900 Subject: Mac OS 9 and sockets - are they slow? In-Reply-To: Message-ID: On 1/12/04 11:48 PM, "Scott Slaugh" wrote: >> In Classic mode, all networking has to be rewired to >> go through OS X networking protocols, so that's one >> explanation for the delay. >> Another is that MacOS pre-X never had a really robust >> TCP/IP stack, and was alywas a bit on the slow side. >> But maybe someone else can offer you hints on speeding >> things up. > > I also discovered that I got a huge speed increase if I used datagram > sockets instead of normal sockets. > This is with Mac OS 9 in particular? doug From HyperChris at aol.com Mon Jan 12 19:09:38 2004 From: HyperChris at aol.com (HyperChris at aol.com) Date: Mon, 12 Jan 2004 19:09:38 EST Subject: RevConference - Client Server vs Stateless Message-ID: <4b.38c52794.2d349142@aol.com> In Jerry Daniels presentation on thin clients he stated a strong preference against using the client-server model, which I took to be Rev talking to the database directly, in favor of what he called a stateless model in which rev made http calls to the Apache/MySQL/PHP setup. The obvious question I have is why ? Do the stateful operation of direct database calls create a reliability problem? (The little voice in my head says I am missing something here!) Also, it occurs to me that the Rev engine could replace PHP and allow one to simplify that aspect of it a little bit. I say a little bit because one would still have to right scripts for the Rev engine that translate ones tags into database calls. Has anyone taken this route and care to share its effectiveness ? Thanks. From doug at webcrossing.com Mon Jan 12 19:19:01 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 13 Jan 2004 09:19:01 +0900 Subject: RevConference - Client Server vs Stateless In-Reply-To: <4b.38c52794.2d349142@aol.com> Message-ID: If the server has the ability to communicate with a Rev thin client with server push to the sockets, wouldn't direct access would be more dynamic? For one thing, you avoid repetitive authentications. And if the server has scalable feature - like Web Crossing - you are taking advantage of huge server-side architecture benefits. doug On 1/13/04 9:09 AM, "HyperChris at aol.com" wrote: > In Jerry Daniels presentation on thin clients he stated a strong preference > against using the client-server model, which I took to be Rev talking to the > database directly, in favor of what he called a stateless model in which rev > made http calls to the Apache/MySQL/PHP setup. > > The obvious question I have is why ? Do the stateful operation of direct > database calls create a reliability problem? (The little voice in my head says > I > am missing something here!) > > Also, it occurs to me that the Rev engine could replace PHP and allow one to > simplify that aspect of it a little bit. I say a little bit because one would > still have to right scripts for the Rev engine that translate ones tags into > database calls. Has anyone taken this route and care to share its > effectiveness > ? > > Thanks. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Mon Jan 12 19:18:05 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 12 Jan 2004 16:18:05 -0800 Subject: Windows ODBC In-Reply-To: <016d01c3d94f$db1d4c40$6901a8c0@LightningFlash> References: <016d01c3d94f$db1d4c40$6901a8c0@LightningFlash> Message-ID: <134103041095.20040112161805@ahsoftware.net> Ken- I'm not sure. I didn't Bugzilla it, but I did bring it to Tuviah's attention some months ago. It's probably slipped through the cracks after all this time. -- -Mark Wieder mwieder at ahsoftware.net From psahores at easynet.fr Mon Jan 12 19:13:43 2004 From: psahores at easynet.fr (Pierre Sahores) Date: 13 Jan 2004 01:13:43 +0100 Subject: RevConference - Client Server vs Stateless In-Reply-To: <4b.38c52794.2d349142@aol.com> References: <4b.38c52794.2d349142@aol.com> Message-ID: <1073952823.3744.35.camel@www.kmax.ici> Le mar 13/01/2004 ? 01:09, HyperChris at aol.com a ?crit : > In Jerry Daniels presentation on thin clients he stated a strong preference > against using the client-server model, which I took to be Rev talking to the > database directly, in favor of what he called a stateless model in which rev > made http calls to the Apache/MySQL/PHP setup. ... > > The obvious question I have is why ? Do the stateful operation of direct > database calls create a reliability problem? (The little voice in my head says I > am missing something here!) > > Also, it occurs to me that the Rev engine could replace PHP and allow one to > simplify that aspect of it a little bit. I say a little bit because one would > still have to right scripts for the Rev engine that translate ones tags into > database calls. Has anyone taken this route and care to share its effectiveness > ? You could try and optimise something like that,... > > > > > > Test RSP : accueil > > > > >

>
> > > exec 2>&1 > echo \ > \ > \ > set itemdel to \"/\" \ > put \"Hi !\" \&\& item 2 of the short date \& \"/\" \& item 1 of the short date \& \"/\" \& item 3 of the short date \&\& word 1 of the short time \ > put \"This is a Rev ASP/JSP alike way to output Transcript contents to the Web\.\" \ > \ > \ > | /srv/www/celia/asplike.rsp'); ?> > > Have Fun ;-)
> Best, Pierre > > Thanks. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From erikhans08 at yahoo.com Mon Jan 12 19:22:47 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Mon, 12 Jan 2004 16:22:47 -0800 (PST) Subject: iMovie vs Final Cut Pro In-Reply-To: <6E6E65DC-4502-11D8-A9CE-0003936D012E@mac.com> Message-ID: <20040113002247.65737.qmail@web61105.mail.yahoo.com> thanks Andy, i was looking for an overview. contrast and compare, personal take y so forth. Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From alex at mindlube.com Mon Jan 12 19:25:28 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 12 Jan 2004 17:25:28 -0700 Subject: text encoding gotcha? Message-ID: Suddenly when I do a Win32 standalone build, when I run it on windows, some fields are all garbled looking. Every other character is a box- signifying maybe this is using a wide character encoding. This is bizarre- I'm not using Unicode at all. What the heck could be going on? Is it possible to disable the automatic MacToISO encoding for fields which happens when you launch a Mac-built standalone on Windows? Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jhurley at infostations.com Mon Jan 12 19:50:27 2004 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 12 Jan 2004 16:50:27 -0800 Subject: Bug in setting setting the height of rectangles In-Reply-To: <20040113001045.6C722930166@mail.runrev.com> References: <20040113001045.6C722930166@mail.runrev.com> Message-ID: I have been getting some strange results setting the heights of graphic rectangles--programmatically. For example the following run from the msg box: put the height of grc 1 & return after results set the height of grc 1 to (the height of grc 1) + 0.1 put the height of grc 1 after results put results Gives: 70 70 As it should. The addition of .1 to the height should have no effect. Graphic 1 is a rectangle. But put the height of grc 1 & return after results set the height of grc 1 to (the height of grc 1) - 0.1 put the height of grc 1 after results put results Gives: 70 69 Whereas it should give 70 70 Subtracting .0000001 from the height also gives 70 69 (The +.1 and -.1 arise from a variable determined from a calculation.) Mac OS 9, RR 2.1.2 If anyone can confirm this, I will Bugzilla it. Jim From erikhans08 at yahoo.com Mon Jan 12 19:50:43 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Mon, 12 Jan 2004 16:50:43 -0800 (PST) Subject: iMovie vs Final Cut Pro-- and Final Cut Express In-Reply-To: Message-ID: <20040113005043.38146.qmail@web61109.mail.yahoo.com> --- aj445 wrote: > Also, there is Final Cut Express-- > much less expensive than FCP, yet has > most features of the high-end model. thanks Sandy, Jeffrey, Malte, Andy. can we combine video and animation a la Roger Rabbit, scripted in Revolution and interactive at all times? the Mac world seminar showed the human side of Revolution: there are only so many people and a multitude of directions to profitably follow. we need to get things rolling ourselves as Kurt Kaufman did with his MIDI app. a few months ago he was asking for arcane information from the list and now that MIDI app is part of Revolution. Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From mpetrides at earthlink.net Mon Jan 12 20:22:29 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Mon, 12 Jan 2004 20:22:29 -0500 Subject: iMovie vs Final Cut Pro In-Reply-To: <20040112163543.CFFC4930130@mail.runrev.com> References: <20040112163543.CFFC4930130@mail.runrev.com> Message-ID: I'd second Jeff's comments. I bought FCP and used it for a while until iMovie 2 (or was it 3?) came out. Can't remember which feature(s) was missing in the original iMovie that made me feel I needed FCP but that was fixed in a later version of iMovie. With recent revisions of iMovie, there's very little I need for my very simple video editing that can't be done in iMovie. The main problem with FCP is that it is SO full-featured and complex that if you don't use it for a while you're almost starting back at square one relearning it. Marian On Jan 12, 2004, at 11:36 AM, cteno4 wrote: > Erik, > > Both will make movies you can play, only difference is the scope of > what > you can do with the > programs. kind of like mac paint (imovie) vs photoshop (final cut). > final > cut gives you total editing control with all the bells and whistles of > a > professional editing bay. imovie, while a great little program, only > does > the basics of cuts, transitions, titles and limited audio control. both > will suck video off your dv camcorder with no problems (and back onto > it > if you want to make tapes). if you not working with a dv camera/player > you will have to spend a couple of hundred for a ntsc to firewire (dv) > converter box (the dazzle box at about $200 is a fantastic box). if you > are just doing some simple video presentations that need some edits and > narration, you'll find imovie will make your pocket book very happy > (free) vs the final cut prices. > > the other gotcha is learning curve. imovie is set up for most anyone to > be editing with it w/in 10 minutes. final cut, although easier than > many > other professional editing packages, takes awhile to get use to and > learn > all the tricks and techniques even when you only want to do some simple > tasks. > > one other problem is that final cut lets you do so much you can easily > get carried away in the editing/effects and spend way more time on > something that may have just needed a couple of well placed, simple > cuts... with all the new tools in video editing today at the click of a > mouse, content is being replaced by effects very quickly (as evidenced > by > all the pbs specials now, unfortunatly--but thats another soap box...) > and really making the final products look flashy, but loose all their > meat. > > only other thing that might be useful to you is that the newest version > of final cut has a huge amount of new compression stuff that will let > you > do much more tweaking of your final output mov file compression than > imovie will. imovie does the basic compressions and a decent job of it, > so if you're just doing a simple job it may fit the bill. I have done a > few cdrom and exhibit projects that had movies made from imovie and > finalcut and they looked fine as quicktimes with it being hard to tell > which was which. > > my suggestion would be to spend an hour or two and try making one of > your > more complicated movies on imovie and see if it works. if it does then > you have just saved a lot of money and time and wait to buy finalcut > when > you really need it for a project! > > best of luck, > > jeff > > > > Jeffrey H. Reynolds > 6620 Michaels Dr. > Bethesda, MD 20817 > > 301.469.8562 > > email: cteno4 at earthlink.net > cteno4 at aol.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From soapdog at mac.com Mon Jan 12 20:30:24 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 12 Jan 2004 23:30:24 -0200 Subject: Two Questions on Database Query Builder In-Reply-To: <20040112104058.94975.qmail@web60507.mail.yahoo.com> References: <20040112104058.94975.qmail@web60507.mail.yahoo.com> Message-ID: <0F53053A-4568-11D8-96FB-0003936D012E@mac.com> On Jan 12, 2004, at 8:40 AM, Jan Schenkel wrote: > Have you tried ? *grin* > Just tried it here, and it seems to work just fine, > allowing you to fetch fields from both tables when you > link fields to the query. > >> Cheers, and thanks in advance. >> >> Andre Alves Garzia ? 2003 ? BRAZIL >> http://www.soapdog.org >> > > Hope this helped, > > Jan Schenkel. Jan, Thanks for your help! On trying it, yes I tried but there was a problem since both tables used the same field names so MySQL shouted that the query was ambigous, that was fixed, it was a problem with MySQL, SQL Query and me, nothing to do with revolution, but I was slow to understand. Thanks Again Cheers Andre > Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From 3mcgrath at adelphia.net Mon Jan 12 20:53:22 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 12 Jan 2004 20:53:22 -0500 Subject: User group in London, England? In-Reply-To: <5.2.1.1.0.20040112233724.01c15d30@pop.wanadoo.fr> References: <5.2.1.1.0.20040112233724.01c15d30@pop.wanadoo.fr> Message-ID: <44E7177D-456B-11D8-B031-000A95DA60FA@adelphia.net> I don't live in London but I do go to London once a year. I go to a place called Stock Rochfert (sp?) for an annual conference in AAC. Maybe you could arrange a conference for the same week that I am there???? :-) Tom On Jan 12, 2004, at 5:42 PM, Graham Samuel wrote: > Noting the posts re RunRev user groups from Richard Gaskin and Bob > Hartley, I'm not near either of you; but I imagine there must be some > RunRev users in London apart from me - if there are, maybe you'd > consider contacting me at my UK address > > livfoss at blueyonder.co.uk > > and perhaps we could consider starting a local user group. I'm in the > UK about half the time. (Somehow I don't think I'll find too many > RunRev users at my other location - South West France, not very near > Toulouse). > > Here's hoping > > Graham > > --------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From scott at tactilemedia.com Mon Jan 12 21:01:00 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 12 Jan 2004 18:01:00 -0800 Subject: text encoding gotcha? In-Reply-To: Message-ID: On 1/12/04 4:25 PM, "Alex Rice" wrote: > Suddenly when I do a Win32 standalone build, when I run it on windows, > some fields are all garbled looking. Every other character is a box- > signifying maybe this is using a wide character encoding. This is > bizarre- I'm not using Unicode at all. What the heck could be going on? Sounds like you have a font applied to your fields (or stack) that isn't present on the system. Usually you see this with non-Roman fonts. Check the textFont of your fields, card and stack just to be sure. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From vikramsingh at mailandnews.com Mon Jan 12 21:38:44 2004 From: vikramsingh at mailandnews.com (Vikram Singh) Date: Mon, 12 Jan 2004 21:38:44 -0500 Subject: RevConference - Client Server vs Stateless Message-ID: <4003A0C4@mailandnews.com> Pierre, Looks like something interesting. Can you please describe this. Regards Vikram Pierre Sahores wrote: > > > > exec 2>&1 > echo \ > \ > \ > set itemdel to \"/\" \ > put \"Hi !\" \&\& item 2 of the short date \& \"/\" \& item 1 of the short date \& \"/\" \& item 3 of the short date \&\& word 1 of the short time \ > put \"This is a Rev ASP/JSP alike way to output Transcript contents to the Web\.\" \ > \ > \ > | /srv/www/celia/asplike.rsp'); ?> > > Have Fun ;-) From ambassador at fourthworld.com Mon Jan 12 21:45:51 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 12 Jan 2004 18:45:51 -0800 Subject: Bug in setting setting the height of rectangles In-Reply-To: Message-ID: Jim Hurley wrote: > I have been getting some strange results setting the heights of > graphic rectangles--programmatically. > > For example the following run from the msg box: > > put the height of grc 1 & return after results > set the height of grc 1 to (the height of grc 1) + 0.1 > put the height of grc 1 after results > put results > > Gives: > > 70 > 70 > > As it should. The addition of .1 to the height should have no > effect. Graphic 1 is a rectangle. > > But > > put the height of grc 1 & return after results > set the height of grc 1 to (the height of grc 1) - 0.1 > put the height of grc 1 after results > put results > > Gives: > > 70 > 69 > > Whereas it should give > > 70 > 70 > > Subtracting .0000001 from the height also gives > > 70 > 69 > > (The +.1 and -.1 arise from a variable determined from a calculation.) > > Mac OS 9, RR 2.1.2 > > If anyone can confirm this, I will Bugzilla it. Is it a bug if it's rounding the subtraction to the nearest whole pixel? Would round(0.00001) give you what you're looking for? -- 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 doug at webcrossing.com Mon Jan 12 21:58:41 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 13 Jan 2004 11:58:41 +0900 Subject: simple modal questions Message-ID: (1) I assume that if you want to make a form (like a login form) that requires more than one answer, that the best way is to open a stack containing the form as modal? Is that right? (2) How do you make a text field into a "password" field (asterisked out)? Thanks, doug From soapdog at mac.com Mon Jan 12 22:37:20 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 13 Jan 2004 01:37:20 -0200 Subject: ANN: HTTPd Stack update. Message-ID: Hi Folks, I made an update for my revHTTPd Stack. You can get it from my homepage (http://studio.soapdog.org) or direct from my File Sharing Drop Box (http://public.soapdog.org) Major enhancements are: Better error handling, things like timeout are now working. Better mime header construction. Now we can serve the mime headers correct (not everything, but most commons one). New Stack: listStacks. This one will list the substacks of HTTPd as link, this is cool to see what options one have available. New Stack:pasteboard. Guess what, it servers the current clipboard content as HTML or XML. New Stack:hits. Display the hits for the server. You can get it from: File Sharing Drop Box Join the Revolution! Serve the Developer! Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From ambassador at fourthworld.com Mon Jan 12 22:49:16 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 12 Jan 2004 19:49:16 -0800 Subject: Best place for common script In-Reply-To: <6.0.0.22.2.20040110120147.01f0c580@mail.ashford.ca> Message-ID: Robert J. Earp wrote: > Over the years I've scripted a whole mess of sub-routines/ functions/tools > etc. , most recently in ToolBook, where I've used their System Books feature. > > For those of you that have never used ToolBook, they use the term Book the > same as Rev uses Stack, and System Books are just regular ToolBook files > (Books) with a .sbk extension, but with the ability to be dynamically > linked with a project Book. This means that they are automatically in the > message path hierarchy, above the project book (the main stack), and below > the engine (ToolBook interpreter itself). > > The great thing about this is that you can just fire off a message to a > handler/function located in a .sbk and it gets trapped, acted upon and > replied to as appropriate. > > You also have the added feature of being able to have more than System Book > with one for, say, a CBT navigation schema, and one with some development > tools. On the fly you can link or unlink these books so its easy to > deliver a project with the features of one System Book and automatically > the other. > > My question is quite basic, but one that I suspect will draw a plethora of > different opinions. Given the concept above and, to my knowledge Rev does > not support such a concept, where is the best place to put "System Book" > functionality ? Main stack, sub stack? At what level ? Can you link > stacks so that they are at a specific level of the message hierarchy ? I've used ToolBook to build a system of AICC-compliant "books" (in TB parlance) which made heavy use of system books exactly as you describe (one for interfacing with a courseware server, one for multimedia sequencing, another for general utilities). With Rev you have two very options very similar to TB's system books: libraries and backscripts. One of my New Year's resolutions is to try to reduce the number of ten-page posts I make to this list , but this question comes up often and deserves a thorough treatment so I compromised and posted a new article to my site on this: For those of you who attended the plugins session at the Rev seminar this will serve as refresher notes for some of my introductory material (sockets tutorial forthcoming). -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From kgjaqua1 at sbcglobal.net Mon Jan 12 23:15:17 2004 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Mon, 12 Jan 2004 20:15:17 -0800 (PST) Subject: RevConference: Gold and Silver Found in San Francisco Message-ID: <20040113041517.83255.qmail@web80404.mail.yahoo.com> RevConference: Gold and Silver Found in San Francisco "There is gold in them there hills!" One focus of the Conference was to show the success of the RunRev community of developers. We were introduced to a variety of exciting, groundbreaking applications. One developer showed his new well written application bring a high 6 figure income. Because of revolutions power and ease of use, he apparently spent a relatively short time in development. (As if I could do that, oh sure I don't think so:) Eureka! With RunRev XTalk languages are here to stay! With extraordinary talent, clarity and humor; the staff and speakers (RR web support gurus) showed the rich range of features contained in RunRev. As a result I found a renewed TRUST in the longevity of XTalk programming threw Revolution. And Silver too! The well organized RunRev conference was held at the beautiful Argent hotel. The speakers were the very best in the profession, I loved every minute. Great food, friendly people--can we have 3 days next time? I did mention good food didn't I? Kathy Graves Jaqua A Wildest Dream Software I've got to brush up on my Latin :) From jacque at hyperactivesw.com Mon Jan 12 23:18:25 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Jan 2004 22:18:25 -0600 Subject: Best place for common script In-Reply-To: References: Message-ID: <40037191.7080906@hyperactivesw.com> On 1/12/04 9:49 PM, Richard Gaskin wrote: > This is excellent. Nice job. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From soapdog at mac.com Mon Jan 12 23:25:36 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 13 Jan 2004 02:25:36 -0200 Subject: Am I the only Brazilian in here? Message-ID: <88E9C09E-4580-11D8-96FB-0003936D012E@mac.com> Hi folks, I keep seeing those huge euro and american user groups. RevConferences an so on... All them so far away from me. I begun to wonder, am I the only Brazilian in here? I was thinking about creating a Brazilian Revolution User Group (if there's enought to form a group) or at least a Latin America User Group (My spanish is ugly but I would learn if needed). We could spread the Revolution here... or better we could teach the rest of the world, if there's something we know how to do is Revolutions!!! (well, that's a little 2:24 AM humor). Serious, any Brazilian or South American here? We could join forces, make a nice blog with tutorials in our languages, distribute t-shirts and convince those fine folks at the old world to visit us someday! Just thinking... yes... I would like to form such group. Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From doug at webcrossing.com Mon Jan 12 23:39:00 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 13 Jan 2004 13:39:00 +0900 Subject: a closed stack vs an invisible stack Message-ID: I notice that even if a stack is closed, I can obtain custom properties from it, such as: put the loginName of stack "loginForm" I thought that the stack had to be "open but invisible" to access information about the stack. Could somebody clarify. Thanks, doug From tereza at attainmentcompany.com Mon Jan 12 23:48:47 2004 From: tereza at attainmentcompany.com (Tereza Snyder) Date: Mon, 12 Jan 2004 22:48:47 -0600 Subject: Am I the only Brazilian in here? In-Reply-To: <88E9C09E-4580-11D8-96FB-0003936D012E@mac.com> References: <88E9C09E-4580-11D8-96FB-0003936D012E@mac.com> Message-ID: On Jan 12, 2004, at 10:25 PM, Andre Garzia wrote: > > I keep seeing those huge euro and american user groups. > RevConferences an so on... All them so far away from me. I begun to > wonder, am I the only Brazilian in here? > > A half-Brazilian! but not in Brazil. I'd be happy to come visit when I earn my 1st million, though. tereza From soapdog at mac.com Mon Jan 12 23:51:57 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 13 Jan 2004 02:51:57 -0200 Subject: A Toast to Fourth World Media Corporation. (was Re: Best place for common script) In-Reply-To: References: Message-ID: <3736D322-4584-11D8-96FB-0003936D012E@mac.com> On Jan 13, 2004, at 1:49 AM, Richard Gaskin wrote: > One of my New Year's resolutions is to try to reduce the number of > ten-page > posts I make to this list , but this question comes up often and > deserves > a thorough treatment so I compromised and posted a new article to my > site on > this: > > revolution_message_path.html> > > For those of you who attended the plugins session at the Rev seminar > this > will serve as refresher notes for some of my introductory material > (sockets > tutorial forthcoming). > Now, this article wins it's rightfull place in my all time good read. Everytime I read one of the articles of fourth world embassy I become full of ideas and hope. I don't know if this is commom, but, everytime I read a good, solid, insightfull article (or code) in Revolution I turn pretty happy and joyfull. It's like: "Hey, Thats the language you choose!!!! It's Cool! You can read it loud and not sound like an alien (this happens with C)" (*joking*) You might want to know that the article named "Beyond the browser" was the one responsible for me winning a contest (it's not a contest, I don't know the word in english for when a enterprize open a public 'contest' to choose which company it will contract for developing a solution). The project in question is Project Data Junior (http://homepage.mac.com/soapdog/studio/SoapDogStudioDataJunior.html). I decided to try to win that contract, I was going to code it in PHP (That was before me buying a Rev license, I was evaluating the free version) with MySQL. The other company was going for a solution based on MS SQL Server and Visual Basic.net. I planned everything and made a prototype. I read "Beyond the browser article". Next day I bought a Studio License for Revolution 2.1. After two weeks, I rewrote all my project. I attached to it the "Beyond the browser" (with all credits and cumpliments) Article as suggested reading. I packed everything in a very well humored package, I used a metal pan (those packages you get on restaurants when you ask for food on the go) as the box and put a nice badge on it written "Proposta Quentinha", which means Hot Proposal, here in Brazil we call this metal pan Quentinha so there was a joke in the name. They said my price was higher, but since they are a Advertising and Marketing College they found my proposal presentation very creative and after reading my suggested reading they decided to give me a try... So that's feedback... I take all Fourth World articles very serious and I learn much from them. I thank Richard Gaskin and all other people there for making time to help the community with all those nice texts. It's thanks to that article that I was able to buy Rev and launch my own little company here. Cheers to the Fourth World Media Corporation. Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From ambassador at fourthworld.com Tue Jan 13 00:11:21 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 12 Jan 2004 21:11:21 -0800 Subject: a closed stack vs an invisible stack In-Reply-To: Message-ID: Doug Lerner wrote: > I notice that even if a stack is closed, I can obtain custom properties from > it, such as: > > put the loginName of stack "loginForm" > > I thought that the stack had to be "open but invisible" to access > information about the stack. Not needed: you can access data in any stack file without opening it. The stack file will be read into memory in order to access it, but will not be officially opened. -- 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 cteno4 at earthlink.net Tue Jan 13 00:38:31 2004 From: cteno4 at earthlink.net (cteno4) Date: Tue, 13 Jan 2004 00:38:31 -0500 Subject: iMovie vs Final Cut Pro-- and Final Cut Express Message-ID: <20040113053757.E9A3A930059@mail.runrev.com> Erik, well, the short answer is yes, the long answer is a lot of work, programming, quicktime fiddling, and it might not be as clean as you would like. your order is a tall one to have a simple solution right now. if you are just looking at producing the background video then imovie might do you fine. final cut doesnt do much at all that i am aware of in the interactive elements of quicktime. and yes i forgot to mention that finalcut express is really a great option to cut the costs down, but you still have the learning curve since its the same program, just a few advanced proceedures are cut out in it. cheers, jeff use-revolution-request at lists.runrev.com wrote on 1/12/04 8:54 PM >thanks Sandy, Jeffrey, Malte, Andy. > >can we combine video and animation >a la Roger Rabbit, scripted in Revolution >and interactive at all times? > >the Mac world seminar showed the human >side of Revolution: there are only so many >people and a multitude of directions to >profitably follow. > >we need to get things rolling ourselves >as Kurt Kaufman did with his MIDI app. >a few months ago he was asking for >arcane information from the list and now >that MIDI app is part of Revolution. > >Erik Jeffrey H. Reynolds 6620 Michaels Dr. Bethesda, MD 20817 301.469.8562 email: cteno4 at earthlink.net cteno4 at aol.com From doug at webcrossing.com Tue Jan 13 00:48:32 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 13 Jan 2004 14:48:32 +0900 Subject: a closed stack vs an invisible stack In-Reply-To: Message-ID: On 1/13/04 2:11 PM, "Richard Gaskin" wrote: > Doug Lerner wrote: > >> I notice that even if a stack is closed, I can obtain custom properties from >> it, such as: >> >> put the loginName of stack "loginForm" >> >> I thought that the stack had to be "open but invisible" to access >> information about the stack. > > Not needed: you can access data in any stack file without opening it. The > stack file will be read into memory in order to access it, but will not be > officially opened. So what is the purpose of having the ability to have invisible open stacks? doug From soapdog at mac.com Tue Jan 13 01:04:43 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 13 Jan 2004 04:04:43 -0200 Subject: [ANN]: Button HTTPd 0.1 Message-ID: <61D335CC-458E-11D8-96FB-0003936D012E@mac.com> Hi Folks, Based on the codebase from revHTTPd Project (http://www.soapdog.org/rev/revhttpd.html), I made a custom version of HTTPd, it's a button, it contains everything. The objective is that you add this button to your object library, so when you feel like giving your stacks the ability to show data as XML or HTML you just add that button to your app. The server can be started by sending a "serverStart" message to the button, sending the message again will stop it. The server can be configured by setting some custom properties like cPort (port it will listen) cServerHDFiles (if it will serve files from defaultFolder)... The nice trick is that, add this button to your app, trap the http_getHTML and http_getXML in your substacks, write output to http_result custom property and thats all. Check revHTTPd documentation for better info. I am yet to write a doc on this button. The difference between this and rev HTTPd Stack is that the configuration are all custom properties. You can set them as you wish, others are set at runtime for data storage purpose. I made this in 20 min so expect a nice update soon, there I'll optimise everything for embedded operations. yours trully, Andre Garzia Also what do you think of the motto: "One Button, One Server" The download is here: http://public.soapdog.org named btnHTTPd.rev.zip Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From dsc at swcp.com Tue Jan 13 01:50:33 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 12 Jan 2004 23:50:33 -0700 Subject: simple modal questions In-Reply-To: Message-ID: On Monday, January 12, 2004, at 07:58 PM, Doug Lerner wrote: > (2) How do you make a text field into a "password" field (asterisked > out)? Consider using the keyDown Message. Dar Scott From dsc at swcp.com Tue Jan 13 01:54:46 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 12 Jan 2004 23:54:46 -0700 Subject: Bug in setting setting the height of rectangles In-Reply-To: Message-ID: <5FE8D076-4595-11D8-BF93-000A9567A3E6@swcp.com> On Monday, January 12, 2004, at 05:50 PM, Jim Hurley wrote: > I have been getting some strange results setting the heights of > graphic rectangles--programmatically. I think rounding in setting the height might be good. But I have no problem with not rounding. I assume there is a meaningful workaround. Dar Scott From mwieder at ahsoftware.net Tue Jan 13 01:58:05 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 12 Jan 2004 22:58:05 -0800 Subject: Best place for common script In-Reply-To: References: Message-ID: <88127040744.20040112225805@ahsoftware.net> RG> For those of you who attended the plugins session at the Rev seminar this RG> will serve as refresher notes for some of my introductory material (sockets RG> tutorial forthcoming). ...and folks, you ain't seen nothin' till you've seen Richard role-play both ends of the ftp protocol... -- -Mark Wieder mwieder at ahsoftware.net From alex at mindlube.com Tue Jan 13 02:00:28 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 00:00:28 -0700 Subject: XML Tutorial In-Reply-To: References: Message-ID: <2B5363E0-4596-11D8-8ABD-000393C4760A@mindlube.com> On Jan 12, 2004, at 8:41 AM, Thomas J McGrath III wrote: > Does anyone have a stack that shows how XML's work in Rev for > 'beginners'? I think core concepts with revXML are: A xml tree ID (doc ID) is just an integer. Save it in a variable, for use with the other revxml functions. A xml node ID is a string - a path "/root/x/y/child" showing the parent and child relationship to the node. A xml node ID can have array notation with square brackets e.g. "/root/x/y/child[3]" to indicate the 3rd node. -- Here is some sample code. This is a DOM usage (as opposed to SAX): put revCreateXMLTreeFromFile("macbeth.xml",true, true, false) into tDocID -- the speaker of speech 7, scene 3, act 5. put revXMLChildContents(tDocID, "/play/act[5]/scene[3]/speech[7]/speaker") --returns MACBETH -- the stagedir of speech 7, scene 3, act 5. put revXMLText(tDocID, "/play/act[5]/scene[3]/speech[7]/stagedir") -- returns Exit Servant -- the 8th line of speech 7, scene 3, act 5. put revXMLText(tDocID, "/play/act[5]/scene[3]/speech[7]/line[8]") -- returns As honour, love, obedience, troops of friends, --or you can use a more general node to get more text back put revXMLText(tDocID, "/play/act[5]/scene[3]/speech[7]") -- returns MACBETH Take thy face hence. ... -- Use this function to pretty-print a selected chunk of xml. put revXMLChildContents(tDocID, "/play/act[5]/scene[3]/speech[7]", ":" &tab & tab, linefeed, false, -1) -- returns SPEAKER: MACBETH LINE: Take thy face hence. STAGEDIR: Exit Servant LINE: Seyton!--I am sick at heart, LINE: When I behold--Seyton, I say!--This push LINE: Will cheer me ever, or disseat me now. LINE: I have lived long enough: my way of life LINE: Is fall'n into the sear, the yellow leaf; LINE: And that which should accompany old age, LINE: As honour, love, obedience, troops of friends, LINE: I must not look to have; but, in their stead, LINE: Curses, not loud but deep, mouth-honour, breath, LINE: Which the poor heart would fain deny, and dare not. Seyton! Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From joel.guillod at net2000.ch Tue Jan 13 02:30:35 2004 From: joel.guillod at net2000.ch (Jo=?ISO-8859-1?B?6w==?=l Guillod) Date: Tue, 13 Jan 2004 08:30:35 +0100 Subject: XML Tutorial In-Reply-To: <20040113001045.A9E5F930167@mail.runrev.com> Message-ID: By taking a look at the xmltree-view.rev file in the Sample Stacks folder of the Rev application folder, I have been able to build many pretty interesting functionality. Be aware that the Rev documentation is not quite accurate, for instance I found that some parameters are not mentionned in the documentation and can be mandatory to use. Look at the scripts of the xmltree-view stack for correct use and/or ask me directly to send you my very very short summary of the revXML API. One of my main current project is to write a kind of mutiple choice questionnaires authoring system. A question is defined as a xml tree, another xml tree for a questionnaire (ordered list of questions) and another xml tree for the user's answers (values of questions). These xml trees will be stored either in a MySQL database of in files. Also, I expect to integrate CLIPS for taking actions based on the answers of a questionnaire. My main target is health care record but such a system will be open to many other domains of use. A lot of work, maybe an open source muti-developers project, let me know. Jo?l Guillod From yvescoppe at skynet.be Tue Jan 13 02:32:58 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 13 Jan 2004 08:32:58 +0100 Subject: simple modal questions In-Reply-To: References: Message-ID: Le 13 janv. 04, ? 07:50, Dar Scott a ?crit : > > On Monday, January 12, 2004, at 07:58 PM, Doug Lerner wrote: > >> (2) How do you make a text field into a "password" field (asterisked >> out)? > > here is a sample : suppose you have a fld named "pass" here is the script of the fld : local thisPassword on returninfield get thisPassword if it is then ##do your stuff else answer "Tentative ill?gale !" close this stack end if end returninfield on enterinfield returninfield end enterinfield on keydown whichKey put whichKey after thisPassword put "*" after field "pass" end keyDown on backspaceKey put empty into field "pass" put "" into thisPassword end backspaceKey on deleteKey put empty into field "pass" put "" into thisPassword end deleteKey Hope this helps. Greetings. Yves COPPE yvescoppe at skynet.be From doug at webcrossing.com Tue Jan 13 03:01:36 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 13 Jan 2004 17:01:36 +0900 Subject: simple modal questions In-Reply-To: Message-ID: Thanks. Lots of useful stuff in there! doug On 1/13/04 4:32 PM, "Yves COPPE" wrote: > > Le 13 janv. 04, ? 07:50, Dar Scott a ?crit : > >> >> On Monday, January 12, 2004, at 07:58 PM, Doug Lerner wrote: >> >>> (2) How do you make a text field into a "password" field (asterisked >>> out)? >> >> > > > here is a sample : > > suppose you have a fld named "pass" > > here is the script of the fld : > > local thisPassword > on returninfield > get thisPassword > if it is then > ##do your stuff > else > answer "Tentative ill?gale !" > close this stack > end if > end returninfield > > on enterinfield > returninfield > end enterinfield > > on keydown whichKey > put whichKey after thisPassword > put "*" after field "pass" > end keyDown > > on backspaceKey > put empty into field "pass" > put "" into thisPassword > end backspaceKey > > on deleteKey > put empty into field "pass" > put "" into thisPassword > end deleteKey > > > Hope this helps. > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Tue Jan 13 04:10:41 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 13 Jan 2004 01:10:41 -0800 Subject: Seamless Audio Loops in Rev Message-ID: After lamenting the absence of any reliable way to seamlessly loop audio in Rev, it occurred to me that Flash can loop audio seamlessly and Flash movies can be played from within QuickTime. So here is one way to accomplish seamless audio loops in Rev (tested on a Mac system with FlashMX): Start with a new Flash movie. Import your audio clip into the library. Edit the properties of the clip and set the compression to default or MP3 (haven't tried the other options). Drag the clip from the library onto the stage, which will cause the clip to occupy a single keyframe in the timeline. Select the clip's keyframe on the timeline and set the clip's loop property to something like 900 (goofy, yes, but this is how you do it). On the Flash tab under File/Publish Settings, set the version to Flash Player 4 (make the final movie more compatible with older versions of QT). Publish a Flash movie only (no HTML necessary). In Rev, create a button that sets the fileName of a player to the path of the SWF to start playback, and sets the fileName of the player to empty to stop. The player will automatically start the Flash movie once the fileName is set. You could add a fade routine that lowers the playLoudness of the player before setting the fileName. There you have it: seamless playback of an audio loop within a Rev player and it requires no special interaction with Flash. Note that the player has no currentTime while it is playing so you cannot query its progress, though for simple seamless playback, this should suffice. You might be able to get a more interactive Flash movie by sacrificing backwards QT compatibility, but this is open to testing. (Unfortunately, the above technique requires the presence of QuickTime, and even more annoying is this really should be doable within Rev without Flash at all, but at least this method should be fairly reliable.) Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From peter9.smith at ps.ge.com Tue Jan 13 04:08:26 2004 From: peter9.smith at ps.ge.com (peter9.smith at ps.ge.com) Date: Tue, 13 Jan 2004 04:08:26 -0500 Subject: Setting the icon of a button to be an image Message-ID: <6192367D59F8904CA553579EF41FEEA0027302A8@ukcbgx01psge.geips.ge.com> > > I have a button and an image of exactly the same > > size. When I set the > > button's showIcon to true and the icon to the image > > ID the image does appear > > in the button but it's shifted up about 5 pixels. > > Assuming you've set the 'showName' property to false, > you'll want to also tinker the 'margins' property -- > this allows you to shift around the icon and text in a > button. > > Hope this helped, > > Jan Schenkel. Thanks Jan and others it was indeed "showName" I had missed. I appreciate the help available on this list! From tsj at unimelb.edu.au Tue Jan 13 04:32:47 2004 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 13 Jan 2004 20:32:47 +1100 Subject: [ANN] libEmail v1.00 and libSmtp v2.00 In-Reply-To: <20040112101653.5131493010F@mail.runrev.com> Message-ID: <72EE9C93-45AB-11D8-913C-000393AEC28C@unimelb.edu.au> > Well after many months of sitting around and doing nothing, I'm finally > releasing the next version of libSmtp and it's new companion library - > libEmail! > > libSmtp has been re-written and all of the email encoding features that > were found in the previous versions have all been off-loaded to > libEmail. > > What's new in libSmtp v2 > - almost 100% re-written > - more robust error handling > - everything should be "threaded" (wait with messages) > - better smtp authentication support and handling > > libEmail v1.0.0 is a new library featuring all the great features found > in the old libSmtp library, but with much better support. All the code > has been sifted through and re-written in many places. Support for > unicode in headers and message body parts was added in. Thanks Shao - your efforts are much appreciated. Just one minor quibble with the help docs for libSmtp - the last two menu items on the Help stack are disabled (at least on Mac OSX). Adding an escape -- \ -- before the left bracket character on each does the trick. 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 bob at armbase.com Tue Jan 13 05:22:30 2004 From: bob at armbase.com (Bob Hartley) Date: Tue, 13 Jan 2004 10:22:30 +0000 Subject: scottish user group? In-Reply-To: References: <6.0.0.22.0.20040112155831.02482f08@udcf.gla.ac.uk> Message-ID: <6.0.0.22.0.20040113102159.023fdc00@mail.armbase.com> At 17:38 12/01/2004, you wrote: >At 3:59 pm +0000 12/1/04, Bob Hartley wrote: > >>Are there any Scottish (as in the country not the nationality) users? :-) > >There seem to be a few. My mail bounced to you Dave. Cheers bob >Cheers >Dave >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From Aideduc at scolagora.com Tue Jan 13 06:09:38 2004 From: Aideduc at scolagora.com (Aides Educateurs) Date: Tue, 13 Jan 2004 12:09:38 +0100 Subject: My first try... Message-ID: Hi It's my first try of Revolution, but as a French user, it is hard to read all your messages, guys. I'm not clever enough to translate. so do you have some french URL's to help me ? Feel Fre to use my personnal mail Aideduc at scolagora.com Thanks to help a real beginner. From psahores at easynet.fr Tue Jan 13 06:14:19 2004 From: psahores at easynet.fr (Pierre Sahores) Date: 13 Jan 2004 12:14:19 +0100 Subject: My first try... In-Reply-To: References: Message-ID: <1073992459.5440.4.camel@www.kmax.ici> Le mar 13/01/2004 ? 12:09, Aides Educateurs a ?crit : > Hi > It's my first try of Revolution, but as a French user, it is hard to read > all your messages, guys. > I'm not clever enough to translate. so do you have some french URL's to > help me ? > Feel Fre to use my personnal mail Aideduc at scolagora.com > Thanks to help a real beginner. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Hi, See below, the mail i just got some days ago ! > Bonjour et bienvenue dans le groupe RevolutionFr, issu > du nouveau service de communaut?s Yahoo! Groupes. > > Pour envoyer des messages aux membres de ce groupe, envoyez > simplement un e-mail ? > > revolutionfr at yahoogroupes.fr. > > Si vous ne souhaitez pas appartenir au groupe RevolutionFr, vous > pouvez vous d?sinscrire en envoyant un e-mail ? > > RevolutionFr-unsubscribe at yahoogroupes.fr. > > Vous pouvez ?galement visiter le site Web Yahoo! Groupes pour modifier > vos inscriptions : > > http://fr.groups.yahoo.com/mygroups > > Cordialement, > > le mod?rateur de RevolutionFr > > > L'utilisation du service Yahoo! Groupes est soumise ? l'acceptation > des > Conditions d'utilisation et de la Charte sur la vie priv?e, > disponibles > respectivement sur http://fr.docs.yahoo.com/info/utos.html et > http://fr.docs.yahoo.com/info/privacy.html > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From graham.samuel at wanadoo.fr Tue Jan 13 06:09:45 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Tue, 13 Jan 2004 12:09:45 +0100 Subject: XML Tutorial Message-ID: <5.2.1.1.0.20040113114708.02209870@pop.wanadoo.fr> On Tue, 13 Jan 2004 00:00:28 -0700, Alex Rice wrote: >On Jan 12, 2004, at 8:41 AM, Thomas J McGrath III wrote: > > Does anyone have a stack that shows how XML's work in Rev for > > 'beginners'? > >I think core concepts with revXML are: > >[interesting stuff on revXML and then more general, using 'Macbeth' as an >example...] I am using this to infer what XML is and what it's for - I know, this was not Alex's intention when writing his post, but in fact it takes me quite a long way. However the question I can't tackle intuitively from the sample is "how would I define and populate my XML tree - or whatever it's called - faced with the text of 'Macbeth'?", and maybe "How general could such a parser/populator be? Once constructed - presumably with some set of rules - could I use it on 'Hamlet'?" I suppose the answer to the second question has got to be "Yes" provided the range of syntax and punctuation of the two plays is broadly the same (**exactly** the same?). Still looking for that type of guidance - tho of course strictly this is OT to RunRev: for which I crave your indulgence, my Lords. TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From frank at backtalk.com Tue Jan 13 07:14:56 2004 From: frank at backtalk.com (Frank Leahy) Date: Tue, 13 Jan 2004 12:14:56 +0000 Subject: Bug in setting setting the height of rectangles In-Reply-To: <20040113091240.E6EFB9301A8@mail.runrev.com> Message-ID: <19A64C7F-45C2-11D8-9D1A-000A9580FCCE@backtalk.com> I seem to remember reading that integer arithmetic uses trunc() by default. Therefore 70 - .00001 = trunc(69.9999) = 69 is what you'd expect. Why was it you were subtracting .000001 in the first place? -- Frank On Tuesday, January 13, 2004, at 09:12 AM, use-revolution-request at lists.runrev.com wrote: > On Monday, January 12, 2004, at 05:50 PM, Jim Hurley wrote: > >> I have been getting some strange results setting the heights of >> graphic rectangles--programmatically. > > I think rounding in setting the height might be good. But I have no > problem with not rounding. I assume there is a meaningful workaround. > > Dar Scott From in.bois at wanadoo.fr Tue Jan 13 07:33:10 2004 From: in.bois at wanadoo.fr (Alain Bois) Date: Tue, 13 Jan 2004 13:33:10 +0100 Subject: My first try... In-Reply-To: References: Message-ID: Je comprends ton probl?me. Il y a une liste de diffusion fran?aise: http://fr.groups.yahoo.com/group/revolutionfr/ Good luck quand m?me. Je suis prof de maths, animateur IREM et je vais d?velopper dans l'ann?e avec Revolution, j'?tais dans les ann?es 90 un fan d'Hypercard, Revolution c'est HC mais en mieux. Salut Alain Le 13 janv. 04, ? 12:09, Aides Educateurs a ?crit : > > Hi > It's my first try of Revolution, but as a French user, it is hard to > read > all your messages, guys. > I'm not clever enough to translate. so do you have some french URL's > to > help me ? > Feel Fre to use my personnal mail Aideduc at scolagora.com > Thanks to help a real beginner. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From psahores at easynet.fr Tue Jan 13 07:16:26 2004 From: psahores at easynet.fr (Pierre Sahores) Date: 13 Jan 2004 13:16:26 +0100 Subject: RevConference - Client Server vs Stateless In-Reply-To: <4003A0C4@mailandnews.com> References: <4003A0C4@mailandnews.com> Message-ID: <1073996186.5441.56.camel@www.kmax.ici> Le mar 13/01/2004 ? 03:38, Vikram Singh a ?crit : > Pierre, > > Looks like something interesting. Can you please describe this. > > Regards > Vikram > Vikram, This is just a "starter point toy" to have transcript code server-sided parsed from within a rsptest.php file by a asplike.rsp rev script. Apache and PHP have to be installed. The "rsptest.php" file have to contains : > exec 2>&1 > echo \ > \ > \ > set itemdel to \"/\" \ > put \"Hi !\" \&\& item 2 of the short date \& \"/\" \& item 1 of the short date \& \"/\" \& item 3 of the short date \&\& word 1 of the short time \ > put \"This is a Rev ASP/JSP alike way to output Transcript contents to the Web\.\" \ > \ > \ > | /srv/www/celia/asplike.rsp'); ?> The php's "passthru" command invoques the echo's shell command witch contains, before the "|", the transcript code (including the backslashs tags to let the bash shell know that the code have to be send "as is") and, after the pipe, the path to the server-side rev script witch will execute the code (/srv/www/celia/asplike.rsp). The "asplike.rsp" script is a text file witch contains : > #!/home/pierre/Revolution-2.1.2/revolution > on startup > # start using stack "liburl" > read from stdin until empty > do it > end startup Remember that's this code is only a "just to see" test toy,... The next steep would be to find a way to remove the PHP's and Shell's parts from the process... Why not trough an apache's rev's module, Tuviah ? -- Best Regards, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From francois.cuneo at cuk.ch Tue Jan 13 07:59:54 2004 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Tue, 13 Jan 2004 13:59:54 +0100 Subject: I don't understand the SWITCH command =?iso-8859-1?q?=8A?= In-Reply-To: Message-ID: Hello everybody! I have a problem with the "Switch" command. Here is my little Code: on mouseup put word 2 of the selectedline of me into nbcalc switch nbcalc case 1 put 0 into fld "nbcalc" case 2 put 2 into fld "nbcalc" end switch end mouseup It's always the case 2 that's done, even if the nbcalc is 1! What's wrong please? Amicalement Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From mazzapaolo at libero.it Tue Jan 13 08:01:11 2004 From: mazzapaolo at libero.it (Paolo Mazza) Date: Tue, 13 Jan 2004 14:01:11 +0100 Subject: Linux Engine: Problems on Red Hat server with CGI In-Reply-To: Message-ID: <8FA784BB-45C8-11D8-B610-000393680A94@libero.it> I wonder if you solved the problem. I would like to use the Linux Engine on a Red Hat server but it looks like it is not going to work. I installed an old Linux Engine of Revolution 1.1 into my CGI folder of MAC OS X and it works. On the contrary I tried to instal the Darwin engine of Revolution on the CGI folder of MAC OS X ... and I got the 500 Error from Apache. Best regards, Paolo Mazza Sabato, 29 Nov 2003, alle 08:44 Europe/Rome, Sannyasin Sivakatirswami ha scritto: > OK, Alex, good call... we dug up an old (I mean *really* old -- built > for Linux RH 6.2) MC linux engine, and it works! No missing libraries > on execute cgi. > > But that certainly doesn't help with present day attempts, as you > rightly point out. > > Tuviah... good luck on our work. ..keep us posted. > > > On Nov 27, 2003, at 9:14 AM, Alex Rice wrote: > >> >> On Nov 27, 2003, at 11:58 AM, Sannyasin Sivakatirswami wrote: >> >>> Thanks for everyone's helpful responses. But our linux man couldn't >>> make a go of it... he writes: >> >> You simply need to find a Rev or MC engine that does not dynamically >> link with all of those X libraries. Tuviah said he was working on >> one. >> >> But that doesn't help you now. I would look for old Rev and MC >> engines and see if they do not have this problem too. I suspect it >> was not always this way because obviously it makes it impossible for >> a lot of people to deploy CGIs with all of these library >> dependencies. >> >> >> Alex Rice | Mindlube Software | >> >> >> what a waste of thumbs that are opposable >> to make machines that are disposable -Ani DiFranco >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > From yvescoppe at skynet.be Tue Jan 13 08:10:36 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 13 Jan 2004 14:10:36 +0100 Subject: My first try... In-Reply-To: References: Message-ID: Le 13 janv. 04, ? 12:09, Aides Educateurs a ?crit : > > Hi > It's my first try of Revolution, but as a French user, it is hard to > read > all your messages, guys. > I'm not clever enough to translate. so do you have some french URL's > to > help me ? > Feel Fre to use my personnal mail Aideduc at scolagora.com > Thanks to help a real beginner. > > There are many French users on the list Feel free to explain your problem in French on the list, you'll get an answer better in English, son anyone have benefits from your questions and the answers Il y a de nombreux utilisateurs de Revolution ici qui parlent le Fran?ais. Tu peux poser tes questions en Anglais, ou comme moi dans un tr?s mauvais anglais ou m?me en Fran?ais tu auras bien une r?ponse...Si c'est possible utilise l'anglais, ainsi tout le monde profite de tes questions et des r?ponses...;<) Amicalement. Yves COPPE yvescoppe at skynet.be From janschenkel at yahoo.com Tue Jan 13 08:17:20 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 13 Jan 2004 05:17:20 -0800 (PST) Subject: =?iso-8859-1?q?Re=3A_I_don=27t_understand_the_SWITCH_command_=8A?= In-Reply-To: Message-ID: <20040113131720.96300.qmail@web60502.mail.yahoo.com> --- Fran?ois Cuneo wrote: > Hello everybody! > I have a problem with the "Switch" command. > Here is my little Code: > > on mouseup > put word 2 of the selectedline of me into nbcalc > > switch nbcalc > > case 1 > put 0 into fld "nbcalc" > > case 2 > > put 2 into fld "nbcalc" > end switch > > end mouseup > > It's always the case 2 that's done, even if the > nbcalc is 1! > What's wrong please? > > > Amicalement > Fran?ois > Bonjour Fran?ois, You'll need to insert a 'break' command at the right spots ; so your script should look like : on mouseup put word 2 of the selectedline of me into nbcalc switch nbcalc case 1 put 0 into fld "nbcalc" break case 2 put 2 into fld "nbcalc" break end switch end mouseup If you don't use a 'break' command, the engine will just execute the rest of the script in each case until it bumps into a break. It has its advantages, for instance when you need to do something extra in special cases, but it can be a bit confusing if you don't have a background in C. Example : -- switch tNumber case 3 -- only do the following ... break case 2 -- do something special, as well as the code -- for case tNumber = 1 ... -- so no 'break' at this point case 1 -- do what needs done in this case ... -- and break since we don't want the default break default -- if none of the other cases are true ... -- the break isn't necessary, but cleaner code break end switch -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From klaus at major-k.de Tue Jan 13 08:17:29 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 13 Jan 2004 14:17:29 +0100 Subject: =?iso-8859-1?q?Re=3A_I_don=27t_understand_the_SWITCH_command_=8A?= In-Reply-To: References: Message-ID: Bon jour Fran?ois, > Hello everybody! > I have a problem with the "Switch" command. > Here is my little Code: You forgot to add the "break" after each "case": > on mouseup > put word 2 of the selectedline of me into nbcalc > > switch nbcalc > > case 1 > put 0 into fld "nbcalc" break > case 2 > put 2 into fld "nbcalc" break > end switch > end mouseup > > It's always the case 2 that's done, even if the nbcalc is 1! > What's wrong please? The engine does not "break" after checking the first "case" :-) Hope that helps. > Amicalement > Fran?ois Au revoir Klaus Major klaus at major-k.de www.major-k.de From xbury.cs at clearstream.com Tue Jan 13 08:17:35 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 13 Jan 2004 14:17:35 +0100 Subject: I don't understand the SWITCH command? Message-ID: Francois, But the problem is surely with the usage of the "selectedline" where you should use the hilitedline... For ListBehavior fields, the selectedline doesn't work... hope that helps On 13/01/2004 13:59:54 use-revolution-bounces wrote: >Hello everybody! >I have a problem with the "Switch" command. >Here is my little Code: > >on mouseup >put word 2 of the selectedline of me into nbcalc > >switch nbcalc > >case 1 >put 0 into fld "nbcalc" > >case 2 > >put 2 into fld "nbcalc" >end switch > >end mouseup > >It's always the case 2 that's done, even if the nbcalc is 1! >What's wrong please? > > >Amicalement >Fran?ois > > >-------------- >Fran?ois Cuneo >Site Web d?di? au Macintosh http://www.cuk.ch >E-mail: francois.cuneo at cuk.ch > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution 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 wouter.abraham at pi.be Tue Jan 13 08:45:45 2004 From: wouter.abraham at pi.be (Wouter) Date: Tue, 13 Jan 2004 14:45:45 +0100 Subject: I don't understand the SWITCH command? In-Reply-To: <20040113125857.061129301BC@mail.runrev.com> References: <20040113125857.061129301BC@mail.runrev.com> Message-ID: On 13 Jan 2004, at 13:58, use-revolution-request at lists.runrev.com wrote: > Message: 10 > Date: Tue, 13 Jan 2004 13:59:54 +0100 > From: Fran?ois Cuneo > Subject: I don't understand the SWITCH command? > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset="ISO-8859-1" > > Hello everybody! > I have a problem with the "Switch" command. > Here is my little Code: > > on mouseup > put word 2 of the selectedline of me into nbcalc > > switch nbcalc > > case 1 > put 0 into fld "nbcalc" break #### otherwise it will fall through to the next case > > case 2 > > put 2 into fld "nbcalc" break ### necessary if a default case is following > end switch > > end mouseup > > It's always the case 2 that's done, even if the nbcalc is 1! > What's wrong please? > > > Amicalement > Fran?ois > > > -------------- > Fran?ois Cuneo > Site Web d?di? au Macintosh http://www.cuk.ch > E-mail: francois.cuneo at cuk.ch Greetings, WA From mcdomi at free.fr Tue Jan 13 08:54:04 2004 From: mcdomi at free.fr (Dom) Date: Tue, 13 Jan 2004 14:54:04 +0100 Subject: My first try... In-Reply-To: Message-ID: <1g7i89f.cyn9wpx9xf4qM%mcdomi@free.fr> Yves COPPE wrote: > There are many French users on the list You mean "french speaking", i presume ;-) -- Digital photos (nature, garden) : http://cooldomi.free.fr/ Scripting : http://domiscript.free.fr/ From francois.cuneo at cuk.ch Tue Jan 13 09:54:58 2004 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Tue, 13 Jan 2004 15:54:58 +0100 Subject: I don't understand the SWITCH command? In-Reply-To: Message-ID: Thank you everybody! It works now. Xbury :"But the problem is surely with the usage of the "selectedline" where you should use the hilitedline... For ListBehavior fields, the selectedline doesn't work..." You know, the "selectedline" works here fine by me! Amicalement Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Wouter > R?pondre ??: How to use Revolution > Date?: Tue, 13 Jan 2004 14:45:45 +0100 > ??: use-revolution at lists.runrev.com > Objet?: Re: I don't understand the SWITCH command? > > > On 13 Jan 2004, at 13:58, use-revolution-request at lists.runrev.com wrote: > >> Message: 10 >> Date: Tue, 13 Jan 2004 13:59:54 +0100 >> From: Fran?ois Cuneo >> Subject: I don't understand the SWITCH command? >> To: How to use Revolution >> Message-ID: >> Content-Type: text/plain; charset="ISO-8859-1" >> >> Hello everybody! >> I have a problem with the "Switch" command. >> Here is my little Code: >> >> on mouseup >> put word 2 of the selectedline of me into nbcalc >> >> switch nbcalc >> >> case 1 >> put 0 into fld "nbcalc" > > break #### otherwise it will fall through to the next case > >> >> case 2 >> >> put 2 into fld "nbcalc" > break ### necessary if a default case is following > >> end switch >> >> end mouseup >> >> It's always the case 2 that's done, even if the nbcalc is 1! >> What's wrong please? >> >> >> Amicalement >> Fran?ois >> >> >> -------------- >> Fran?ois Cuneo >> Site Web d?di? au Macintosh http://www.cuk.ch >> E-mail: francois.cuneo at cuk.ch > > > Greetings, > WA > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From xbury.cs at clearstream.com Tue Jan 13 09:54:10 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 13 Jan 2004 15:54:10 +0100 Subject: I don't understand the SWITCH command? Message-ID: I noticed... then took a break ;) On 13/01/2004 15:54:58 use-revolution-bounces wrote: >Thank you everybody! > >It works now. > >Xbury :"But the problem is surely with the usage of the "selectedline" where >you should use the hilitedline... For ListBehavior fields, the >selectedline >doesn't work..." > >You know, the "selectedline" works here fine by me! > > >Amicalement >Fran?ois > > >-------------- >Fran?ois Cuneo >Site Web d?di? au Macintosh http://www.cuk.ch >E-mail: francois.cuneo at cuk.ch > >> De : Wouter >> R?pondre ? : How to use Revolution >> Date : Tue, 13 Jan 2004 14:45:45 +0100 >> ? : use-revolution at lists.runrev.com >> Objet : Re: I don't understand the SWITCH command? >> >> >> On 13 Jan 2004, at 13:58, use-revolution-request at lists.runrev.com wrote: >> >>> Message: 10 >>> Date: Tue, 13 Jan 2004 13:59:54 +0100 >>> From: Fran?ois Cuneo >>> Subject: I don't understand the SWITCH command? >>> To: How to use Revolution >>> Message-ID: >>> Content-Type: text/plain; charset="ISO-8859-1" >>> >>> Hello everybody! >>> I have a problem with the "Switch" command. >>> Here is my little Code: >>> >>> on mouseup >>> put word 2 of the selectedline of me into nbcalc >>> >>> switch nbcalc >>> >>> case 1 >>> put 0 into fld "nbcalc" >> >> break #### otherwise it will fall through to the next case >> >>> >>> case 2 >>> >>> put 2 into fld "nbcalc" >> break ### necessary if a default case is following >> >>> end switch >>> >>> end mouseup >>> >>> It's always the case 2 that's done, even if the nbcalc is 1! >>> What's wrong please? >>> >>> >>> Amicalement >>> Fran?ois >>> >>> >>> -------------- >>> Fran?ois Cuneo >>> Site Web d?di? au Macintosh http://www.cuk.ch >>> E-mail: francois.cuneo at cuk.ch >> >> >> Greetings, >> WA >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From xslaugh at hotmail.com Tue Jan 13 09:58:33 2004 From: xslaugh at hotmail.com (Scott Slaugh) Date: Tue, 13 Jan 2004 07:58:33 -0700 Subject: Mac OS 9 and sockets - are they slow? Message-ID: > >> In Classic mode, all networking has to be rewired to > >> go through OS X networking protocols, so that's one > >> explanation for the delay. > >> Another is that MacOS pre-X never had a really robust > >> TCP/IP stack, and was alywas a bit on the slow side. > >> But maybe someone else can offer you hints on speeding > >> things up. > > > > I also discovered that I got a huge speed increase if I used datagram > > sockets instead of normal sockets. > > > >This is with Mac OS 9 in particular? This was on a Windows machine. But, as Frank Leahy mentioned, do be careful with datagrams. Delivery is not guaranteed. In the particular application I was working on, speed was more important that was completely reliable delivery. Scott Slaugh _________________________________________________________________ Rethink your business approach for the new year with the helpful tips here. http://special.msn.com/bcentral/prep04.armx From jyrki.kanerva at mediakeel.com Tue Jan 13 10:00:35 2004 From: jyrki.kanerva at mediakeel.com (Jyrki Kanerva) Date: Tue, 13 Jan 2004 17:00:35 +0200 Subject: I don't understand the SWITCH command? Message-ID: <000d01c3d9e5$ffcfc310$8b3cba50@usermpxylg1xja> Hi, you should add a "break" after each "case". on mouseup put word 2 of the selectedline of me into nbcalc switch nbcalc case 1 put 0 into fld "nbcalc" break case 2 put 2 into fld "nbcalc" break end switch end mouseup Hope that helps, Jyrki jyrki.kanerva at mediakeel.com ---------------------------------------- Mediakeel Oy Linnanrakentajantie 6-8 C 00880 Helsinki (09) 323 3121 info at mediakeel.com www.mediakeel.com --------------------------------------- >Hello everybody! >I have a problem with the "Switch" command. >Here is my little Code: on mouseup put word 2 of the selectedline of me into nbcalc switch nbcalc case 1 put 0 into fld "nbcalc" case 2 put 2 into fld "nbcalc" end switch end mouseup It's always the case 2 that's done, even if the nbcalc is 1! What's wrong please? Amicalement Fran?ois From steve at messimercomputing.com Tue Jan 13 10:18:52 2004 From: steve at messimercomputing.com (Stephen Messimer) Date: Tue, 13 Jan 2004 10:18:52 -0500 Subject: re switch In-Reply-To: <20040113125856.29D3F9301C0@mail.runrev.com> Message-ID: On Tuesday, January 13, 2004, at 07:58 AM, use-revolution-request at lists.runrev.com wrote: Francois, Try this: on mouseup put word 2 of the selectedline of me into nbcalc -- lets say this fld has two lines with a string on each line. Line one contains the string " Color red" and line two contains the string 'Color Blue" switch nbcalc case "red" -- this is the string in line one the fld referenced above put 0 into fld "nbcalc" break case "blue" -- this is the string in line two of the fld referenced above put 2 into fld "nbcalc" break end switch end mouseup > Hello everybody! > I have a problem with the "Switch" command. > Here is my little Code: > > on mouseup > put word 2 of the selectedline of me into nbcalc > > switch nbcalc > > case 1 > put 0 into fld "nbcalc" > > case 2 > > put 2 into fld "nbcalc" > end switch > > end mouseup > > It's always the case 2 that's done, even if the nbcalc is 1! > What's wrong please? > > > Amicalement > Fran?ois > Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 http://www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- version 1.0.3 available Now! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.1.2 From wouter.abraham at pi.be Tue Jan 13 10:37:53 2004 From: wouter.abraham at pi.be (Wouter) Date: Tue, 13 Jan 2004 16:37:53 +0100 Subject: simple modal questions In-Reply-To: <20040113091240.62BC89301AC@mail.runrev.com> References: <20040113091240.62BC89301AC@mail.runrev.com> Message-ID: <74036FDA-45DE-11D8-AEF0-003065CC999E@pi.be> On 13 Jan 2004, at 10:12, use-revolution-request at lists.runrev.com wrote: > Message: 10 > Date: Tue, 13 Jan 2004 08:32:58 +0100 > From: Yves COPPE > Subject: Re: simple modal questions > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > Le 13 janv. 04, ? 07:50, Dar Scott a ?crit : > >> >> On Monday, January 12, 2004, at 07:58 PM, Doug Lerner wrote: >> >>> (2) How do you make a text field into a "password" field (asterisked >>> out)? >> >> > > > here is a sample : > > suppose you have a fld named "pass" > > here is the script of the fld : > > local thisPassword > on returninfield > get thisPassword > if it is then > ##do your stuff > else > answer "Tentative ill?gale !" > close this stack > end if > end returninfield > > on enterinfield > returninfield > end enterinfield > > on keydown whichKey > put whichKey after thisPassword > put "*" after field "pass" > end keyDown > > on backspaceKey > put empty into field "pass" > put "" into thisPassword > end backspaceKey > > on deleteKey > put empty into field "pass" > put "" into thisPassword > end deleteKey > > > Hope this helps. > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > What about the : < ask password clear > command? Try this in a button: on mouseUp ask password clear "Enter your password" put it end mouseUp Greetings, WA From lists at mangomultimedia.com Tue Jan 13 10:38:14 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 13 Jan 2004 08:38:14 -0700 Subject: =?iso-8859-1?q?Re=3A_I_don=27t_understand_the_SWITCH_command_=8A?= In-Reply-To: References: Message-ID: <807D5FC0-45DE-11D8-888F-000A956C462A@mangomultimedia.com> On Jan 13, 2004, at 5:59 AM, Fran?ois Cuneo wrote: > Hello everybody! > I have a problem with the "Switch" command. > Here is my little Code: > > on mouseup > put word 2 of the selectedline of me into nbcalc > > switch nbcalc > > case 1 > put 0 into fld "nbcalc" > > case 2 > > put 2 into fld "nbcalc" > end switch > > end mouseup > > It's always the case 2 that's done, even if the nbcalc is 1! > What's wrong please? You need to add 'break' after each case statement. switch nbcalc case 1 put 0 into fld "nbcalc" break case 2 put 2 into fld "nbcalc" break end switch -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jhurley at infostations.com Tue Jan 13 10:47:04 2004 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 13 Jan 2004 07:47:04 -0800 Subject: Bug in setting setting the height of rectangles In-Reply-To: <20040113045313.D6F1193018D@mail.runrev.com> References: <20040113045313.D6F1193018D@mail.runrev.com> Message-ID: > >Jim Hurley wrote: > >> I have been getting some strange results setting the heights of >> graphic rectangles--programmatically. >> >> For example the following run from the msg box: >> >> put the height of grc 1 & return after results >> set the height of grc 1 to (the height of grc 1) + 0.1 >> put the height of grc 1 after results >> put results >> >> Gives: >> >> 70 >> 70 >> >> As it should. The addition of .1 to the height should have no >> effect. Graphic 1 is a rectangle. >> >> But >> >> put the height of grc 1 & return after results >> set the height of grc 1 to (the height of grc 1) - 0.1 >> put the height of grc 1 after results >> put results >> >> Gives: >> >> 70 >> 69 >> >> Whereas it should give >> >> 70 >> 70 >> >> Subtracting .0000001 from the height also gives >> >> 70 >> 69 >> >> (The +.1 and -.1 arise from a variable determined from a calculation.) >> >> Mac OS 9, RR 2.1.2 >> >> If anyone can confirm this, I will Bugzilla it. Richard Gaskin wrote: >Is it a bug if it's rounding the subtraction to the nearest whole pixel? >Would round(0.00001) give you what you're looking for? > > Richard, You're right. Rounding would work. The problem is that it would be preferable if the engine would treat -.0001 and +.0001 in a consistent way. My original code looked something like this: set the height of grc 1 to the height of grc 1 + someIncrement using "someIncrement" to increase the graphic height. Unfortunately, someIncrement took on some unexpected small, negative numbers. I have since revised the code so that the graphic height is stored in a variable (myGraphicHeight) which is then incremented with someIncrement. The graphic height is then set to myGraphicHeight, thus avoiding the quirk in RR--myGraphicHeight is always large and positive. This same behavior applies to fields as well: set the height of field 1 to the height of field 1 + someIncrement works as expected if someIncrement is +.000001 but decreases the pixel height of the field by 1 pixel if someIncrement is -.000001. As you say, the work-around is to round "someIncrement". Jim From jhurley at infostations.com Tue Jan 13 10:47:15 2004 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 13 Jan 2004 07:47:15 -0800 Subject: Best place for common script In-Reply-To: <20040113045313.D6F1193018D@mail.runrev.com> References: <20040113045313.D6F1193018D@mail.runrev.com> Message-ID: > >Message: 6 >Date: Mon, 12 Jan 2004 19:49:16 -0800 >From: Richard Gaskin >Subject: Re: Best place for common script >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset="US-ASCII" > >Richard Gaskin wrote: >One of my New Year's resolutions is to try to reduce the number of ten-page >posts I make to this list , but this question comes up often and deserves >a thorough treatment so I compromised and posted a new article to my site on >this: > > > >For those of you who attended the plugins session at the Rev seminar this >will serve as refresher notes for some of my introductory material (sockets >tutorial forthcoming). > >-- > Richard Gaskin > Fourth World Media Corporation Richard, You are a RR treasure. The article was a gem. I am probably the only one who is still confused on this matter of Libraries. I have some stacks which I like to have handy for reference use. I currently store them in the plugin folder. Sometimes they are used to provide back scripts and sometimes I call them up for use as the main stack. (For this reason, I convert them to Toplevel stacks. In one case I include: set the style of this stack to "toplevel" in a preopenstack script. There is no option to open plugins at the toplevel.) Now I presume that plugins used in this way are "Library Stracks?" (That's a question.) Might I also interpret the sequence under the "Development" menu in RR as follows: Object Library Image Library Stack Library (aka Plugins?) Jim From klaus at major-k.de Tue Jan 13 10:58:01 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 13 Jan 2004 16:58:01 +0100 Subject: Best place for common script In-Reply-To: References: <20040113045313.D6F1193018D@mail.runrev.com> Message-ID: <43C802D0-45E1-11D8-A8B8-000A27B49A96@major-k.de> Hi Richard, > Richard Gaskin wrote: >> One of my New Year's resolutions is to try to reduce the number of >> ten-page >> posts I make to this list , but this question comes up often and >> deserves >> a thorough treatment so I compromised and posted a new article to my >> site on >> this: >> >> > revolution_message_path.html> >> >> For those of you who attended the plugins session at the Rev seminar >> this >> will serve as refresher notes for some of my introductory material >> (sockets >> tutorial forthcoming). >> >> -- >> Richard Gaskin From the page: ... Changing the Firing Order of Messages ... ... relative to the original object.You can also execute any and the rest is missing :-( Could you please complete this sentence, Richard? Thanks a lot :-) Regards Klaus Major klaus at major-k.de www.major-k.de From psahores at easynet.fr Tue Jan 13 11:06:17 2004 From: psahores at easynet.fr (Pierre Sahores) Date: 13 Jan 2004 17:06:17 +0100 Subject: Linux Engine: Problems on Red Hat server with CGI In-Reply-To: <8FA784BB-45C8-11D8-B610-000393680A94@libero.it> References: <8FA784BB-45C8-11D8-B610-000393680A94@libero.it> Message-ID: <1074009977.5440.79.camel@www.kmax.ici> Le mar 13/01/2004 ? 14:01, Paolo Mazza a ?crit : > I wonder if you solved the problem. I would like to use the Linux > Engine on a Red Hat server but it looks like it is not going to work. > > I installed an old Linux Engine of Revolution 1.1 into my CGI folder > of MAC OS X and it works. > On the contrary I tried to instal the Darwin engine of Revolution on > the CGI folder of MAC OS X ... and I got the 500 Error from Apache. > > Best regards, Paolo Mazza > Did you try the Metacard 2.5 engine ? It works just fine there (Suse 8.2 Pro x86). Best, -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From jacque at hyperactivesw.com Tue Jan 13 11:19:25 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 13 Jan 2004 10:19:25 -0600 Subject: Linux Engine: Problems on Red Hat server with CGI In-Reply-To: <1074009977.5440.79.camel@www.kmax.ici> References: <8FA784BB-45C8-11D8-B610-000393680A94@libero.it> <1074009977.5440.79.camel@www.kmax.ici> Message-ID: <40041A8D.9000300@hyperactivesw.com> Le mar 13/01/2004 ? 14:01, Paolo Mazza a ??crit : > >I wonder if you solved the problem. I would like to use the Linux >Engine on a Red Hat server but it looks like it is not going to work. > >I installed an old Linux Engine of Revolution 1.1 into my CGI folder >of MAC OS X and it works. >On the contrary I tried to instal the Darwin engine of Revolution on >the CGI folder of MAC OS X ... and I got the 500 Error from Apache. The Darwin engine that was online previously was missing a couple of libraries. A new one was uploaded last Thursday (just in time for the seminar) which now works. You can find it at: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at mindlube.com Tue Jan 13 11:29:01 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 09:29:01 -0700 Subject: XML Tutorial In-Reply-To: <5.2.1.1.0.20040113114708.02209870@pop.wanadoo.fr> References: <5.2.1.1.0.20040113114708.02209870@pop.wanadoo.fr> Message-ID: <984671CA-45E5-11D8-80AB-000393C4760A@mindlube.com> On Jan 13, 2004, at 4:09 AM, Graham Samuel wrote: > I am using this to infer what XML is and what it's for - I know, this > was not Alex's intention when writing his post, but in fact it takes > me quite a long way. It was my intent, more or less :-) > However the question I can't tackle intuitively from the sample is > "how would I define and populate my XML tree - or whatever it's called > - faced with the text of 'Macbeth'?", and maybe "How general could > such a parser/populator be? Once constructed - presumably with some > set of rules - could I use it on 'Hamlet'?" I suppose the answer to > the second question has got to be "Yes" provided the range of syntax > and punctuation of the two plays is broadly the same (**exactly** the > same?). Still looking for that type of guidance - tho of course > strictly this is OT to RunRev: for which I crave your indulgence, my > Lords. I found the XML ready-made on the web. Most likely it was written by hand someone typing in the XML markup, or using an XML editor to type it in. If not, if it was actually parsed from some other format into XML, undoubtedly regular expressions were used. Something like repeat for each line tLine of Macbeth if matchText(tLine, "Speaker:(.+)$", tSpeaker) revAddXMLNode(tDocID, tParent, "speaker", tSpeaker) end if -- etc for speech, stagedir, etc, etc. end repeat Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Tue Jan 13 11:38:36 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 09:38:36 -0700 Subject: Linux Engine: Problems on Red Hat server with CGI In-Reply-To: <8FA784BB-45C8-11D8-B610-000393680A94@libero.it> References: <8FA784BB-45C8-11D8-B610-000393680A94@libero.it> Message-ID: On Jan 13, 2004, at 6:01 AM, Paolo Mazza wrote: > I wonder if you solved the problem. I would like to use the Linux > Engine on a Red Hat server but it looks like it is not going to work. > > I installed an old Linux Engine of Revolution 1.1 into my CGI folder > of MAC OS X and it works. > On the contrary I tried to instal the Darwin engine of Revolution on > the CGI folder of MAC OS X ... and I got the 500 Error from Apache. Maybe the engines were mis-named? Linux and OS X have different binary architectures and they shouldn't be working if you swap them around. For any particular engine, to see what libraries it depends on, do this shell command on Linux: ldd rev and on OS X otool -L rev The OS X URL Jaqueline just posted is good, libraries wise because it only depends on libSystem Unfortunately the engine has many library dependencies, like X11, so you should search out an older version of the Rev or metacard engine and do the ldd test on it. If it returns a bunch of stuff like this, then just discard it and search for an older version. ldd Linux libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0012b000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0013a000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00200000) libm.so.6 => /lib/libm.so.6 (0x002b4000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x002d7000) libc.so.6 => /lib/libc.so.6 (0x002df000) libdl.so.2 => /lib/libdl.so.2 (0x00412000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00110000) (unless you like compiling and installing stuff lots of stuff on your Linux box but it's bound to be a hassle) Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From mazzapaolo at libero.it Tue Jan 13 11:01:20 2004 From: mazzapaolo at libero.it (Paolo Mazza) Date: Tue, 13 Jan 2004 17:01:20 +0100 Subject: Determining which menu button was clicked on Mac In-Reply-To: <3B85D7FD-419D-11D8-A6B4-000A956C462A@mangomultimedia.com> Message-ID: I would set script of the menubutton to : on menuPick pWhich put the text of me into TESTO switch pWhich case (line 1 of TESTO) if line 1 of TESTO is "play" then -- do something put "stop" into line 1 of TESTO else put "play" into line 1 of TESTO -- do something end if set the text of me to TESTO break case (line 2 of TESTO) beep 1 break end switch end menuPick However it would be very useful to have a "MenuPickNumber" returned by Revolution any time a menu item (or a sub-menu item) has been clicked, So, we could easily change the text of the button and let the script unchanged (for example when we have a menu issued in different languages). Best regards Paolo Mazza Gioved?, 8 Gen 2004, alle 06:40 Europe/Rome, Trevor DeVore ha scritto: > On Jan 7, 2004, at 6:26 PM, Bj?rnke von Gierke wrote: > >> I had a similar problem like you, where I wanted to check/unckeck a >> menu item before the menu is shown. And indeed I was unable to do >> this anywhere else then the menubar group's script on OS X. I worked >> around this by using a "if the target = "view" then" script. It might >> be time for a feature request? > > Where would you put the 'if the target = "view" then' script? I tried > checking 'the target' in the menubar group script but it returned the > name of the menubar group rather than the name of the menu that was > selected. > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From squance at elkvalley.net Tue Jan 13 11:47:01 2004 From: squance at elkvalley.net (David Squance) Date: Tue, 13 Jan 2004 09:47:01 -0700 Subject: Field redistribution line by line In-Reply-To: <5D925FBA-4552-11D8-A135-000A27B49A96@major-k.de> References: Message-ID: Thanks, Klaus >Try this (no need to do "do" ;-) I seem to be doing quite a bit of do do :) > put value(tname & x) into fld (fname & x) This works well for the second half of the process, however, I still seem to need the "do" syntax for getting the line into the variable in the first half. It is working, so I don't need to change it, but it is rather cumbersome. In other words, if I reverse the above to: put fld (fname & x) into value(tname & x) it produces an error, with or without 'value'. Dave From alex at mindlube.com Tue Jan 13 11:54:41 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 09:54:41 -0700 Subject: text encoding gotcha? In-Reply-To: References: Message-ID: <2E55AE48-45E9-11D8-80AB-000393C4760A@mindlube.com> On Jan 12, 2004, at 7:01 PM, Scott Rossi wrote: > > Sounds like you have a font applied to your fields (or stack) that > isn't > present on the system. Usually you see this with non-Roman fonts. > Check > the textFont of your fields, card and stack just to be sure. Thanks- unfortunately the textFont of everything is either Arial, or empty. Still trying various things. This one really hash caught me off-guard. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From klaus at major-k.de Tue Jan 13 12:03:47 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 13 Jan 2004 18:03:47 +0100 Subject: Field redistribution line by line In-Reply-To: References: Message-ID: <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> Hi David, > Thanks, Klaus > >> Try this (no need to do "do" ;-) > I seem to be doing quite a bit of do do :) Take care, the Dodo-bird has become extinct several hundred years ago ;-) >> put value(tname & x) into fld (fname & x) > This works well for the second half of the process, > however, I still seem to need the "do" syntax for > getting the line into the variable in the first half. It > is working, so I don't need to change it, but it is > rather cumbersome. In other words, if I reverse the > above to: > put fld (fname & x) into value(tname & x) > it produces an error, with or without 'value'. That's true, i still have not found the other way without "do"... Any hints form the listers? > Dave Regards Klaus Major klaus at major-k.de www.major-k.de From ambassador at fourthworld.com Tue Jan 13 12:20:53 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 13 Jan 2004 09:20:53 -0800 Subject: Best place for common script In-Reply-To: <43C802D0-45E1-11D8-A8B8-000A27B49A96@major-k.de> Message-ID: Klaus Major wrote: > Hi Richard, > >> Richard Gaskin wrote: >>> One of my New Year's resolutions is to try to reduce the number of >>> ten-page >>> posts I make to this list , but this question comes up often and >>> deserves >>> a thorough treatment so I compromised and posted a new article to my >>> site on >>> this: >>> >>> >> revolution_message_path.html> >>> >>> For those of you who attended the plugins session at the Rev seminar >>> this >>> will serve as refresher notes for some of my introductory material >>> (sockets >>> tutorial forthcoming). >>> >>> -- >>> Richard Gaskin > > From the page: > > > ... > Changing the Firing Order of Messages > ... > ... relative to the original object.You can also execute any > > > > and the rest is missing :-( > > Could you please complete this sentence, Richard? > > Thanks a lot :-) Good catch. A GoLive anomaly: that fragment was meant to be deleted and didn't show in GoLive but is present on the page. It's been removed. Thanks for the report! -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at mindlube.com Tue Jan 13 12:33:33 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 10:33:33 -0700 Subject: text encoding gotcha? In-Reply-To: References: Message-ID: <9C5CA96E-45EE-11D8-80AB-000393C4760A@mindlube.com> This appears to be related to the other bug I posted about recently: trouble after copy-pasting from Excel. Why the heck is Revolution accepting wide and or control characters when I paste into the IDE? This is bad. I am supposed to deliver an app today (yesterday actually) and instead I have to manually go through and reset the content of many, many fields. Here is some debugging from the message box to show how bizarre this is. > put fld 4 The facility has typical visitor facility functions, but will also be a hub for multiple modes of transportation requiring bus, train, and/or boat facilities. An example of this type of facility is the Zion National Park Visitor Center. > put the length of fld 4 475 > put safeString(fld 4) The facility has typical visitor facility functions, but will also be a hub for multiple modes of transportation requiring bus, train, and/or boat facilities. An example of this type of facility is the Zion National Park Visitor Center. -- It appears to be the same text, right? Wrong! > put the length of safeString(fld 4) 238 That it is 1/2 the length corresponds to what I am seeing on Win32- every other character is a box- "unknown" char. function safeString pStr -- 011 octal = tab -- 012 octal = newline (in transcript "return", "linefeed") -- 040 - 167 = space to "~" -- ignore 177+ assume they won't cause problems return replaceText(pStr, "([\000-\010]|[\013-\037])+", empty) end safeString Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Tue Jan 13 12:40:38 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 10:40:38 -0700 Subject: text encoding gotcha? In-Reply-To: <9C5CA96E-45EE-11D8-80AB-000393C4760A@mindlube.com> References: <9C5CA96E-45EE-11D8-80AB-000393C4760A@mindlube.com> Message-ID: <9984C5DA-45EF-11D8-80AB-000393C4760A@mindlube.com> On Jan 13, 2004, at 10:33 AM, Alex Rice wrote: > > > put fld 4 > T h e f a c i l i t y h a s t y p i c a l v i s i t o r f a c > i l i t y f u n c t i o n s , Wow- on Mac OS in both Mail.app and Revolution.app that text appeared to be spaced normally. After going through email, it appears that it was padded with a space every other char. What is it, UTF8? Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Tue Jan 13 12:47:55 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 10:47:55 -0700 Subject: text encoding gotcha? In-Reply-To: <9984C5DA-45EF-11D8-80AB-000393C4760A@mindlube.com> References: <9C5CA96E-45EE-11D8-80AB-000393C4760A@mindlube.com> <9984C5DA-45EF-11D8-80AB-000393C4760A@mindlube.com> Message-ID: <9E1EB7C6-45F0-11D8-80AB-000393C4760A@mindlube.com> On Jan 13, 2004, at 10:40 AM, Alex Rice wrote: > What is it, UTF8? No, every other char is charToNum() = 0, NULL I guess. Weird. I'm going to bugzilla this. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From Mark.Powell at veritas.com Tue Jan 13 12:48:32 2004 From: Mark.Powell at veritas.com (Mark Powell) Date: Tue, 13 Jan 2004 09:48:32 -0800 Subject: text encoding gotcha? Message-ID: Suddenly, I am seeing something similar in my IDE (running on Windows). A list is showing either the box you describe or a bold pipe at the end of each line. A chartonum query identifies this character as 13, and when I replace numtochar(13) with empty, the artifact goes away. This 'fix' is making me nervous, because it seems to be the equivalent of saying "strip the carriage returns", which it is not doing. I am seeing this for the first time today. Maybe we have the same flu. Mark -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] Sent: Monday, January 12, 2004 5:25 PM To: How to use Revolution Subject: text encoding gotcha? Suddenly when I do a Win32 standalone build, when I run it on windows, some fields are all garbled looking. Every other character is a box- signifying maybe this is using a wide character encoding. This is bizarre- I'm not using Unicode at all. What the heck could be going on? Is it possible to disable the automatic MacToISO encoding for fields which happens when you launch a Mac-built standalone on Windows? Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From alex at mindlube.com Tue Jan 13 12:55:35 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 10:55:35 -0700 Subject: text encoding gotcha? In-Reply-To: References: Message-ID: On Jan 13, 2004, at 10:48 AM, Mark Powell wrote: > I am seeing this for the first time today. Maybe we have the same flu. Any chance you copy-pasted the contents of the field, from another app? It seems in my case Revolution is not checking the contents of the clipboard carefully enough, or is misinterpreting the clipboard encoding. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From Mark.Powell at veritas.com Tue Jan 13 13:06:23 2004 From: Mark.Powell at veritas.com (Mark Powell) Date: Tue, 13 Jan 2004 10:06:23 -0800 Subject: text encoding gotcha? Message-ID: The scripts do save to, and extract from, a standalone text file. No clipboard involved is involved however. -----Original Message----- From: Alex Rice [mailto:alex at mindlube.com] Sent: Tuesday, January 13, 2004 10:56 AM To: How to use Revolution Subject: Re: text encoding gotcha? On Jan 13, 2004, at 10:48 AM, Mark Powell wrote: > I am seeing this for the first time today. Maybe we have the same flu. Any chance you copy-pasted the contents of the field, from another app? It seems in my case Revolution is not checking the contents of the clipboard carefully enough, or is misinterpreting the clipboard encoding. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From bfr at nwlink.com Tue Jan 13 13:16:17 2004 From: bfr at nwlink.com (Bruce Robertson) Date: Tue, 13 Jan 2004 10:16:17 -0800 Subject: Interfaces: PC and MAC and the screenGamma property... In-Reply-To: <812182D2-3E6D-11D8-83AB-000A95F078B6@chipp.com> Message-ID: > Yep, > > but how to get two buttons (and a scroll wheel) on my new i-Book? Cash, check or charge all seem to work. From frank at backtalk.com Tue Jan 13 14:09:57 2004 From: frank at backtalk.com (Frank Leahy) Date: Tue, 13 Jan 2004 19:09:57 +0000 Subject: Field redistribution line by line In-Reply-To: <20040113170005.4A2889301FA@mail.runrev.com> Message-ID: <13A63AF0-45FC-11D8-9D1A-000A9580FCCE@backtalk.com> try this: put fname & x into theFieldName put tname & x into theValueName put field theFieldName into value(theValueName) On Tuesday, January 13, 2004, at 05:00 PM, use-revolution-request at lists.runrev.com wrote: > This works well for the second half of the process, > however, I still seem to need the "do" syntax for > getting the line into the variable in the first half. It > is working, so I don't need to change it, but it is > rather cumbersome. In other words, if I reverse the > above to: > put fld (fname & x) into value(tname & x) > it produces an error, with or without 'value'. From frank at backtalk.com Tue Jan 13 14:18:47 2004 From: frank at backtalk.com (Frank Leahy) Date: Tue, 13 Jan 2004 19:18:47 +0000 Subject: Determining which menu button was clicked on Mac In-Reply-To: <20040113170005.4A2889301FA@mail.runrev.com> Message-ID: <4F8A632C-45FD-11D8-9D1A-000A9580FCCE@backtalk.com> Two comments -- see below: On Tuesday, January 13, 2004, at 05:00 PM, use-revolution-request at lists.runrev.com wrote: > I would set script of the menubutton to : > > on menuPick pWhich > put the text of me into TESTO > > switch pWhich > case (line 1 of TESTO) > > if line 1 of TESTO is "play" then > -- do something > put "stop" into line 1 of TESTO > else > put "play" into line 1 of TESTO > -- do something > end if > set the text of me to TESTO > break > > case (line 2 of TESTO) > beep 1 > break > end switch > > end menuPick > > However it would be very useful to have a "MenuPickNumber" returned > by Revolution any time a menu item (or a sub-menu item) has been > clicked, > So, we could easily change the text of the button and let the script > unchanged (for example when we have a menu issued in different > languages). > > Best regards > > Paolo Mazza > There's no reason to test for the current menu item values -- RR will return the correct menu item name, depending on what was in it when the user chose it. If you had it set to "Stop" then simply call your stop function, if you had it set to "Play" then simply call your play function. Make sense? > > > Gioved?, 8 Gen 2004, alle 06:40 Europe/Rome, Trevor DeVore ha scritto: > >> On Jan 7, 2004, at 6:26 PM, Bj?rnke von Gierke wrote: >> >>> I had a similar problem like you, where I wanted to check/unckeck a >>> menu item before the menu is shown. And indeed I was unable to do >>> this anywhere else then the menubar group's script on OS X. I worked >>> around this by using a "if the target = "view" then" script. It might >>> be time for a feature request? >> >> Where would you put the 'if the target = "view" then' script? I tried >> checking 'the target' in the menubar group script but it returned the >> name of the menubar group rather than the name of the menu that was >> selected. >> In terms of when you have to set the menu items -- a very long time ago I wrote the Menu Manager for the Mac II, and unless something drastic has changed under OSX, there's no way to change menu item names "on the fly", i.e. while a menu is down (not without writing your own MenuDefProc). That means that you have to set the menu items before the menu goes down. The right place to do this is in the menu's (or menubar's) mouseDown handler. Make sure to "pass mouseDown" after you've set your menu items. -- Frank From graham.samuel at wanadoo.fr Tue Jan 13 13:34:02 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Tue, 13 Jan 2004 19:34:02 +0100 Subject: Group Edit anomaly Message-ID: <5.2.1.1.0.20040113192547.021f8210@pop.wanadoo.fr> I've got a card which contains various graphics, images and groups. Two of the images are used in a simple animation of sliding doors (one left, one right): I simply have a loop which reduces the width of each door progressively while keeping them anchored to the door frame, with a small delay between iterations. Works fine, but I have the following problem. I need to open a group on the card for editing (via script - although the behaviour I'm describing happens in the IDE too). If my 'doors' are in the 'open' position (i.e. they have had their widths reduced to about one tenth of the original width), the act of opening the (unrelated) group for editing and closing it again has an effect on the door images! They return to their original width and are spaced further apart than they were. I cannot imagine what's doing this, but I have got it down to a completely repeatable sequence. For a start, where can the memory of the original door width be kept? Of course it can be my error, but I can't see what sort of error it could be. I'm not running any script in the group or any of its components, nor in the door images. I'm looking for a workaround, but meanwhile can anyone suggest what's happening? TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From bill at igame3d.com Tue Jan 13 15:14:58 2004 From: bill at igame3d.com (WIlliam Griffin) Date: Tue, 13 Jan 2004 15:14:58 -0500 Subject: GameDev in Rev. Seuck explained + suggestion In-Reply-To: <20040113191923.4C6C893021C@mail.runrev.com> Message-ID: <2958B57E-4605-11D8-8F5D-0030657D0A8E@igame3d.com> First up i'm trying to properly focus the next Inkubator project at www.idevgames.com so i deconstructed an ancient commercial game making tool called the Shoot 'Em up Construction KIt Here's the stack that goes with that. http://www.igame3d.com/seuck/SEUCKexplainedRev.zip The Inkubator project is intended to teach game dev newbies how to get started. Their last effort went the "read the source code" route, which was the wrong direction, as you either know how to program and could do all that stuff on your own, or you don't know source from a hole in the wall and it just discourages you. They will most likely go with Cocoa /obj-c again. So I'd like to suggest to the rev community that we set up a place that we discuss game dev topics in relationship to Revolution as a continous resource instead of the random weeding of this list. If I get enough emails I can suggest to iDevGames to set us up with a subsection for this. The fact that Runtime put up a top of the product line Revolution license for uDevGame 2003 should also help sway Carlos. I could host at my forums, but I can't seem to get auto log-in working, a bit annoying. Or perhaps the rev lists knows a better locale for us to set up the game dev discussion head quarters. Your input is appreciated. Mr Bill bill at igame3d.com http://www.igame3d.com From ambassador at fourthworld.com Tue Jan 13 15:37:52 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 13 Jan 2004 12:37:52 -0800 Subject: 'Message Path' updated Message-ID: Many thanks to those who've cited typos and other issues in the "Extending the Message Path" article. A revised version is now posted: One of the more significant changes is to the diagram regarding groups and backgrounds. While I rarely put scripts in shared groups ("backgrounds" in traditional parlance), testing the behavior reveals a fundamental change to the message path, as noted in the revised version of the article. Seems this old dog is still learning new tricks... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pixelbird at interisland.net Tue Jan 13 15:43:10 2004 From: pixelbird at interisland.net (Ken Norris) Date: Tue, 13 Jan 2004 12:43:10 -0800 Subject: Seamless Audio Loops in Rev In-Reply-To: <20040113091239.B31389301A4@mail.runrev.com> Message-ID: on 1/13/04 1:12 AM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > Date: Tue, 13 Jan 2004 01:10:41 -0800 > From: Scott Rossi > Subject: Seamless Audio Loops in Rev > > After lamenting the absence of any reliable way to seamlessly loop audio in > Rev, it occurred to me that Flash can loop audio seamlessly and Flash movies > can be played from within QuickTime. ----------- Well, of course you can loop a sound. The "seamless" part has to do with editing the sound properly. I have a number of sounds that loop "seamlessly", althought they didn't at first. I had to edit the start and end points of the sound to get it to loop with no apparent break. This is no different than anything else with looping sound AFAIK. If you are wanting a Rev self-edit feature that *automatically morphs* the start and end points of a clip so it loops seamlessly...well, it'd be a great thing, but I don't know if it'll get much priority. I'd think it's doable, though. Ken N. From mazzapaolo at libero.it Tue Jan 13 16:07:08 2004 From: mazzapaolo at libero.it (Paolo Mazza) Date: Tue, 13 Jan 2004 22:07:08 +0100 Subject: Linux Engine: Problems on Red Hat server with CGI In-Reply-To: Message-ID: <72AF9FD5-460C-11D8-88B8-000393680A94@libero.it> What to you mean by : > on OS X > > otool -L rev > I could not find an "otool" command. On the contrary the ldd command in linux works. Ciao Paolo Mazza From mazzapaolo at libero.it Tue Jan 13 16:04:26 2004 From: mazzapaolo at libero.it (Paolo Mazza) Date: Tue, 13 Jan 2004 22:04:26 +0100 Subject: Linux Engine: Problems on Red Hat server with CGI In-Reply-To: <40041A8D.9000300@hyperactivesw.com> Message-ID: <11FA3A61-460C-11D8-88B8-000393680A94@libero.it> Thank you ... This engine works on MAC OS X . It is great. However I was not able to have the Linux engine of Revolution to work on my provider's Linux server. As Alex Rice wrote: Unfortunately the engine has many library dependencies, like X11, so you should search out an older version of the Rev or metacard engine and do the ldd test on it. If it returns a bunch of stuff like this, then just discard it and search for an older version. ldd Linux libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0012b000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0013a000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00200000) libm.so.6 => /lib/libm.so.6 (0x002b4000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x002d7000) libc.so.6 => /lib/libc.so.6 (0x002df000) libdl.so.2 => /lib/libdl.so.2 (0x00412000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00110000) It is a pity we can not use the engine on the Linux servers. Ciao Paolo From squance at elkvalley.net Tue Jan 13 16:14:18 2004 From: squance at elkvalley.net (David Squance) Date: Tue, 13 Jan 2004 14:14:18 -0700 Subject: Field redistribution line by line In-Reply-To: <13A63AF0-45FC-11D8-9D1A-000A9580FCCE@backtalk.com> References: <20040113170005.4A2889301FA@mail.runrev.com> Message-ID: Thanks. That looks a good deal cleaner and clearer than the do do. Dave >try this: > >put fname & x into theFieldName >put tname & x into theValueName >put field theFieldName into value(theValueName) > >On Tuesday, January 13, 2004, at 05:00 PM, >use-revolution-request at lists.runrev.com wrote: > >> This works well for the second half of the process, >> however, I still seem to need the "do" syntax for >> getting the line into the variable in the first half. It >> is working, so I don't need to change it, but it is >> rather cumbersome. In other words, if I reverse the >> above to: >> put fld (fname & x) into value(tname & x) >> it produces an error, with or without 'value'. > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Tue Jan 13 16:26:39 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 13 Jan 2004 15:26:39 -0600 Subject: Group Edit anomaly In-Reply-To: <5.2.1.1.0.20040113192547.021f8210@pop.wanadoo.fr> References: <5.2.1.1.0.20040113192547.021f8210@pop.wanadoo.fr> Message-ID: <4004628F.4030809@hyperactivesw.com> On 1/13/04 12:34 PM, Graham Samuel wrote: > I've got a card which contains various graphics, images and groups. Two > of the images are used in a simple animation of sliding doors (one left, > one right): I simply have a loop which reduces the width of each door > progressively while keeping them anchored to the door frame, with a > small delay between iterations. Works fine, but I have the following > problem. > > I need to open a group on the card for editing (via script - although > the behaviour I'm describing happens in the IDE too). If my 'doors' are > in the 'open' position (i.e. they have had their widths reduced to about > one tenth of the original width), the act of opening the (unrelated) > group for editing and closing it again has an effect on the door images! > They return to their original width and are spaced further apart than > they were. I cannot imagine what's doing this, but I have got it down to > a completely repeatable sequence. For a start, where can the memory of > the original door width be kept? Of course it can be my error, but I > can't see what sort of error it could be. I'm not running any script in > the group or any of its components, nor in the door images. > > I'm looking for a workaround, but meanwhile can anyone suggest what's > happening? Unlocked images will revert to their native dimensions whenever the card opens or their enclosing group is edited. Set the lockloc of the images to true. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at mindlube.com Tue Jan 13 16:32:31 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 14:32:31 -0700 Subject: Linux Engine: Problems on Red Hat server with CGI In-Reply-To: <72AF9FD5-460C-11D8-88B8-000393680A94@libero.it> References: <72AF9FD5-460C-11D8-88B8-000393680A94@libero.it> Message-ID: On Jan 13, 2004, at 2:07 PM, Paolo Mazza wrote: > I could not find an "otool" command. > > On the contrary the ldd command in linux works. The "otool -L" command is for OS X only. It's the equivalent command to doing "ldd" on Linux. I'm pretty sure otool is installed by default, but it's possible it is only installed with the DevTools CD. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jacque at hyperactivesw.com Tue Jan 13 16:37:38 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 13 Jan 2004 15:37:38 -0600 Subject: OT: Regex Message-ID: <40046522.50805@hyperactivesw.com> I saw this in someone's tagline months ago in a non-computer newsgroup. It has been on my desk blotter ever since, and every once in a while I try to figure it out. Anyone have a clue? m|n>k The beginning looks like "moron" to me, or maybe "more and". But who knows, it could be something else entirely. It's driving me nuts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvlahos at mac.com Tue Jan 13 16:41:21 2004 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 13 Jan 2004 13:41:21 -0800 Subject: Flow chart app written in Rev Message-ID: <3A9B184E-4611-11D8-9E98-000393C44AE0@mac.com> I seem to recall that someone has or is working on a commercial Flow Chart drawing software in Rev. Is this true? I can't find it. Bill Vlahos From dsc at swcp.com Tue Jan 13 16:59:29 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 13 Jan 2004 14:59:29 -0700 Subject: OT: Regex In-Reply-To: <40046522.50805@hyperactivesw.com> Message-ID: On Tuesday, January 13, 2004, at 02:37 PM, J. Landman Gay wrote: > m|n>k mourn after Kay? imbarn GTK? I better get back to work. Dar From ambassador at fourthworld.com Tue Jan 13 17:06:40 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 13 Jan 2004 14:06:40 -0800 Subject: Best place for common script In-Reply-To: Message-ID: Jim Hurley wrote: >> Richard Gaskin wrote: >> >> >> For those of you who attended the plugins session at the Rev seminar this >> will serve as refresher notes for some of my introductory material ... > I am probably the only one who is still confused on this matter of Libraries. You haven't seen my In Box. Hence, this morning's revisions. :) > I have some stacks which I like to have handy for reference use. I > currently store them in the plugin folder. Sometimes they are used to > provide back scripts and sometimes I call them up for use as the main > stack. (For this reason, I convert them to Toplevel stacks. In one > case I include: > > set the style of this stack to "toplevel" > > in a preopenstack script. There is no option to open plugins at the toplevel.) > > Now I presume that plugins used in this way are "Library Stracks?" > (That's a question.) > > Might I also interpret the sequence under the "Development" menu in > RR as follows: > > Object Library > Image Library > Stack Library (aka Plugins?) The term "Library" as used in the IDE and as used in the engine refer to different things. Taking a cue from the "libraryStack" message, when discussing Transcript "library" refers to the engine's ability to extend the message path with "start using". Transcript handler collections like libURL, libIPC, and libSMTP use the term "library" in this context. In the IDE, "Library" refers to collections of prefabricated ready-to-use objects. The Library tools in the Rev IDE are not inserted into the message path. Is this dual-use of the term confusing? Perhaps, but there's too much history behind the "libraryStack" message to consider changing that, and I'm hard-pressed to think of a better term for the IDE's collections of prefab components. Suggestions? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dcragg at lacscentre.co.uk Tue Jan 13 17:15:10 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 13 Jan 2004 22:15:10 +0000 Subject: Field redistribution line by line In-Reply-To: <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> References: <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> Message-ID: At 6:03 pm +0100 13/1/04, Klaus Major wrote: >Any hints form the listers? Sorry, coming late to this. Not sure I follow the original question, but couldn't an array avoid the need for "do" or "value". At 3:06 pm -0700 12/1/04, David Squance wrote: >I'm having trouble with a script which takes individual lines from a field >and places them in various fields on another card (and stack). The basic >structure involves a repeat loop which works through each line of the >source field, assigning it a variable name, and then is supposed to place >each of those into separate fields in the destination card. What's the >proper syntax for this? I can't make the > do "put tname" & x && "into fld fname" & x >approach work. Assuming the "assigned variable name" matches the ultimate destination field name. In each loop, do something like: put into myArray[calculatedKeyName] Then later: put myArray[calculatedKeyname] into field calculatedKeyname Cheers Dave From paul at runrev.com Tue Jan 13 17:25:53 2004 From: paul at runrev.com (Paul Foraker) Date: Tue, 13 Jan 2004 14:25:53 -0800 Subject: OT: Regex In-Reply-To: <40046522.50805@hyperactivesw.com> Message-ID: <72D4550F-4617-11D8-995B-003065C666AA@runrev.com> According to my non-resident genius cousin (computer science student at UCSB), -- BEGIN IM TRANSCRIPT -- me: do you know what m|n>k means? him: sure, in a programming context, it means "if m bitwise or with n is greater than k" me: thank you! him: sure sure -------------- next part -------------- me: and... what's it mean? -------------- next part -------------- him: hehehe me: so, bitwise, meaning counted as bits so, the bits it takes to represent m or n is more than it takes to represent k ? him: so, (m | n) is almost like an add... let's see... so if any bit in either variable is a 1, then in the result that bit is also a 1 so if m were, say, 100 (in binary), and n were 010, the result of m | n would be 110 me: (lying through my teeth) Ok, thanks, I get the idea. him: sure, sure --- END IM TRANSCRIPT --- On Tuesday, Jan 13, 2004, at 13:37 US/Pacific, J. Landman Gay wrote: > I saw this in someone's tagline months ago in a non-computer > newsgroup. It has been on my desk blotter ever since, and every once > in a while I try to figure it out. Anyone have a clue? > > m|n>k > > The beginning looks like "moron" to me, or maybe "more and". But who > knows, it could be something else entirely. It's driving me nuts. From shaosean at unitz.ca Tue Jan 13 17:48:17 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Tue, 13 Jan 2004 17:48:17 -0500 Subject: [ANN] libEmail v1.00 and libSmtp v2.00 In-Reply-To: <72EE9C93-45AB-11D8-913C-000393AEC28C@unimelb.edu.au> References: <20040112101653.5131493010F@mail.runrev.com> <72EE9C93-45AB-11D8-913C-000393AEC28C@unimelb.edu.au> Message-ID: > Thanks Shao - your efforts are much appreciated. you're welcome ^_^ > with the help docs for libSmtp - the last two menu items on the Help > stack are disabled (at least on Mac OSX). Adding an escape -- \ -- > before the left bracket character on each does the trick. thanks.. i just removed the "()" from the entries (both in libSmtp and libEmail).. i've updated the stacks online, but other than that, there's no changes (so no real need to re-download) -Sean From capellan2000 at yahoo.com Tue Jan 13 17:46:26 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Tue, 13 Jan 2004 14:46:26 -0800 (PST) Subject: iMovie vs Final Cut Pro-- and Final Cut Express In-Reply-To: <20040113015429.DD83B93017C@mail.runrev.com> Message-ID: <20040113224626.65578.qmail@web40508.mail.yahoo.com> on Mon, 12 Jan 2004 16:50:43 -0800 (PST) erik hansen wrote: >can we combine video and animation >a la Roger Rabbit, scripted in Revolution >and interactive at all times? Look at the site: www.livingactors.com These animated interactive characters use openGL to render the figures. Surely, you could find a way to communicate your application with their program. >the Mac world seminar showed the human >side of Revolution: there are only so many >people and a multitude of directions to >profitably follow. We need more programmers able to translate their computer experience to the terms used by MC/RR: handlers, commands, functions and externals. Ah, of course, it helps a lot if they are excellent writers of tutorials and help files. And keep a website with their software. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From doug at webcrossing.com Tue Jan 13 17:46:35 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 14 Jan 2004 07:46:35 +0900 Subject: simple modal questions In-Reply-To: <74036FDA-45DE-11D8-AEF0-003065CC999E@pi.be> Message-ID: On 1/14/04 12:37 AM, "Wouter" wrote: > > On 13 Jan 2004, at 10:12, use-revolution-request at lists.runrev.com wrote: > >> Message: 10 >> Date: Tue, 13 Jan 2004 08:32:58 +0100 >> From: Yves COPPE >> Subject: Re: simple modal questions >> To: How to use Revolution >> Message-ID: >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> >> Le 13 janv. 04, ? 07:50, Dar Scott a ?crit : >> >>> >>> On Monday, January 12, 2004, at 07:58 PM, Doug Lerner wrote: >>> >>>> (2) How do you make a text field into a "password" field (asterisked >>>> out)? >>> >>> >> >> >> here is a sample : >> >> suppose you have a fld named "pass" >> >> here is the script of the fld : >> >> local thisPassword >> on returninfield >> get thisPassword >> if it is then >> ##do your stuff >> else >> answer "Tentative ill?gale !" >> close this stack >> end if >> end returninfield >> >> on enterinfield >> returninfield >> end enterinfield >> >> on keydown whichKey >> put whichKey after thisPassword >> put "*" after field "pass" >> end keyDown >> >> on backspaceKey >> put empty into field "pass" >> put "" into thisPassword >> end backspaceKey >> >> on deleteKey >> put empty into field "pass" >> put "" into thisPassword >> end deleteKey >> >> >> Hope this helps. >> >> >> Greetings. >> >> Yves COPPE >> yvescoppe at skynet.be >> >> > > > > What about the : > < ask password clear > command? > > Try this in a button: > > on mouseUp > ask password clear "Enter your password" > put it > end mouseUp > > Greetings, > But that requires you to get the password in a separate dialog, right? doug From mwieder at ahsoftware.net Tue Jan 13 17:46:59 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 13 Jan 2004 14:46:59 -0800 Subject: OT: GarageBand again Message-ID: <83183975042.20040113144659@ahsoftware.net> hi- I finally found out how to transpose sections of looped samples in GarageBand. According to "iLife '04 The Missing Manual" if you click the triangle to the right of the Region panel you reveal the Advanced panel. That's where the Transpose slider is hiding. Note, though, that only the green (software instruments) and blue (digital samples) tracks can be transposed - live recording tracks (red tracks) stay as they are. -- -Mark mwieder at ahsoftware.net From mpetrides at earthlink.net Tue Jan 13 17:54:17 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Tue, 13 Jan 2004 17:54:17 -0500 Subject: OT: GarageBand again In-Reply-To: <83183975042.20040113144659@ahsoftware.net> References: <83183975042.20040113144659@ahsoftware.net> Message-ID: <6AA94CFC-461B-11D8-8F31-000A959D005E@earthlink.net> Mark Where'd you find iLife '04 The Missing Manual? I haven't been able to find any books on iLife '04 yet--not even online. Marian On Jan 13, 2004, at 5:46 PM, Mark Wieder wrote: > hi- > > I finally found out how to transpose sections of looped samples in > GarageBand. According to "iLife '04 The Missing Manual" if you click > the triangle to the right of the Region panel you reveal the Advanced > panel. That's where the Transpose slider is hiding. Note, though, that > only the green (software instruments) and blue (digital samples) > tracks can be transposed - live recording tracks (red tracks) stay as > they are. > > -- > -Mark > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From capellan2000 at yahoo.com Tue Jan 13 18:16:05 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Tue, 13 Jan 2004 15:16:05 -0800 (PST) Subject: RevConference - Client Server vs Stateless In-Reply-To: <20040113015429.DD83B93017C@mail.runrev.com> Message-ID: <20040113231605.93741.qmail@web40501.mail.yahoo.com> on 13 Jan 2004 01:13:43 +0100 Pierre Sahores wrote: >HyperChris at aol.com wrote: > In Jerry Daniels presentation on thin clients he >stated a strong preference against using the >client-server model, which I took to be Rev >talking to the database directly, in favor of >what he called a stateless model in which >rev made http calls to the Apache/MySQL/PHP setup. Http calls to Apache/MySQL/PHP setup... I need to learn more about this topic. I'll like to create an interface within MC/RR to the services of yahoo: mail, briefcase, groups and geocities websites. Could you point me to the knowledge that I need to learn so I can try to make this interface? Probably, Yahoo uses some kind of database too, so from their html forms pages it could be possible to learn something. Right? Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From graham.samuel at wanadoo.fr Tue Jan 13 15:21:21 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Tue, 13 Jan 2004 21:21:21 +0100 Subject: [OT] Re: XML Tutorial Message-ID: <5.2.1.1.0.20040113210931.00ca97d8@pop.wanadoo.fr> On Tue, 13 Jan 2004 09:29:01 -0700,Alex Rice wrote: >On Jan 13, 2004, at 4:09 AM, Graham Samuel wrote: > > > I am using this to infer what XML is and what it's for - I know, this > > was not Alex's intention when writing his post, but in fact it takes > > me quite a long way. > >It was my intent, more or less :-) > > > However the question I can't tackle intuitively from the sample is > > "how would I define and populate my XML tree - or whatever it's called > > - faced with the text of 'Macbeth'?", and maybe "How general could > > such a parser/populator be? Once constructed - presumably with some > > set of rules - could I use it on 'Hamlet'?" I suppose the answer to > > the second question has got to be "Yes" provided the range of syntax > > and punctuation of the two plays is broadly the same (**exactly** the > > same?). Still looking for that type of guidance - tho of course > > strictly this is OT to RunRev: for which I crave your indulgence, my > > Lords. > >I found the XML ready-made on the web. Most likely it was written by >hand someone typing in the XML markup, or using an XML editor to type >it in. > >If not, if it was actually parsed from some other format into XML, >undoubtedly regular expressions were used. Something like > >repeat for each line tLine of Macbeth > if matchText(tLine, "Speaker:(.+)$", tSpeaker) > revAddXMLNode(tDocID, tParent, "speaker", tSpeaker) > end if > -- etc for speech, stagedir, etc, etc. >end repeat Sorry, this really has got OT now, so I'll shut up after this, but I'm still looking to make sense of a phrase like "typing in the XML markup". I'm feeling my way to the idea that XML is a bit like HTML (or even SGML if I knew what that was), which allows you to represent a structured text (or maybe something other than a text) using a restricted character set via a system of tags. Maybe the trick with XML is that you have meta-tags, as with Humpty Dumpty - " 'When I use a word', Humpty Dumpty said in a rather scornful tone, 'it means what I choose it to mean - neither more nor less'. " If this is the case, I see that I can invent a structure for representing a Shakespeare play, but of course I can only **use** a populated structure of this kind if I understand the tags, so somehow the 'meaning' must be contained within the text. Muddling. I will search the Internet some more, next time I have a moment. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From wouter.abraham at pi.be Tue Jan 13 18:21:43 2004 From: wouter.abraham at pi.be (Wouter) Date: Wed, 14 Jan 2004 00:21:43 +0100 Subject: the ask password - bug? revisited Message-ID: <3F93E16A-461F-11D8-AEF0-003065CC999E@pi.be> > Re: ask password - bug? > ? From: Robert Eppich > ? Subject: Re: ask password - bug? > ? Date: Mon, 08 Dec 2003 14:56:06 -0800 > Hi Chris, > > I can verify the characters not being deleted, it seems to simply put > the cursor back a character. Mac OS X 10.2 & 10.3 using Rev 2.1.2 is > what I have seen it on. Workaround is to not use the delete key in the > dialog, select all text and type gets around the problem. Perhaps this > is a bug? > > > Robert Eppich > epsi computer systems, inc. > > > > On Dec 8, 2003, at 1:27 PM, [EMAIL PROTECTED] wrote: > > > Just use the > Message Box and enter: > > ask password clear "enter password:" > > Try typing something, then hitting backspace a couple times, then type > something else. The characters you deleted get inserted after the > cursor. > This only happens when you use the "clear" option from what I can tell. > A bit late, but due to the answers on " Re: simple modal questions" which were workarounds for this bug, the following can be useful to those who don't want to wait for the next revolution update. Edit the script of the "ask dialog" stack and change: on backspaceKey put the fieldmode of me if the fieldmode of me is "password" then deleteone else pass backSpaceKey end backspaceKey to on backspaceKey if the fieldmode of me is "password" or the fieldmode of me is "clear" then deleteone else pass backspaceKey end backspaceKey and save. Don't be afraid to do the change, as this is the original code from metacard, After this everything is working as it should and did before. Greetings, WA From alex at mindlube.com Tue Jan 13 18:31:06 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 16:31:06 -0700 Subject: [OT] Re: XML Tutorial In-Reply-To: <5.2.1.1.0.20040113210931.00ca97d8@pop.wanadoo.fr> References: <5.2.1.1.0.20040113210931.00ca97d8@pop.wanadoo.fr> Message-ID: <8F71DDD1-4620-11D8-80AB-000393C4760A@mindlube.com> On Jan 13, 2004, at 1:21 PM, Graham Samuel wrote: > Sorry, this really has got OT now, so I'll shut up after this, but I'm > still looking to make sense of a phrase like "typing in the XML > markup". Not really off topic, if we are using revXML to do it:-) You have it right. XML is "extensible" markup language. You can invent your own document types. You can create XML documents just by thinking up element and attribute names, and typing it into a text editor! However, if you want to interchange data with 3rd parties or apps, then you get into wellformed-ness of the document, and whether the text is compliant with a particular XML document type, which can be specified in various ways (DTD, Schema, RelaxNG, ???). Many HTML editor apps can save docs as XHTML, which is HTML as a well-formed XML document. So if you know HTML you kind of know what XML is about already. SMGL is the older, more complex sibling of XML. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ambassador at fourthworld.com Tue Jan 13 18:33:47 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 13 Jan 2004 15:33:47 -0800 Subject: RevConference - Client Server vs Stateless In-Reply-To: <20040113231605.93741.qmail@web40501.mail.yahoo.com> Message-ID: Alejandro Tejada wrote: > Http calls to Apache/MySQL/PHP setup... > I need to learn more about this topic. > I'll like to create an interface within MC/RR > to the services of yahoo: mail, briefcase, > groups and geocities websites. > > Could you point me to the knowledge that I need to > learn so I can try to make this interface? Studying Ken Ray's Rev interface to Bugzilla should be a good start: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From capellan2000 at yahoo.com Tue Jan 13 18:48:26 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Tue, 13 Jan 2004 15:48:26 -0800 (PST) Subject: text encoding gotcha? In-Reply-To: <20040113045313.D6F1193018D@mail.runrev.com> Message-ID: <20040113234826.54099.qmail@web40505.mail.yahoo.com> on Mon, 12 Jan 2004 18:01:00 -0800 Scott Rossi wrote: > Sounds like you have a font applied to your fields > (or stack) that isn't > present on the system. Usually you see this with > non-Roman fonts. Check > the textFont of your fields, card and stack just to > be sure. Non-Roman fonts are for example : Batang (a font of 15 MegaBytes!) Shinsei ( 9 MegaBytes!) MsMincho ( 8 MegaBytes) I've tried to use numtochar() to see all the characters in these fonts, but after 255 I just get garbage. How could I show, within RR/MC, all the characters of these fonts? Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From alex at mindlube.com Tue Jan 13 18:58:33 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 16:58:33 -0700 Subject: text encoding gotcha? In-Reply-To: <20040113234826.54099.qmail@web40505.mail.yahoo.com> References: <20040113234826.54099.qmail@web40505.mail.yahoo.com> Message-ID: <64DFA050-4624-11D8-80AB-000393C4760A@mindlube.com> On Jan 13, 2004, at 4:48 PM, Alejandro Tejada wrote: > How could I show, within RR/MC, all > the characters of these fonts? > > Thanks in advance. Have you tried doing something like this? set the unicodeText of fld 1 to uniEncode(theBinaryData) Make sure to read the text in as a binary file not a text file. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jacque at hyperactivesw.com Tue Jan 13 19:10:15 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 13 Jan 2004 18:10:15 -0600 Subject: CGI Presentation at Revolution Seminar Message-ID: <400488E7.4050807@hyperactivesw.com> I spoke at the Revolution Seminar on how to use Revolution as a CGI engine, and explained how to write CGIs using Transcript. Some folks there asked for access to my presentation materials, so I have posted my notes, files, CGI scripts, and the presentation stack I used. The flower pictures are in there too. I haven't made any attempt to turn it into a real tutorial; if you weren't at the presentation it may not make a lot of sense. But there should be enough information there to jog the memories of the folks who did attend, and perhaps even to help those who didn't. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Jan 13 19:19:30 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 13 Jan 2004 16:19:30 -0800 Subject: OT: GarageBand again In-Reply-To: <6AA94CFC-461B-11D8-8F31-000A959D005E@earthlink.net> References: <83183975042.20040113144659@ahsoftware.net> <6AA94CFC-461B-11D8-8F31-000A959D005E@earthlink.net> Message-ID: <83189526024.20040113161930@ahsoftware.net> Marian- I don't think it's been published yet. They were handing out free 50-page Sampler Editions at MacWorld Expo last week. But check with www.missingmanuals.com for a release date. -- -Mark Wieder mwieder at ahsoftware.net From kkaufman at snet.net Tue Jan 13 19:19:29 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue, 13 Jan 2004 19:19:29 -0500 Subject: [ANN] libEmail v1.00 and libSmtp v2.00 Message-ID: <51C9C35F-4627-11D8-9FE6-0003937052EC@snet.net> I'm looking forward to using these libraries in my projects; thanks, Sean! -Kurt From squance at elkvalley.net Tue Jan 13 19:24:23 2004 From: squance at elkvalley.net (David Squance) Date: Tue, 13 Jan 2004 17:24:23 -0700 Subject: Field redistribution line by line In-Reply-To: References: <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> Message-ID: >Not sure I follow the original question, but couldn't an array avoid >the need for "do" or "value". I had thought that it might, too, but my admittedly cursory perusal of the docs didn't find adequate help (for me at least) as far as the use of arrays is concerned. I wish I'd had the time and money to attend the little conference those who did are raving about. I have a lot to learn. As a hobbyist with an almost 60 year old memory, the gains are slow. Dave >Assuming the "assigned variable name" matches the ultimate >destination field name. > >In each loop, do something like: > >put into myArray[calculatedKeyName] > >Then later: > >put myArray[calculatedKeyname] into field calculatedKeyname > >Cheers >Dave > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From kkaufman at snet.net Tue Jan 13 19:33:21 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue, 13 Jan 2004 19:33:21 -0500 Subject: MacWorld review Message-ID: <41958F4B-4629-11D8-9FE6-0003937052EC@snet.net> I note that Revolution 2.1 has received 4 stars in MacWorld magazine (February 2004). -And I note that I have "my picture" (well, of MIDI Builder, anyway) as part of the Rev screenshot. :-) I know that some of the author's conclusions might be considered debatable, but I'm glad to see Revolution getting a full-page review in what is probably the most important Macintosh magazine in the U.S.. -KK From tuviah at runrev.com Tue Jan 13 22:48:11 2004 From: tuviah at runrev.com (tuviah snyder) Date: Tue, 13 Jan 2004 19:48:11 -0800 Subject: XML Tutorial References: <20040113163948.102BE9301E8@mail.runrev.com> Message-ID: <012001c3da51$3b884ba0$1d02a8c0@USER> > repeat for each line tLine of Macbeth > if matchText(tLine, "Speaker:(.+)$", tSpeaker) > revAddXMLNode(tDocID, tParent, "speaker", tSpeaker) > end if > -- etc for speech, stagedir, etc, etc. > end repeat > Well in the future we may support XPATH, which would enable you to query XML in powerful ways. You'll notice that the paths revXML returns are already xpath compatible. Tuviah From capellan2000 at yahoo.com Tue Jan 13 19:51:28 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Tue, 13 Jan 2004 16:51:28 -0800 (PST) Subject: Am I the only Brazilian in here? In-Reply-To: <20040113045313.D6F1193018D@mail.runrev.com> Message-ID: <20040114005128.44820.qmail@web40504.mail.yahoo.com> on Tue, 13 Jan 2004 Andre Garzia wrote: >I was thinking about creating a Brazilian >Revolution User Group (if there's enought to form >a group) or at least a Latin America User Group >(My spanish is ugly but I would learn if needed). In what area do yo think that RunRev could earn more followers in Brazil? Stablished programmers or beginners users? Education or Enterprise? >We could spread the Revolution here... >or better we could teach the rest of the world... You could write a FAQ in portuguese about RunRev. I'm doing the same in spanish. >We could join forces, make a nice blog with >tutorials in our languages, Agreed! Tutorial for beginners, made in MC/RR. Tutorials that promote reading ... the documentation. ;) al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From scott at tactilemedia.com Tue Jan 13 20:04:14 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 13 Jan 2004 17:04:14 -0800 Subject: Seamless Audio Loops in Rev In-Reply-To: Message-ID: On 1/13/04 12:43 PM, "Ken Norris" wrote: > Well, of course you can loop a sound. The "seamless" part has to do with > editing the sound properly. Of course. But the word you may have missed is "reliable". First of all, the only way to come close to reliable looping is with (imported) audioClips. If you click on the menubar or a menu button, looping of the audioclip will stop until the mouse is released. If you click and drag a stack by its titlebar, looping of the audioclip will stop until the mouse is released. Running additional scripts and/or moving images around will sometimes introduce delays within loops. If you want to loop an MP3 file or some other non-WAV formatted file cross platform, the only way to play this format is via a player (QT) and QT inherently introduces pauses between clips. Not to mention the fact that there is a bug in Rev that prevents looping within standalones (though not within the IDE). Sure, you could say "Don't use MP3s, use WAV files." But then you're forced to deliver stacks that can run up to 10 times the filesize (or more) of stacks that rely on MP3s. It is virtually impossible to sequentially play different clips in a longer loop without gaps. And to run slightly astray of the original subject: even if looping audioClips does work acceptably, controlling the clip independently of other sounds is problematic. AFAIK, the only way to adjust the volume of the clip is to adjust the entire system volume, which affects all other sounds. Of course you could adjust the playLoudness of a player object, but then these objects don't loop seamlessly. BTW, setting the fileName of a player will often delay other events taking place within the stack. So yes, you *can* loop a sound, if the *only* thing you want to do in a stack is loop a sound. > I have a number of sounds that loop "seamlessly", althought they didn't at > first. I had to edit the start and end points of the sound to get it to loop > with no apparent break. > > This is no different than anything else with looping sound AFAIK. As explained above, there's a little more to it than that. In the testing I was able to do yesterday evening, it appears that using Flash will allow audio in a player to loop seamlessly in the above situations while allowing some control over the player (though more testing is needed). Additional control might be gained by including more interactivity within the Flash movie. Regardless, using Flash was proposed as an option that may be useful for folks requiring better audio performance. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From alex at mindlube.com Tue Jan 13 20:47:52 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 18:47:52 -0700 Subject: XML Tutorial In-Reply-To: <012001c3da51$3b884ba0$1d02a8c0@USER> References: <20040113163948.102BE9301E8@mail.runrev.com> <012001c3da51$3b884ba0$1d02a8c0@USER> Message-ID: On Jan 13, 2004, at 8:48 PM, tuviah snyder wrote: > Well in the future we may support XPATH, which would enable you to > query XML > in powerful ways. You'll notice that the paths revXML returns are > already > xpath compatible. Great! Yeah I thought that the revXML node path syntax looked vaguely familiar. Although I don't know XPath. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Tue Jan 13 21:26:02 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 19:26:02 -0700 Subject: OT: animation [was Re: iMovie vs Final Cut Pro-- and Final Cut Express] In-Reply-To: <20040113005043.38146.qmail@web61109.mail.yahoo.com> References: <20040113005043.38146.qmail@web61109.mail.yahoo.com> Message-ID: On Jan 12, 2004, at 5:50 PM, erik hansen wrote: > can we combine video and animation > a la Roger Rabbit, scripted in Revolution > and interactive at all times? BTW Richard Harris, director of _Who Framed Roger Rabbit_ published in 2001 _The Animator's Survival Kit_. I have it in front of me and it is truly a great book. To do what you describe- combining video and animation, with full control, I think you would have to use a combination of Quicktime, Gif animation, and PNG frame sequences. Or some or all of those. If full control and interactivity was not needed I guess AfterEffects or something else could be used. BTW Anyone interested in character animation, or 2D or 3D rendering, Flash, Director, or animation in general, keep an eye on announcements from Microsoft about Expression3 and LivingCels. Real soon hopefully. Microsoft bought Creaturehouse last year, and their website is kind of shut-down, but you can get some old info about their apps here: The drawing programs Expression and LivingCels feature a technology named "skeletal strokes". . There are some illustrations and scientific papers at that URL that are very fascinating. Skeletal strokes is a very innovative drawing technology. From the artist's point of view it really lends itself to expressively making animations, characters, scenery, etc. It's hard to describe how amazingly cool this software is. Skeletal strokes can be higher order, i.e. defined in terms of other skeletal strokes. This can be used to easily build up paint strokes consisting of multitudes of body parts, organisms, plants, landscapes, whatever. Or a skeletal stroke can be higher order but defined in terms of it's self. Then you have a recursively defined stroke, and you are painting with a fractal paint brush! Or a skeletal stroke can be as refined a watercolor stroke or pen and ink. Skeletal strokes also have features for anchoring, repeating segments, variable width, variable transparency, and multi-view strokes. The expressive possibilities are endless. LivingCels can export movies to Quicktime, but it can also generate individual frames in TIFF, or in Expression3 format. So a movie could be converted to animated-gif 89a, or a sequence of PNG frames with full alpha-channel transparency. So a lot of possibilities for getting the animations into Revolution. It is a 2D animation system, however I mention 3D because there is a lot of support for 2.5D animation in Expression. For instance, a multiple-view skeletal stroke with relative anchoring can give the appearance of a character rotating or moving in 3D. Also with texture mapping, perspective transformations and a mesh-warp grid, there is a lot of room for drawing in 3D without having to go actual 3D and create wireframe, objects, and physical models ala OpenGL- where you get (in theory) more realism in the rendering, but actually lose most of the expressive capability for character animation. Unless you are truly a master of Maya or these other extremely complex apps and you can bring life into 3D wireframe or rotoscoped models. There are several 2D animation apps that kind of try to do what LivingCels does, like ToonBoom Studio, Moho, and others. But they just don't compare. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kumasoftdev at bignewfs.com Tue Jan 13 21:19:52 2004 From: kumasoftdev at bignewfs.com (KumaSoftDev) Date: Tue, 13 Jan 2004 20:19:52 -0600 Subject: Windows ODBC Recordset Navigation Problems Message-ID: <2004113203422.412397@BobMobile1> I am using Run Rev on Windows XP Pro. I have created a query against an ODBC database. I have added Edit Fields to a Card and bound them to a query using the "Database" properties of each field. I have then put 4 buttons on the Card and used the "Database" properties of each to map to the operations First Record, Last Record, Next Record, and Previous Record. Unfortunately, only the Next Record functionality seems to be working. The other buttons neither change the record not throw an error. I am having the same results with both MS Access and Firebird ODBC drivers. These drivers DO work as expected within other programs (Access and R:Base). Can someone shed some light on this for me? Thanks. From soapdog at mac.com Tue Jan 13 22:25:10 2004 From: soapdog at mac.com (Andre Garzia) Date: Wed, 14 Jan 2004 01:25:10 -0200 Subject: what about a Latin America Rev User Group (Re: Am I the only Brazilian in here?) In-Reply-To: <20040114005128.44820.qmail@web40504.mail.yahoo.com> References: <20040114005128.44820.qmail@web40504.mail.yahoo.com> Message-ID: <4250628B-4641-11D8-96FB-0003936D012E@mac.com> On Jan 13, 2004, at 10:51 PM, Alejandro Tejada wrote: >> I was thinking about creating a Brazilian >> Revolution User Group (if there's enought to form >> a group) or at least a Latin America User Group >> (My spanish is ugly but I would learn if needed). > > In what area do yo think that RunRev could > earn more followers in Brazil? > > Stablished programmers or beginners users? > Education or Enterprise? I think that some articles sent to popular magazines would do the trick, also I think it's easier to win the beginners than the older ones. Here enterprizes are very "superticious" they trust only Visual Basic stuff, MS SQL and .NET... So educational market is better for now. > > You could write a FAQ in portuguese about RunRev. > I'm doing the same in spanish. > Thats nice, I could translate your FAQ so we have the same Q&A... As for the page we could do it together, and some nice stack like revNET would be fun. Something like a Latin America Revolution User Group, that sounds nice... we could do content togheter in both spanish and portuguese. Cheers >> We could join forces, make a nice blog with >> tutorials in our languages, > > Agreed! Tutorial for beginners, made in MC/RR. > Tutorials that promote reading ... > the documentation. ;) > > al > > ===== > Visit my site: > http://www.geocities.com/capellan2000/ > Search the mail list: > http://mindlube.com/cgi-bin/search-use-rev.cgi > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From erikhans08 at yahoo.com Tue Jan 13 23:11:16 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Tue, 13 Jan 2004 20:11:16 -0800 (PST) Subject: OT: animation [was Re: iMovie vs Final Cut Pro-- and Final Cut Express] In-Reply-To: Message-ID: <20040114041116.76210.qmail@web61109.mail.yahoo.com> --- Alex Rice wrote: > BTW Richard Harris, director of _Who Framed > Roger Rabbit_ published in > 2001 _The Animator's Survival Kit_. I have it > in front of me and it is truly a great book. > > To do what you describe- combining video and > animation, with full > control, I think you would have to use a > combination of Quicktime, Gif > animation, and PNG frame sequences. Or some or > all of those... thanks for the information. when all is said and done, can you script where & when these things will happen from inside Revolution? Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From katir at hindu.org Tue Jan 13 23:13:19 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue, 13 Jan 2004 18:13:19 -1000 Subject: imageSource Linked Data -- what is it? where is it? Message-ID: Short query: is the imageSource of a char that comes initially from a disk file, imported into a stack or is it a linked, "placed" image that pulls the data runtime, but whose image data is not saved in the stack. Long story: I have the following button which demonstrates a) saving image data on the clipboard to a file ## I was not able to do this in a direct statement ## put the clipboarddata["image" into url "file:some.jpg" -- didn't work binfile also no... ## but had to resort to creating and image then using EXPORT. b) assigning the image to a character in a field this is for the purpose of including inline graphics-diagrams in a book. the diagrams or TIFFs in the OCR program that are happily understood by Rev in OSX and output nicely as pngs.... Now, I am getting unexpected results if the image that is set up as the source for the imageSource of a character is modified. The Expectation is (probably off base) that like any placed graphic or filename ref to an image, if the image is edited in an external application (imageReady, photoshop etc) and saved with the same file name, then the "placed" image will be updated. Question: is this concept valid for the imageSource of a character in a field that was "linked" to a file on disk? OR: is the imageSource of such a character effectively importing the data of the image into the stack as part of the stack? Since the number of graphics is unknown and could possibly balloon, the stack could grow too big... and we could opt for a different strategy, like show the diagrams in a drawer to the right of the field and use filename to reference the disk file to an image object instead of a fld character. on mouseup if the selection is empty then answer "Select a character where you want the image to go." with "OK" exit mouseup end if put the selectedchunk into tTextDiagramLocation put the clipboarddata["image"] into image "diagram" answer folder "choose a folder" put it & "/" & "somePhoto.jpg" into tPath export image "Photo" to file tpath as JPEG set the imageSource of tTextDiagramLocation to ("binfile:" & tPath) end mouseup Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From erikhans08 at yahoo.com Tue Jan 13 23:29:25 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Tue, 13 Jan 2004 20:29:25 -0800 (PST) Subject: what about a Latin America Rev User Group In-Reply-To: <4250628B-4641-11D8-96FB-0003936D012E@mac.com> Message-ID: <20040114042925.70267.qmail@web61105.mail.yahoo.com> --- Andre Garzia wrote: > > On Jan 13, 2004, at 10:51 PM, Alejandro Tejada > wrote: > >> I was thinking about creating a Brazilian > >> Revolution User Group (if there's enought to > form > >> a group) or at least a Latin America User > Group > >> (My spanish is ugly but I would learn if > needed). estimables ordenadores, puedo possiblemente ayudar le en las areas de musica y baile. quiero utilisar la musica y el baile para ensenar la mathematica. hay interesa entre los ecosseses. mi espagnol es mas espanglish que no, pero can dictionario y ayuda, es possible que puedo contribuar! Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From alex at mindlube.com Wed Jan 14 00:06:37 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 22:06:37 -0700 Subject: OT: animation [was Re: iMovie vs Final Cut Pro-- and Final Cut Express] In-Reply-To: <20040114041116.76210.qmail@web61109.mail.yahoo.com> References: <20040114041116.76210.qmail@web61109.mail.yahoo.com> Message-ID: <6E326A26-464F-11D8-80AB-000393C4760A@mindlube.com> On Jan 13, 2004, at 9:11 PM, erik hansen wrote: > thanks for the information. Can you tell I like LivingCels? :-) > when all is said and done, > can you script where & when these things > will happen from inside Revolution? That depends on what graphic/animation formats you are ultimately working with. Personally I am thinking about using Quicktime and or AVI for cut scenes and intros, and a combination of PNG frames and animated GIFs for interactive animation. I think there will be a high degree of interactivity and control. I hope so- because I intend to use it for games. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From erikhans08 at yahoo.com Wed Jan 14 00:22:45 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Tue, 13 Jan 2004 21:22:45 -0800 (PST) Subject: OT: animation [was Re: iMovie vs Final Cut Pro-- and Final Cut Express] In-Reply-To: <6E326A26-464F-11D8-80AB-000393C4760A@mindlube.com> Message-ID: <20040114052245.83032.qmail@web61105.mail.yahoo.com> --- Alex Rice wrote: > That depends on what graphic/animation formats > you are ultimately > working with. Personally I am thinking about > using Quicktime and or AVI > for cut scenes and intros, and a combination of > PNG frames and animated > GIFs for interactive animation. I think there > will be a high degree of > interactivity and control. I hope so- because I > intend to use it for > games. games and teaching concerns seem to converge. if no joy stick then many kids will not check it out. Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From alex at mindlube.com Wed Jan 14 00:41:36 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 13 Jan 2004 22:41:36 -0700 Subject: OT: animation [was Re: iMovie vs Final Cut Pro-- and Final Cut Express] In-Reply-To: <20040114052245.83032.qmail@web61105.mail.yahoo.com> References: <20040114052245.83032.qmail@web61105.mail.yahoo.com> Message-ID: <51B48366-4654-11D8-80AB-000393C4760A@mindlube.com> On Jan 13, 2004, at 10:22 PM, erik hansen wrote: > games and teaching concerns seem to converge. > if no joy stick > then many kids will not check it out. Yep I guess so. Also Trevor's Quicktime external has a lot of functions for interactively working with Quicktime including sprites. Nice work Trevor- that's a rich set of functions for QT! Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From lists at mangomultimedia.com Wed Jan 14 01:13:58 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 13 Jan 2004 23:13:58 -0700 Subject: OT: animation [was Re: iMovie vs Final Cut Pro-- and Final Cut Express] In-Reply-To: <51B48366-4654-11D8-80AB-000393C4760A@mindlube.com> References: <20040114052245.83032.qmail@web61105.mail.yahoo.com> <51B48366-4654-11D8-80AB-000393C4760A@mindlube.com> Message-ID: On Jan 13, 2004, at 10:41 PM, Alex Rice wrote: > > On Jan 13, 2004, at 10:22 PM, erik hansen wrote: > >> games and teaching concerns seem to converge. >> if no joy stick >> then many kids will not check it out. > > Yep I guess so. > Also Trevor's Quicktime external has a lot of functions for > interactively working with Quicktime including sprites. > > > Nice work Trevor- that's a rich set of functions for QT! Thanks Alex. I'm hoping to get another version released in the coming weeks with some thumbnail generation code which will generate thumbnails of any file QT supports. One thing that might come in handy for some games is Axel 3D (mindavenue.com) content within QuickTime. You can create 3d models that interact according to mouse clicks, buttons, etc. and then play it back in QuickTime which means you can play it back in Revolution. I haven't tested these interactions when playing back in Revolution so I don't know if everything works as it should. I am using Axel in a current project but we are using wired sprites to control the 3D content in the project I am working on. LiveStage Pro lets you incorporate the Axel 3D content with other formats that QT support and actually set variables in the 3D movie and trigger actions. It is pretty slick. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From capellan2000 at yahoo.com Wed Jan 14 01:36:41 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Tue, 13 Jan 2004 22:36:41 -0800 (PST) Subject: text encoding gotcha? In-Reply-To: <20040113191923.4C6C893021C@mail.runrev.com> Message-ID: <20040114063641.52191.qmail@web40510.mail.yahoo.com> on Tue, 13 Jan 2004 10:55:35 -0700 Alex Rice wrote: >Any chance you copy-pasted the contents of the field, >from another app? >It seems in my case Revolution is not checking the >contents of the clipboard carefully enough, or >is misinterpreting the clipboard encoding. Actually is useful that Revolution left the clipboard in their native state. You can paste images and paths to files in this way. Most recent apps do not convert either the data in the clipboard. When I need unformatted text, I paste first in notepad and then copy from notepad to paste in the application. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From alex at mindlube.com Wed Jan 14 02:00:24 2004 From: alex at mindlube.com (Alex Rice) Date: Wed, 14 Jan 2004 00:00:24 -0700 Subject: text encoding gotcha? In-Reply-To: <20040114063641.52191.qmail@web40510.mail.yahoo.com> References: <20040114063641.52191.qmail@web40510.mail.yahoo.com> Message-ID: <53CDCED4-465F-11D8-AF31-000393C4760A@mindlube.com> On Jan 13, 2004, at 11:36 PM, Alejandro Tejada wrote: > Actually is useful that Revolution left the > clipboard in their native state. You can paste > images and paths to files in this way. > > Most recent apps do not convert either the data > in the clipboard. > > When I need unformatted text, I paste first in > notepad and then copy from notepad to paste > in the application. I strongly disagree. The IDE has a special responsibility. When the only sane type of paste operation is plain text then that's it should accept. What happens now is it breaks the IDE, causes scripts not to compile, and causes weird cross platform problems that don't get noticed until much later. The main point is that *I had no way of knowing* that this text was twice as long as it appeared, and every other character was a null. It appeared to be unformatted text that got pasted. It wasn't unicode, it wasn't rich text, it had no formatting- so what the heck was it? When I copy from Excel on the pasteboardData are the types: text html rtf objects Based on the lengths of those the data, I am pretty sure the IDE is taking the "objects" value instead of the "text" value. I guess I'll have to write a plugin to trim the contents of the pasteboardData to prevent the IDE doing something stupid with it like pasting binary data into the script editor or something. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Wed Jan 14 02:43:48 2004 From: alex at mindlube.com (Alex Rice) Date: Wed, 14 Jan 2004 00:43:48 -0700 Subject: text encoding gotcha? In-Reply-To: <20040114063641.52191.qmail@web40510.mail.yahoo.com> References: <20040114063641.52191.qmail@web40510.mail.yahoo.com> Message-ID: <63AE9B1A-4665-11D8-916C-000393C4760A@mindlube.com> On Jan 13, 2004, at 11:36 PM, Alejandro Tejada wrote: > Actually is useful that Revolution left the > clipboard in their native state. You can paste > images and paths to files in this way. Alejandro- didn't mean to freak out on you there :-) You are right too. I agree that the multiple data types on the pasteboard is a beneficial feature. Also I feel that the IDE should be bit smarter about it what it allows to be pasted where. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From chrism at luminus.com Wed Jan 14 03:00:33 2004 From: chrism at luminus.com (Christopher Mitchell) Date: Wed, 14 Jan 2004 02:00:33 -0600 Subject: New to Rev, simple animation jumpy in browser/build but smooth in Animation Builder In-Reply-To: <20040112103138.92658.qmail@web60507.mail.yahoo.com> References: <20040112103138.92658.qmail@web60507.mail.yahoo.com> Message-ID: Hello to all, I just made the very simple tweened animation of a text field in the tutorials. The thing is that although the animation looks reasonably smooth in the Animation builder, when I trigger it from within the Browse function or as an external app it looks terrible. It jumps across like it is 3fps instead of 11. I would think I was just doing something wrong except it looks right in the builder. Incidentally, is there a quick way to set the max frames in the anim builder? (it says x frames of Y, but only X appears to be directly available for setting) Thanks, Chris From capellan2000 at yahoo.com Wed Jan 14 03:09:41 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 14 Jan 2004 00:09:41 -0800 (PST) Subject: what about a Latin America Rev User Group In-Reply-To: <20040114061507.3506993026E@mail.runrev.com> Message-ID: <20040114080941.21788.qmail@web40514.mail.yahoo.com> on Wed, 14 Jan 2004 01:25:10 -0200 Andre Garzia wrote: > I think that some articles sent to popular magazines > would do the > trick, also I think it's easier to win the beginners > than the older > ones. > Here enterprizes are very "superticious" they trust > only Visual Basic > stuff, MS SQL and .NET... So educational market is > better for now. I've seen in CNN a journalist reports on the "Telecentros" that use Linux in their 100 labs. Sergio Amadeu dirige este programa en Sao Paulo. > > You could write a FAQ in portuguese about RunRev. > > I'm doing the same in spanish. > > > Thats nice, I could translate your FAQ so we have > the same Q&A... Ok, I have to finish a work for friday, so in the weekend i'll clean up the text of the faq. > As for the page we could do it together, and some > nice stack like revNET would be fun. This will be good! But before starting, we have to ask permissions to Runtime Revolution and MetaCard to post their documentation in portuguese and spanish. Could you ask in behalf of us? We could not wait that everyone learn to read in english. Right? on Tue, 13 Jan 2004 20:29:25 -0800 (PST) erik hansen wrote: > puedo posiblemente ayudarles en las ?reas de > m?sica y baile. Quiero utilizar la m?sica y > el baile para ense?ar las matem?ticas. [snip] > pero con dicccionario y ayuda, es posible > que pueda contribuir! Thanks eric, you are welcome! It's interesting your approach to teach Math. Where do you have these a stacks? Do you live in Mexico, right? al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From peter9.smith at ps.ge.com Wed Jan 14 04:36:16 2004 From: peter9.smith at ps.ge.com (peter9.smith at ps.ge.com) Date: Wed, 14 Jan 2004 04:36:16 -0500 Subject: GameDev in Rev. Seuck explained + suggestion Message-ID: <6192367D59F8904CA553579EF41FEEA002730B30@ukcbgx01psge.geips.ge.com> > From: WIlliam Griffin > > First up i'm trying to properly focus the next Inkubator project at > www.idevgames.com > > [ snips ] > > So I'd like to suggest to the rev community that we set up a > place that > we discuss game dev topics in relationship to Revolution as a > continous > resource > instead of the random weeding of this list. I'm interested in Revolution as an engine for Adventure games (just as a hobbyist but I know of one commercial Adventure game developer looking at Revolution.) iDevGames is a great place but seems mainly focussed on action and arcade style games (from a cursory glance.) A place on the web for Revolution and Adventure games would be nice but not sure there'll be much overlap between that and shoot 'em up style games. This list has been a real help to me but my queries have been pretty generic not specifically game related. Regards, Peter. From xbury.cs at clearstream.com Wed Jan 14 04:43:35 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 14 Jan 2004 10:43:35 +0100 Subject: Killing one annoying feature in RR... Message-ID: Hi everyone, While pounding on how to replace the script editor in RR, I found the trick to remove the most annoying feature in RR which is the uncontroled control-Alt or (Control-Option on macs) which invokes the script editor... How many times have you edited a script of an object unwilingly while holding control-Alt? 99.999% of the other IDEs and editors I've used use a CLICK to edit something! To fix this most annoying feature, you need to edit the frontscript button "RevFrontScript" (double click it from the message box after showing the frontscripts. Go to the bottom of the script, look for the line "edit script of the mouseControl" at the end of the handler revScriptEdit Just add "If the mouse is down then" before the "edit script of the mouseControl" Voila... Now it still doesn't respond instantaneously because of the <> above... Be my guest to replace that too! Changes are done at your own risk naturally! ;) But it works like HyperCard again... Whoever thought of that feature deserves a cream pie! ;) Cheers to rescripting the revolution 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 graham.samuel at wanadoo.fr Tue Jan 13 19:11:21 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Wed, 14 Jan 2004 01:11:21 +0100 Subject: Group Edit anomaly Message-ID: <5.2.1.1.0.20040114011059.021ffb88@pop.wanadoo.fr> On Tue, 13 Jan 2004 15:26:39 -0600, "J. Landman Gay" wrote: >Unlocked images will revert to their native dimensions whenever the card >opens or their enclosing group is edited. Set the lockloc of the images >to true. Thanks Jacque, I would never have guessed this was the issue - I can now continue with my development without my images jumping around the card! BTW the action does not take place precisely as you describe, or indeed as the TD describes: it seems that the action of opening **any** group for editing on the card and then stopping the edit is equivalent to opening the card (since the images that I saw displaced were not themselves part of any group, nor did I move from card to card when I saw the displacement); also the 'native dimensions' seems in my case to be some kind of trace memory of a time when the two images were grouped, although during the experiment they were not grouped any more. There is something mysterious here which is probably an engine bug, but right now I don't think it's worth burdening the Bugzilla list with something so obscure. Thanks again Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From jbv.silences at Club-Internet.fr Wed Jan 14 05:12:41 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Wed, 14 Jan 2004 11:12:41 +0100 Subject: CGI Presentation at Revolution Seminar References: <400488E7.4050807@hyperactivesw.com> Message-ID: <40051614.96C597F8@Club-Internet.fr> Speaking of CGI, I'm about to start a web app with various CGI for a client. I'm wondering, which Linux version to choose, RedHat or FreeBSD ? As for CGI, MC 2.5 is OK for what I have to do. Where can I find a CGI version to download ? Is it still available on the MetaCard FTP site ? Thanks all, JB From xbury.cs at clearstream.com Wed Jan 14 05:25:32 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 14 Jan 2004 11:25:32 +0100 Subject: Why are bugs from September still untouched? Message-ID: I entered a bug in September of last year and it is still marked as NEW? There is no status, no nothing. I've also entered some bugs that never got saved... THIS IS DEFINITELY NOT ENCOURAGING. Who do we complain to in RR? ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 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 janschenkel at yahoo.com Wed Jan 14 09:21:22 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 14 Jan 2004 06:21:22 -0800 (PST) Subject: Killing one annoying feature in RR... In-Reply-To: Message-ID: <20040114142122.14353.qmail@web60506.mail.yahoo.com> --- xbury.cs at clearstream.com wrote: > Hi everyone, > > While pounding on how to replace the script editor > in RR, I found the > trick to remove > the most annoying feature in RR which is the > uncontroled control-Alt or > (Control-Option on macs) > which invokes the script editor... > > How many times have you edited a script of an object > unwilingly while > holding control-Alt? > > 99.999% of the other IDEs and editors I've used use > a CLICK to edit > something! > > To fix this most annoying feature, you need to edit > the frontscript button > "RevFrontScript" > (double click it from the message box after showing > the frontscripts. > > Go to the bottom of the script, > look for the line "edit script of the mouseControl" > at the end of the handler revScriptEdit > Just add "If the mouse is down then" before the > "edit script of the > mouseControl" > > Voila... > Now it still doesn't respond instantaneously because > of the > < milliseconds>> above... > > Be my guest to replace that too! > Changes are done at your own risk naturally! ;) > But it works like HyperCard again... > > Whoever thought of that feature deserves a cream > pie! ;) > > Cheers to rescripting the revolution > Xavier > Hi Xavier, Not to trounce your enthusiasm or anything, but you can turn off that control-alt behaviour in the General section of the Preferences. It's one of the first things I turn off when I install a new version. On the other hand, if you want it to work only when clicked, your change to the frontscript is indeed the solution. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From dsc at swcp.com Wed Jan 14 09:42:04 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 07:42:04 -0700 Subject: Why are bugs from September still untouched? In-Reply-To: Message-ID: On Wednesday, January 14, 2004, at 03:25 AM, xbury.cs at clearstream.com wrote: > I entered a bug in September of last year and it is still marked as > NEW? I know what you mean. I entered the matchText() crash bug back in August. It is still at NEW. The only progress seems to be the component was changed to "Mac Specific Issues", though I have seen no evidence that it is Mac specific. Since then I have narrowed down the bug and can avoid it by not using certain regex, meaning I can't enjoy matchText() as I might. These will crash, for example: "(?:x)*", "(?>x)*", "(?:x){0,836}". Those are not useful in themselves, but the useful ones that crash are complicated. My guess is that RunRev has limited resources for bug fixes. One strategy is to apply those directly to bug fixes. Another might be to apply those resources to buzz-word product enhancements that would create sales that would allow resources to be increased so bugs can be fixed. A manager might also need to consider what it takes to keep technical staff happy and that might include building new stuff once in a while. Though I would lean toward directly fixing bugs and addressing other core issues, I have to respect the call of those at the wheel. > I've also entered some bugs that never got saved... I have not seen this. Dar Scott From dsc at swcp.com Wed Jan 14 09:51:54 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 07:51:54 -0700 Subject: David Simpson's cool article in Linux Journal Message-ID: <31CF1789-46A1-11D8-BBFC-000A9567A3E6@swcp.com> Here is a nice article on the use of CGIScripter to create Perl CGI code: http://www.linuxjournal.com/article.php?sid=7285&mode=thread&order=0 A big part of the article is a plug for Revolution. CGIScripter is implemented with Revolution. Dar Scott From yoy at comcast.net Wed Jan 14 10:02:18 2004 From: yoy at comcast.net (Andy Burns) Date: Wed, 14 Jan 2004 10:02:18 -0500 Subject: Why are bugs from September still untouched? References: Message-ID: <000801c3daaf$aa9ddbf0$e8e02044@fatal7lcf637rj> Are the bugs reported verified on all the build platforms? Are the bugs only occurring during development or after building standalones? Could the bugs be isolated to a specific OS which Revolution runs on? Andy "Curious George" Burns ----- Original Message ----- From: "Dar Scott" To: "How to use Revolution" Sent: Wednesday, January 14, 2004 9:42 AM Subject: Re: Why are bugs from September still untouched? > > On Wednesday, January 14, 2004, at 03:25 AM, xbury.cs at clearstream.com > wrote: > > > I entered a bug in September of last year and it is still marked as > > NEW? > > I know what you mean. I entered the matchText() crash bug back in > August. It is still at NEW. The only progress seems to be the > component was changed to "Mac Specific Issues", though I have seen no > evidence that it is Mac specific. Since then I have narrowed down the > bug and can avoid it by not using certain regex, meaning I can't enjoy > matchText() as I might. These will crash, for example: "(?:x)*", > "(?>x)*", "(?:x){0,836}". Those are not useful in themselves, but the > useful ones that crash are complicated. > > My guess is that RunRev has limited resources for bug fixes. One > strategy is to apply those directly to bug fixes. Another might be to > apply those resources to buzz-word product enhancements that would > create sales that would allow resources to be increased so bugs can be > fixed. A manager might also need to consider what it takes to keep > technical staff happy and that might include building new stuff once in > a while. Though I would lean toward directly fixing bugs and > addressing other core issues, I have to respect the call of those at > the wheel. > > > I've also entered some bugs that never got saved... > > I have not seen this. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 From dsc at swcp.com Wed Jan 14 10:11:53 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 08:11:53 -0700 Subject: Why are bugs from September still untouched? In-Reply-To: <000801c3daaf$aa9ddbf0$e8e02044@fatal7lcf637rj> Message-ID: On Wednesday, January 14, 2004, at 08:02 AM, Andy Burns wrote: > Are the bugs reported verified on all the build platforms? Are the > bugs only > occurring during development or after building standalones? > > Could the bugs be isolated to a specific OS which Revolution runs on? Are you asking about the matchText() bugs? Or are you suggesting the first step for bug review by RunRev? Or by the bug reporter? Or have I missed something here? Dar Scott curious, too From dsc at swcp.com Wed Jan 14 10:20:46 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 08:20:46 -0700 Subject: Killing one annoying feature in RR... In-Reply-To: Message-ID: <3A59250A-46A5-11D8-BBFC-000A9567A3E6@swcp.com> I'm trying to figure out what you are talking about. On Wednesday, January 14, 2004, at 02:43 AM, xbury.cs at clearstream.com wrote: > While pounding on how to replace the script editor in RR, I found the > trick to remove > the most annoying feature in RR which is the uncontroled control-Alt or > (Control-Option on macs) > which invokes the script editor... It doesn't on mine. Are you saying that holding down control and option without typing or clicking something might open a window? > How many times have you edited a script of an object unwilingly while > holding control-Alt? Never. > 99.999% of the other IDEs and editors I've used use a CLICK to edit > something! I always do in Rev. Dar Scott confused From yoy at comcast.net Wed Jan 14 10:29:55 2004 From: yoy at comcast.net (Andy Burns) Date: Wed, 14 Jan 2004 10:29:55 -0500 Subject: Why are bugs from September still untouched? References: Message-ID: <001f01c3dab3$58639bf0$e8e02044@fatal7lcf637rj> Dar, What I guess I meant is if we all had all the computer OS's that Rev runs on, would the problem occur on all or some. It's more of a bug review issue, I guess. I only develop on W2K. Andy ----- Original Message ----- From: "Dar Scott" To: "How to use Revolution" Sent: Wednesday, January 14, 2004 10:11 AM Subject: Re: Why are bugs from September still untouched? > > On Wednesday, January 14, 2004, at 08:02 AM, Andy Burns wrote: > > > Are the bugs reported verified on all the build platforms? Are the > > bugs only > > occurring during development or after building standalones? > > > > Could the bugs be isolated to a specific OS which Revolution runs on? > > Are you asking about the matchText() bugs? > > Or are you suggesting the first step for bug review by RunRev? Or by > the bug reporter? > > Or have I missed something here? > > Dar Scott > curious, too > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 From psahores at easynet.fr Wed Jan 14 11:25:13 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 14 Jan 2004 17:25:13 +0100 Subject: CGI Presentation at Revolution Seminar In-Reply-To: <40051614.96C597F8@Club-Internet.fr> References: <400488E7.4050807@hyperactivesw.com> <40051614.96C597F8@Club-Internet.fr> Message-ID: <3B0B9B3E-46AE-11D8-B7F1-000A95665344@easynet.fr> Le 14 janv. 04, ? 11:12, jbv a ?crit : > Speaking of CGI, I'm about to start a web app > with various CGI for a client. > > I'm wondering, which Linux version to choose, > RedHat or FreeBSD ? FreeBSD is not a Linux distribution but a different (and powerfull too) OS. In about a Linux distribs, RedHat is a good choice. Else, you can try Suse but you will find more help and ready to use .RPM packages for ReadHat. > > As for CGI, MC 2.5 is OK for what I have to do. > Where can I find a CGI version to download ? > Is it still available on the MetaCard FTP site ? Yes but it seems that the current Rev engine is yet full featured to act as a fine CGI engine. Test it first ;-) > > Thanks all, > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From dsc at swcp.com Wed Jan 14 11:26:06 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 09:26:06 -0700 Subject: Why are bugs from September still untouched? In-Reply-To: <001f01c3dab3$58639bf0$e8e02044@fatal7lcf637rj> Message-ID: <5AB37BD4-46AE-11D8-BBFC-000A9567A3E6@swcp.com> On Wednesday, January 14, 2004, at 08:29 AM, Andy Burns wrote: > What I guess I meant is if we all had all the computer OS's that Rev > runs > on, would the problem occur on all or some. I would guess on all, but I don't know. I would assume even more so that it will show up in standalones where it shows up in development. I last checked this in October and it failed on the Rev version and OS X version at that time. Here is a quick test: on mouseUp get matchText(makeXStr(2503),"(?>x)*") end mouseUp function makeXStr n repeat put "xxxxxxxxxx" after r if length(r) >= n then return char 1 to n of r end repeat end makeXStr Other tests: get matchText(makeXStr(1251),"(?:x)*") get matchText(makeXStr(65000), "(?:x){0,836}") You might need to up the numbers on some systems. Dar Scott From psahores at easynet.fr Wed Jan 14 11:31:11 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 14 Jan 2004 17:31:11 +0100 Subject: [ANN] libEmail v1.00 and libSmtp v2.00 In-Reply-To: <51C9C35F-4627-11D8-9FE6-0003937052EC@snet.net> References: <51C9C35F-4627-11D8-9FE6-0003937052EC@snet.net> Message-ID: <105BB7B6-46AF-11D8-B7F1-000A95665344@easynet.fr> Le 14 janv. 04, ? 01:19, Kurt Kaufman a ?crit : > I'm looking forward to using these libraries in my projects; thanks, > Sean! > > -Kurt > > _______________________________________________ > The same, there. Thanks again Sean :-) Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From psahores at easynet.fr Wed Jan 14 11:33:10 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 14 Jan 2004 17:33:10 +0100 Subject: CGI Presentation at Revolution Seminar In-Reply-To: <400488E7.4050807@hyperactivesw.com> References: <400488E7.4050807@hyperactivesw.com> Message-ID: <572E6D96-46AF-11D8-B7F1-000A95665344@easynet.fr> Le 14 janv. 04, ? 01:10, J. Landman Gay a ?crit : > I spoke at the Revolution Seminar on how to use Revolution as a CGI > engine, and explained how to write CGIs using Transcript. Some folks > there asked for access to my presentation materials, so I have posted > my notes, files, CGI scripts, and the presentation stack I used. The > flower pictures are in there too. I haven't made any attempt to turn > it into a real tutorial; if you weren't at the presentation it may not > make a lot of sense. But there should be enough information there to > jog the memories of the folks who did attend, and perhaps even to help > those who didn't. > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > Thanks Jacque. Stored ! Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From psahores at easynet.fr Wed Jan 14 11:37:00 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 14 Jan 2004 17:37:00 +0100 Subject: text encoding gotcha? In-Reply-To: <64DFA050-4624-11D8-80AB-000393C4760A@mindlube.com> References: <20040113234826.54099.qmail@web40505.mail.yahoo.com> <64DFA050-4624-11D8-80AB-000393C4760A@mindlube.com> Message-ID: Le 14 janv. 04, ? 00:58, Alex Rice a ?crit : > > On Jan 13, 2004, at 4:48 PM, Alejandro Tejada wrote: >> How could I show, within RR/MC, all >> the characters of these fonts? >> >> Thanks in advance. Else, you can try this : on mouseUp if the shiftkey is up then repeat with c = 1 to 255 put numtochar(c) && "= &#" & c & ";" & return after buffa end repeat answer buffa else edit script of me end mouseUp > > Have you tried doing something like this? > > set the unicodeText of fld 1 to uniEncode(theBinaryData) > > Make sure to read the text in as a binary file not a text file. > > Alex Rice | Mindlube Software | > > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From dsc at swcp.com Wed Jan 14 11:45:23 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 09:45:23 -0700 Subject: OT: Regex In-Reply-To: <40046522.50805@hyperactivesw.com> Message-ID: <0C37BD0A-46B1-11D8-BBFC-000A9567A3E6@swcp.com> On Tuesday, January 13, 2004, at 02:37 PM, J. Landman Gay wrote: > m|n>k Got it! "milk piped through nose to keyboard" This is a low-caffeine variation of c|n>k which applies to coffee/coke/cocoa drinkers. Dar Scott From alex at mindlube.com Wed Jan 14 11:46:33 2004 From: alex at mindlube.com (Alex Rice) Date: Wed, 14 Jan 2004 09:46:33 -0700 Subject: Why are bugs from September still untouched? In-Reply-To: References: Message-ID: <359E4130-46B1-11D8-BD2A-000393C4760A@mindlube.com> On Jan 14, 2004, at 7:42 AM, Dar Scott wrote: > I know what you mean. I entered the matchText() crash bug back in > August. It is still at NEW. HA! I can top that. I have a July 13 2003 bug, with 20 votes, that has been assigned, but it still NEW and has no comments from the engineer. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From gizmotron at earthlink.net Wed Jan 14 11:51:57 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 14 Jan 2004 08:51:57 -0800 Subject: OT: Regex In-Reply-To: <0C37BD0A-46B1-11D8-BBFC-000A9567A3E6@swcp.com> Message-ID: On Wednesday, January 14, 2004, at 08:45 AM, Dar Scott wrote: >> m|n>k > > Got it! > > "milk piped through nose to keyboard" ROTFLOL From jroryb at sonic.net Wed Jan 14 12:04:08 2004 From: jroryb at sonic.net (Rory Bolzer) Date: Wed, 14 Jan 2004 09:04:08 -0800 Subject: Revolution Seminar Message-ID: Hi All, I need to thank all of the presenters and planners of the Revolution Seminar in San Francisco; excellent job overall. Anyone who didn't go should plan to next year. J. Rory Bolzer, Pharm.D. jroryb at sonic.net From dsc at swcp.com Wed Jan 14 12:04:18 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 10:04:18 -0700 Subject: Why are bugs from September still untouched? In-Reply-To: <359E4130-46B1-11D8-BD2A-000393C4760A@mindlube.com> Message-ID: On Wednesday, January 14, 2004, at 09:46 AM, Alex Rice wrote: > On Jan 14, 2004, at 7:42 AM, Dar Scott wrote: >> I know what you mean. I entered the matchText() crash bug back in >> August. It is still at NEW. > > HA! I can top that. I have a July 13 2003 bug, with 20 votes, that has > been assigned, but it still NEW and has no comments from the engineer. Oh, yeah! Mine is bug #16 and it has a severity of--hey!--normal. What is a crash doing at normal? Maybe I didn't set this high enough. I thought I did. (I don't see what bug you mean, Alex. Do you mean "naming collisions"? I am not able to find the date of original entry in the Bugzilla data.) Dar Scott From Mark.Powell at veritas.com Wed Jan 14 12:24:30 2004 From: Mark.Powell at veritas.com (Mark Powell) Date: Wed, 14 Jan 2004 09:24:30 -0800 Subject: Runtime error with 'get URL' Message-ID: I am on Windows 2000 with two machines A and B. I develop and debug on A, but test standalones on both A and B. I have a runtime error that I have isolated to the following code in the preOpenStack handler: ... get URL ClientDataCurrent answer "calling from preOpenStack, this is what is \ read from the data_current file:" & return & it if (the result is not empty) then end if put it into gWhatever ... On machine A in both the IDE and standalone, gWhatever is populated and everything works as desired. On machine B, the code gets nothing from the text file (confirmed by the answer dialog during runtime). The result testing is not triggered in any scenario. Moreover, on both A and B I can validate connectivity by pasting the URL into a browser and seeing the data directly. Any ideas? Are there additional tests I can do during runtime that will shed light on this? Mark From dsc at swcp.com Wed Jan 14 12:32:50 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 10:32:50 -0700 Subject: Runtime error with 'get URL' In-Reply-To: Message-ID: On Wednesday, January 14, 2004, at 10:24 AM, Mark Powell wrote: > Any ideas? Are there additional tests I can do during runtime that > will > shed light on this? What is 'the result' and 'the syserror'? What version of Rev? Is the URL on B? Dar Scott From dsc at swcp.com Wed Jan 14 12:34:48 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 10:34:48 -0700 Subject: Runtime error with 'get URL' In-Reply-To: Message-ID: On Wednesday, January 14, 2004, at 10:32 AM, Dar Scott wrote: >> Any ideas? Are there additional tests I can do during runtime that >> will >> shed light on this? > > What is 'the result' and 'the syserror'? > What version of Rev? > Is the URL on B? Does B have to go through a proxy? Dar From dcragg at lacscentre.co.uk Wed Jan 14 12:39:58 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 14 Jan 2004 17:39:58 +0000 Subject: Why are bugs from September still untouched? In-Reply-To: <5AB37BD4-46AE-11D8-BBFC-000A9567A3E6@swcp.com> References: <5AB37BD4-46AE-11D8-BBFC-000A9567A3E6@swcp.com> Message-ID: At 9:26 am -0700 14/1/04, Dar Scott wrote: >I would guess on all, but I don't know. I would assume even more so >that it will show up in standalones where it shows up in >development. I last checked this in October and it failed on the >Rev version and OS X version at that time. > >Here is a quick test: > >on mouseUp > get matchText(makeXStr(2503),"(?>x)*") >end mouseUp Just out of interest, is "(?>x)*" a valid regular expression? If so, what does it do? But this does what I would expect (on OS X, engine version 2.5): on mouseUp local tM put makeXStr(2503) into tTxt put "m" after tTxt get matchText(tTxt,"(?>x*)(.*)",tM) put tM end mouseUp function makeXStr n repeat put "xxxxxxxxxx" after r if length(r) >= n then return char 1 to n of r end repeat end makeXStr Dave From byront at mac.com Wed Jan 14 12:51:28 2004 From: byront at mac.com (Byron Turner) Date: Wed, 14 Jan 2004 09:51:28 -0800 Subject: Revolution Seminar In-Reply-To: References: Message-ID: <47B1BE8E-46BA-11D8-B37A-000A95A088D2@mac.com> Echo that. I came away with ideas and FILES that will save me a hundred hours this year. Byron Turner On Jan 14, 2004, at 9:04 AM, Rory Bolzer wrote: > Hi All, > > I need to thank all of the presenters and planners of the Revolution > Seminar in San Francisco; excellent job overall. Anyone who didn't go > should plan to next year. > > J. Rory Bolzer, Pharm.D. > jroryb at sonic.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dcragg at lacscentre.co.uk Wed Jan 14 12:52:59 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 14 Jan 2004 17:52:59 +0000 Subject: Runtime error with 'get URL' In-Reply-To: References: Message-ID: At 9:24 am -0800 14/1/04, Mark Powell wrote: >I am on Windows 2000 with two machines A and B. I develop and debug on A, >but test standalones on both A and B. I have a runtime error that I have >isolated to the following code in the preOpenStack handler: > >... >get URL ClientDataCurrent >answer "calling from preOpenStack, this is what is \ > read from the data_current file:" & return & it >if (the result is not empty) then > >end if >put it into gWhatever >... > >On machine A in both the IDE and standalone, gWhatever is populated and >everything works as desired. On machine B, the code gets nothing from the >text file (confirmed by the answer dialog during runtime). The result >testing is not triggered in any scenario. Moreover, on both A and B I can >validate connectivity by pasting the URL into a browser and seeing the data >directly. > >Any ideas? Are there additional tests I can do during runtime that will >shed light on this? It looks like you're checking the result from the "answer" and not the "get URL". Does this make a difference? get URL ClientDataCurrent if (the result is not empty) then end if answer "calling from preOpenStack, this is what is \ read from the data_current file:" & return & it put it into gWhatever Also, the "it" in "put it into gWhatever" will be the name of the button clicked in the answer dialog. (presumably "OK") Is that what was intended? Is the url a "file" url or an "http" or "ftp" url? If http or ftp, are you sure libUrl has loaded at this stage. In a standalone, I think the rev libraries don't get loaded until after the preOpenStack handler. Dave From Mark.Powell at veritas.com Wed Jan 14 13:04:22 2004 From: Mark.Powell at veritas.com (Mark Powell) Date: Wed, 14 Jan 2004 10:04:22 -0800 Subject: Runtime error with 'get URL' Message-ID: ==== PARAPHRASED FROM DAR ==== What is 'the result' and 'the syserror'? What version of Rev? Is the URL on B? Does B have to go through a proxy? The result is empty. Rev 2.0.1. I did not know about 'the syserror', will try it out. Machine B does not go through a proxy, and similar routines in standalones have worked on this machine before. The URL is to a location on the company intranet. ==== PARAPHRASED FROM DAVE === the result may be from the "answer"?... "http" or "ftp" etc? "libUrl" loaded? I put the answer dialog late in the process, same results before I inserted it. I can go back in and remove it just to validate. The URL is an http one. Is the loading of libURL a function of what machine you are one (the standalone does work on machine A). ====== ORIGINAL MESSAGE ====== I am on Windows 2000 with two machines A and B. I develop and debug on A, but test standalones on both A and B. I have a runtime error that I have isolated to the following code in the preOpenStack handler: ... get URL ClientDataCurrent answer "calling from preOpenStack, this is what is \ read from the data_current file:" & return & it if (the result is not empty) then end if put it into gWhatever ... On machine A in both the IDE and standalone, gWhatever is populated and everything works as desired. On machine B, the code gets nothing from the text file (confirmed by the answer dialog during runtime). The result testing is not triggered in any scenario. Moreover, on both A and B I can validate connectivity by pasting the URL into a browser and seeing the data directly. Any ideas? Are there additional tests I can do during runtime that will shed light on this? Mark =========================== From alex at mindlube.com Wed Jan 14 13:08:25 2004 From: alex at mindlube.com (Alex Rice) Date: Wed, 14 Jan 2004 11:08:25 -0700 Subject: Why are bugs from September still untouched? In-Reply-To: References: Message-ID: On Jan 14, 2004, at 10:04 AM, Dar Scott wrote: > Oh, yeah! Mine is bug #16 and it has a severity of--hey!--normal. Ach you win :-) Alas to win is to lose in this game. > What is a crash doing at normal? Maybe I didn't set this high > enough. I thought I did. > > (I don't see what bug you mean, Alex. Do you mean "naming > collisions"? I am not able to find the date of original entry in the > Bugzilla data.) Yep that's the one. There is an "Opened: 2003-07-13 02:38" , just above the Description and "Additional Comment" sections. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Wed Jan 14 13:16:05 2004 From: alex at mindlube.com (Alex Rice) Date: Wed, 14 Jan 2004 11:16:05 -0700 Subject: Why are bugs from September still untouched? In-Reply-To: References: Message-ID: On Jan 14, 2004, at 3:25 AM, xbury.cs at clearstream.com wrote: > I've also entered some bugs that never got saved... X, this one sounds like a bugzilla bug, that I've complained about before, and I think I bugzilla'd it too :-) In this post here is the problem & workaround: 1) When you open a bugzilla bug, it as marked as state UNCO (unconfirmed) 2) If and when the bug is assigned, it will be marked as ASSI 3) At some point bugzilla was changed so that the "My Bugs" preset query *does not include bugs that are marked UNCO*. It used to include them, that is for sure. Now it appears that newly created bugs disappear because they don't show up in "My Bugs". Workaround for 3) : Query existing bug reports with criteria: reporter = your at email-address You should see all your bugs including the ones with State = UNCO > THIS IS DEFINITELY NOT ENCOURAGING. > > Who do we complain to in RR? support at runrev.com? If you have a high-end license, you may have "support incidents" that you can cash in also. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From mwieder at ahsoftware.net Wed Jan 14 13:23:21 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 14 Jan 2004 10:23:21 -0800 Subject: OT: Regex In-Reply-To: <0C37BD0A-46B1-11D8-BBFC-000A9567A3E6@swcp.com> References: <0C37BD0A-46B1-11D8-BBFC-000A9567A3E6@swcp.com> Message-ID: <114254556863.20040114102321@ahsoftware.net> -- -Mark Wieder mwieder at ahsoftware.net From tuviah at runrev.com Wed Jan 14 13:24:59 2004 From: tuviah at runrev.com (tuviah snyder) Date: Wed, 14 Jan 2004 18:24:59 -0000 Subject: Why are bugs from September still untouched References: <20040114170003.CBF7E9302A4@mail.runrev.com> Message-ID: <007201c1ef56$ffa565a0$1d02a8c0@USER> > HA! I can top that. I have a July 13 2003 bug, with 20 votes, that has > been assigned, but it still NEW and has no comments from the engineer. Don't see any bug with 20 votes... Tuviah From mwieder at ahsoftware.net Wed Jan 14 13:32:45 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 14 Jan 2004 10:32:45 -0800 Subject: Field editing question Message-ID: <56255120754.20040114103245@ahsoftware.net> hi- I've got what is probably a simple question, but I'm too dense this morning to figure it out on my own. I've got two fields on a card, one of which has some text I'm editing, and the other is a locked field with a set of phrases to choose from. What I'd like to do is click (or double-click or whatever) on the locked field to select a phrase and have it inserted into my text in the editing field *at the place I was editing*. I can get the phrase with a mouseUp handler, and I don't have a problem placing it before the editing text or after the editing text, but figuring out how to set a bookmark and use it as an insertion point is escaping me right now. Anyone have a recipe for this? -- -Mark Wieder mwieder at ahsoftware.net From dcragg at lacscentre.co.uk Wed Jan 14 13:39:58 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 14 Jan 2004 18:39:58 +0000 Subject: Runtime error with 'get URL' In-Reply-To: References: Message-ID: At 10:04 am -0800 14/1/04, Mark Powell wrote: >Is the loading of libURL a function of what machine you are one (the >standalone does work on machine A). It shouldn't be ... But the issue of loading libraries has come up before, and I think the rev libraries, including libUrl are loaded in a preOpenBackground handler . You might want to try this suggestion, previously posted by Richard Gaskin: >As a workaround, try adding this in your preOpenStack handler just before >you open your login stack: > > send "preOpenBackground" to group "revLibraries" But it doesn't explain the "works on one machine, not on another" issue". >get URL ClientDataCurrent >answer "calling from preOpenStack, this is what is \ > read from the data_current file:" & return & it >if (the result is not empty) then > >end if >put it into gWhatever Although still not explaining the difference between machines, I'm fairly sure the above script won't do what you intend. Assuming you want to gather the data from the url in gWhatever, this would be better: put URL ClientDataCurrent into tData if the result is not empty then ## error handing and exit here end if answer "calling from preOpenStack, this is what is \ read from the data_current file:" & return & tData put tData into gWhatever How do you fill ClientDataCurrent? Is this different between users/machines/locations? You might want to check that it contains a valid url on the failing machine. Cheers Dave From alex at mindlube.com Wed Jan 14 13:39:55 2004 From: alex at mindlube.com (Alex Rice) Date: Wed, 14 Jan 2004 11:39:55 -0700 Subject: Why are bugs from September still untouched In-Reply-To: <007201c1ef56$ffa565a0$1d02a8c0@USER> References: <20040114170003.CBF7E9302A4@mail.runrev.com> <007201c1ef56$ffa565a0$1d02a8c0@USER> Message-ID: <0C56C30E-46C1-11D8-BD2A-000393C4760A@mindlube.com> On Apr 29, 2002, at 2:22 AM, tuviah snyder wrote: >> HA! I can top that. I have a July 13 2003 bug, with 20 votes, that has >> been assigned, but it still NEW and has no comments from the engineer. > Don't see any bug with 20 votes... See bug #143 it has 20 votes. Close behind is #148 it has 18 votes. Let me know whether you are seeing these. Thanks Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Wed Jan 14 13:42:47 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 11:42:47 -0700 Subject: Why are bugs from September still untouched In-Reply-To: <007201c1ef56$ffa565a0$1d02a8c0@USER> Message-ID: <72877748-46C1-11D8-BBFC-000A9567A3E6@swcp.com> On Monday, April 29, 2002, at 02:22 AM, tuviah snyder wrote: >> HA! I can top that. I have a July 13 2003 bug, with 20 votes, that has >> been assigned, but it still NEW and has no comments from the engineer. > Don't see any bug with 20 votes... From bugzilla: ID Changed Sev Plt Owner State OS Votes Summary 143 2003-09-19 maj Mac michael at runrev.com NEW All 20 naming collisions... 659 2003-10-01 enh Mac tuviah at runrev.com NEW All 21 Wanting to password-protect... 670 2003-09-18 enh Mac mark at runrev.com NEW All 40 More complete tables... 730 2003-10-02 enh All mark at runrev.com NEW All 40 Higher Bit-Depth Icons... Sometimes some bug states get filtered out for me. Dar Scott From alex at mindlube.com Wed Jan 14 13:44:33 2004 From: alex at mindlube.com (Alex Rice) Date: Wed, 14 Jan 2004 11:44:33 -0700 Subject: Why are bugs from September still untouched In-Reply-To: <72877748-46C1-11D8-BBFC-000A9567A3E6@swcp.com> References: <72877748-46C1-11D8-BBFC-000A9567A3E6@swcp.com> Message-ID: On Jan 14, 2004, at 11:42 AM, Dar Scott wrote: > From bugzilla: > > ID Changed Sev Plt Owner State OS Votes > Summary > 143 2003-09-19 maj Mac michael at runrev.com NEW All 20 > naming collisions... Although these 3 are enhancement requests, I think: > 659 2003-10-01 enh Mac tuviah at runrev.com NEW All 21 > Wanting to password-protect... > 670 2003-09-18 enh Mac mark at runrev.com NEW All 40 > More complete tables... > 730 2003-10-02 enh All mark at runrev.com NEW All 40 > Higher Bit-Depth Icons... > > Sometimes some bug states get filtered out for me. > Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Wed Jan 14 13:52:26 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 11:52:26 -0700 Subject: Why are bugs from September still untouched In-Reply-To: <0C56C30E-46C1-11D8-BD2A-000393C4760A@mindlube.com> Message-ID: On Wednesday, January 14, 2004, at 11:39 AM, Alex Rice wrote: >>> HA! I can top that. I have a July 13 2003 bug, with 20 votes, that >>> has >>> been assigned, but it still NEW and has no comments from the >>> engineer. >> Don't see any bug with 20 votes... > > See bug #143 it has 20 votes. > Close behind is #148 it has 18 votes. > > Let me know whether you are seeing these. Thanks I remember that at one time I did not see all the bugs. I don't know if this is related. I think I went through all fields and selected all values and it worked. Later I didn't have to do that. Maybe the first time was enough. Dar Scott From revdan at danshafer.com Wed Jan 14 14:23:19 2004 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 14 Jan 2004 11:23:19 -0800 Subject: topLevel vs. open stack Message-ID: <1C2C8944-46C7-11D8-8F84-0030656FB5D4@danshafer.com> If I'm reading the docs correctly, topLevel should close a stack if it's open and then re-open it in an editable window UNLESS it is already open in an editable window, in which case it should merely make it the current stack. But there appears to me to be some subtle difference between sending "open" to a closed stack and sending "topLevel" to a closed stack. Here's my basic demonstration. Stack is open. It has a field 1 and a button. The button has a script that looks like this: on mouseUp lock screen lock messages select field 1 of this stack copy topLevel stack "foo" paste unlock messages unlock screen end mouseUp Clicking the button brings up stack "foo" in an editable window as documented but the paste never happens. Simply change "topLevel" to "open" and the script works as expected. If I begin with both stacks open, the result is identical. So two questions arise: 1. How if at all can I copy and paste objects between two open stacks? 2. Why does topLevel behave differently from open and from the way it seems to be documented? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of "Revolution: Software at the Speed of Thought" http://www.revolutionpros.com for more info Available at Runtime Revolution Store (http://www.runrev.com/RevPress) From jacque at hyperactivesw.com Wed Jan 14 14:25:56 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 14 Jan 2004 13:25:56 -0600 Subject: Field editing question In-Reply-To: <56255120754.20040114103245@ahsoftware.net> References: <56255120754.20040114103245@ahsoftware.net> Message-ID: <400597C4.7040908@hyperactivesw.com> On 1/14/04 12:32 PM, Mark Wieder wrote: > hi- > > I've got what is probably a simple question, but I'm too dense this > morning to figure it out on my own. Don't think so; I had to do this once and the method I used before doesn't work now. I think there is a bug in "selectedchunk". Instead of returning the location of the blinking insertion point, it is returning the clicktext of the locked field. It didn't used to. > I've got two fields on a card, one of which has some text I'm editing, > and the other is a locked field with a set of phrases to choose from. > What I'd like to do is click (or double-click or whatever) on the > locked field to select a phrase and have it inserted into my text in > the editing field *at the place I was editing*. > > I can get the phrase with a mouseUp handler, and I don't have a > problem placing it before the editing text or after the editing text, > but figuring out how to set a bookmark and use it as an insertion > point is escaping me right now. Anyone have a recipe for this? This workaround seems to do it, but it is a hack: In the editable field: on keydown global gSel put the selectedchunk into gSel pass keydown end keydown In the list field: on mouseUp global gSel do "put the value of the clickline into" && gSel end mouseUp It's ugly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Jan 14 14:29:57 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Jan 2004 11:29:57 -0800 Subject: topLevel vs. open stack In-Reply-To: <1C2C8944-46C7-11D8-8F84-0030656FB5D4@danshafer.com> Message-ID: Dan Shafer wrote: > If I'm reading the docs correctly, topLevel should close a stack if > it's open and then re-open it in an editable window UNLESS it is > already open in an editable window, in which case it should merely make > it the current stack. But there appears to me to be some subtle > difference between sending "open" to a closed stack and sending > "topLevel" to a closed stack. > > Here's my basic demonstration. > > Stack is open. It has a field 1 and a button. The button has a script > that looks like this: > > on mouseUp > lock screen > lock messages > select field 1 of this stack > copy > topLevel stack "foo" > paste > unlock messages > unlock screen > end mouseUp > > Clicking the button brings up stack "foo" in an editable window as > documented but the paste never happens. > > Simply change "topLevel" to "open" and the script works as expected. > > If I begin with both stacks open, the result is identical. > > So two questions arise: > > 1. How if at all can I copy and paste objects between two open stacks? copy field 1 to stack "MyOtherStack" The advantage to the "copy..to" option is that it preserves the user's clipboard. > 2. Why does topLevel behave differently from open and from the way it > seems to be documented? Could the stack's style property be set? If so then "open" will honor the style, while "toplevel" overrides the stack's style to open as toplevel (same with the "palette", "modeless", and "modal" commands). What is the mode of the stack when it's opened? open stack "foo" answer the mode of stack "foo" -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jbv.silences at Club-Internet.fr Wed Jan 14 14:38:48 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Wed, 14 Jan 2004 20:38:48 +0100 Subject: CGI Presentation at Revolution Seminar References: <400488E7.4050807@hyperactivesw.com> <3B0B9B3E-46AE-11D8-B7F1-000A95665344@easynet.fr> Message-ID: <40059AC7.65DE8C0D@Club-Internet.fr> Pierre, Thanks for the answer. Regarding RedHat, is there a recommended complete configuration for a server that will be used for a dedicated web app, with : - MC/Rev CGI - quite a lot of HTML - a database (don't know yet wether it'll be mySQL, PostgreSQL, Valentina, or perhaps simple flat files) - a few automated tasks via chron jobs - automated emails... IOW nothing really special... My question concerns the combination of Linux, Apache, a firewall, SMTP, etc. which versions, any special thing to take care of... My ISP will configure the whole thing, but I first need to make choices and recommendations to my client... Please reply off-list if you think few ppl will be thrilled by such an accumulation of OT details... Thanks in advance, JB > Le 14 janv. 04, ? 11:12, jbv a ?crit : > > > Speaking of CGI, I'm about to start a web app > > with various CGI for a client. > > > > I'm wondering, which Linux version to choose, > > RedHat or FreeBSD ? > > FreeBSD is not a Linux distribution but a different (and powerfull too) > OS. In about a Linux distribs, RedHat is a good choice. Else, you can > try Suse but you will find more help and ready to use .RPM packages for > ReadHat. > > > > As for CGI, MC 2.5 is OK for what I have to do. > > Where can I find a CGI version to download ? > > Is it still available on the MetaCard FTP site ? > > Yes but it seems that the current Rev engine is yet full featured to > act as a fine CGI engine. Test it first ;-) > > > > Thanks all, > > JB > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > Bien cordialement, Pierre Sahores > > 100, rue de Paris > F - 77140 Nemours > > psahores at easynet.fr > > GSM: +33 6 03 95 77 70 > Pro: +33 1 41 60 52 68 > Dom: +33 1 64 45 05 33 > Fax: +33 1 64 45 05 33 > > Inspection acad?mique de Seine-Saint-Denis > Applications et SGBD ACID SQL (WEB et PGI) > Penser et produire "delta de productivit?" > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Wed Jan 14 14:43:17 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Wed, 14 Jan 2004 14:43:17 -0500 Subject: Revolution Seminar In-Reply-To: <47B1BE8E-46BA-11D8-B37A-000A95A088D2@mac.com> References: <47B1BE8E-46BA-11D8-B37A-000A95A088D2@mac.com> Message-ID: Hey, I want ideas and FILES that will save me a hundred hours this year??????? I was not there at the Seminar so I missed out. How else can I get this info? Tom On Jan 14, 2004, at 12:51 PM, Byron Turner wrote: > Echo that. I came away with ideas and FILES that will save me a > hundred hours this year. > > Byron Turner > > On Jan 14, 2004, at 9:04 AM, Rory Bolzer wrote: > >> Hi All, >> >> I need to thank all of the presenters and planners of the Revolution >> Seminar in San Francisco; excellent job overall. Anyone who didn't go >> should plan to next year. >> >> J. Rory Bolzer, Pharm.D. >> jroryb at sonic.net >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From gizmotron at earthlink.net Wed Jan 14 14:48:26 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 14 Jan 2004 11:48:26 -0800 Subject: Revolution Seminar In-Reply-To: Message-ID: <9E9BAF30-46CA-11D8-B03D-000A95859272@earthlink.net> On Wednesday, January 14, 2004, at 11:43 AM, Thomas J McGrath III wrote: > Hey, > > I want ideas and FILES that will save me a hundred hours this > year??????? > > I was not there at the Seminar so I missed out. How else can I get > this info? > > Tom me2 - mb From jacque at hyperactivesw.com Wed Jan 14 14:53:51 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 14 Jan 2004 13:53:51 -0600 Subject: CGI Presentation at Revolution Seminar In-Reply-To: <40051614.96C597F8@Club-Internet.fr> References: <400488E7.4050807@hyperactivesw.com> <40051614.96C597F8@Club-Internet.fr> Message-ID: <40059E4F.7040900@hyperactivesw.com> On 1/14/04 4:12 AM, jbv wrote: > As for CGI, MC 2.5 is OK for what I have to do. > Where can I find a CGI version to download ? > Is it still available on the MetaCard FTP site ? If you are using MC, then just use the engine that ships for your platform. There is no specially-compiled engine for CGIs; the one that you use for working with stacks and the GUI also works fine for CGIs. All the 2.5 engines are still available at the MetaCard ftp site. If you are using Revolution, then you will need a specially-compiled engine intended for CGI use, though I'm not sure why this should be. The Darwin engine (for OS X) is located at The Linux and Windows engines are located at . Note that this last folder also includes a Darwin engine, but that version requires that you download and compile separate libraries, so use the first URL for Darwin. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Wed Jan 14 15:49:13 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 14 Jan 2004 14:49:13 -0600 Subject: XML Tutorial In-Reply-To: Message-ID: Hi Thomas, You also might want to take a look at: http://www.w3schools.com/xml/default.asp A very quick and concise look at XML -Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Thomas J > McGrath III > Sent: Monday, January 12, 2004 9:41 AM > To: How to use Revolution > Subject: XML Tutorial > > > Hello everyone, > > Does anyone have a stack that shows how XML's work in Rev for > 'beginners'? > > I don't know anything about XML. I found "Way too much" on the web and > not enough of how it concerns usage in REV. > > I can learn more in thirty minutes of studying a stack then 5 hours of > reading about it online. I am truly a hands on person. > > Thanks > > Tom > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From tuviah at runrev.com Wed Jan 14 16:32:39 2004 From: tuviah at runrev.com (tuviah snyder) Date: Wed, 14 Jan 2004 21:32:39 -0000 Subject: Why are bugs from September still untouched References: <20040114194007.6359A9302D2@mail.runrev.com> Message-ID: <00cd01c1ef71$379fffa0$1d02a8c0@USER> >ID Changed Sev Plt Owner State OS Votes > Summary >143 2003-09-19 maj Mac michael at runrev.com NEW All 20 >naming collisions... >659 2003-10-01 enh Mac tuviah at runrev.com NEW All 21 >Wanting to password-protect... >670 2003-09-18 enh Mac mark at runrev.com NEW All 40 >More complete tables... >730 2003-10-02 enh All mark at runrev.com NEW All 40 >Higher Bit-Depth Icons... I just resolved many of these. But you know a lot of these are enhancement requests that have been implemented or are being implemented..so we the best we can do is mark later, or in some cases fixed. I think all of these have been looked at or commented on. Tuviah From dsc at swcp.com Wed Jan 14 16:39:19 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 14:39:19 -0700 Subject: Why are bugs from September still untouched In-Reply-To: <00cd01c1ef71$379fffa0$1d02a8c0@USER> Message-ID: <1BD464F0-46DA-11D8-BBFC-000A9567A3E6@swcp.com> On Monday, April 29, 2002, at 05:30 AM, tuviah snyder wrote: > I just resolved many of these. But you know a lot of these are > enhancement > requests that have been implemented or are being implemented..so we > the best > we can do is mark later, or in some cases fixed. I think all of these > have > been looked at or commented on. Yes. Sorry. I didn't mean to imply that all these were neglected. I just used the report as a counter-example to the notion that no bugzilla entries have 20 votes. I should have used only the first, it being (as you and Alex pointed out) the one that is not an enhancement. Dar Scott From dsc at swcp.com Wed Jan 14 17:12:27 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 15:12:27 -0700 Subject: Why are bugs from September still untouched? In-Reply-To: Message-ID: On Wednesday, January 14, 2004, at 10:39 AM, Dave Cragg wrote: > > Just out of interest, is "(?>x)*" a valid regular expression? If so, > what does it do? Yes. It is a non-backtracking, non-capturing group. Non-backtracking has many uses, but I use it especially to keep match failures from taking a very long time. This particular trivial example can be done other ways, of course. In trying to narrow down the bug I reduced the problem to the trivial. Other non-capturing groups have the same or similar problem. The most common is simple clustering: "(?:x)" Assertions also do not capture. I discovered this when trying to make a regex to test whether text is field safe, that is, whether it has certain control characters or long lines. (That was before I realized that there is also a formatedWidth limit on lines, too.) Dar Scott From dsc at swcp.com Wed Jan 14 17:21:39 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 15:21:39 -0700 Subject: Why are bugs from September still untouched? In-Reply-To: Message-ID: <064F21BA-46E0-11D8-BBFC-000A9567A3E6@swcp.com> On Wednesday, January 14, 2004, at 07:42 AM, Dar Scott wrote: > I know what you mean. I entered the matchText() crash bug back in > August. Oh, that was July 19. That was how I tricked Alex into thinking he had the winning (losing) entry. Dar Scott From squance at elkvalley.net Wed Jan 14 17:47:16 2004 From: squance at elkvalley.net (David Squance) Date: Wed, 14 Jan 2004 15:47:16 -0700 Subject: topLevel vs. open stack In-Reply-To: References: <1C2C8944-46C7-11D8-8F84-0030656FB5D4@danshafer.com> Message-ID: >Dan Shafer wrote: > >> If I'm reading the docs correctly, topLevel should close a stack if >> it's open and then re-open it in an editable window UNLESS it is >> already open in an editable window, in which case it should merely make >> it the current stack. But there appears to me to be some subtle >> difference between sending "open" to a closed stack and sending >> "topLevel" to a closed stack. [Richard's reply:] > copy field 1 to stack "MyOtherStack" > >The advantage to the "copy..to" option is that it preserves the user's >clipboard. > >> 2. Why does topLevel behave differently from open and from the way it >> seems to be documented? > >Could the stack's style property be set? If so then "open" will honor the >style, while "toplevel" overrides the stack's style to open as toplevel >(same with the "palette", "modeless", and "modal" commands). What about "go"? Where does it fit in? I have a script which is hanging on a clone command, but there's a lock screen before it. Since the card which is being cloned doesn't appear on the screen, does RR not know what to clone? Would it make any difference, in view of the lock screen, whether I used open or toplevel? The mode in each case should be editable. Dave From alex at mindlube.com Wed Jan 14 17:57:18 2004 From: alex at mindlube.com (Alex Rice) Date: Wed, 14 Jan 2004 15:57:18 -0700 Subject: Why are bugs from September still untouched In-Reply-To: <00cd01c1ef71$379fffa0$1d02a8c0@USER> References: <20040114194007.6359A9302D2@mail.runrev.com> <00cd01c1ef71$379fffa0$1d02a8c0@USER> Message-ID: <00FCA28E-46E5-11D8-BD2A-000393C4760A@mindlube.com> On Apr 29, 2002, at 5:30 AM, tuviah snyder wrote: > I think all of these have > been looked at or commented on. #143 has not. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dcragg at lacscentre.co.uk Wed Jan 14 18:01:52 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 14 Jan 2004 23:01:52 +0000 Subject: Why are bugs from September still untouched? In-Reply-To: References: Message-ID: At 3:12 pm -0700 14/1/04, Dar Scott wrote: >On Wednesday, January 14, 2004, at 10:39 AM, Dave Cragg wrote: > >> >> Just out of interest, is "(?>x)*" a valid regular expression? If >>so, what does it do? > >Yes. It is a non-backtracking, non-capturing group. >Non-backtracking has many uses, but I use it especially to keep >match failures from taking a very long time. Sorry, I wasn't clear. I was wondering about the purpose of the * immediately following the extended expression. I couldn't understand its function. I thought extended expressions of the form (?...) were self-contained, and couldn't be followed by "repeat" metacharacters. (But I only discovered extended expressions recently, and have rarely used them.) I could understand "(?>x*)" or "(?>x).*" but not "(?>x)*". But after mucking around, it looks like "(?>x*)" and "(?>x)*" do the same. Am I right? But "(?>x*)" seems a lot faster. By the way, I still don't get any crash or error with your script. Cheers Dave From dsc at swcp.com Wed Jan 14 18:07:43 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 16:07:43 -0700 Subject: Why are bugs from September still untouched? In-Reply-To: Message-ID: <755CCA0E-46E6-11D8-BBFC-000A9567A3E6@swcp.com> On Wednesday, January 14, 2004, at 04:01 PM, Dave Cragg wrote: > But after mucking around, it looks like "(?>x*)" and "(?>x)*" do the > same. Am I right? But "(?>x*)" seems a lot faster. How about "(?>xy)"? > By the way, I still don't get any crash or error with your script. A clue! What OS and Rev? (I often go back and check old bugs with new releases but I don't remember whether I did that with this one. Maybe this got fixed when I wasn't looking. Fixing one bug might fix another.) Dar Scott From dcragg at lacscentre.co.uk Wed Jan 14 18:29:09 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 14 Jan 2004 23:29:09 +0000 Subject: Why are bugs from September still untouched? In-Reply-To: <755CCA0E-46E6-11D8-BBFC-000A9567A3E6@swcp.com> References: <755CCA0E-46E6-11D8-BBFC-000A9567A3E6@swcp.com> Message-ID: At 4:07 pm -0700 14/1/04, Dar Scott wrote: >> By the way, I still don't get any crash or error with your script. > >A clue! What OS and Rev? OS X 10.3.2, and the engine version 2.5. I just checked with Rev 2.1.2 (engine version 2.5.1) and that works here too. Cheers Dave From doug at webcrossing.com Wed Jan 14 18:45:33 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 15 Jan 2004 08:45:33 +0900 Subject: Linux standalone app crashing Message-ID: I have an app I wrote and it works in OS X, OS 9 and Windows. But a co-worker who uses Linux as his main desktop tried it just before and it crashed on his system: Suse 9.0 2.4.21-166-default #1 Thu Dec 18 18:23:14 UTC 2003 i686 i686 i386 GNU/Linux with: ./WebXClient exiting on signal 11 Just at the point that a clone of an invisible stack was being created. This was repeated several times and it crashed the same way just at the same time. Any hints as to what the problem might be? Thanks, Doug Lerner, Tokyo From kgjaqua1 at sbcglobal.net Wed Jan 14 19:15:23 2004 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Wed, 14 Jan 2004 16:15:23 -0800 (PST) Subject: XML Tutorial Message-ID: <20040115001523.49913.qmail@web80407.mail.yahoo.com> Chipp You are right, this is a great tutorial classroom! I know I will learn alot. Thanks, Kathy Graves Jaqua A Wildest Dream Software From dsc at swcp.com Wed Jan 14 19:27:19 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 14 Jan 2004 17:27:19 -0700 Subject: Why are bugs from September still untouched? In-Reply-To: Message-ID: <93ECFCC6-46F1-11D8-9B6E-000A9567A3E6@swcp.com> On Wednesday, January 14, 2004, at 04:29 PM, Dave Cragg wrote: >> A clue! What OS and Rev? > > OS X 10.3.2, and the engine version 2.5. I just checked with Rev 2.1.2 > (engine version 2.5.1) and that works here too. It worked for me on 2.1.2 (crashes on 2.1 & 2.1.1), but I increased the length to 1400 and got the crashes again. Dar Scott From erikhans08 at yahoo.com Wed Jan 14 20:17:42 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Wed, 14 Jan 2004 17:17:42 -0800 (PST) Subject: what about a Latin America Rev User Group In-Reply-To: <20040114080941.21788.qmail@web40514.mail.yahoo.com> Message-ID: <20040115011742.27514.qmail@web61106.mail.yahoo.com> --- Alejandro Tejada > Thanks eric, you are welcome! > It's interesting your approach to teach Math. > Where do you have these a stacks? > Do you live in Mexico, right? en California. the stacks are getting finishing touches. Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From erikhans08 at yahoo.com Wed Jan 14 21:01:36 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Wed, 14 Jan 2004 18:01:36 -0800 (PST) Subject: Revolution Seminar In-Reply-To: <47B1BE8E-46BA-11D8-B37A-000A95A088D2@mac.com> Message-ID: <20040115020136.20888.qmail@web61104.mail.yahoo.com> --- Byron Turner wrote: > Echo that. I came away with ideas and FILES > that will save me a > hundred hours this year. for those who couldn't make the seminar, go to the websites of the presenters. Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From erikhans08 at yahoo.com Wed Jan 14 21:19:47 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Wed, 14 Jan 2004 18:19:47 -0800 (PST) Subject: a closed stack vs an invisible stack In-Reply-To: Message-ID: <20040115021947.89663.qmail@web61103.mail.yahoo.com> --- Richard Gaskin wrote: > you can access data in any stack > file without opening it. The > stack file will be read into memory in order to > access it, but will not be officially opened. is a "stack file" the same as a "stack" or does it contain groups of stuff? thanks, Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From erikhans08 at yahoo.com Wed Jan 14 21:46:39 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Wed, 14 Jan 2004 18:46:39 -0800 (PST) Subject: "the Registry had been tampered with..." Message-ID: <20040115024639.49985.qmail@web61106.mail.yahoo.com> my sisters Windows 98 is acting out. i downloaded RunRev to the desktop. her technician says that "the Registry had been tampered with..." he wonders whether RR could have unintentionally done something complicating. anyone have any such experience? thanks, Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From squance at elkvalley.net Wed Jan 14 22:01:17 2004 From: squance at elkvalley.net (David Squance) Date: Wed, 14 Jan 2004 20:01:17 -0700 Subject: Clearing spaces from lines of a field In-Reply-To: References: <1C2C8944-46C7-11D8-8F84-0030656FB5D4@danshafer.com> Message-ID: In the process of trying to build a "cleaning script" I tried the following: Type a few short lines (with returns) in a field. After line 1 add a few spaces. Clicking in the empty space to the right of the visible characters leaves the cursor the expected distance from the last visible letter. Using the delete key removes the spaces as expected and similar clicking leaves the cursor beside the last letter. However: In the multiple line message box, I put: repeat if last char of line 1 of fld "theField" is " " then delete last char of line 1 of fld "theField" else exit repeat end repeat put line 1 of fld "theField"&"<" which produces: the text< Then in the single line message box, I put: put ">"&( line 1 of fld "theField")&"<" which produces: >the text < I went back and forth a few times, and it made no difference. I can still click beside the line of text and have the cursor stay out the distance of the added spaces. Any clues as to what is going on? Dave From jacque at hyperactivesw.com Wed Jan 14 22:13:53 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 14 Jan 2004 21:13:53 -0600 Subject: Clearing spaces from lines of a field In-Reply-To: References: <1C2C8944-46C7-11D8-8F84-0030656FB5D4@danshafer.com> Message-ID: <40060571.5020702@hyperactivesw.com> On 1/14/04 9:01 PM, David Squance wrote: > In the process of trying to build a "cleaning script" I tried the following: > Type a few short lines (with returns) in a field. After line 1 add a few > spaces. Clicking in the empty space to the right of the visible characters > leaves the cursor the expected distance from the last visible letter. > Using the delete key removes the spaces as expected and similar clicking > leaves the cursor beside the last letter. However: > > In the multiple line message box, I put: > > repeat > if last char of line 1 of fld "theField" is " " then > delete last char of line 1 of fld "theField" > else exit repeat > end repeat > put line 1 of fld "theField"&"<" > > which produces: > > the text< > > Then in the single line message box, I put: > > put ">"&( line 1 of fld "theField")&"<" > > which produces: > > >>the text < > > > I went back and forth a few times, and it made no difference. I can still > click beside the line of text and have the cursor stay out the distance of > the added spaces. Any clues as to what is going on? I followed the recipe, but I can't reproduce it. I always get ">the text<" regardless of which message box view I use. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From squance at elkvalley.net Wed Jan 14 22:17:25 2004 From: squance at elkvalley.net (David Squance) Date: Wed, 14 Jan 2004 20:17:25 -0700 Subject: Showing the cursor in a field In-Reply-To: References: <1C2C8944-46C7-11D8-8F84-0030656FB5D4@danshafer.com> Message-ID: In addition to my last post, I can't get the cursor to appear in half of the same fields which I want to "clean". As far as I can see, all the settings are the same. I can drag over text and it highlights and will delete, but the I-beam doesn't show. What have I missed? Thanks. Dave From doug at webcrossing.com Wed Jan 14 23:35:06 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 15 Jan 2004 13:35:06 +0900 Subject: read socket until crlf question Message-ID: If I read from socket thisSocket until CRLF and then look at the number of chars in it the number of chars is ONE plus the number of visible characters read. Why isn't it TWO plus the number of visible chararacters read - one for CR and one for LF? doug From katir at hindu.org Wed Jan 14 23:35:05 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:35:05 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:35:40 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:35:40 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:36:00 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:36:00 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:37:15 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:37:15 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:37:38 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:37:38 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:38:09 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:38:09 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:38:46 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:38:46 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:39:09 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:39:09 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:39:36 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:39:36 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:40:10 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:40:10 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:40:40 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:40:40 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:41:05 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:41:05 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:41:45 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:41:45 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:42:15 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:42:15 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:42:44 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:42:44 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:43:18 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:43:18 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:45:00 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:45:00 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Wed Jan 14 23:45:30 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:45:30 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From revdan at danshafer.com Wed Jan 14 23:46:09 2004 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 14 Jan 2004 20:46:09 -0800 Subject: topLevel vs. open stack In-Reply-To: References: Message-ID: On Jan 14, 2004, at 11:29 AM, Richard Gaskin wrote: > Dan Shafer wrote: > >> If I'm reading the docs correctly, topLevel should close a stack if >> it's open and then re-open it in an editable window UNLESS it is >> already open in an editable window, in which case it should merely >> make >> it the current stack. But there appears to me to be some subtle >> difference between sending "open" to a closed stack and sending >> "topLevel" to a closed stack. >> >> Here's my basic demonstration. >> >> Stack is open. It has a field 1 and a button. The button has a script >> that looks like this: >> >> on mouseUp >> lock screen >> lock messages >> select field 1 of this stack >> copy >> topLevel stack "foo" >> paste >> unlock messages >> unlock screen >> end mouseUp >> >> Clicking the button brings up stack "foo" in an editable window as >> documented but the paste never happens. >> >> Simply change "topLevel" to "open" and the script works as expected. >> >> If I begin with both stacks open, the result is identical. >> >> So two questions arise: >> >> 1. How if at all can I copy and paste objects between two open stacks? > > copy field 1 to stack "MyOtherStack" > ::sound of palm smiting forehead:: Doh! Thanks, Richard. Good one. > The advantage to the "copy..to" option is that it preserves the user's > clipboard. > >> 2. Why does topLevel behave differently from open and from the way it >> seems to be documented? > > Could the stack's style property be set? If so then "open" will honor > the > style, while "toplevel" overrides the stack's style to open as toplevel > (same with the "palette", "modeless", and "modal" commands). > Stack is a default editable stack. I do no style settings on it at all. > What is the mode of the stack when it's opened? > > open stack "foo" > answer the mode of stack "foo" > Mode is 1 > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Wed Jan 14 23:46:32 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:46:32 -1000 Subject: topLevel vs. open stack In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From chrism at luminus.com Wed Jan 14 23:47:03 2004 From: chrism at luminus.com (Christopher Mitchell) Date: Wed, 14 Jan 2004 22:47:03 -0600 Subject: New to Rev, smooth animation in Builder but Jumpy animation in app/browse (repost as new thread) Message-ID: Howdy, please forgive this repost but it seems to have gotten skipped over today because I inadvertently sent it in under a completely non-related thread. Original message follows: Hello to all, I just made the very simple tweened animation of a text field in the tutorials. The thing is that although the animation looks reasonably smooth in the Animation builder, when I trigger it from within the Browse function or as an external app it looks terrible. It jumps across like it is 3fps instead of 11. I would think I was just doing something wrong except it looks right in the builder. Incidentally, is there a quick way to set the max frames in the anim builder? (it says x frames of Y, but only X appears to be directly available for setting) Thanks, Chris From katir at hindu.org Wed Jan 14 23:47:21 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:47:21 -1000 Subject: New to Rev, smooth animation in Builder but Jumpy animation in app/browse (repost as new thread) In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From ambassador at fourthworld.com Wed Jan 14 23:53:46 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Jan 2004 20:53:46 -0800 Subject: read socket until crlf question In-Reply-To: Message-ID: With all due respect to the gentle and helpful Sannyasin Sivakatirswami, would the List Mom please consider suspending his subscription until he returns on 9 Feb. to avoid his enthusiastic autoresponder? I'm sure a person of his character would have intended to do so himself had he not been so busy preparing for his trip tp Malaysia. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From katir at hindu.org Wed Jan 14 23:54:42 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:54:42 -1000 Subject: read socket until crlf question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From ambassador at fourthworld.com Wed Jan 14 23:55:19 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 14 Jan 2004 20:55:19 -0800 Subject: topLevel vs. open stack In-Reply-To: Message-ID: Dan Shafer wrote: > > On Jan 14, 2004, at 11:29 AM, Richard Gaskin wrote: > >> Dan Shafer wrote: >> >>> If I'm reading the docs correctly, topLevel should close a stack if >>> it's open and then re-open it in an editable window UNLESS it is >>> already open in an editable window, in which case it should merely >>> make >>> it the current stack. But there appears to me to be some subtle >>> difference between sending "open" to a closed stack and sending >>> "topLevel" to a closed stack. >>> >>> Here's my basic demonstration. >>> >>> Stack is open. It has a field 1 and a button. The button has a script >>> that looks like this: >>> >>> on mouseUp >>> lock screen >>> lock messages >>> select field 1 of this stack >>> copy >>> topLevel stack "foo" >>> paste >>> unlock messages >>> unlock screen >>> end mouseUp >>> >>> Clicking the button brings up stack "foo" in an editable window as >>> documented but the paste never happens. >>> >>> Simply change "topLevel" to "open" and the script works as expected. >>> >>> If I begin with both stacks open, the result is identical. >>> >>> So two questions arise: >>> >>> 1. How if at all can I copy and paste objects between two open stacks? >> >> copy field 1 to stack "MyOtherStack" >> > ::sound of palm smiting forehead:: Doh! Thanks, Richard. Good one. >> The advantage to the "copy..to" option is that it preserves the user's >> clipboard. >> >>> 2. Why does topLevel behave differently from open and from the way it >>> seems to be documented? >> >> Could the stack's style property be set? If so then "open" will honor >> the >> style, while "toplevel" overrides the stack's style to open as toplevel >> (same with the "palette", "modeless", and "modal" commands). >> > Stack is a default editable stack. I do no style settings on it at all. > >> What is the mode of the stack when it's opened? >> >> open stack "foo" >> answer the mode of stack "foo" >> > Mode is 1 Then we might look at the other side: What's on the clipboard after the copy command? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From katir at hindu.org Wed Jan 14 23:56:10 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 18:56:10 -1000 Subject: topLevel vs. open stack In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From squance at elkvalley.net Thu Jan 15 00:01:45 2004 From: squance at elkvalley.net (David Squance) Date: Wed, 14 Jan 2004 22:01:45 -0700 Subject: Clearing spaces from lines of a field In-Reply-To: <40060571.5020702@hyperactivesw.com> References: <1C2C8944-46C7-11D8-8F84-0030656FB5D4@danshafer.com> Message-ID: >On 1/14/04 9:01 PM, David Squance wrote: > >> In the process of trying to build a "cleaning script" I tried the following: >> Type a few short lines (with returns) in a field. After line 1 add a few >> spaces. Clicking in the empty space to the right of the visible characters >> leaves the cursor the expected distance from the last visible letter. >> Using the delete key removes the spaces as expected and similar clicking >> leaves the cursor beside the last letter. However: >> >> In the multiple line message box, I put: >> >> repeat >> if last char of line 1 of fld "theField" is " " then >> delete last char of line 1 of fld "theField" >> else exit repeat >> end repeat >> put line 1 of fld "theField"&"<" >> >> which produces: >> >> the text< >> >> Then in the single line message box, I put: >> >> put ">"&( line 1 of fld "theField")&"<" >> >> which produces: >> >> >>>the text < >> >> >> I went back and forth a few times, and it made no difference. I can still >> click beside the line of text and have the cursor stay out the distance of >> the added spaces. Any clues as to what is going on? > >I followed the recipe, but I can't reproduce it. I always get ">the >text<" regardless of which message box view I use. And are the spaces gone in the actual field, too? I found this originally in a project, and wondered if it was something peculiar to the fields there, but it was the same in a brand new stack and field. [OS 10.3.2, RR 2.1.2] Dave From katir at hindu.org Thu Jan 15 00:01:46 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 19:01:46 -1000 Subject: Clearing spaces from lines of a field In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From mwieder at ahsoftware.net Thu Jan 15 00:12:02 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 14 Jan 2004 21:12:02 -0800 Subject: read socket until crlf question In-Reply-To: References: Message-ID: <48293478539.20040114211202@ahsoftware.net> ROTFLASTC !!! -- -Mark Wieder mwieder at ahsoftware.net From katir at hindu.org Thu Jan 15 00:11:54 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 19:11:54 -1000 Subject: read socket until crlf question In-Reply-To: <48293478539.20040114211202@ahsoftware.net> Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From itrunrev at itinfo.dk Thu Jan 15 00:25:12 2004 From: itrunrev at itinfo.dk (Carsten Levin) Date: Thu, 15 Jan 2004 06:25:12 +0100 Subject: "the Registry had been tampered with..." In-Reply-To: <20040115024639.49985.qmail@web61106.mail.yahoo.com> References: <20040115024639.49985.qmail@web61106.mail.yahoo.com> Message-ID: <31911A44-471B-11D8-AD19-000A95C49B80@itinfo.dk> Hi Erik, On windows 98 we have had strange problems that are probably connected to Revolution/registry. Updating to new revolutions sometime causes the Revolution stacks to begin opening in other applications (if I remember right, Acrobat and others). And they obviously doesnt handle .rev files very well. We did of course try to handle this problem by going to the .rev files properties and tried to change them to always open with Revolution again. But with limited succes. In some cases we had to give up. And on one PC we are now NOT using Revolution at all untill we get the time to reformat. On XP we havent seen this problem. Probably because of better install/uninstall procedures and registry handling. From katir at hindu.org Thu Jan 15 00:25:25 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 19:25:25 -1000 Subject: "the Registry had been tampered with..." In-Reply-To: <31911A44-471B-11D8-AD19-000A95C49B80@itinfo.dk> Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From psahores at easynet.fr Wed Jan 14 18:02:45 2004 From: psahores at easynet.fr (Pierre Sahores) Date: 15 Jan 2004 00:02:45 +0100 Subject: CGI Presentation at Revolution Seminar In-Reply-To: <40059AC7.65DE8C0D@Club-Internet.fr> References: <400488E7.4050807@hyperactivesw.com> <3B0B9B3E-46AE-11D8-B7F1-000A95665344@easynet.fr> <40059AC7.65DE8C0D@Club-Internet.fr> Message-ID: <1074121365.5379.26.camel@www.kmax.ici> Le mer 14/01/2004 ? 20:38, jbv a ?crit : > Pierre, > > Thanks for the answer. > > Regarding RedHat, is there a recommended complete > configuration for a server that will be used for a > dedicated web app, with : > - MC/Rev CGI > - quite a lot of HTML > - a database (don't know yet wether it'll be mySQL, PostgreSQL, > Valentina, or perhaps simple flat files) > - a few automated tasks via chron jobs > - automated emails... RedHat 9 and above... PostgreSQL is not more difficult to learn than MySQL is but lots more powerfull and secure. I use it since years and didn't find any more usefull ACID compliant RDBMS, including commercial solutions. As long as you don't use a real application server, the flat-files way can't be a competitive solution : for each new request, a cgi script loads from disk all the datas stored in flat-files. About the automated emails, i'm using PostFix and the great Sean's rev's libs : > Well after many months of sitting around and doing nothing, I'm > finally > releasing the next version of libSmtp and it's new companion library - > libEmail! > > libSmtp has been re-written and all of the email encoding features > that > were found in the previous versions have all been off-loaded to > libEmail. > > What's new in libSmtp v2 > - almost 100% re-written > - more robust error handling > - everything should be "threaded" (wait with messages) > - better smtp authentication support and handling > > libEmail v1.0.0 is a new library featuring all the great features > found > in the old libSmtp library, but with much better support. All the code > has been sifted through and re-written in many places. Support for > unicode in headers and message body parts was added in. > > > Why two libraries now? > It's not a money grab ^_^ as they are both released into the public > domain. The reason for the two libraries is to allow me to give better > attention to the one task that they're to do, but also to allow you > greater flexibility and choice. > > What choices? > By spliting them into two libraries, you can use another library with > either one of these libraries. > > > As always, feel free to write with comments, suggestions or fixes > for "undocumented features" ;-) > > -Sean > www.shaosean.tk > > IOW nothing really special... > > My question concerns the combination of Linux, Apache, a > firewall, SMTP, etc. which versions, any special thing to > take care of... > My ISP will configure the whole thing, but I first need to > make choices and recommendations to my client... > > Please reply off-list if you think few ppl will be thrilled > by such an accumulation of OT details... > > Thanks in advance, > JB > > > Le 14 janv. 04, ? 11:12, jbv a ?crit : > > > > > Speaking of CGI, I'm about to start a web app > > > with various CGI for a client. > > > > > > I'm wondering, which Linux version to choose, > > > RedHat or FreeBSD ? > > > > FreeBSD is not a Linux distribution but a different (and powerfull too) > > OS. In about a Linux distribs, RedHat is a good choice. Else, you can > > try Suse but you will find more help and ready to use .RPM packages for > > ReadHat. > > > > > > As for CGI, MC 2.5 is OK for what I have to do. > > > Where can I find a CGI version to download ? > > > Is it still available on the MetaCard FTP site ? > > > > Yes but it seems that the current Rev engine is yet full featured to > > act as a fine CGI engine. Test it first ;-) > > > > > > Thanks all, > > > JB > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From katir at hindu.org Thu Jan 15 00:27:32 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 19:27:32 -1000 Subject: CGI Presentation at Revolution Seminar In-Reply-To: <1074121365.5379.26.camel@www.kmax.ici> Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From itrunrev at itinfo.dk Thu Jan 15 00:29:06 2004 From: itrunrev at itinfo.dk (Carsten Levin) Date: Thu, 15 Jan 2004 06:29:06 +0100 Subject: The keyboard - back to US - solved the problem? In-Reply-To: <20040115024639.49985.qmail@web61106.mail.yahoo.com> References: <20040115024639.49985.qmail@web61106.mail.yahoo.com> Message-ID: In previous 2.X.X versions the keyboard in Windows was automatically set back to US/English ... and not Danish/Norvegian/French or whatever you needed it to be. Due to this problem we had to move some users back to Rev 1.1.1 Is this problem solved in the recent version? Best regards Carsten From katir at hindu.org Thu Jan 15 00:29:16 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 19:29:16 -1000 Subject: The keyboard - back to US - solved the problem? In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From kgjaqua1 at sbcglobal.net Thu Jan 15 01:58:52 2004 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Wed, 14 Jan 2004 22:58:52 -0800 (PST) Subject: topLevel vs. open stack Message-ID: <20040115065852.134.qmail@web80410.mail.yahoo.com> Dan and Richard In the MetaCard Manual pg 349, Toplevel stacks have a mode of 1 or 2(depending on weather they have their cantModify property set to false or True repspectively). So, could it be mode 2? Kathy Graves Jaqua A Wildest Dream Software From katir at hindu.org Thu Jan 15 01:58:56 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 20:58:56 -1000 Subject: topLevel vs. open stack In-Reply-To: <20040115065852.134.qmail@web80410.mail.yahoo.com> Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From doug at webcrossing.com Thu Jan 15 04:53:42 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 15 Jan 2004 18:53:42 +0900 Subject: some choose tool question Message-ID: If I "choose graphic tool" and draw a graphic, the cursor then switches to the pointer tool. If I force it to stay as the graphic tool (in the newGraphic handler, for example) how can I ever use mouseLeave or mouseEnter again so I can select another tool in a palette of tools? doug From katir at hindu.org Thu Jan 15 04:53:41 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed, 14 Jan 2004 23:53:41 -1000 Subject: some choose tool question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From janschenkel at yahoo.com Thu Jan 15 05:21:03 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 15 Jan 2004 02:21:03 -0800 (PST) Subject: some choose tool question In-Reply-To: Message-ID: <20040115102103.15534.qmail@web60503.mail.yahoo.com> --- Doug Lerner wrote: > If I "choose graphic tool" and draw a graphic, the > cursor then switches to > the pointer tool. > > If I force it to stay as the graphic tool (in the > newGraphic handler, for > example) how can I ever use mouseLeave or mouseEnter > again so I can select > another tool in a palette of tools? > > doug > Hi Doug, I'm not sure why you'd need a mouseLeave or mouseEnter message for selecting a tool in a palette ; when you click in a palette stack, the 'topStack' should still point to the stack you were in. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From katir at hindu.org Thu Jan 15 05:21:07 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 15 Jan 2004 00:21:07 -1000 Subject: some choose tool question In-Reply-To: <20040115102103.15534.qmail@web60503.mail.yahoo.com> Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From doug at webcrossing.com Thu Jan 15 05:26:56 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 15 Jan 2004 19:26:56 +0900 Subject: some choose tool question In-Reply-To: <20040115102103.15534.qmail@web60503.mail.yahoo.com> Message-ID: On 1/15/04 7:21 PM, "Jan Schenkel" wrote: > --- Doug Lerner wrote: >> If I "choose graphic tool" and draw a graphic, the >> cursor then switches to >> the pointer tool. >> >> If I force it to stay as the graphic tool (in the >> newGraphic handler, for >> example) how can I ever use mouseLeave or mouseEnter >> again so I can select >> another tool in a palette of tools? >> >> doug >> > > Hi Doug, > > I'm not sure why you'd need a mouseLeave or mouseEnter > message for selecting a tool in a palette ; when you > click in a palette stack, the 'topStack' should still > point to the stack you were in. > > Hope this helped, > > Jan Schenkel. I guess I am not quite clear of the special functionality of a palette stack. The docs explanation seems to be just that it is an non-editable stack with a narrower title bar. Does moving the cursor into a stack that is a palette always force the browser tool to be selected? Is it just not practical to attempt to keep the tools as buttons in the same card I am modifying/drawing into? doug From katir at hindu.org Thu Jan 15 05:26:53 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 15 Jan 2004 00:26:53 -1000 Subject: some choose tool question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From klaus at major-k.de Thu Jan 15 05:34:17 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 15 Jan 2004 11:34:17 +0100 Subject: Thank you Swami! In-Reply-To: References: Message-ID: <5F27903A-4746-11D8-831B-000A27B49A96@major-k.de> Hi all, maybe you did not notice yet, but it looks like Sannyasin Sivakatirswami is not in the house ;-) Does this mean that we will get EVERY single message TWICE until Mr. Sivakatirswami gets back on february 9th??? Wonderful, don't we all love automatisms?!!! > Namaskara and Aloha, > I will be away on a mission to Malaysia and India until February 9th > serving > as part of the staff for the 2004 Indian Odyssey, Himalayan Academy > Travel Study Program. > Unless this is an emergency, please keep your message and email again > after February 9th. > ... Very happy :-) Klaus Major klaus at major-k.de www.major-k.de From katir at hindu.org Thu Jan 15 05:34:26 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 15 Jan 2004 00:34:26 -1000 Subject: Thank you Swami! In-Reply-To: <5F27903A-4746-11D8-831B-000A27B49A96@major-k.de> Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From janschenkel at yahoo.com Thu Jan 15 05:44:09 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 15 Jan 2004 02:44:09 -0800 (PST) Subject: some choose tool question In-Reply-To: Message-ID: <20040115104409.22261.qmail@web60503.mail.yahoo.com> --- Doug Lerner wrote: > I guess I am not quite clear of the special > functionality of a palette > stack. The docs explanation seems to be just that it > is an non-editable > stack with a narrower title bar. > > Does moving the cursor into a stack that is a > palette always force the > browser tool to be selected? > > Is it just not practical to attempt to keep the > tools as buttons in the same > card I am modifying/drawing into? > > doug > Hi Doug, When you move the mouse into a palette, the engine temporarily selects the browse tool -- in fact, if you want to edit your palette, you'll have to temporarily open it as topLevel. If you're going to switch tools, it's a lot more practical if you do it via a palette ; placing the tool buttons on the same card is asking for troubles like people drawing graphics over your tool buttons. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From katir at hindu.org Thu Jan 15 05:44:13 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 15 Jan 2004 00:44:13 -1000 Subject: some choose tool question In-Reply-To: <20040115104409.22261.qmail@web60503.mail.yahoo.com> Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From doug at webcrossing.com Thu Jan 15 05:46:45 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 15 Jan 2004 19:46:45 +0900 Subject: some choose tool question In-Reply-To: <20040115104409.22261.qmail@web60503.mail.yahoo.com> Message-ID: On 1/15/04 7:44 PM, "Jan Schenkel" wrote: > Hi Doug, > > When you move the mouse into a palette, the engine > temporarily selects the browse tool -- in fact, if you > want to edit your palette, you'll have to temporarily > open it as topLevel. > If you're going to switch tools, it's a lot more > practical if you do it via a palette ; placing the > tool buttons on the same card is asking for troubles > like people drawing graphics over your tool buttons. > > Jan Schenkel. Hi, Jan. Yes, I see that now. I moved the tools into a palette and now it works perfectly. Thanks! doug From katir at hindu.org Thu Jan 15 05:46:50 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 15 Jan 2004 00:46:50 -1000 Subject: some choose tool question In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From 3mcgrath at adelphia.net Thu Jan 15 06:56:54 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 15 Jan 2004 06:56:54 -0500 Subject: topLevel vs. open stack In-Reply-To: <20040115065852.134.qmail@web80410.mail.yahoo.com> References: <20040115065852.134.qmail@web80410.mail.yahoo.com> Message-ID: I don't have a manual so I don't have a pg 349!! & I don't own MetaCard! & I do own Revolution! & But, no manual! On Jan 15, 2004, at 1:58 AM, Kathy Jaqua wrote: > Dan and Richard > > In the MetaCard Manual pg 349, Toplevel stacks have a > mode of 1 or 2(depending on weather they have their > cantModify property set to false or True > repspectively). > > So, could it be mode 2? > > Kathy Graves Jaqua > A Wildest Dream Software > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From katir at hindu.org Thu Jan 15 06:57:10 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 15 Jan 2004 01:57:10 -1000 Subject: topLevel vs. open stack In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From doug at webcrossing.com Thu Jan 15 08:19:52 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 15 Jan 2004 22:19:52 +0900 Subject: Checkbox button display weirdness Message-ID: I have two checkbox buttons side by side, one is the copy/paste of the other with the name and label changed. When I click the first button the check toggles. But when I click the second button in addition to the check toggling, the button also looks like a 3D shadow button when checked. The properties all look the same though. What can I look for to fix this? Thanks, doug From katir at hindu.org Thu Jan 15 08:19:51 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 15 Jan 2004 03:19:51 -1000 Subject: Checkbox button display weirdness In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From jimlyons at earthlink.net Thu Jan 15 08:22:45 2004 From: jimlyons at earthlink.net (Jim Lyons) Date: Thu, 15 Jan 2004 08:22:45 -0500 Subject: Automatic replies Message-ID: Klaus Major wrote: > maybe you did not notice yet, but it looks like Sannyasin > Sivakatirswami > is not in the house ;-) > > Does this mean that we will get EVERY single message TWICE until > Mr. Sivakatirswami gets back on february 9th??? > > Wonderful, don't we all love automatisms?!!! Yeah, at least program it to answer the questions instead of just giving the same information about your trip. ;^) Jim Lyons From katir at hindu.org Thu Jan 15 08:25:57 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 15 Jan 2004 03:25:57 -1000 Subject: Automatic replies In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From mato.kola at wanblizaptan.com Thu Jan 15 09:04:41 2004 From: mato.kola at wanblizaptan.com (Jerry Daniels) Date: Thu, 15 Jan 2004 08:04:41 -0600 Subject: Test Message-ID: Test From katir at hindu.org Thu Jan 15 09:04:50 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 15 Jan 2004 04:04:50 -1000 Subject: Test In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From mato.kola at wanblizaptan.com Thu Jan 15 09:12:43 2004 From: mato.kola at wanblizaptan.com (Jerry Daniels) Date: Thu, 15 Jan 2004 08:12:43 -0600 Subject: RevConference - Client Server vs Stateless Message-ID: Chris, Here are 12 reasons that I like/prefer N-Tier (client-web server/app server-database) architecture: 1. The projects I work on almost always have web browsers and thin client apps going against the data. 2. With a traditional N-Tier archictecture in place, either a browser or my Rev app can talk to the web server and PHP (or a Rev CGI) which talks to the database. 3. I make one PHP post and my data comes back to me in ticks formated such that it describes itself with tags. Now I can put it on my Rev window with a repeat loop. 4. Stateless thin client is easy and fast to deploy. Double click the file, enter a URL (the first time) and you're off to the races. They can easily update themselves as well. 5. I compete against well known and accepted web technologies with Revolution. If I can use the same back end technology as IE, Mozilla or Java, then the client is more willing to take a chance with me and Revolution. 6. In web development circles it's considered "hard coding" to make SQL calls from a client application. There is a clear market preference for N-Tier here in Texas at the more technologically advanced companies and institutions. 7. It's very easy to find web hosting services that already have Apache, PHP and MySQL all set up. 8. I pay $7.95 a month for HUNDREDS of MBs and LAMP (Linux, Apache, MySQL and PHP). No muss no fuss. Secure, backed up, etc. 9. The ubiquity of these types of web hosting services also makes it easy to have a development, text and production environment for less then $24 a month! 10. With N-Tier expertise, I can add myself on to a large web project easily, because I can talk to web servers. 11. I believe that a lot of application work can be done with web pages, but I also believe that admin modules where repetitive data entry is required are best done as standalone thin clients made with Rev. 12. Biggest reason: I'm a free-lance developer who has to sell himself. N-Tier expertise keeps my hourly rate and demand for my services high. I do this for money and fun. More money + more fun = good. (Or as the Frankenstein monster would say: food good; fire bad!) Hopefully, all that answers at least some of your questions. Let me know if you have more. Best, Jerry From katir at hindu.org Thu Jan 15 09:12:59 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 15 Jan 2004 04:12:59 -1000 Subject: RevConference - Client Server vs Stateless In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From doug at webcrossing.com Thu Jan 15 09:22:16 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 15 Jan 2004 23:22:16 +0900 Subject: Restricting graphics to a field? Message-ID: I would like to have a single card with a text field and a place to draw graphics (I have too many windows open and it is getting cumbersome). But when a graphics tool is selected it can draw anywhere on the card. Is there a way of restricting the graphics drawing so it can only draw in the region defined by a field? Thanks, doug From katir at hindu.org Thu Jan 15 09:22:12 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 15 Jan 2004 04:22:12 -1000 Subject: Restricting graphics to a field? In-Reply-To: Message-ID: Namaskara and Aloha, I will be away on a mission to Malaysia and India until February 9th serving as part of the staff for the 2004 Indian Odyssey, Himalayan Academy Travel Study Program. Unless this is an emergency, please keep your message and email again after February 9th. If you need immediate attention or don't think you will remember to email us later: 1) For issues involving our websites: contact Sadhaka Jivananandanatha jiva at hindu.org 2) For issues involving print production, responses to bid requests in progress... etc.... our associates (Banta in Kansas City, Waktins Litho, MJA in Michigan) please call our managing editor who will be home: Sannyasin Arumugaswami at 808-822-7032 ext 227. For news on our journeys, tune in to http://www.gurudeva.org where we hope to be able to post images from time to time as we travel. Best wishes and Om Shanti To All Sannyasin Sivakatirswami Himalayan Academy Publications and Web Sites at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From janschenkel at yahoo.com Thu Jan 15 09:58:54 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 15 Jan 2004 06:58:54 -0800 (PST) Subject: Restricting graphics to a field? In-Reply-To: Message-ID: <20040115145854.3437.qmail@web60503.mail.yahoo.com> --- Doug Lerner wrote: > I would like to have a single card with a text field > and a place to draw > graphics (I have too many windows open and it is > getting cumbersome). > > But when a graphics tool is selected it can draw > anywhere on the card. > > Is there a way of restricting the graphics drawing > so it can only draw in > the region defined by a field? > > Thanks, > > doug > Hi Doug, Sorry to disappoint you, but there is currently no way of restricting the graphic to a certain region on the card. I believe an enhancement request has been made along the lines of set the tool of group x to "graphic" But no idea how soon that will be implemented. The only way to accomplish that I can see right now, is by emulating the tools yourself, under the browse tool. But this can get very complicated because you'll have to handle _everything_ by script : - starting to track on mouseDown - resize dynamically on mouseMove - tweak on mouseUp / mouseRelease And then there's the fun of emulating the pointer tool to produce a 'marquee' while dragging as you hold down the mouse. If I were you, I'd wait for the feature to be implemented. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From bob at armbase.com Thu Jan 15 10:05:36 2004 From: bob at armbase.com (Bob Hartley) Date: Thu, 15 Jan 2004 15:05:36 +0000 Subject: Thank you Swami! In-Reply-To: <5F27903A-4746-11D8-831B-000A27B49A96@major-k.de> References: <5F27903A-4746-11D8-831B-000A27B49A96@major-k.de> Message-ID: <6.0.0.22.0.20040115150100.02487ca8@mail.armbase.com> At 10:34 15/01/2004, you wrote: >Hi all, Yes and this is the silliest thing to do anyway. If you setup auto reply, you get a reply sent to any spammer. Then your spam is loged on the spam lists. When you get back you find you have 10x the number of spam hits. Best thing is to keep them on serverside and use something like mailwasher. If there si a spam mail from a xxx??? domain simply blits the domain serverside and it takes 2 minutes to clean your mailbox. >maybe you did not notice yet, but it looks like Sannyasin Sivakatirswami >is not in the house ;-) > >Does this mean that we will get EVERY single message TWICE until >Mr. Sivakatirswami gets back on february 9th??? It could be worse. He replies to a mail with autoreply. However he receives the list. So he gets a mail from himself and then replies to it. Cheers Bob; on another mission. :-) >Wonderful, don't we all love automatisms?!!! > >>Namaskara and Aloha, >>I will be away on a mission to Malaysia and India until February 9th serving >>as part of the staff for the 2004 Indian Odyssey, Himalayan Academy >>Travel Study Program. >>Unless this is an emergency, please keep your message and email again >>after February 9th. >>... > > >Very happy :-) > >Klaus Major >klaus at major-k.de >www.major-k.de > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From gizmotron at earthlink.net Thu Jan 15 10:38:20 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 15 Jan 2004 07:38:20 -0800 Subject: Revolting In-Reply-To: Message-ID: On Thursday, January 15, 2004, at 06:07 AM, Sannyasin Sivakatirswami wrote: > Namaskara and Aloha, > > I will be away on a mission but my evil twin will stay up all night > and send emails to Malaysia and India until February 9th serving as > part of the staff for the 2004 Indian Odyssey, Himalayan Academy > Travel Study Program, and getting pissed festival. > > Unless this is an emergency, please keep your message and email again > after February 9th when you can all bombard my own email with all your > forwarded spam for the last month. > > If you need immediate attention or don't think you will remember to > email us later: > > 1) For issues involving our websites: contact Sadhaka Jivananandanatha > > jiva at hindu.org Please call between 3:00 am and 4:00 am US central time > zone to get the proper affect. > > 2) For issues involving print production, responses to bid requests in > progress... etc.... our associates (Banta in Kansas City, Waktins > Litho, MJA in Michigan) please call our managing editor who will be > home: Sannyasin Arumugaswami at 808-822-7032 ext 227. Please call > between 3:00 am and 4:00 am US central time zone to get the proper > affect. > > For news on our journeys, tune in to > > http://www.gurudeva.org or http://www.microsoft.com > > where we hope to be able to post images from time to time as we travel. > > Best wishes and > Om Shanti > To All > > Sannyasin Sivakatirswami > Himalayan Academy Publications and Web Sites > at Kauai's Hindu Monastery Sorry to announce that Sannyasin Sivakatirswami has been eaten by cannibals and that these emails will continue until forever beyond now. From klaus at major-k.de Thu Jan 15 10:48:09 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 15 Jan 2004 16:48:09 +0100 Subject: Revolting In-Reply-To: References: Message-ID: <379F68C8-4772-11D8-831B-000A27B49A96@major-k.de> Hi Mark, > On Thursday, January 15, 2004, at 06:07 AM, Sannyasin Sivakatirswami > wrote: >> Namaskara and Aloha, >> ... >> Sannyasin Sivakatirswami >> Himalayan Academy Publications and Web Sites >> at Kauai's Hindu Monastery > Sorry to announce that Sannyasin Sivakatirswami has been eaten by > cannibals > and that these emails will continue until forever beyond now. OH MY GAAAAAAAWD!!! ROFL :-D Regards Klaus Major klaus at major-k.de www.major-k.de From rodneys at io.com Thu Jan 15 11:18:31 2004 From: rodneys at io.com (rodneys at io.com) Date: Thu, 15 Jan 2004 10:18:31 -0600 (CST) Subject: Revolting In-Reply-To: <379F68C8-4772-11D8-831B-000A27B49A96@major-k.de> References: <379F68C8-4772-11D8-831B-000A27B49A96@major-k.de> Message-ID: <4126.64.254.100.186.1074183511.squirrel@webmail.io.com> >> Sorry to announce that Sannyasin Sivakatirswami has been eaten by >> cannibals >> and that these emails will continue until forever beyond now. > > OH MY GAAAAAAAWD!!! > Don't worry. There aren't really any canibals in the Himalayas. He was actually eaten by a yeti. ;-) From klaus at major-k.de Thu Jan 15 11:23:04 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 15 Jan 2004 17:23:04 +0100 Subject: Revolting In-Reply-To: <4126.64.254.100.186.1074183511.squirrel@webmail.io.com> References: <379F68C8-4772-11D8-831B-000A27B49A96@major-k.de> <4126.64.254.100.186.1074183511.squirrel@webmail.io.com> Message-ID: <18B99D8E-4777-11D8-831B-000A27B49A96@major-k.de> Hi Rodney, >>> Sorry to announce that Sannyasin Sivakatirswami has been eaten by >>> cannibals >>> and that these emails will continue until forever beyond now. >> OH MY GAAAAAAAWD!!! > > Don't worry. There aren't really any canibals in the Himalayas. He was > actually eaten by a yeti. ;-) ...or Reinhold Messner, who is the yeti's brother actually... :-D Regards Klaus Major klaus at major-k.de www.major-k.de From wouter.abraham at pi.be Thu Jan 15 11:26:53 2004 From: wouter.abraham at pi.be (Wouter) Date: Thu, 15 Jan 2004 17:26:53 +0100 Subject: Restricting graphics to a field? In-Reply-To: <20040115153829.70F3D9303D9@mail.runrev.com> References: <20040115153829.70F3D9303D9@mail.runrev.com> Message-ID: On 15 Jan 2004, at 16:38, use-revolution-request at lists.runrev.com wrote: > Message: 11 > Date: Thu, 15 Jan 2004 06:58:54 -0800 (PST) > From: Jan Schenkel > Subject: Re: Restricting graphics to a field? > To: How to use Revolution > Message-ID: <20040115145854.3437.qmail at web60503.mail.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > --- Doug Lerner wrote: >> I would like to have a single card with a text field >> and a place to draw >> graphics (I have too many windows open and it is >> getting cumbersome). >> >> But when a graphics tool is selected it can draw >> anywhere on the card. >> >> Is there a way of restricting the graphics drawing >> so it can only draw in >> the region defined by a field? >> >> Thanks, >> >> doug >> > > Hi Doug, > > Sorry to disappoint you, but there is currently no way > of restricting the graphic to a certain region on the > card. > I believe an enhancement request has been made along > the lines of > set the tool of group x to "graphic" > But no idea how soon that will be implemented. > > The only way to accomplish that I can see right now, > is by emulating the tools yourself, under the browse > tool. > But this can get very complicated because you'll have > to handle _everything_ by script : > - starting to track on mouseDown > - resize dynamically on mouseMove > - tweak on mouseUp / mouseRelease > And then there's the fun of emulating the pointer tool > to produce a 'marquee' while dragging as you hold down > the mouse. > > If I were you, I'd wait for the feature to be > implemented. > > Jan Schenkel. > In OS X you can kind of do this. Make the drawing place the main stack and open the substack containing the field as drawer. In this way the drawing tools are restricted to the main stack. May be there is a possibility to mimic this behaviour for the other platforms. HTH, WA From ops at myesa.com Thu Jan 15 11:27:37 2004 From: ops at myesa.com (Ops) Date: Thu, 15 Jan 2004 10:27:37 -0600 Subject: Why are there "text formatting" options for image objects? Message-ID: <4006BF79.8030403@myesa.com> I would like to have an image object where I can change the backgroundcolor...for images with text, I thought I'd use the "noop" ink because the docs say that the backgound will be tranparent but "text will still show through", yet I can't seem to figure out how to PUT text on an image...and since "text formatting" exists for image objects, I have to assume there is *some way* to put text (that will "show through") on an image object. Is there an image type I can use that has "layers" where Rev can color one layer (background) with, say white and another layer (text) black? In this scenerio, I'd like to switch the image "background" between white and gray, still letting the black text "show through". From gizmotron at earthlink.net Thu Jan 15 11:29:24 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 15 Jan 2004 08:29:24 -0800 Subject: Revolting In-Reply-To: <4126.64.254.100.186.1074183511.squirrel@webmail.io.com> Message-ID: On Thursday, January 15, 2004, at 08:18 AM, rodneys at io.com wrote: > Don't worry. There aren't really any canibals in the Himalayas. He was > actually eaten by a yeti. ;-) that's abominable > I will be away on a mission but my evil twin will stay up all night > and send emails to Malaysia and India until February 9th serving as > part of the staff for the 2004 Indian Odyssey, Himalayan Academy > Travel Study Program, and getting pissed festival. I misquoted the message. They say that plagiarism is good for the soul. Well maybe nobody says that... From jhurley at infostations.com Thu Jan 15 11:38:15 2004 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 15 Jan 2004 08:38:15 -0800 Subject: Getting the lead out In-Reply-To: <20040115153829.2090B9303DA@mail.runrev.com> References: <20040115153829.2090B9303DA@mail.runrev.com> Message-ID: I have a check box with the following standard script local myName on mouseDown put the name of me into myName end mouseDown on mouseMOve x,y if myName is "" then exit mouseMove set the loc of me to x,y end mouseMove on mouseUP put "" into myName end mouseUP on mouseLeave mouseUP end mouseLeave And the autoHilite is false. When I grab and move the check box it turns gray, which is customary, but it stays gray after mouseUP. The only way I can remove the gray is to select the box with the pointer tool. I assume this is a bug, but I am looking for a work-around. How would I execute a "click on me with the pointer tool" as part of a mouseUP handler? Jim P.S. I am aware that Sannyasin is away on a mission. Heather: MERCY! From gizmotron at earthlink.net Thu Jan 15 11:45:22 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 15 Jan 2004 08:45:22 -0800 Subject: Revolting In-Reply-To: <18B99D8E-4777-11D8-831B-000A27B49A96@major-k.de> Message-ID: <35D59C5C-477A-11D8-A634-000A95859272@earthlink.net> On Thursday, January 15, 2004, at 08:23 AM, Klaus Major wrote: >> Don't worry. There aren't really any canibals in the Himalayas. He was >> actually eaten by a yeti. ;-) > > ...or Reinhold Messner, who is the yeti's brother actually... :-D I was wondering how he climbed all of those mountains with the alpine-style loads he always carries. ... and we all thought those guys froze to death and were lost in a crevasse. go figure From jimlyons at earthlink.net Thu Jan 15 11:53:00 2004 From: jimlyons at earthlink.net (Jim Lyons) Date: Thu, 15 Jan 2004 11:53:00 -0500 Subject: RevConference - Client Server vs Stateless Message-ID: <473ADED0-477B-11D8-A723-000A95893982@earthlink.net> Jerry Daniels wrote: > Here are 12 reasons that I like/prefer N-Tier (client-web server/app > server-database) architecture: > .... > Hopefully, all that answers at least some of your questions. Let me > know if you have more. I am one of the many Rev users who wish they could have been at the conference, and my main interest in going was the session on using Rev "thin clients" with a PHP/MySQL server. I have done some limited development in the past with DB-backed sites, and have groaned with frustration trying to make a decent user interface in a browser. I am giddy with the possibilities of using a Rev app as my front end for private collaboration sites I am working on. Anyway, now I want to get into the nuts and bolts of this. Are there resources available from your session, or other resources for guidance/tips/examples on implementing this? Thanks. Jim Lyons From dsc at swcp.com Thu Jan 15 12:16:29 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 15 Jan 2004 10:16:29 -0700 Subject: Restricting graphics to a field? In-Reply-To: Message-ID: <8EB843D6-477E-11D8-999A-000A9567A3E6@swcp.com> On Thursday, January 15, 2004, at 07:22 AM, Doug Lerner wrote: > Is there a way of restricting the graphics drawing so it can only draw > in > the region defined by a field? Maybe you can mimic the tool with a cursor change and then when entering or leaving the draw area actually change the tool. Dar Scott From janschenkel at yahoo.com Thu Jan 15 12:52:00 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 15 Jan 2004 09:52:00 -0800 (PST) Subject: Restricting graphics to a field? In-Reply-To: <8EB843D6-477E-11D8-999A-000A9567A3E6@swcp.com> Message-ID: <20040115175200.99611.qmail@web60501.mail.yahoo.com> --- Dar Scott wrote: > > On Thursday, January 15, 2004, at 07:22 AM, Doug > Lerner wrote: > > > Is there a way of restricting the graphics drawing > so it can only draw > > in > > the region defined by a field? > > Maybe you can mimic the tool with a cursor change > and then when > entering or leaving the draw area actually change > the tool. > > Dar Scott > Sorry Dar, but that doesn't work. I tried the following on my Win2K computer. I created a rectangle and set its script to -- on mouseEnter choose button tool end mouseEnter on mouseLeave choose browse tool end mouseLeave -- For some bizarre reason I was getting a huge strain of mouseLeave/mouseEnter pairs whenever I moved the mouse or tried to click. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From jhurley at infostations.com Thu Jan 15 13:04:49 2004 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 15 Jan 2004 10:04:49 -0800 Subject: Fwd: Getting the lead out Message-ID: >(Snip) >When I grab and move the check box it turns gray, which is >customary, but it stays gray after mouseUP. > >The only way I can remove the gray is to select the box with the pointer tool. > >I assume this is a bug, but I am looking for a work-around. How >would I execute a "click on me with the pointer tool" as part of a >mouseUP handler? > >Jim > I found the answer. To get the gray out: on mouseUp set the hilite of me to true set the hilite of me to false end mouseUp Jim From dsc at swcp.com Thu Jan 15 13:06:59 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 15 Jan 2004 11:06:59 -0700 Subject: Restricting graphics to a field? In-Reply-To: <20040115175200.99611.qmail@web60501.mail.yahoo.com> Message-ID: <9CC79790-4785-11D8-999A-000A9567A3E6@swcp.com> On Thursday, January 15, 2004, at 10:52 AM, Jan Schenkel wrote: > For some bizarre reason I was getting a huge strain of > mouseLeave/mouseEnter pairs whenever I moved the mouse > or tried to click. Rats! And it sounded like a good idea. This might take lock messages in key places. Or fasting. Dar Scott From mato.kola at wanblizaptan.com Thu Jan 15 13:35:35 2004 From: mato.kola at wanblizaptan.com (Jerry Daniels) Date: Thu, 15 Jan 2004 12:35:35 -0600 Subject: RevConference - Client Server vs Stateless In-Reply-To: <473ADED0-477B-11D8-A723-000A95893982@earthlink.net> References: <473ADED0-477B-11D8-A723-000A95893982@earthlink.net> Message-ID: <9B83DC74-4789-11D8-830C-000A95B300EC@wanblizaptan.com> Jim, Sorry you couldn't come to the show. Both Richard Gaskin and I presented on this subject and Chipp Walters showed an incredible commercial product (Hemingway client application) during his talk on user interface. We showed product, some code, a transaction log, and Richard did an impersonation of a client application talking to an FTP server (VERY entertaining, but even more informative!) If there is demand out there (and it sounds like there may be) for a starter kit for building thin clients that "go against" web servers to get files and data from a database, I could try and make the time to put together a couple of samples with well-documented code, etc. Also, please indicate the types of "nuts and bolts" into which you'd like to delve. Best, Jerry On Jan 15, 2004, at 10:53 AM, Jim Lyons wrote: > Jerry Daniels wrote: > >> Here are 12 reasons that I like/prefer N-Tier (client-web server/app >> server-database) architecture: >> .... >> Hopefully, all that answers at least some of your questions. Let me >> know if you have more. > > I am one of the many Rev users who wish they could have been at the > conference, and my main interest in going was the session on using Rev > "thin clients" with a PHP/MySQL server. I have done some limited > development in the past with DB-backed sites, and have groaned with > frustration trying to make a decent user interface in a browser. I am > giddy with the possibilities of using a Rev app as my front end for > private collaboration sites I am working on. > > Anyway, now I want to get into the nuts and bolts of this. Are there > resources available from your session, or other resources for > guidance/tips/examples on implementing this? Thanks. > > Jim Lyons > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Thu Jan 15 13:34:15 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 15 Jan 2004 12:34:15 -0600 Subject: RevConference - Client Server vs Stateless In-Reply-To: Message-ID: Other reasons: 13) Having a php/asp/jsp middle layer allows to do *more* than just stuff data into a database. Such as: 13 a) server-side validation of data b) upload and manage files on a server c) provide a SOAP based web services interface to *other* apps. 14) While I *love* RunRev, I know the PHP/MySQL thing has been *pounded on* by many more developers and as such is mostly bug free. This level of robustness is necessary for my clients. 15) If done correctly, provides an easy way for upgrading any of the n-tiers. Add a new DB, no problem, a new scripting middle layer, no problem, and even add a new interface (say browser-based) no problem. Jerry and I have been working with this technique well over a year now and have found no problems. It's lightning fast, and provides a separation of business logic which enables teams to work easily on the solution. In the case of a recent project, Jerry did all of the RunRev coding, while Chris did the PHP back-end. Hemingway is created this way. best, Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Jerry > Daniels > Sent: Thursday, January 15, 2004 8:13 AM > To: Use Revolution List use Revolution > Subject: RE: RevConference - Client Server vs Stateless > > > Chris, > > Here are 12 reasons that I like/prefer N-Tier (client-web server/app > server-database) architecture: > > 1. The projects I work on almost always have web browsers and thin > client apps going against the data. > > 2. With a traditional N-Tier archictecture in place, either a browser > or my Rev app can talk to the web server and PHP (or a Rev CGI) which > talks to the database. > > 3. I make one PHP post and my data comes back to me in ticks formated > such that it describes itself with tags. Now I can put it on my Rev > window with a repeat loop. > > 4. Stateless thin client is easy and fast to deploy. Double click the > file, enter a URL (the first time) and you're off to the races. They > can easily update themselves as well. > > 5. I compete against well known and accepted web technologies with > Revolution. If I can use the same back end technology as IE, Mozilla or > Java, then the client is more willing to take a chance with me and > Revolution. > > 6. In web development circles it's considered "hard coding" to make SQL > calls from a client application. There is a clear market preference for > N-Tier here in Texas at the more technologically advanced companies and > institutions. > > 7. It's very easy to find web hosting services that already have > Apache, PHP and MySQL all set up. > > 8. I pay $7.95 a month for HUNDREDS of MBs and LAMP (Linux, Apache, > MySQL and PHP). No muss no fuss. Secure, backed up, etc. > > 9. The ubiquity of these types of web hosting services also makes it > easy to have a development, text and production environment for less > then $24 a month! > > 10. With N-Tier expertise, I can add myself on to a large web project > easily, because I can talk to web servers. > > 11. I believe that a lot of application work can be done with web > pages, but I also believe that admin modules where repetitive data > entry is required are best done as standalone thin clients made with > Rev. > > 12. Biggest reason: I'm a free-lance developer who has to sell himself. > N-Tier expertise keeps my hourly rate and demand for my services high. > I do this for money and fun. More money + more fun = good. (Or as the > Frankenstein monster would say: food good; fire bad!) > > Hopefully, all that answers at least some of your questions. Let me > know if you have more. > > Best, > > Jerry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From pevensen at siboneylg.com Thu Jan 15 13:40:12 2004 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 15 Jan 2004 12:40:12 -0600 Subject: RevConference - Client Server vs Stateless In-Reply-To: <9B83DC74-4789-11D8-830C-000A95B300EC@wanblizaptan.com> References: <473ADED0-477B-11D8-A723-000A95893982@earthlink.net> <9B83DC74-4789-11D8-830C-000A95B300EC@wanblizaptan.com> Message-ID: <6.0.1.1.2.20040115123734.01c4c5e0@SLG_PDC> While I was at the seminar, I still would like more info on interfacing to a database via a thin client, not only getting data, but also updating and writing data to the database. I am interested in working with a remote database server (i.e. one that is not accessible via ODBC). Thanks, Jerry! At 12:35 PM 1/15/2004, you wrote: >Jim, > >Sorry you couldn't come to the show. Both Richard Gaskin and I presented >on this subject and Chipp Walters showed an incredible commercial product >(Hemingway client application) during his talk on user interface. We >showed product, some code, a transaction log, and Richard did an >impersonation of a client application talking to an FTP server (VERY >entertaining, but even more informative!) > >If there is demand out there (and it sounds like there may be) for a >starter kit for building thin clients that "go against" web servers to get >files and data from a database, I could try and make the time to put >together a couple of samples with well-documented code, etc. > >Also, please indicate the types of "nuts and bolts" into which you'd like >to delve. > >Best, > >Jerry > >On Jan 15, 2004, at 10:53 AM, Jim Lyons wrote: > >>Jerry Daniels wrote: >> >>>Here are 12 reasons that I like/prefer N-Tier (client-web server/app >>>server-database) architecture: >>>.... >>>Hopefully, all that answers at least some of your questions. Let me >>>know if you have more. >> >>I am one of the many Rev users who wish they could have been at the >>conference, and my main interest in going was the session on using Rev >>"thin clients" with a PHP/MySQL server. I have done some limited >>development in the past with DB-backed sites, and have groaned with >>frustration trying to make a decent user interface in a browser. I am >>giddy with the possibilities of using a Rev app as my front end for >>private collaboration sites I am working on. >> >>Anyway, now I want to get into the nuts and bolts of this. Are there >>resources available from your session, or other resources for >>guidance/tips/examples on implementing this? Thanks. >> >>Jim Lyons >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com From lists at mangomultimedia.com Thu Jan 15 13:55:37 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 15 Jan 2004 11:55:37 -0700 Subject: RevConference - Client Server vs Stateless In-Reply-To: References: Message-ID: <6820BF2B-478C-11D8-885A-000A956C462A@mangomultimedia.com> On Jan 15, 2004, at 11:34 AM, Chipp Walters wrote: > > Jerry and I have been working with this technique well over a year now > and > have found no problems. It's lightning fast, and provides a separation > of > business logic which enables teams to work easily on the solution. In > the > case of a recent project, Jerry did all of the RunRev coding, while > Chris > did the PHP back-end. Hemingway is created this way. Chipp, What is your preferred packaging for the data between the PHP app and Rev? Line delimited text, XML, etc.? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From mato.kola at wanblizaptan.com Thu Jan 15 13:57:31 2004 From: mato.kola at wanblizaptan.com (Jerry Daniels) Date: Thu, 15 Jan 2004 12:57:31 -0600 Subject: RevConference - Client Server vs Stateless In-Reply-To: <473ADED0-477B-11D8-A723-000A95893982@earthlink.net> References: <473ADED0-477B-11D8-A723-000A95893982@earthlink.net> Message-ID: Jim, Here is the outline of my talk from the Rev Confab. It could serve as a basis for discussion and/or choosing areas of interest for you and others who are interested. You may also want to look at our company's site for discussion (and hype) regarding thin client and desktop web appliances: http://www.daniels-mara.com Best, Jerry ************************** DESKTOP WEB APPLIANCES (aka ?Thin Clients?) WHY THIN CLIENT? High perceived value (e.g., iTunes, Groove) Offers control: Financial Security Presentation Facilitates data entry (great for admin modules) Easy to deploy (double click) Adjunct to web apps A marketable $ervice (a great differentiator) DEVELOPMENT N-tier is cool: Teamwork Distributed logic Scaleable back-end: Web server & flat file Web, app & dbase server Scaleable services: Formal (web services) Informal (JML - Jerry Markup Language) Re-use by broswers! ARCHITECTURE N-tier: Client Web/App Server Data Repository Client variations: Static Dynamic Back-end variations: Database Flat file EXAMPLES FCSA: Static client (Rev) Web Server (Apache) Database (MySQL) App server (PHP) WZT: Dynamic client (Rev) Web Server (Apache) Flat files (encrypted Stacks) NOTE: No files stored; memory-based. On Jan 15, 2004, at 10:53 AM, Jim Lyons wrote: > Jerry Daniels wrote: > >> Here are 12 reasons that I like/prefer N-Tier (client-web server/app >> server-database) architecture: >> .... >> Hopefully, all that answers at least some of your questions. Let me >> know if you have more. > > I am one of the many Rev users who wish they could have been at the > conference, and my main interest in going was the session on using Rev > "thin clients" with a PHP/MySQL server. I have done some limited > development in the past with DB-backed sites, and have groaned with > frustration trying to make a decent user interface in a browser. I am > giddy with the possibilities of using a Rev app as my front end for > private collaboration sites I am working on. > > Anyway, now I want to get into the nuts and bolts of this. Are there > resources available from your session, or other resources for > guidance/tips/examples on implementing this? Thanks. > > Jim Lyons > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mato.kola at wanblizaptan.com Thu Jan 15 14:07:52 2004 From: mato.kola at wanblizaptan.com (Jerry Daniels) Date: Thu, 15 Jan 2004 13:07:52 -0600 Subject: RevConference - Client Server vs Stateless In-Reply-To: <6820BF2B-478C-11D8-885A-000A956C462A@mangomultimedia.com> References: <6820BF2B-478C-11D8-885A-000A956C462A@mangomultimedia.com> Message-ID: <1E302284-478E-11D8-830C-000A95B300EC@wanblizaptan.com> I'll jump in here a sec, too...Chipp can talk about how we get data TO the server, perhaps? I like "JML", my own circumstance-driven approach to minimal self-describing data: -- unique identifier (char 1 = year; the integer is the ticks at time of creation of record) Jerry Daniels mato.kola 123 mato.kola at wanblizaptan.com false 512-xxx-xxxx 512-698-MATO 512-288-1485
5 Concord Circle
Austin TX 78737 USA EV
This is data coming back from PHP to Rev. I extract particular tagged data with this handler: function getTagData theTagData,theTagName filter theTagData with "<" & theTagName & ">*" replace "<" & theTagName & ">" with "" in theTagData replace "" with "" in theTagData replace "|" with tab in theTagData replace "\" with return in theTagData replace "/***---***/" with return in theTagData --> Chipp likes this one return theTagData end getTagData On Jan 15, 2004, at 12:55 PM, Trevor DeVore wrote: > On Jan 15, 2004, at 11:34 AM, Chipp Walters wrote: >> >> Jerry and I have been working with this technique well over a year >> now and >> have found no problems. It's lightning fast, and provides a >> separation of >> business logic which enables teams to work easily on the solution. In >> the >> case of a recent project, Jerry did all of the RunRev coding, while >> Chris >> did the PHP back-end. Hemingway is created this way. > > Chipp, > > What is your preferred packaging for the data between the PHP app and > Rev? Line delimited text, XML, etc.? > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From lists at mangomultimedia.com Thu Jan 15 14:25:03 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 15 Jan 2004 12:25:03 -0700 Subject: RevConference - Client Server vs Stateless In-Reply-To: <1E302284-478E-11D8-830C-000A95B300EC@wanblizaptan.com> References: <6820BF2B-478C-11D8-885A-000A956C462A@mangomultimedia.com> <1E302284-478E-11D8-830C-000A95B300EC@wanblizaptan.com> Message-ID: <84C2F3E5-4790-11D8-885A-000A956C462A@mangomultimedia.com> Thanks for the info Jerry. I have been very interested in using Revolution as a front-end for quite some time now. I have a client who runs all of their customer management, quote generation, etc. through the web which uses PHP/MySQL, DHTML and Flash. The system has evolved over a 2 year period and I can assure you that I *abhor* designing interfaces using current web technologies. Flash MX 2004 is a little better in this regard but it is still a pain to develop in IMHO. I've wanted to create a Revolution front-end to this system for quite some time which wouldn't be difficult because the web app already separates the data from the interface. I would just have to add some code to output the PHP arrays in XML. The only thing holding me back is that the client I would use this for is in the medical industry and security is a major concern. I would need to do all of the authentication and data transfer using SSL which isn't available in Rev yet. Have you had to address security concerns with any of your current implementations? Thanks, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com On Jan 15, 2004, at 12:07 PM, Jerry Daniels wrote: > I'll jump in here a sec, too...Chipp can talk about how we get data TO > the server, perhaps? > > I like "JML", my own circumstance-driven approach to minimal > self-describing data: > > -- unique identifier (char 1 = year; the integer is the > ticks at time of creation of record) > Jerry > Daniels > mato.kola > 123 > mato.kola at wanblizaptan.com > false > 512-xxx-xxxx > 512-698-MATO > 512-288-1485 > >
5 Concord Circle
> Austin > TX > 78737 > USA > EV >
> > This is data coming back from PHP to Rev. > > I extract particular tagged data with this handler: > > function getTagData theTagData,theTagName > filter theTagData with "<" & theTagName & ">*" > replace "<" & theTagName & ">" with "" in theTagData > replace "" with "" in theTagData > replace "|" with tab in theTagData > replace "\" with return in theTagData > replace "/***---***/" with return in theTagData --> Chipp likes > this one > return theTagData > end getTagData From chrism at luminus.com Thu Jan 15 14:25:32 2004 From: chrism at luminus.com (Christopher Mitchell) Date: Thu, 15 Jan 2004 13:25:32 -0600 Subject: New to Rev, smooth animation in Builder but Jumpy animation in app/browse (repost as new thread) In-Reply-To: References: Message-ID: <95E04966-4790-11D8-A830-000393B64EDC@luminus.com> Is anybody around to read this beside our friendly autoresponder? chris On Jan 14, 2004, at 10:47 PM, Sannyasin Sivakatirswami wrote: > Namaskara and Aloha, From bob at bignewfs.com Sun Jan 11 12:39:32 2004 From: bob at bignewfs.com (Bob Taylor) Date: Sun, 11 Jan 2004 11:39:32 -0600 Subject: Windows ODBC Message-ID: <2004111113932.822903@BobMobile1> I am using Runtime Revolution on Windows XP Professional and am unable to successfully connect to either Firebird or MS Access via ODBC. Using the Microsoft Access 2003 ODBC driver I can get as far as connecting within the "Database Query Builder", but when I go to the "Record Set" table there aren't any tables in the "Table" drop-down. Note that I CAN successfully use this ODBC Driver within other programs, such as R:Base. Using the Firebird ODBC driver my results are identical. I can establish a connection with the "Database Query Builder" but cannot get any tables to appear within the "Record Set Table" drop-down. Once again, I can successfully use this ODBC Driver within other programs, such as MS Access 2003. Using the Gemini ODBC driver for Interbase/Firebird my results are a bit different. With this driver I can establish a connection and I do see tables listed in the "Record Set Table" drop-down. However, my results at this point vary. For tables that contain a certain configuration of columns (I haven't locked down the pattern yet) RunRev will GPF and terminate as soon as I select a table from the list. For other tables I can successfully select a table - resulting in the creation of a select statement in the "SQL Query" edit field. However, for these tables as soon as I attempt to bind the table to a field in card RunRev will again GPF and terminate. Can someone please shed some light on this for me? Am I doing something incorrectly or is this a bug? Thanks Bob From teja at hindu.org Thu Jan 15 13:42:50 2004 From: teja at hindu.org (Sadhaka Tejadevanatha) Date: Thu, 15 Jan 2004 08:42:50 -1000 Subject: Apologies for bouncing auto-responder Message-ID: <9EFA5714-478A-11D8-837E-000A95776DC4@hindu.org> My apologies to everyone for the many autoresponder messages now flooding the list. There is no simple way to unsubscribe. I am not a "member" as such since I've been on this list from long before the new web site access was instituted. So, I don't have a password... and since I am writing now from a different machine I'm not sure how I can unsubscribe my previous address from a different address. I will try... I sent a message to heather at runrev.com to unsubscribe me... but seems it didn't happen. I'll try again today from this machine... Again, very sorry.... I'm trying... Best wishes from Hawaii... if anyone has any good ideas about what to do... please email me off list right away to teja at hindu.org Sivakatirswami ps. on all our own email lists, to unsubscribe... all someone needs to do is send an email from the addresst they want unsubscribed to "hpi_list-off at hindu.org" and they are instantly removed from the list... this unsubscribe option appears on every post to the list....not sure why this needs to be so complicated.... I'm probably missing something... From kevin at runrev.com Thu Jan 15 14:29:00 2004 From: kevin at runrev.com (Kevin Miller) Date: Thu, 15 Jan 2004 19:29:00 +0000 Subject: Auto responder Message-ID: Hi, Sannyasin Sivakatirswami just called to apologize for the auto-responder messages and asked me to pass this on. I have removed him from the mailing list for now. Normally Heather would catch something like this, but she is off sick so we are short staffed at the moment. All the best, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From Cubist at aol.com Thu Jan 15 14:30:33 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Thu, 15 Jan 2004 14:30:33 -0500 Subject: use-revolution Digest, Vol 4, Issue 102 Message-ID: <6EA29060.5EAB9601.00048C52@aol.com> sez doug at webcrossing.com: > I would like to have a single card with a text field and a place to draw > graphics (I have too many windows open and it is getting cumbersome). > > But when a graphics tool is selected it can draw anywhere on the card. > > Is there a way of restricting the graphics drawing so it can only draw > in the region defined by a field? Would it be possible to set up a sub-stack whick *looks like* a text field, and do all the drawing in that substack? From squance at elkvalley.net Thu Jan 15 14:39:38 2004 From: squance at elkvalley.net (David Squance) Date: Thu, 15 Jan 2004 12:39:38 -0700 Subject: Field settings In-Reply-To: References: <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> Message-ID: How can I find out what invisible settings a particular field has? I have 6 fields on a card which should have identical settings (except for location and text content). Looking through the Object inspector, there appears to be no difference, yet I can get a text editing cursor(blinking vertical line) in 3 of the fields, but not in the others. Locking the fields and then unlocking them made no difference. Thanks, Dave From ambassador at fourthworld.com Thu Jan 15 14:54:21 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 15 Jan 2004 11:54:21 -0800 Subject: Field settings In-Reply-To: Message-ID: David Squance wrote: > How can I find out what invisible settings a particular field has? See 4W Props in RevNet. -- 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 dcragg at lacscentre.co.uk Thu Jan 15 15:14:35 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 15 Jan 2004 20:14:35 +0000 Subject: Field settings In-Reply-To: References: <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> Message-ID: At 12:39 pm -0700 15/1/04, David Squance wrote: >How can I find out what invisible settings a particular field has? I have >6 fields on a card which should have identical settings (except for >location and text content). Looking through the Object inspector, there >appears to be no difference, yet I can get a text editing cursor(blinking >vertical line) in 3 of the fields, but not in the others. Locking the >fields and then unlocking them made no difference. >Thanks, >Dave Are any of these fields overlapping, among themselves or other objects? That can cause the blinking cursor not to show. Cheers Dave From mato.kola at wanblizaptan.com Thu Jan 15 15:22:33 2004 From: mato.kola at wanblizaptan.com (Jerry Daniels) Date: Thu, 15 Jan 2004 14:22:33 -0600 Subject: RevConference - Client Server vs Stateless In-Reply-To: <84C2F3E5-4790-11D8-885A-000A956C462A@mangomultimedia.com> References: <6820BF2B-478C-11D8-885A-000A956C462A@mangomultimedia.com> <1E302284-478E-11D8-830C-000A95B300EC@wanblizaptan.com> <84C2F3E5-4790-11D8-885A-000A956C462A@mangomultimedia.com> Message-ID: <8D0746DB-4798-11D8-830C-000A95B300EC@wanblizaptan.com> Trevor, The one site where I have had to address security concerns we get our data from files, not a database. In that case, I encrypt my data into stacks and password protect the site. I am also looking forward to SSL in Rev which we can hopefully use more discreetly than our browser brothers, otherwise it's gonna be slow-w-w-w. In another application we are behind the firewall, and remote uses will be VPN. Hope that helps some. Best, Jerry On Jan 15, 2004, at 1:25 PM, Trevor DeVore wrote: > Thanks for the info Jerry. I have been very interested in using > Revolution as a front-end for quite some time now. I have a client > who runs all of their customer management, quote generation, etc. > through the web which uses PHP/MySQL, DHTML and Flash. The system has > evolved over a 2 year period and I can assure you that I *abhor* > designing interfaces using current web technologies. Flash MX 2004 is > a little better in this regard but it is still a pain to develop in > IMHO. I've wanted to create a Revolution front-end to this system for > quite some time which wouldn't be difficult because the web app > already separates the data from the interface. I would just have to > add some code to output the PHP arrays in XML. > > The only thing holding me back is that the client I would use this for > is in the medical industry and security is a major concern. I would > need to do all of the authentication and data transfer using SSL which > isn't available in Rev yet. Have you had to address security concerns > with any of your current implementations? > > Thanks, > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > > > On Jan 15, 2004, at 12:07 PM, Jerry Daniels wrote: > >> I'll jump in here a sec, too...Chipp can talk about how we get data >> TO the server, perhaps? >> >> I like "JML", my own circumstance-driven approach to minimal >> self-describing data: >> >> -- unique identifier (char 1 = year; the integer is >> the ticks at time of creation of record) >> Jerry >> Daniels >> mato.kola >> 123 >> mato.kola at wanblizaptan.com >> false >> 512-xxx-xxxx >> 512-698-MATO >> 512-288-1485 >> >>
5 Concord Circle
>> Austin >> TX >> 78737 >> USA >> EV >>
>> >> This is data coming back from PHP to Rev. >> >> I extract particular tagged data with this handler: >> >> function getTagData theTagData,theTagName >> filter theTagData with "<" & theTagName & ">*" >> replace "<" & theTagName & ">" with "" in theTagData >> replace "" with "" in theTagData >> replace "|" with tab in theTagData >> replace "\" with return in theTagData >> replace "/***---***/" with return in theTagData --> Chipp likes >> this one >> return theTagData >> end getTagData > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mato.kola at wanblizaptan.com Thu Jan 15 15:25:46 2004 From: mato.kola at wanblizaptan.com (Jerry Daniels) Date: Thu, 15 Jan 2004 14:25:46 -0600 Subject: RevConference - Client Server vs Stateless Message-ID: <00685F3E-4799-11D8-830C-000A95B300EC@wanblizaptan.com> Doug, Sorry, for the late response on this, but, here it is... When you say "server" to what are you referring? Web server? Application Server? Database server? I agree that scaled servers represent a huge performance advantage and WEB/APP servers are the cheapest and simplest tier to scale. I have built systems with over 25,000 users (with peaks of 4-5,000 concurrent users) and only had ONE database server (with mirroring, etc.). That system DID have 13 web/app servers, though. Relatively inexpensive boxes, I might add. In most N-Tier systems I've used, the web servers are the only database users and the ones requiring authentication. The clients are not database users, but users of web services. This also seems that way most enterprise information systems are going these days. I feel like I've found a profitable way to fit the building of Rev thin clients into that mix. I just don't see that many new client-server projects being started in IT departments around here. Another question: why would a server "push" to the client? Don't servers usually reply to a request from a client? Maybe I'm missing something here. Best, Jerry On Jan 12, 2004, at 6:19 PM, Doug Lerner wrote: > If the server has the ability to communicate with a Rev thin client > with > server push to the sockets, wouldn't direct access would be more > dynamic? > For one thing, you avoid repetitive authentications. > > And if the server has scalable feature - like Web Crossing - you are > taking > advantage of huge server-side architecture benefits. > > doug > > > On 1/13/04 9:09 AM, "HyperChris at aol.com" wrote: > From mato.kola at wanblizaptan.com Thu Jan 15 15:28:24 2004 From: mato.kola at wanblizaptan.com (Jerry Daniels) Date: Thu, 15 Jan 2004 14:28:24 -0600 Subject: simple modal questions Message-ID: <5E2A866E-4799-11D8-830C-000A95B300EC@wanblizaptan.com> Doug, (Again, sorry about the late posting on this one, too. Here is is...) Here's one possible way to tackle your question number 2 (password entry so that you only see asterisks): 1. Make two editable (but empty) text fields called "password" and "password mask." 2. Hide "password" but keep "password mask" visible for text entry of the password. 3. Put these handlers into the visible field, "password mask": on keyDown theKey --> FIND OUT WHAT'S SELECTED: put the selectedChunk into theChunk put word 2 of theChunk into theStartPos put word 4 of theChunk into theEndPos --> PUT ASTERISK INTO THE SELECTION IN VISIBLE MASK FIELD: put "*" into char theStartPos to theEndPos of fld "Password Mask" --> PUT REAL DATA INTO THE HIDDEN FIELD: put theKey into char theStartPos to theEndPos of fld "Password" focus on me end keyDown on keyUp --> GET THAT SELECTION GOING AGAIN: focus on me pass keyUp end keyUp on backspaceKey --> IF THEY HIT BACKSPACE...SAME IDEA AS KEYDOWN: put the selectedChunk into theChunk put word 2 of theChunk into theStartPos put word 4 of theChunk into theEndPos if theStartPos > theEndPos then put empty into char theEndPos of fld "Password Mask" put empty into char theEndPos of fld "Password" else put empty into char theStartPos to theEndPos of fld "Password Mask" put empty into char theStartPos to theEndPos of fld "Password" end if focus on me end backspaceKey on deleteKey --> IF THEY HIT DELETE...SAME IDEA AS KEYDOWN: put the selectedChunk into theChunk put word 2 of theChunk into theStartPos put word 4 of theChunk into theEndPos if theStartPos > theEndPos then put empty into char theStartPos of fld "Password Mask" put empty into char theStartPos of fld "Password" else put empty into char theStartPos to theEndPos of fld "Password Mask" put empty into char theStartPos to theEndPos of fld "Password" end if focus on me end deleteKey When you want the password, it will be in the hidden field "password", not "password mask." Hope that helps, Jerry Daniels On Jan 12, 2004, at 8:58 PM, Doug Lerner wrote: > (1) I assume that if you want to make a form (like a login form) that > requires more than one answer, that the best way is to open a stack > containing the form as modal? Is that right? > > (2) How do you make a text field into a "password" field (asterisked > out)? > > Thanks, > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From JimCarwardine at OwnYourFuture-net.com Thu Jan 15 15:39:35 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Thu, 15 Jan 2004 16:39:35 -0400 Subject: RevConference - Client Server vs Stateless In-Reply-To: <9B83DC74-4789-11D8-830C-000A95B300EC@wanblizaptan.com> Message-ID: I would love that. I'm creating a single user app that I will want to make multi-user and turn my app into a thin client... Jim on 1/15/04 2:35 PM, Jerry Daniels wrote: > Jim, > > Sorry you couldn't come to the show. Both Richard Gaskin and I > presented on this subject and Chipp Walters showed an incredible > commercial product (Hemingway client application) during his talk on > user interface. We showed product, some code, a transaction log, and > Richard did an impersonation of a client application talking to an FTP > server (VERY entertaining, but even more informative!) > > If there is demand out there (and it sounds like there may be) for a > starter kit for building thin clients that "go against" web servers to > get files and data from a database, I could try and make the time to > put together a couple of samples with well-documented code, etc. > > Also, please indicate the types of "nuts and bolts" into which you'd > like to delve. > > Best, > > Jerry > > On Jan 15, 2004, at 10:53 AM, Jim Lyons wrote: > >> Jerry Daniels wrote: >> >>> Here are 12 reasons that I like/prefer N-Tier (client-web server/app >>> server-database) architecture: >>> .... >>> Hopefully, all that answers at least some of your questions. Let me >>> know if you have more. >> >> I am one of the many Rev users who wish they could have been at the >> conference, and my main interest in going was the session on using Rev >> "thin clients" with a PHP/MySQL server. I have done some limited >> development in the past with DB-backed sites, and have groaned with >> frustration trying to make a decent user interface in a browser. I am >> giddy with the possibilities of using a Rev app as my front end for >> private collaboration sites I am working on. >> >> Anyway, now I want to get into the nuts and bolts of this. Are there >> resources available from your session, or other resources for >> guidance/tips/examples on implementing this? Thanks. >> >> Jim Lyons >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From ambassador at fourthworld.com Thu Jan 15 15:56:29 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 15 Jan 2004 12:56:29 -0800 Subject: RevConference - Client Server vs Stateless In-Reply-To: <9B83DC74-4789-11D8-830C-000A95B300EC@wanblizaptan.com> Message-ID: Jerry Daniels wrote: > If there is demand out there (and it sounds like there may be) for a > starter kit for building thin clients that "go against" web servers to > get files and data from a database, I could try and make the time to > put together a couple of samples with well-documented code, etc. In the meantime there's Ken Ray's Revzilla (available through RevNet), a Rev front-end for the LAMP-powered Buzilla database on the Rev servers. -- 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 teja at hindu.org Thu Jan 15 16:03:37 2004 From: teja at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 15 Jan 2004 11:03:37 -1000 Subject: Apologies to all Message-ID: <49842B40-479E-11D8-837E-000A95776DC4@hindu.org> Apologies to all for the major blooper on the auto-responder. With only 24 hours left before departure I told the sys admin to implement the auto-responder. (not worried about spam as we have a macho filter on the mail server.) He implemented it and I sat down at my station to unsubscribe and discovered that to have become an impossibility at that point. Sent a memo to Heather and crossed my fingers. But, nothing happened.... Then hearing, the moaning and wailing from the ethers of Cyberspace, I called Kevin in Scotland from Hawaii and, had the delight of finally speaking with him in person after all these years. He did the needful... Won't happen again. Thank you for your patience! Sannyasin Sivakatirswami From the road... From doug at webcrossing.com Thu Jan 15 17:51:25 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 16 Jan 2004 07:51:25 +0900 Subject: Restricting graphics to a field? In-Reply-To: <20040115145854.3437.qmail@web60503.mail.yahoo.com> Message-ID: On 1/15/04 11:58 PM, "Jan Schenkel" wrote: > --- Doug Lerner wrote: >> I would like to have a single card with a text field >> and a place to draw >> graphics (I have too many windows open and it is >> getting cumbersome). >> >> But when a graphics tool is selected it can draw >> anywhere on the card. >> >> Is there a way of restricting the graphics drawing >> so it can only draw in >> the region defined by a field? >> >> Thanks, >> >> doug >> > > Hi Doug, > > Sorry to disappoint you, but there is currently no way > of restricting the graphic to a certain region on the > card. > I believe an enhancement request has been made along > the lines of > set the tool of group x to "graphic" > But no idea how soon that will be implemented. > > The only way to accomplish that I can see right now, > is by emulating the tools yourself, under the browse > tool. > But this can get very complicated because you'll have > to handle _everything_ by script : > - starting to track on mouseDown > - resize dynamically on mouseMove > - tweak on mouseUp / mouseRelease > And then there's the fun of emulating the pointer tool > to produce a 'marquee' while dragging as you hold down > the mouse. > > If I were you, I'd wait for the feature to be > implemented. > > Jan Schenkel. Thanks for your note, Jan. is there any way then to restrict graphics from being drawn on just certain stacks and not others? I would want people to draw on a "canvas" stack but not on top of a stack where they are supposed to enter text into a field. doug From doug at webcrossing.com Thu Jan 15 18:06:16 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 16 Jan 2004 08:06:16 +0900 Subject: Restricting graphics to a field? In-Reply-To: <8EB843D6-477E-11D8-999A-000A9567A3E6@swcp.com> Message-ID: On 1/16/04 2:16 AM, "Dar Scott" wrote: > > On Thursday, January 15, 2004, at 07:22 AM, Doug Lerner wrote: > >> Is there a way of restricting the graphics drawing so it can only draw >> in >> the region defined by a field? > > Maybe you can mimic the tool with a cursor change and then when > entering or leaving the draw area actually change the tool. > > Dar Scott > One technical problem with attempting that is that the mouseLeave and mouseEnter messages are only sent when the cursor is originally a browser tool. So after selecting a graphic tool in the palette I can't use mouseLeave and mouseEnter to toggle the tool on and off. Any ideas for getting around this restriction? Thanks, doug From scott at tactilemedia.com Thu Jan 15 18:08:01 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 15 Jan 2004 15:08:01 -0800 Subject: Restricting graphics to a field? In-Reply-To: Message-ID: On 1/15/04 2:51 PM, "Doug Lerner" wrote: > is there any way then to restrict graphics from being drawn on just certain > stacks and not others? > > I would want people to draw on a "canvas" stack but not on top of a stack > where they are supposed to enter text into a field. Does it have to be draw graphics? If you can use paint graphics, I've done what I think you're looking for. In your message box type: go url "http://www.tactilemedia.com/download/windowlab.rev" See the "Paint" option. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jacque at hyperactivesw.com Thu Jan 15 18:23:38 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 15 Jan 2004 17:23:38 -0600 Subject: Restricting graphics to a field? In-Reply-To: References: Message-ID: <400720FA.2030407@hyperactivesw.com> On 1/15/04 4:51 PM, Doug Lerner wrote: > is there any way then to restrict graphics from being drawn on just certain > stacks and not others? > > I would want people to draw on a "canvas" stack but not on top of a stack > where they are supposed to enter text into a field. You could do something like this: on checktool if the tool <> "browse" then choose browse tool send "checktool" to me in 10 milliseconds end checktool Put it into the stacks you don't want altered, and on openstack trigger it by issuing a "checktool" command. You'd want to cancel the message when the painting stack opens so that the user can choose paint tools. Use resumestack handlers to restart the checking when the other stacks come to the front. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From doug at webcrossing.com Thu Jan 15 18:24:24 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 16 Jan 2004 08:24:24 +0900 Subject: RevConference - Client Server vs Stateless In-Reply-To: <00685F3E-4799-11D8-830C-000A95B300EC@wanblizaptan.com> Message-ID: On 1/16/04 5:25 AM, "Jerry Daniels" wrote: > Doug, > > Sorry, for the late response on this, but, here it is... > > When you say "server" to what are you referring? Web server? > Application Server? Database server? Something scalable and integrated, with a built-in object-oriented database. Like Web Crossing! http://webcrossing.com. A perfect fit with Revolution, I think! > > I agree that scaled servers represent a huge performance advantage and > WEB/APP servers are the cheapest and simplest tier to scale. I have > built systems with over 25,000 users (with peaks of 4-5,000 concurrent > users) and only had ONE database server (with mirroring, etc.). That > system DID have 13 web/app servers, though. Relatively inexpensive > boxes, I might add. > > In most N-Tier systems I've used, the web servers are the only database > users and the ones requiring authentication. The clients are not > database users, but users of web services. This also seems that way > most enterprise information systems are going these days. I feel like > I've found a profitable way to fit the building of Rev thin clients > into that mix. I just don't see that many new client-server projects > being started in IT departments around here. > > Another question: why would a server "push" to the client? Don't > servers usually reply to a request from a client? Maybe I'm missing > something here. There are lots of reasons to do this: 1. Asynchronous communications. A client requests something be done at the server side which might take time. In the meantime, it can make other requests to the server. The server answers each request when it is done and the client processes incoming "commands" from the server. 2. Presence and other incoming dynamic information. The server might be updating the client as to who else is "online" or about new incoming email or chat messages or whatever. While this can be done in a "polling loop" that is less efficient. It is more dynamic for the server to push information when it becomes available. Just a couple of reasons that occur to me offhand. doug > > Best, > > Jerry > > On Jan 12, 2004, at 6:19 PM, Doug Lerner wrote: > >> If the server has the ability to communicate with a Rev thin client >> with >> server push to the sockets, wouldn't direct access would be more >> dynamic? >> For one thing, you avoid repetitive authentications. >> >> And if the server has scalable feature - like Web Crossing - you are >> taking >> advantage of huge server-side architecture benefits. >> >> doug >> >> >> On 1/13/04 9:09 AM, "HyperChris at aol.com" wrote: >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Thu Jan 15 18:31:34 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 16 Jan 2004 08:31:34 +0900 Subject: Restricting graphics to a field? In-Reply-To: Message-ID: On 1/16/04 8:08 AM, "Scott Rossi" wrote: > On 1/15/04 2:51 PM, "Doug Lerner" wrote: > >> is there any way then to restrict graphics from being drawn on just certain >> stacks and not others? >> >> I would want people to draw on a "canvas" stack but not on top of a stack >> where they are supposed to enter text into a field. > > Does it have to be draw graphics? If you can use paint graphics, I've done > what I think you're looking for. In your message box type: > > go url "http://www.tactilemedia.com/download/windowlab.rev" > > See the "Paint" option. Yes - for this application it has to be draw graphics. doug From doug at webcrossing.com Thu Jan 15 18:36:42 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 16 Jan 2004 08:36:42 +0900 Subject: Restricting graphics to a field? In-Reply-To: <400720FA.2030407@hyperactivesw.com> Message-ID: On 1/16/04 8:23 AM, "J. Landman Gay" wrote: > On 1/15/04 4:51 PM, Doug Lerner wrote: > >> is there any way then to restrict graphics from being drawn on just certain >> stacks and not others? >> >> I would want people to draw on a "canvas" stack but not on top of a stack >> where they are supposed to enter text into a field. > > You could do something like this: > > on checktool > if the tool <> "browse" then choose browse tool > send "checktool" to me in 10 milliseconds > end checktool > > Put it into the stacks you don't want altered, and on openstack trigger > it by issuing a "checktool" command. You'd want to cancel the message > when the painting stack opens so that the user can choose paint tools. > Use resumestack handlers to restart the checking when the other stacks > come to the front. I'll look into this approach. Sounds interesting. Thanks. doug From JimCarwardine at OwnYourFuture-net.com Thu Jan 15 18:43:55 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Thu, 15 Jan 2004 19:43:55 -0400 Subject: Field Text Jumping Message-ID: This might be another newbie question, but I can?t seem to find anything in the archives. I?m creating fields that are almost line height in height (9 point Tahoma). When I click on a field containing text, the text jumps about 4 pixels. If I click again in the field, the text jumps back to its original position. Doesn?t seem to be the focus border affecting it. Any ideas about what I should do to get this to stop? Jim -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From wouter.abraham at pi.be Thu Jan 15 18:55:44 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 16 Jan 2004 00:55:44 +0100 Subject: Restricting graphics to a field? In-Reply-To: <20040115190910.39275930402@mail.runrev.com> References: <20040115190910.39275930402@mail.runrev.com> Message-ID: <552C21BC-47B6-11D8-AEF0-003065CC999E@pi.be> On 15 Jan 2004, at 20:09, use-revolution-request at lists.runrev.com wrote: > Message: 4 > Date: Thu, 15 Jan 2004 11:06:59 -0700 > From: Dar Scott > Subject: Re: Restricting graphics to a field? > To: How to use Revolution > Message-ID: <9CC79790-4785-11D8-999A-000A9567A3E6 at swcp.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On Thursday, January 15, 2004, at 10:52 AM, Jan Schenkel wrote: > >> For some bizarre reason I was getting a huge strain of >> mouseLeave/mouseEnter pairs whenever I moved the mouse >> or tried to click. > > Rats! And it sounded like a good idea. > > This might take lock messages in key places. Or fasting. > > Dar Scott > Is this kind of doing what you are looking for? Group some radiobuttons with tool names !!! be careful the tool names are case sensitive Set the script of a field under image "xxx" to this: on mousemove if the mouseloc is within the rect of img "xxx" then if the mouse is not down then put the hilitedbuttonname of group "tools" into a choose a tool checkformousewithin end if end if end mousemove on checkformousewithin if the mouseloc is within the rect of img "xxx" or the mouse is down then send "checkformousewithin" to me in 100 millisecs else choose browse tool set the checking of me to false end if end checkformousewithin mouseEnter and mouseLeave messages are not always trustworthy with superposed controls and can screw up a handler depending on it. Greetings, WA From kumasoftdev at bignewfs.com Thu Jan 15 19:09:28 2004 From: kumasoftdev at bignewfs.com (KumaSoftDev) Date: Thu, 15 Jan 2004 18:09:28 -0600 Subject: Windows ODBC Recordset Navigation Problems In-Reply-To: <2004113203422.412397@BobMobile1> Message-ID: <200411518928.251718@BobMobile1> Can anyone help me with this? I didn't get any responses from the first post. Thanks. On Tue, 13 Jan 2004 20:19:52 -0600, KumaSoftDev wrote: >I am using Run Rev on Windows XP Pro. > >I have created a query against an ODBC database. ?I have added Edit Fields to >a Card and bound them to a query using the "Database" properties of each >field. ?I have then put 4 buttons on the Card and used the "Database" >properties of each to map to the operations First Record, Last Record, Next >Record, and Previous Record. > >Unfortunately, only the Next Record functionality seems to be working. ?The >other buttons neither change the record not throw an error. > >I am having the same results with both MS Access and Firebird ODBC drivers. >These drivers DO work as expected within other programs (Access and R:Base). > >Can someone shed some light on this for me? > >Thanks. > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From wouter.abraham at pi.be Thu Jan 15 19:17:56 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 16 Jan 2004 01:17:56 +0100 Subject: Restricting graphics to a field? Message-ID: <6F52B5A4-47B9-11D8-AEF0-003065CC999E@pi.be> Sorry, I did it again, sending before finishing. >> Message: 4 >> Date: Thu, 15 Jan 2004 11:06:59 -0700 >> From: Dar Scott >> Subject: Re: Restricting graphics to a field? >> To: How to use Revolution >> Message-ID: <9CC79790-4785-11D8-999A-000A9567A3E6 at swcp.com> >> Content-Type: text/plain; charset=US-ASCII; format=flowed >> >> >> On Thursday, January 15, 2004, at 10:52 AM, Jan Schenkel wrote: >> >>> For some bizarre reason I was getting a huge strain of >>> mouseLeave/mouseEnter pairs whenever I moved the mouse >>> or tried to click. >> >> Rats! And it sounded like a good idea. >> >> This might take lock messages in key places. Or fasting. >> >> Dar Scott >> > > Is this kind of doing what you are looking for? > Group some radiobuttons with tool names > !!! be careful the tool names are case sensitive Put a field under image "xxx" slightly larger than the image. Because once a line is drawn into an image and if the image is not filled with a color, it starts acting as a transparent image and not passing mouse messages on the free and not by line enclosed parts of the drawing. Set the script of the field to the following: > > on mousemove > if the mouseloc is within the rect of img "xxx" then > if the mouse is not down then > put the hilitedbuttonname of group "tools" into a > choose a tool > checkformousewithin > end if > end if > end mousemove > > on checkformousewithin > if the mouseloc is within the rect of img "xxx" or the mouse is > down then > send "checkformousewithin" to me in 100 millisecs > else > choose browse tool ### take this out, only a left over --- set the checking of me to false > end if > end checkformousewithin > > mouseEnter and mouseLeave messages are not always trustworthy with > superposed controls and can screw up a handler depending on it. > > Greetings, > WA Regreetings, WA From doug at webcrossing.com Thu Jan 15 19:38:44 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 16 Jan 2004 09:38:44 +0900 Subject: Restricting graphics to a field? In-Reply-To: <6F52B5A4-47B9-11D8-AEF0-003065CC999E@pi.be> Message-ID: I think I understand your first message better than the "more complete" followup. :) I can't follow what you are suggesting about the field-under-an-image. doug On 1/16/04 9:17 AM, "Wouter" wrote: > Sorry, I did it again, sending before finishing. > > > >>> Message: 4 >>> Date: Thu, 15 Jan 2004 11:06:59 -0700 >>> From: Dar Scott >>> Subject: Re: Restricting graphics to a field? >>> To: How to use Revolution >>> Message-ID: <9CC79790-4785-11D8-999A-000A9567A3E6 at swcp.com> >>> Content-Type: text/plain; charset=US-ASCII; format=flowed >>> >>> >>> On Thursday, January 15, 2004, at 10:52 AM, Jan Schenkel wrote: >>> >>>> For some bizarre reason I was getting a huge strain of >>>> mouseLeave/mouseEnter pairs whenever I moved the mouse >>>> or tried to click. >>> >>> Rats! And it sounded like a good idea. >>> >>> This might take lock messages in key places. Or fasting. >>> >>> Dar Scott >>> >> >> Is this kind of doing what you are looking for? >> Group some radiobuttons with tool names >> !!! be careful the tool names are case sensitive > Put a field under image "xxx" slightly larger than the image. > Because once a line is drawn into an image and if the image > is not filled with a color, it starts acting as a transparent image > and not passing mouse messages on the free and not by > line enclosed parts of the drawing. > Set the script of the field to the following: >> >> on mousemove >> if the mouseloc is within the rect of img "xxx" then >> if the mouse is not down then >> put the hilitedbuttonname of group "tools" into a >> choose a tool >> checkformousewithin >> end if >> end if >> end mousemove >> >> on checkformousewithin >> if the mouseloc is within the rect of img "xxx" or the mouse is >> down then >> send "checkformousewithin" to me in 100 millisecs >> else >> choose browse tool > ### take this out, only a left over > --- set the checking of me to false > >> end if >> end checkformousewithin >> >> mouseEnter and mouseLeave messages are not always trustworthy with >> superposed controls and can screw up a handler depending on it. >> >> Greetings, >> WA > > Regreetings, > WA > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From alw918 at earthlink.net Thu Jan 15 20:19:06 2004 From: alw918 at earthlink.net (Andrew) Date: Thu, 15 Jan 2004 17:19:06 -0800 Subject: Problems with standalones mac/windows In-Reply-To: <20040115233225.78AEE930413@mail.runrev.com> Message-ID: Hi, List. I had a couple of questions which I hope you wouldn't mind answering. I posted these before, but they didn't show, so sorry if they appear twice for some reason. I recently made a game using the trial version of Revolution. I made standalones for mac, mac os x and windows so I can put them on my site for my friends to download. There are problems with each version. The two mac standalones simply don't download. It just shows all the code in the browser window. The Windows standalone does download, but there is a problem with the gameplay: In my game, when you hit any key, an "ask" box is supposed to appear. However, for some reason on the Windows standalone of my game, nothing happens when you hit a key. Any ideas why I'm having these two problems? Thanks so much for all of your help! -Andrew From sarahr at genesearch.com.au Thu Jan 15 20:31:04 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 16 Jan 2004 11:31:04 +1000 Subject: Field Text Jumping In-Reply-To: References: Message-ID: This happens if the field height is less than the text height. Just make the field a bit taller (or use a slightly smaller font) and it should stop happening. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 16 Jan 2004, at 9:45 am, Jim Carwardine wrote: > This might be another newbie question, but I can?t seem to find > anything in > the archives. I?m creating fields that are almost line height in > height (9 > point Tahoma). When I click on a field containing text, the text jumps > about 4 pixels. If I click again in the field, the text jumps back to > its > original position. Doesn?t seem to be the focus border affecting it. > Any > ideas about what I should do to get this to stop? Jim From mpetrides at earthlink.net Thu Jan 15 20:32:30 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Thu, 15 Jan 2004 20:32:30 -0500 Subject: Problems with standalones mac/windows In-Reply-To: References: Message-ID: If you are trying to download using Internet Explorer, try instead to use a different browser. I have had trouble downloading OS X apps posted by other members of this list when using IE, but was successful with Safari--if memory serves me correctly. Marian On Jan 15, 2004, at 8:19 PM, Andrew wrote: > Hi, List. I had a couple of questions which I hope you wouldn't mind > answering. I posted these before, but they didn't show, so sorry if > they appear twice for some reason. > I recently made a game using the trial version of Revolution. I made > standalones for mac, mac os x and windows so I can put them on my site > for my friends to download. There are problems with each version. > The two mac standalones simply don't download. It just shows all the > code in the browser window. > The Windows standalone does download, but there is a problem with the > gameplay: In my game, when you hit any key, an "ask" box is supposed > to appear. However, for some reason on the Windows standalone of my > game, nothing happens when you hit a key. > Any ideas why I'm having these two problems? > Thanks so much for all of your help! > -Andrew > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From doug at webcrossing.com Thu Jan 15 20:43:20 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 16 Jan 2004 10:43:20 +0900 Subject: Problems with standalones mac/windows In-Reply-To: Message-ID: On 1/16/04 10:19 AM, "Andrew" wrote: > Hi, List. I had a couple of questions which I hope you wouldn't mind > answering. I posted these before, but they didn't show, so sorry if > they appear twice for some reason. > I recently made a game using the trial version of Revolution. I made > standalones for mac, mac os x and windows so I can put them on my site > for my friends to download. There are problems with each version. > The two mac standalones simply don't download. It just shows all the > code in the browser window. If it's for Mac OS 9 then make sure to convert the app to binhex format before providing it. OS X should be ok though. doug > The Windows standalone does download, but there is a problem with the > gameplay: In my game, when you hit any key, an "ask" box is supposed to > appear. However, for some reason on the Windows standalone of my game, > nothing happens when you hit a key. > Any ideas why I'm having these two problems? > Thanks so much for all of your help! > -Andrew > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From sarahr at genesearch.com.au Thu Jan 15 20:45:55 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 16 Jan 2004 11:45:55 +1000 Subject: Checkbox button display weirdness In-Reply-To: References: Message-ID: Use the SmartProperties plugin to compare the two object's properties directly. It came with the latest version of rev so go to the Development menu -> Plugins and you should see it there. If not, you can get it from the Revolution section of Rinaldi's web site: http://www.xcmdfactory.com/ Once you have SmartProperties open, you can select one of your buttons, click "Get" in the first of the SmartProperties columns, then select the second button and "Get" it's properties into the 2nd column. Any differecnes will appear in red type for easy comparison. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 15 Jan 2004, at 11:20 pm, Doug Lerner wrote: > I have two checkbox buttons side by side, one is the copy/paste of the > other > with the name and label changed. > > When I click the first button the check toggles. > > But when I click the second button in addition to the check toggling, > the > button also looks like a 3D shadow button when checked. > > The properties all look the same though. > > What can I look for to fix this? > > Thanks, > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From doug at webcrossing.com Thu Jan 15 20:47:56 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 16 Jan 2004 10:47:56 +0900 Subject: Checkbox button display weirdness In-Reply-To: Message-ID: I found one property that was different and adjusted it and it is ok now. Thanks! doug On 1/16/04 10:45 AM, "Sarah Reichelt" wrote: > Use the SmartProperties plugin to compare the two object's properties > directly. It came with the latest version of rev so go to the > Development menu -> Plugins and you should see it there. If not, you > can get it from the Revolution section of Rinaldi's web site: > http://www.xcmdfactory.com/ > > Once you have SmartProperties open, you can select one of your buttons, > click "Get" in the first of the SmartProperties columns, then select > the second button and "Get" it's properties into the 2nd column. Any > differecnes will appear in red type for easy comparison. > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > > On 15 Jan 2004, at 11:20 pm, Doug Lerner wrote: > >> I have two checkbox buttons side by side, one is the copy/paste of the >> other >> with the name and label changed. >> >> When I click the first button the check toggles. >> >> But when I click the second button in addition to the check toggling, >> the >> button also looks like a 3D shadow button when checked. >> >> The properties all look the same though. >> >> What can I look for to fix this? >> >> Thanks, >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From JimCarwardine at OwnYourFuture-net.com Thu Jan 15 21:12:20 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Thu, 15 Jan 2004 22:12:20 -0400 Subject: Field Text Jumping In-Reply-To: Message-ID: Thanks Sarah... Jim on 1/15/04 9:31 PM, Sarah Reichelt wrote: > This happens if the field height is less than the text height. Just > make the field a bit taller (or use a slightly smaller font) and it > should stop happening. > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > > On 16 Jan 2004, at 9:45 am, Jim Carwardine wrote: > >> This might be another newbie question, but I can?t seem to find >> anything in >> the archives. I?m creating fields that are almost line height in >> height (9 >> point Tahoma). When I click on a field containing text, the text jumps >> about 4 pixels. If I click again in the field, the text jumps back to >> its >> original position. Doesn?t seem to be the focus border affecting it. >> Any >> ideas about what I should do to get this to stop? Jim > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From alex at mindlube.com Thu Jan 15 21:21:36 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 15 Jan 2004 19:21:36 -0700 Subject: Problems with standalones mac/windows In-Reply-To: References: Message-ID: On Jan 15, 2004, at 6:19 PM, Andrew wrote: > > The two mac standalones simply don't download. It just shows all the > code in the browser window. This is a web server configuration issue and actually has nothing to do with Revolution vs. any other file on a web server. If the web server is apache, add lines like this to a .htaccess file AddType application/octet-stream dmg AddType application/octet-stream gz AddType application/octet-stream rev Or talk to your web hosting provider and tell them the extension of the filename that is not downloading correctly. However, some web browsers may try to outguess the web server, which is why it might work with some browser but not others. The correct solution is to change the web server config, not to force users to jump through hoops to run a particular browser, or Shift-click to download the file, etc. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From 3mcgrath at adelphia.net Thu Jan 15 21:48:43 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 15 Jan 2004 21:48:43 -0500 Subject: Problems with standalones mac/windows In-Reply-To: References: Message-ID: <7F95E024-47CE-11D8-AAE0-000A95DA60FA@adelphia.net> It is much simpler of a problem to fix. Just have the user hold the control key and choose 'download link to disk' in OSX. I think you can hold the option/alt key down while clicking with the mouse and go right to the download. The other simple solution is to convert the file from a .rev file which acts more like a text file(which loads in a browser window), to a .sit or .hqx etc. file which will then 'auto' download when clicked because that is browser expected behavior for those formats. On Jan 15, 2004, at 9:21 PM, Alex Rice wrote: > > On Jan 15, 2004, at 6:19 PM, Andrew wrote: > >> >> The two mac standalones simply don't download. It just shows all the >> code in the browser window. > > This is a web server configuration issue and actually has nothing to > do with Revolution vs. any other file on a web server. > > If the web server is apache, add lines like this to a .htaccess file > > AddType application/octet-stream dmg > AddType application/octet-stream gz > AddType application/octet-stream rev > > Or talk to your web hosting provider and tell them the extension of > the filename that is not downloading correctly. > > However, some web browsers may try to outguess the web server, which > is why it might work with some browser but not others. > > The correct solution is to change the web server config, not to force > users to jump through hoops to run a particular browser, or > Shift-click to download the file, etc. > > Alex Rice | Mindlube Software | > > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From wouter.abraham at pi.be Thu Jan 15 21:50:34 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 16 Jan 2004 03:50:34 +0100 Subject: Restricting graphics to a field? In-Reply-To: <20040116014658.84456930429@mail.runrev.com> References: <20040116014658.84456930429@mail.runrev.com> Message-ID: On 16 Jan 2004, at 02:46, use-revolution-request at lists.runrev.com wrote: > Message: 6 > Date: Fri, 16 Jan 2004 09:38:44 +0900 > From: Doug Lerner > Subject: Re: Restricting graphics to a field? > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > I think I understand your first message better than the "more complete" > followup. :) > > I can't follow what you are suggesting about the field-under-an-image. > > doug Hi, I mean an image on top of a field. Some changes to avoid the problem caused by the transparency and the opaque condition of the image (which can crash the app occasionally or often) The field will catch the mousemove as the image gets a transparent condition when drawing only one pixel. As there is still an unresolved bug with the select tool it is not usable in this handler. The spray can tool is tricky too, but can be used with this change. In revolution the erasor tool and the spray can tool will not show their icon when chosen by script, in metacard they do. (when using drawing tools, the overhead in revolution is enormous compared to metacard) Make the image and the "underlying" field the same size. Set the scripts of both to (I know its kind of dirty but is simple and only for demo): on mousemove if the mouseloc is within the rect of img "xxx" then if the mouse is not down then put the hilitedbuttonname of group "tool" into a if a is "spray can" then choose spray can tool else choose a tool checkformousewithin end if end if end mousemove and set the script of the card to: on checkformousewithin if the mouseloc is within the rect of img "xxx" or the mouse is down then send "checkformousewithin" to me in 100 millisecs else choose browse tool end if end checkformousewithin Greetings, WA From sarahr at genesearch.com.au Thu Jan 15 22:30:52 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 16 Jan 2004 13:30:52 +1000 Subject: Problems with standalones mac/windows In-Reply-To: References: Message-ID: <62DA9B9D-47D4-11D8-AE6B-0003937A97B8@genesearch.com.au> Hi Andrew, For the Windows version, are you sure you included the ask dialog in your build? In the Distribution Builder, go to Inclusions and make sure that ask dialog is checked. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 16 Jan 2004, at 11:31 am, Andrew wrote: > The Windows standalone does download, but there is a problem with the > gameplay: In my game, when you hit any key, an "ask" box is supposed > to appear. However, for some reason on the Windows standalone of my > game, nothing happens when you hit a key. > Any ideas why I'm having these two problems? > Thanks so much for all of your help! > -Andrew From sarahr at genesearch.com.au Thu Jan 15 22:43:42 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 16 Jan 2004 13:43:42 +1000 Subject: How to detect Classic? Message-ID: <2DEFCFA8-47D6-11D8-AE6B-0003937A97B8@genesearch.com.au> I have an app that I built for both PPC & OS X. The 2 systems handle file paths differently so I have a routine to convert from one to the other depending on "the systemVersion". The problem is that I was testing the PPC version using Classic from inside OS X. My conversion routine wasn't working so none of the expected files could be found. I finally tracked this down to the fact that when running in Classic as opposed to having booted into OS 9, the systemVersion still returns 10.3.2 So the Rev engine thought it was still operating in OS X but insisted on OS 9 file paths! Does anyone have any ideas on how to detect when an OS 9 app is running in Classic? I guess if not, I'll just have to do separate builds for each version with the system type stored in a custom property. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From jperryl at ecs.fullerton.edu Thu Jan 15 22:44:00 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 15 Jan 2004 19:44:00 -0800 (PST) Subject: Processor Requirements? In-Reply-To: <62DA9B9D-47D4-11D8-AE6B-0003937A97B8@genesearch.com.au> Message-ID: Hi, I am working on a school assignment and, after looking at the System Requirements page at the Rev site, I could only find processor requirements for Macs. Does anyone know what they are for Windows? Did I miss something? TIA, Judy From dsc at swcp.com Thu Jan 15 23:07:12 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 15 Jan 2004 21:07:12 -0700 Subject: How to detect Classic? In-Reply-To: <2DEFCFA8-47D6-11D8-AE6B-0003937A97B8@genesearch.com.au> Message-ID: <763534AD-47D9-11D8-999A-000A9567A3E6@swcp.com> On Thursday, January 15, 2004, at 08:43 PM, Sarah Reichelt wrote: > I finally tracked this down to the fact that when running in Classic > as opposed to having booted into OS 9, the systemVersion still returns > 10.3.2 From the TD... Note: When running a Mac OS application in the Classic box on an OS X system, the systemVersion function returns the version number of the Classic system folder. Maybe that is a hint somehow. I'm not sure how. Dar Scott From squance at elkvalley.net Thu Jan 15 23:21:48 2004 From: squance at elkvalley.net (David Squance) Date: Thu, 15 Jan 2004 21:21:48 -0700 Subject: Field settings In-Reply-To: References: <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> Message-ID: >At 12:39 pm -0700 15/1/04, David Squance wrote: >>How can I find out what invisible settings a particular field has? I have >>6 fields on a card which should have identical settings (except for >>location and text content). Looking through the Object inspector, there >>appears to be no difference, yet I can get a text editing cursor(blinking >>vertical line) in 3 of the fields, but not in the others. Locking the >>fields and then unlocking them made no difference. >>Thanks, >>Dave > >Are any of these fields overlapping, among themselves or other >objects? That can cause the blinking cursor not to show. > >Cheers >Dave No. I'm able to drag in all the fields, and highlight text. and from Richard: >> How can I find out what invisible settings a particular field has? >See 4W Props in RevNet. I got to a suggestion from Sarah to someone else first and used the SmartProperties plugin. I don't know what altld is, but the fields are all different, anyhow. The only differences appear to be quite innocuous, like the layer, content, id, name and rect. The textheight was different on some, so I made them all the same, but it made no difference. Still stumped. Dave From lists at mangomultimedia.com Thu Jan 15 23:37:37 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 15 Jan 2004 21:37:37 -0700 Subject: How to detect Classic? In-Reply-To: <2DEFCFA8-47D6-11D8-AE6B-0003937A97B8@genesearch.com.au> References: <2DEFCFA8-47D6-11D8-AE6B-0003937A97B8@genesearch.com.au> Message-ID: On Jan 15, 2004, at 8:43 PM, Sarah Reichelt wrote: > I have an app that I built for both PPC & OS X. The 2 systems handle > file paths differently so I have a routine to convert from one to the > other depending on "the systemVersion". The problem is that I was > testing the PPC version using Classic from inside OS X. My conversion > routine wasn't working so none of the expected files could be found. I > finally tracked this down to the fact that when running in Classic as > opposed to having booted into OS 9, the systemVersion still returns > 10.3.2 > > So the Rev engine thought it was still operating in OS X but insisted > on OS 9 file paths! Does anyone have any ideas on how to detect when > an OS 9 app is running in Classic? I guess if not, I'll just have to > do separate builds for each version with the system type stored in a > custom property. I'm glad you at least know what is causing this. I tried launching an app I am working in Classic the other day and none of the external images displayed. This explains why. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From alex at mindlube.com Thu Jan 15 23:55:31 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 15 Jan 2004 21:55:31 -0700 Subject: Problems with standalones mac/windows In-Reply-To: <7F95E024-47CE-11D8-AAE0-000A95DA60FA@adelphia.net> References: <7F95E024-47CE-11D8-AAE0-000A95DA60FA@adelphia.net> Message-ID: <36620FC6-47E0-11D8-822C-000393C4760A@mindlube.com> On Jan 15, 2004, at 7:48 PM, Thomas J McGrath III wrote: > It is much simpler of a problem to fix. > Just have the user hold the control key and choose 'download link to > disk' in OSX. I think you can hold the option/alt key down while > clicking with the mouse and go right to the download. Maybe special keystrokes to do a download is fine for Andrew's needs - a game shared among friends, but in a hi-profile situation it won't be adequate. Also switching to a particular file type, say .sit or .hqx, hoping that is will known by the web browser is also problematic. It's a gamble. What if they have an old or misconfigured browser? What if you think it should be known by the browser but it really is not? What if the user deleted their MIME type settings or helper application settings? So it's just a partial solution. > The other simple solution is to convert the file from a .rev file > which acts more like a text file(which loads in a browser window), to > a .sit or .hqx etc. file which will then 'auto' download when clicked > because that is browser expected behavior for those formats. I used to work for a ISP/web hosting provider so bear with me. I'm not sure you understand the cause of the problem. If you do, then I apologize for the noise. You can try any file type, binary or text, and if the web server MIME type config doesn't map the file extension, and the web browser doesn't have that file extension in it's MIME types and/or helper applications preferences, then guess what happens: the browser tries to display it as text, even if it's binary. That's what the application/octet-stream MIME type is for- it says to the web browser "hey if you don't have a preference what to do with this file, here is the MIME type to use" and the the web browser goes "Oh! application/octet-stream- I'm supposed to download that and save it to disk" The correct solution with Apache server is as simple as uploading a .htaccess file into your web directory (for most ISPs). That's a pretty simple solution, considering you do it once and the problem goes away forever. Hope this helps, Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jperryl at ecs.fullerton.edu Fri Jan 16 00:28:26 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 15 Jan 2004 21:28:26 -0800 (PST) Subject: GameDev in Rev. Seuck explained + suggestion In-Reply-To: <6192367D59F8904CA553579EF41FEEA002730B30@ukcbgx01psge.geips.ge.com> Message-ID: I'm sorry for coming in late on this one (trying to finish up a couple of classes I'm taking), but as I am using Rev to teach simple multimedia and GAME development, I, too, would be VERY interested... Judy On Wed, 14 Jan 2004 peter9.smith at ps.ge.com wrote: > > From: WIlliam Griffin > > > > First up i'm trying to properly focus the next Inkubator project at > > www.idevgames.com > > > > [ snips ] > > > > So I'd like to suggest to the rev community that we set up a > > place that > > we discuss game dev topics in relationship to Revolution as a > > continous > > resource > > instead of the random weeding of this list. > > I'm interested in Revolution as an engine for Adventure games (just as a > hobbyist but I know of one commercial Adventure game developer looking at > Revolution.) > > iDevGames is a great place but seems mainly focussed on action and arcade > style games (from a cursory glance.) A place on the web for Revolution and > Adventure games would be nice but not sure there'll be much overlap between > that and shoot 'em up style games. > > This list has been a real help to me but my queries have been pretty generic > not specifically game related. > > Regards, Peter. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Fri Jan 16 00:37:07 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 16 Jan 2004 15:37:07 +1000 Subject: How to detect Classic? In-Reply-To: <763534AD-47D9-11D8-999A-000A9567A3E6@swcp.com> References: <763534AD-47D9-11D8-999A-000A9567A3E6@swcp.com> Message-ID: <05F2B313-47E6-11D8-AE6B-0003937A97B8@genesearch.com.au> > From the TD... > > Note: When running a Mac OS application in the Classic box on an OS X > system, the systemVersion function returns the version number of the > Classic system folder. > > Maybe that is a hint somehow. I'm not sure how. > I'll do some more tests but I'm pretty sure this is wrong. I am still getting the OS X version number, not the Classic system folder version number. If my tests confirm this, I'll Bugzilla it. Cheers, Sarah From sarahr at genesearch.com.au Fri Jan 16 00:41:15 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 16 Jan 2004 15:41:15 +1000 Subject: Field settings In-Reply-To: References: <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> Message-ID: <997EEEF2-47E6-11D8-AE6B-0003937A97B8@genesearch.com.au> David, this is often caused by a section of a GROUP overlapping the field. Although the individual members of a group are probably not overlapping your field, if you select the group itself, you may find that the rectangle of the group does intrude on to your field. Move the group behind the field and the editing cursor should re-appear. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 16 Jan 2004, at 2:24 pm, David Squance wrote: >> At 12:39 pm -0700 15/1/04, David Squance wrote: >>> How can I find out what invisible settings a particular field has? >>> I have >>> 6 fields on a card which should have identical settings (except for >>> location and text content). Looking through the Object inspector, >>> there >>> appears to be no difference, yet I can get a text editing >>> cursor(blinking >>> vertical line) in 3 of the fields, but not in the others. Locking >>> the >>> fields and then unlocking them made no difference. From jacque at hyperactivesw.com Fri Jan 16 00:45:08 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 15 Jan 2004 23:45:08 -0600 Subject: How to detect Classic? In-Reply-To: <2DEFCFA8-47D6-11D8-AE6B-0003937A97B8@genesearch.com.au> References: <2DEFCFA8-47D6-11D8-AE6B-0003937A97B8@genesearch.com.au> Message-ID: <40077A64.7020302@hyperactivesw.com> On 1/15/04 9:43 PM, Sarah Reichelt wrote: > My conversion > routine wasn't working so none of the expected files could be found. I > finally tracked this down to the fact that when running in Classic as > opposed to having booted into OS 9, the systemVersion still returns 10.3.2 That's good to know. Something must have changed though because it used to work correctly if I remember right. I recall testing it some time ago. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Fri Jan 16 00:50:27 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 15 Jan 2004 22:50:27 -0700 Subject: How to detect Classic? In-Reply-To: <40077A64.7020302@hyperactivesw.com> Message-ID: On Thursday, January 15, 2004, at 10:45 PM, J. Landman Gay wrote: >> My conversion routine wasn't working so none of the expected files >> could be found. I finally tracked this down to the fact that when >> running in Classic as opposed to having booted into OS 9, the >> systemVersion still returns 10.3.2 > > That's good to know. Something must have changed though because it > used to work correctly if I remember right. I recall testing it some > time ago. Could this be something weird with 10.3? Dar Scott From sarahr at genesearch.com.au Fri Jan 16 00:59:14 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 16 Jan 2004 15:59:14 +1000 Subject: How to detect Classic? In-Reply-To: References: Message-ID: <1CAD20EE-47E9-11D8-AE6B-0003937A97B8@genesearch.com.au> >>> My conversion routine wasn't working so none of the expected files >>> could be found. I finally tracked this down to the fact that when >>> running in Classic as opposed to having booted into OS 9, the >>> systemVersion still returns 10.3.2 >> >> That's good to know. Something must have changed though because it >> used to work correctly if I remember right. I recall testing it some >> time ago. > > Could this be something weird with 10.3? > Yes, or Rev 2 :-( I'll do some tests over the weekend and let you know what happens. I have access to a computer running 10.2.8, so I can try that as well as trying an old version of Rev. Cheers, Sarah From janschenkel at yahoo.com Fri Jan 16 01:41:33 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 15 Jan 2004 22:41:33 -0800 (PST) Subject: Restricting graphics to a field? In-Reply-To: Message-ID: <20040116064133.6629.qmail@web60509.mail.yahoo.com> --- Wouter wrote: > > Hi, > > I mean an image on top of a field. > > Some changes to avoid the problem caused by the > transparency > and the opaque condition of the image (which can > crash the app > occasionally or often) > The field will catch the mousemove as the image gets > a transparent > condition > when drawing only one pixel. > As there is still an unresolved bug with the select > tool it is not > usable > in this handler. > The spray can tool is tricky too, but can be used > with this change. > In revolution the erasor tool and the spray can tool > will not show > their icon > when chosen by script, in metacard they do. > (when using drawing tools, the overhead in > revolution is enormous > compared to metacard) > > > Make the image and the "underlying" field the same > size. > Set the scripts of both to (I know its kind of dirty > but is simple and > only for demo): > > on mousemove > if the mouseloc is within the rect of img "xxx" > then > if the mouse is not down then > put the hilitedbuttonname of group "tool" into > a > if a is "spray can" then choose spray can tool > else choose a tool > checkformousewithin > end if > end if > end mousemove > > and set the script of the card to: > > on checkformousewithin > if the mouseloc is within the rect of img "xxx" > or the mouse is down > then > send "checkformousewithin" to me in 100 > millisecs > else > choose browse tool > end if > end checkformousewithin > > Greetings, > WA > Hi Wouter, The problem in combining the above approach with the graphic tool (or buton/field tool for that matter), is that as soon as you leave the canvas rectangle, the graphic control is closed and non-resizable. The behaviour an end-user would expect, is that the graphic control is bound to the canvas rectangle, but can be "finished" while the cursor is outside the canvas rectangle. And I'm not sure how to implement that : the graphic control "officially" doesn't exist yet during creation -- the newGraphic message is only sent when you let go/choose the browse tool from the script. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From soapdog at mac.com Fri Jan 16 02:58:11 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 16 Jan 2004 05:58:11 -0200 Subject: GameDev in Rev. Seuck explained + suggestion In-Reply-To: References: Message-ID: Count with me for this project, I really want to use rev as a game development tool (this way I could quit programming in C forever!) On Jan 16, 2004, at 3:28 AM, Judy Perry wrote: > I'm sorry for coming in late on this one (trying to finish up a couple > of > classes I'm taking), but as I am using Rev to teach simple multimedia > and > GAME development, I, too, would be VERY interested... > > Judy > > On Wed, 14 Jan 2004 peter9.smith at ps.ge.com wrote: > >>> From: WIlliam Griffin >>> >>> First up i'm trying to properly focus the next Inkubator project at >>> www.idevgames.com >>> >>> [ snips ] >>> >>> So I'd like to suggest to the rev community that we set up a >>> place that >>> we discuss game dev topics in relationship to Revolution as a >>> continous >>> resource >>> instead of the random weeding of this list. >> >> I'm interested in Revolution as an engine for Adventure games (just >> as a >> hobbyist but I know of one commercial Adventure game developer >> looking at >> Revolution.) >> >> iDevGames is a great place but seems mainly focussed on action and >> arcade >> style games (from a cursory glance.) A place on the web for >> Revolution and >> Adventure games would be nice but not sure there'll be much overlap >> between >> that and shoot 'em up style games. >> >> This list has been a real help to me but my queries have been pretty >> generic >> not specifically game related. >> >> Regards, Peter. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From soapdog at mac.com Fri Jan 16 02:59:26 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 16 Jan 2004 05:59:26 -0200 Subject: function for listing all objects in a stack. Message-ID: Hi Folks, It's late here 5:58 AM, i didn't sleep yet... I can't think on a way to list all objects in a stack. Actually I want to list all fields in a stack.. anyone here got a quick function for that? Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From shishilite at hotpop.com Fri Jan 16 03:18:56 2004 From: shishilite at hotpop.com (shishilite at hotpop.com) Date: Fri, 16 Jan 2004 18:18:56 +1000 Subject: function for listing all objects in a stack. In-Reply-To: Message-ID: This should work. Put this function in the stack script. To list all fields in a stack: function listFields put the cardNames of this stack into myCardNames repeat for each line thisLine in myCardNames repeat with x=1 to the number of controls on cd thisLine if word 1 of the the long name of control x is "field" then put the long name of control x & cr after myFields end if end repeat end repeat return myFields end listFields Shishi On 16/1/04 5:59 PM, "Andre Garzia" wrote: > Hi Folks, > > It's late here 5:58 AM, i didn't sleep yet... I can't think on a way to > list all objects in a stack. > Actually I want to list all fields in a stack.. anyone here got a quick > function for that? > > Cheers > Andre Garzia ? 2003 > imac2 ibook p100 e uma torradeira.... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From capellan2000 at yahoo.com Fri Jan 16 05:35:20 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 16 Jan 2004 02:35:20 -0800 (PST) Subject: Looking for a function for bezier curve fitting In-Reply-To: <20040116080036.BC54093043F@mail.runrev.com> Message-ID: <20040116103520.31897.qmail@web40513.mail.yahoo.com> Hi Developers, I'm looking for a way to find the control points of a bezier curve. This is know as bezier curve fitting. Does anyone have a function to solve this? Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From jbv.silences at Club-Internet.fr Fri Jan 16 05:41:35 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 16 Jan 2004 11:41:35 +0100 Subject: Looking for a function for bezier curve fitting References: <20040116103520.31897.qmail@web40513.mail.yahoo.com> Message-ID: <4007BFDB.5103C261@Club-Internet.fr> Alejandro, For Bezier curves, either 2D or 3D, the easiest solution is to use openGL. AFAIK, someone at RR is working on a vector graphic tool for a forthcoming version of Rev, so maybe it isn't worth spending too much time trying to emulate this in Transcript... JB > Hi Developers, > > I'm looking for a way to find the control > points of a bezier curve. This is know as > bezier curve fitting. > > Does anyone have a function to solve this? > > Thanks in advance. > > al > > ===== > Visit my site: > http://www.geocities.com/capellan2000/ > Search the mail list: > http://mindlube.com/cgi-bin/search-use-rev.cgi > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From thierry.arbellot at wanadoo.fr Fri Jan 16 05:57:08 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Fri, 16 Jan 2004 11:57:08 +0100 Subject: How to detect Classic? In-Reply-To: <1CAD20EE-47E9-11D8-AE6B-0003937A97B8@genesearch.com.au> Message-ID: I did a test with MacOS X 10.2.8, Rev 2.0.1 Classic the systemVersion returns the correct value : 9.2.2 Thierry. On Friday, Jan 16, 2004, at 06:59 Europe/Paris, Sarah Reichelt wrote: >>>> My conversion routine wasn't working so none of the expected files >>>> could be found. I finally tracked this down to the fact that when >>>> running in Classic as opposed to having booted into OS 9, the >>>> systemVersion still returns 10.3.2 >>> >>> That's good to know. Something must have changed though because it >>> used to work correctly if I remember right. I recall testing it some >>> time ago. >> >> Could this be something weird with 10.3? >> > Yes, or Rev 2 :-( > I'll do some tests over the weekend and let you know what happens. I > have access to a computer running 10.2.8, so I can try that as well as > trying an old version of Rev. > > Cheers, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From xbury.cs at clearstream.com Fri Jan 16 06:06:37 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 16 Jan 2004 12:06:37 +0100 Subject: Looking for a function for bezier curve fitting Message-ID: Alejandro try these nice examples. Sorry that they are in flash... or download the fla file and edit the fla file in a text browser to see the script. Hope the scripts are complete. They seems so... Maybe I start adding flash to my transcript translator! cheers Xavier On 16/01/2004 11:41:35 use-revolution-bounces wrote: >Alejandro, > >For Bezier curves, either 2D or 3D, the easiest solution >is to use openGL. >AFAIK, someone at RR is working on a vector graphic >tool for a forthcoming version of Rev, so maybe it isn't >worth spending too much time trying to emulate this in >Transcript... > >JB > > >> Hi Developers, >> >> I'm looking for a way to find the control >> points of a bezier curve. This is know as >> bezier curve fitting. >> >> Does anyone have a function to solve this? >> >> Thanks in advance. >> >> al >> >> ===== >> Visit my site: >> http://www.geocities.com/capellan2000/ >> Search the mail list: >> http://mindlube.com/cgi-bin/search-use-rev.cgi >> >> __________________________________ >> Do you Yahoo!? >> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes >> http://hotjobs.sweepstakes.yahoo.com/signingbonus >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From frank at backtalk.com Fri Jan 16 06:17:28 2004 From: frank at backtalk.com (Frank Leahy) Date: Fri, 16 Jan 2004 11:17:28 +0000 Subject: How to detect Classic? In-Reply-To: <20040116080036.BC54093043F@mail.runrev.com> Message-ID: <9211581E-4815-11D8-B97F-000A9580FCCE@backtalk.com> Maybe you test the full path of the stack? If it starts with / then its OSX, if it has a : in it is must be Classic. Best, -- Frank On Friday, January 16, 2004, at 08:00 AM, use-revolution-request at lists.runrev.com wrote: > I'll do some more tests but I'm pretty sure this is wrong. I am still > getting the OS X version number, not the Classic system folder version > number. If my tests confirm this, I'll Bugzilla it. > > Cheers, > Sarah From thierry.arbellot at wanadoo.fr Fri Jan 16 06:28:43 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Fri, 16 Jan 2004 12:28:43 +0100 Subject: How to detect Classic? In-Reply-To: <9211581E-4815-11D8-B97F-000A9580FCCE@backtalk.com> Message-ID: <242B169E-4817-11D8-8AB1-000A27E40768@wanadoo.fr> Rev always returns path in Unix style, even in Classic, no : A workaround: check the specialFolderPath of "System" OS X returns /System Classic returns path in the format /hard disk name/system folder name Thierry. On Friday, Jan 16, 2004, at 12:17 Europe/Paris, Frank Leahy wrote: > Maybe you test the full path of the stack? If it starts with / then > its OSX, if it has a : in it is must be Classic. > > Best, > -- Frank > > > On Friday, January 16, 2004, at 08:00 AM, > use-revolution-request at lists.runrev.com wrote: > >> I'll do some more tests but I'm pretty sure this is wrong. I am still >> getting the OS X version number, not the Classic system folder version >> number. If my tests confirm this, I'll Bugzilla it. >> >> Cheers, >> Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From wouter.abraham at pi.be Fri Jan 16 06:55:03 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 16 Jan 2004 12:55:03 +0100 Subject: Restricting graphics to a field? In-Reply-To: <20040116080037.B0A4093008C@mail.runrev.com> References: <20040116080037.B0A4093008C@mail.runrev.com> Message-ID: On 16 Jan 2004, at 09:00, use-revolution-request at lists.runrev.com wrote: Goeie middag Jan, I' am sorry, I missed the point of the "drawing" tools. In OS X my first suggestion, keeping the "drawing" in the mainstack, and opening another stack as a drawer were all the other controls can be gathered, works as well for drawing tools as for paint tools as for any other tool. Try to mimic this on the other platforms. Or is a drawer-like solution no option? > Hi Wouter, > > The problem in combining the above approach with the > graphic tool (or buton/field tool for that matter), is > that as soon as you leave the canvas rectangle, the > graphic control is closed and non-resizable. > The behaviour an end-user would expect, is that the > graphic control is bound to the canvas rectangle, but > can be "finished" while the cursor is outside the > canvas rectangle. > And I'm not sure how to implement that : the graphic > control "officially" doesn't exist yet during creation > -- the newGraphic message is only sent when you let > go/choose the browse tool from the script. > > Jan Schenkel. Greetings, WA From klaus at major-k.de Fri Jan 16 07:19:01 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 16 Jan 2004 13:19:01 +0100 Subject: Apologies to all In-Reply-To: <49842B40-479E-11D8-837E-000A95776DC4@hindu.org> References: <49842B40-479E-11D8-837E-000A95776DC4@hindu.org> Message-ID: <2AB68762-481E-11D8-AAFB-000A27B49A96@major-k.de> Salaam Swami, > Apologies to all for the major blooper on the auto-responder. With > only 24 hours left before > departure I told the sys admin to implement the auto-responder. (not > worried about spam > as we have a macho filter on the mail server.) > > He implemented it and I sat down at my station to unsubscribe and > discovered that to have become > an impossibility at that point. Sent a memo to Heather and crossed my > fingers. But, nothing happened.... Thou shalt be forgiven! Don't take that TOO serious :-) I personally found this much fun and a welcome distraction... > Then hearing, the moaning and wailing from the ethers of Cyberspace, > I called Kevin in > Scotland from Hawaii and, had the delight of finally speaking with him > in person after all t > hese years. He really exists? Wow, i always thought he was one of these "urban myths" :-D > He did the needful... Won't happen again. Oh, that would be sad... :-( > Thank you for your patience! > > Sannyasin Sivakatirswami > From the road... Watch out for the Yeti/Reinhold!!! ;-) Regards Klaus Major klaus at major-k.de www.major-k.de From jan.decroos at groepvanroey.be Fri Jan 16 07:39:13 2004 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Fri, 16 Jan 2004 13:39:13 +0100 Subject: How to detect Classic? Message-ID: You can check which environment your application is running by checking the processID, which returns the real process ID if running under OS X (it must appear in the first column of the result of 'ps -c -U myAccountName'), and it returns 9000 if running under Classic. (Every application started under Classic is a sub-process (AFAIK) of TruBlueEnvironment (Mac OS 9 Classic), and you don't find the value of the processID function back in the first column.) on mouseUp if isRunningClassic() then answer "Classic" else answer "OS X" end if end mouseUp function isRunningClassic set the itemDel to "/" put last item of $HOME into myAccountName get((CR&space&space&(the processID)&space) is in (CR&shell("ps -c -U "&myAccountName))) return not(it) end isRunningClassic Regards, Jan > > >I have an app that I built for both PPC & OS X. The 2 systems handle >file paths differently so I have a routine to convert from one to the >other depending on "the systemVersion". The problem is that I was >testing the PPC version using Classic from inside OS X. My conversion >routine wasn't working so none of the expected files could be found. I >finally tracked this down to the fact that when running in Classic as >opposed to having booted into OS 9, the systemVersion still returns >10.3.2 > >So the Rev engine thought it was still operating in OS X but insisted >on OS 9 file paths! Does anyone have any ideas on how to detect when an >OS 9 app is running in Classic? I guess if not, I'll just have to do >separate builds for each version with the system type stored in a >custom property. > >Cheers, >Sarah >sarahr at genesearch.com.au >http://www.troz.net/Rev/ > From jbv.silences at Club-Internet.fr Fri Jan 16 08:00:48 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 16 Jan 2004 14:00:48 +0100 Subject: CGI Presentation at Revolution Seminar References: <400488E7.4050807@hyperactivesw.com> <3B0B9B3E-46AE-11D8-B7F1-000A95665344@easynet.fr> <1074121365.5379.26.camel@www.kmax.ici> Message-ID: <4007E078.5543CF7C@Club-Internet.fr> Pierre Sahores a *crit : > As long as you don't use a real application server, the flat-files way > can't be a competitive solution : for each new request, a cgi script > loads from disk all the datas stored in flat-files. Yes, I am aware of this limitation / drawback, although I found out that (at least for this specific web app I'm working on) carefully splitting the data into small files & carefully indexing the content, for each request my cgi script wouldn't need to load more than 100 or 150 Kb into memory... So, in that case, it really looks like a competitive solution... JB From xbury.cs at clearstream.com Fri Jan 16 08:19:47 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 16 Jan 2004 14:19:47 +0100 Subject: HTMLtext is a crasher - BrowserX is not! Message-ID: Hi everyone, I've been writing a stealthy web browser for work so that they can't tell im surfing... shhhh! I got a big director not far and many managers walking by who can see my screen! I've got it near perfect with most of the features including typeahead of the url, downloads, URL resolution, history, Favorites to come soon, etc... So first try was: get url fld "url" set the htmltext of fld "html" to it It works naturally. BUT: keeping the images in the html field and then saving the stack is a sure measure of crashing MC or RR on NT. You can imagine the risks of corruption too ;) Anyone go an idea on how to stop the crashing? Im just stripping the images! Tip: Tables are useless apparently because they dont seem to show or format the html output (oops), and worse, Anchor tags in embedded tables (tables in tables) are no longuer considered links. So those might as well be stripped out at least to make the other anchor tags clickeable. Now, they are clickeable, Im looking for a way to make them appear in a separate field when you hover over them... Anyone got an idea on how to do that? (on hoverlink would be nice!) Cheers and happy browsing! 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 3mcgrath at adelphia.net Fri Jan 16 09:03:27 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 16 Jan 2004 09:03:27 -0500 Subject: Problems with standalones mac/windows In-Reply-To: <36620FC6-47E0-11D8-822C-000393C4760A@mindlube.com> References: <7F95E024-47CE-11D8-AAE0-000A95DA60FA@adelphia.net> <36620FC6-47E0-11D8-822C-000393C4760A@mindlube.com> Message-ID: Yes, I was strictly keeping Andrews problem in mind. I agree with everything you said and I was aware off what typically happens when a mime type is missing. Since he was using an earthlink email address and was only sharing among friends I suggested the easiest approach - "Simply download the file to disk" and I have yet had any problems with users downloading the .sit or .zip or .gzip or .hqx files. I tried uploading an .htaccess file to comcast/ISP and was unsuccessful in setting it up. I was trying to put some password protection on my site. I'm fairly new to apache but comcast is difficult to deal with. I'm sure if I was running my own server it would be a logical and easy fix but dealing with outside ISP servers is a real pain sometimes. Thanks Tom On Jan 15, 2004, at 11:55 PM, Alex Rice wrote: > > On Jan 15, 2004, at 7:48 PM, Thomas J McGrath III wrote: > >> It is much simpler of a problem to fix. >> Just have the user hold the control key and choose 'download link to >> disk' in OSX. I think you can hold the option/alt key down while >> clicking with the mouse and go right to the download. > > Maybe special keystrokes to do a download is fine for Andrew's needs - > a game shared among friends, but in a hi-profile situation it won't be > adequate. > > Also switching to a particular file type, say .sit or .hqx, hoping > that is will known by the web browser is also problematic. It's a > gamble. What if they have an old or misconfigured browser? What if you > think it should be known by the browser but it really is not? What if > the user deleted their MIME type settings or helper application > settings? So it's just a partial solution. > >> The other simple solution is to convert the file from a .rev file >> which acts more like a text file(which loads in a browser window), to >> a .sit or .hqx etc. file which will then 'auto' download when clicked >> because that is browser expected behavior for those formats. > > I used to work for a ISP/web hosting provider so bear with me. I'm not > sure you understand the cause of the problem. If you do, then I > apologize for the noise. > > You can try any file type, binary or text, and if the web server MIME > type config doesn't map the file extension, and the web browser > doesn't have that file extension in it's MIME types and/or helper > applications preferences, then guess what happens: the browser tries > to display it as text, even if it's binary. > > That's what the application/octet-stream MIME type is for- it says to > the web browser "hey if you don't have a preference what to do with > this file, here is the MIME type to use" and the the web browser goes > "Oh! application/octet-stream- I'm supposed to download that and save > it to disk" > > The correct solution with Apache server is as simple as uploading a > .htaccess file into your web directory (for most ISPs). That's a > pretty simple solution, considering you do it once and the problem > goes away forever. > > Hope this helps, > > Alex Rice | Mindlube Software | > > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Fri Jan 16 09:26:08 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 16 Jan 2004 09:26:08 -0500 Subject: How to detect Classic? In-Reply-To: References: Message-ID: Since OS9 is no longer supported in Panther, The way "Classic" is handled is completely different in 10.2.3 +. I ran into this and had a couple of workarounds for the path. It would be nice to have a simple way of finding the true platform and environment we are running in. Tom On Jan 16, 2004, at 7:39 AM, Jan Decroos wrote: > > > You can check which environment your application is running by > checking the > processID, which returns the real process ID if running under OS X (it > must > appear in the first column of the result of 'ps -c -U myAccountName'), > and it > returns 9000 if running under Classic. > (Every application started under Classic is a sub-process (AFAIK) of > TruBlueEnvironment (Mac OS 9 Classic), and you don't find the value of > the > processID function back in the first column.) > > > on mouseUp > if isRunningClassic() then > answer "Classic" > else > answer "OS X" > end if > end mouseUp > > function isRunningClassic > set the itemDel to "/" > put last item of $HOME into myAccountName > get((CR&space&space&(the processID)&space) is in (CR&shell("ps -c -U > "&myAccountName))) > return not(it) > end isRunningClassic > > Regards, > Jan >> >> >> I have an app that I built for both PPC & OS X. The 2 systems handle >> file paths differently so I have a routine to convert from one to the >> other depending on "the systemVersion". The problem is that I was >> testing the PPC version using Classic from inside OS X. My conversion >> routine wasn't working so none of the expected files could be found. I >> finally tracked this down to the fact that when running in Classic as >> opposed to having booted into OS 9, the systemVersion still returns >> 10.3.2 >> >> So the Rev engine thought it was still operating in OS X but insisted >> on OS 9 file paths! Does anyone have any ideas on how to detect when >> an >> OS 9 app is running in Classic? I guess if not, I'll just have to do >> separate builds for each version with the system type stored in a >> custom property. >> >> Cheers, >> Sarah >> sarahr at genesearch.com.au >> http://www.troz.net/Rev/ >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From squance at elkvalley.net Fri Jan 16 09:30:43 2004 From: squance at elkvalley.net (David Squance) Date: Fri, 16 Jan 2004 07:30:43 -0700 Subject: Field settings In-Reply-To: <997EEEF2-47E6-11D8-AE6B-0003937A97B8@genesearch.com.au> References: <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> <739EF980-45EA-11D8-A8B8-000A27B49A96@major-k.de> Message-ID: Yes, that was it. I found two groups I hadn't remembered were there, leftover from when I originally built the stack in HC. One appears to have no purpose. Nothing obvious is affected by making it invisible, but it's nested, so I can't remove it. I think I'll have to rebuild that card/stack from scratch. Thanks, Sarah. >David, this is often caused by a section of a GROUP overlapping the >field. >Although the individual members of a group are probably not overlapping >your field, if you select the group itself, you may find that the >rectangle of the group does intrude on to your field. Move the group >behind the field and the editing cursor should re-appear. > >Cheers, >Sarah From alex at mindlube.com Fri Jan 16 09:47:54 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 16 Jan 2004 07:47:54 -0700 Subject: Problems with standalones mac/windows In-Reply-To: References: <7F95E024-47CE-11D8-AAE0-000A95DA60FA@adelphia.net> <36620FC6-47E0-11D8-822C-000393C4760A@mindlube.com> Message-ID: On Jan 16, 2004, at 7:03 AM, Thomas J McGrath III wrote: > I tried uploading an .htaccess file to comcast/ISP and was > unsuccessful in setting it up. I was trying to put some password > protection on my site. I'm fairly new to apache but comcast is > difficult to deal with. I'm sure if I was running my own server it > would be a logical and easy fix but dealing with outside ISP servers > is a real pain sometimes. True- the .htaccess method relies on the web server being configured with "allow overrides" for users. Most but not all ISPs probably allow this. Don't know about comcast through. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From soapdog at mac.com Fri Jan 16 10:08:00 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 16 Jan 2004 13:08:00 -0200 Subject: function for listing all objects in a stack. In-Reply-To: References: Message-ID: On Jan 16, 2004, at 6:18 AM, shishilite at hotpop.com wrote: > This should work. Put this function in the stack script. > > To list all fields in a stack: > > function listFields > put the cardNames of this stack into myCardNames > repeat for each line thisLine in myCardNames > repeat with x=1 to the number of controls on cd thisLine > if word 1 of the the long name of control x is "field" then > put the long name of control x & cr after myFields > end if > end repeat > end repeat > return myFields > end listFields > > Shishi Thanks! Thanks! Thanks!!!!! Cheers Andre PS: Thanks! > > On 16/1/04 5:59 PM, "Andre Garzia" wrote: > >> Hi Folks, >> >> It's late here 5:58 AM, i didn't sleep yet... I can't think on a way >> to >> list all objects in a stack. >> Actually I want to list all fields in a stack.. anyone here got a >> quick >> function for that? >> >> Cheers >> Andre Garzia ? 2003 >> imac2 ibook p100 e uma torradeira.... >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From dsc at swcp.com Fri Jan 16 10:16:48 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 16 Jan 2004 08:16:48 -0700 Subject: "the Registry had been tampered with..." In-Reply-To: <20040115024639.49985.qmail@web61106.mail.yahoo.com> Message-ID: <014D2E7D-4837-11D8-B34C-000A9567A3E6@swcp.com> On Wednesday, January 14, 2004, at 07:46 PM, erik hansen wrote: > my sisters Windows 98 is acting out. > i downloaded RunRev to the desktop. > her technician says that > "the Registry had been tampered with..." > he wonders whether RR could have > unintentionally done something complicating. > > anyone have any such experience? Free verse? At rare moments. RR Registry problems? Not that I know of. Dar Scott From dsc at swcp.com Fri Jan 16 10:30:48 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 16 Jan 2004 08:30:48 -0700 Subject: read socket until crlf question In-Reply-To: Message-ID: On Wednesday, January 14, 2004, at 09:35 PM, Doug Lerner wrote: > If I > > read from socket thisSocket until CRLF > > and then look at the number of chars in it the number of chars is ONE > plus > the number of visible characters read. Why isn't it TWO plus the > number of > visible chararacters read - one for CR and one for LF? Doug, it seems to me that, though you got plenty of "responses," you didn't get an answer. I usually do the line processing after receiving the data, so I usually don't do it this way. Maybe 'until' only matches on the first character. I don't get that impression from the TD (list jargon for Transcript Dictionary), though. If you are doing a repeat for each line or referring to 'line n of' you will not get the LF. The function below takes a string and converts it to hex. You can use it to dump your line in testing. For example "abc" & crlf will be translated to "6162630D0A". Look for 0D for CR and 0A for LF. function hex s get binaryDecode("H*",s,h) return h end hex Dar Scott From revlist at cableone.net Fri Jan 16 10:50:13 2004 From: revlist at cableone.net (Chris Sheffield) Date: Fri, 16 Jan 2004 08:50:13 -0700 Subject: How to detect Classic? In-Reply-To: <40077A64.7020302@hyperactivesw.com> Message-ID: <000d01c3dc48$6e7cbb10$64fea8c0@chris1> I've been using something similar in my app for several months now, and it's working fine for me. I can run my app in Classic mode under OS X with no problems. Using Rev 2.1.2 and Mac OS 10.3.2. Chris Sheffield Software Development Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Thursday, January 15, 2004 10:45 PM To: How to use Revolution Subject: Re: How to detect Classic? On 1/15/04 9:43 PM, Sarah Reichelt wrote: > My conversion > routine wasn't working so none of the expected files could be found. I > finally tracked this down to the fact that when running in Classic as > opposed to having booted into OS 9, the systemVersion still returns 10.3.2 That's good to know. Something must have changed though because it used to work correctly if I remember right. I recall testing it some time ago. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 From gizmotron at earthlink.net Fri Jan 16 11:28:14 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri, 16 Jan 2004 08:28:14 -0800 Subject: HTMLtext is a crasher - BrowserX is not! In-Reply-To: Message-ID: On Friday, January 16, 2004, at 05:19 AM, xbury.cs at clearstream.com wrote: > Now, they are clickeable, Im looking for a way to make them appear in a > separate field when you hover over them... Anyone got an idea on how > to do that? > (on hoverlink would be nice!) > > Cheers and happy browsing! > Xavier I put this into my field that the links are in. On roll-over links puts an image into field "linkL" and the link's destination cleaned up and displayed into field "linkR" on mouseDown global transMoveX put TRUE into transMoveX end mouseDown on mouseUp global transMoveX ..... other stuff here first put FALSE into transMoveX end mouseUp on mouseWithin global transMoveX if transMoveX = FALSE then if the textstyle of the mouseText = "link" then put the htmlText of the mouseText into blip put the mouseText into blap -- replace "" & blap & "" into tx replace tx with empty in blip put offset("", blip,tNum1) into tNum4 replace "" with empty in blip if tNum1 < 1 then else delete char tNum1 to (tNum1 + tNum4) of blip end if if char 5 to 8 of blip = "buy=" then put "

Go to purchase this product with your purchase key already placed on your clipboard

" into blip end if put "

" into blip2 set the HTMLText of field "linkL" to blip2 set the HTMLText of field "linkR" to blip else put "" into field "linkL" put "" into field "linkR" end if else end if end mouseWithin Hope this helps. Mark Brownell From rgmiller at pacbell.net Fri Jan 16 13:48:07 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Fri, 16 Jan 2004 10:48:07 -0800 Subject: Apologies to all References: <20040115233225.78AEE930413@mail.runrev.com> Message-ID: <400831E7.9040901@pacbell.net> From: Sannyasin Sivakatirswami Sannyasin said: "Apologies to all for the major blooper on the auto-responder. With only 24 hours left before departure I told the sys admin to implement the auto-responder. (not worried about spam as we have a macho filter on the mail server.)" So you weren't eaten by cannibals after all... ;-) Ray Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From rgmiller at pacbell.net Fri Jan 16 14:15:32 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Fri, 16 Jan 2004 11:15:32 -0800 Subject: function for listing all objects in a stack. References: <20040116080031.49A43930093@mail.runrev.com> Message-ID: <40083854.3030605@pacbell.net> From: Andre Garzia Hi Folks, It's late here 5:58 AM, i didn't sleep yet... I can't think on a way to list all objects in a stack. Actually I want to list all fields in a stack.. anyone here got a quick function for that? Hi Andre, Better hit the sack, I think your brain is trying to tell you something... ;-) Below is the script I stick in an option btn. I use it on every stack I'm building. It gives me quick access to any number of propereties... =================== on mouseUp put the label of me into pName ## script any if the the ShiftKey is down then set the visible of part pName to not the visible of part pName else editTheBtns pName end if end mouseUp on editTheBtns which edit the script of part which end editTheBtns on mouseEnter put "" into stuff put the number of parts in this stack into bNum repeat with x = 1 to bNum put the name of part (x) into temp if there is a part temp then put the visible of part temp into vizz put the rect of part temp into TL end if ## include any property you want put the name of part (x) &" -- " &\ vizz &" " &\ TL & cr after stuff end repeat sort stuff -- or not put stuff into me end mouseEnter Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From jacque at hyperactivesw.com Fri Jan 16 16:21:35 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 16 Jan 2004 15:21:35 -0600 Subject: function for listing all objects in a stack. In-Reply-To: <40083854.3030605@pacbell.net> References: <20040116080031.49A43930093@mail.runrev.com> <40083854.3030605@pacbell.net> Message-ID: <400855DF.8050203@hyperactivesw.com> On 1/16/04 1:15 PM, Ray G. Miller wrote: > put the number of parts in this stack into bNum This interested me because I didn't know you could do that. But when I tried, I only got the number of parts on the card. Are you able to get an accurate count of all stack controls? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at yahoo.com Fri Jan 16 17:29:19 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 16 Jan 2004 14:29:19 -0800 (PST) Subject: Looking for a function for bezier curve fitting In-Reply-To: <20040116130146.87A99930442@mail.runrev.com> Message-ID: <20040116222919.68107.qmail@web40503.mail.yahoo.com> On 16/01/2004 jbv wrote: >For Bezier curves, either 2D or 3D, >the easiest solution is to use openGL. So, openGL has a bezier curve fitting function ready available... Could I send you a list of points (coordinates) and you return me the exact location of the two control points? >AFAIK, someone at RR is working on a vector graphic >tool for a forthcoming version of Rev, so maybe it >isn't worth spending too much time trying to >emulate this in Transcript... This is great news. Where it got published? I'll like to read more about this feature. But, I need this as soon as possible for a tutorial on bezier curve editing in Ilustrator. xavier bury wrote: >Try these nice examples. [snip] >Maybe I start adding flash to my >transcript translator! Thanks a lot for the links! A lot of interesting stuff there. Could you explain in a new message titled: Transcript translator, What does this new project? al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From doug at webcrossing.com Fri Jan 16 17:57:38 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 17 Jan 2004 07:57:38 +0900 Subject: read socket until crlf question In-Reply-To: Message-ID: Thanks for your note, Dar. I ended up analyzing the lines that were coming in and post-processing them, like you do. doug On 1/17/04 12:30 AM, "Dar Scott" wrote: > > On Wednesday, January 14, 2004, at 09:35 PM, Doug Lerner wrote: > >> If I >> >> read from socket thisSocket until CRLF >> >> and then look at the number of chars in it the number of chars is ONE >> plus >> the number of visible characters read. Why isn't it TWO plus the >> number of >> visible chararacters read - one for CR and one for LF? > > Doug, it seems to me that, though you got plenty of "responses," you > didn't get an answer. > > I usually do the line processing after receiving the data, so I usually > don't do it this way. Maybe 'until' only matches on the first > character. I don't get that impression from the TD (list jargon for > Transcript Dictionary), though. > > If you are doing a repeat for each line or referring to 'line n of' you > will not get the LF. > > The function below takes a string and converts it to hex. You can use > it to dump your line in testing. For example "abc" & crlf will be > translated to "6162630D0A". Look for 0D for CR and 0A for LF. > > function hex s > get binaryDecode("H*",s,h) > return h > end hex > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at yahoo.com Fri Jan 16 18:15:13 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 16 Jan 2004 15:15:13 -0800 (PST) Subject: HTMLtext is a crasher - BrowserX is not! In-Reply-To: <20040116155138.787F593044C@mail.runrev.com> Message-ID: <20040116231513.5644.qmail@web40502.mail.yahoo.com> on Fri, 16 Jan 2004 xavier bury wrote: > I've been writing a stealthy web browser ... > I've got it near perfect with most of the features > including typeahead of the url, downloads, > URL resolution, history, Favorites to come soon, > etc... How did this browser compares with the altBrowser dll from Altuit? They have a Demo in their website. What specific advantages could it have over a real browser? Do you know which feature could make it really useful? The ability to act as a download manager, like FlashGet or JetCar, but without installing Adware software that bumps against Firewalls and AntiVirus software. If it could download whole sites as well, with stop and resume downloads then you have a Commercial project in your hands. :) al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From JonathanC at ag.nsw.gov.au Fri Jan 16 21:32:21 2004 From: JonathanC at ag.nsw.gov.au (JonathanC at ag.nsw.gov.au) Date: Sat, 17 Jan 2004 13:32:21 +1100 Subject: use-revolution Digest, Vol 4, Issue 86 In-Reply-To: <20040113191923.878B6930211@mail.runrev.com> Message-ID: No, I haven't forgotten to change the Subject line... Has anyone else been getting use-revolution Digest, Vol 4, Issue 86 over and over again? I stopped counting after 25 copies. I think it has something to do with message #3, which begins: > Message: 3 > Date: Tue, 13 Jan 2004 10:33:33 -0700 > From: Alex Rice > Subject: Re: text encoding gotcha? > To: How to use Revolution > Message-ID: <9C5CA96E-45EE-11D8-80AB-000393C4760A at mindlube.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > This appears to be related to the other bug I posted about recently: > trouble after copy-pasting from Excel. Why the heck is Revolution > accepting wide and or control characters when I paste into the IDE? > This is bad. I am supposed to deliver an app today (yesterday actually) > and instead I have to manually go through and reset the content of > many, many fields. > > Here is some debugging from the message box to show how bizarre this is. > > > put fld 4 > T > h > e > > f > a > c > i > l > i > t > y > ... It goes on like that for ages, and then the Digest stops (reaches some invisible barrier I guess). I want to know if it's something that is happening to others (in which case the RunRev team need to do something) or not (in which case I'll have to ask our IT Dept to do something). Maybe everyone was distracted by Sadhaka Tejadevanatha's auto-responder :-). Regards, Jonathan Cooper Manager of Information / Website Art Gallery of New South Wales Sydney, Australia http://www.artgallery.nsw.gov.au This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Art Gallery of NSW (ABN 24 934 492 575) or its related entities. From revolution at knowledgeworks.plus.com Fri Jan 16 22:24:39 2004 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Sat, 17 Jan 2004 03:24:39 +0000 Subject: sound problems with Linux Message-ID: Hello folks At one stage in an application, I play some speeches from famous politicians (believe me, it is funnier than it sounds...) However, I have run into several problems with this whilst testing this on Linux. I've tested on two of the Live cds that work with my sound card (LindowsOS4 and Knoppix 3.3), so the problems should be easier for others to replicate. I've tested with both a .au file that is embedded in the stack, and a .wav file that is played in a player. Whilst the results are flawless on Windows 2000, Windows XP, and OS X, on both versions of Linux there is some problem. a) Knoppix 3.3 - On Knoppix the audio clip speech is distorted, yet if I play the same clip on that machine using the Linux 'audacity' sound file player the sound is fine, so it doesn't look like the cause of the problem is related to how the OS is driving the sound card. When I try to play the .wav file in the player, nothing happens, even though I have a button that locates the file to play and issues the 'start' command. b) LindowsOS 4 - Playing the .au file in the audioclip on LindowsOS the sound is much less distorted, but there is some drop-out that is not there on Windows or OS X. However, when I set the filename of the player object to point to the sound file on LindowsOS, it plays immediately, whereas it is intended to only play when the 'play' button of the controller is clicked (the behaviour I see on Windows and OS X). From helloc66 at hotmail.com Fri Jan 16 23:44:36 2004 From: helloc66 at hotmail.com (Jeremy Smith) Date: Sat, 17 Jan 2004 04:44:36 +0000 Subject: GameDev in Rev. Seuck explained + suggestion Message-ID: I would love to join as well, I've been programming games using hypercard/metacard and now revolution. I went the C++/DirectX route but missed the speed and ease of xtalk! It would be great to see just how many people there are out there programming games in revolution, as from the list it seems there are only a handful but I am sure there are many more. >From: Andre Garzia >Reply-To: How to use Revolution >To: How to use Revolution >Subject: Re: GameDev in Rev. Seuck explained + suggestion >Date: Fri, 16 Jan 2004 05:58:11 -0200 > >Count with me for this project, I really want to use rev as a game >development tool (this way I could quit programming in C forever!) > > > > >On Jan 16, 2004, at 3:28 AM, Judy Perry wrote: > >>I'm sorry for coming in late on this one (trying to finish up a couple of >>classes I'm taking), but as I am using Rev to teach simple multimedia and >>GAME development, I, too, would be VERY interested... >> >>Judy >> >>On Wed, 14 Jan 2004 peter9.smith at ps.ge.com wrote: >> >>>>From: WIlliam Griffin >>>> >>>>First up i'm trying to properly focus the next Inkubator project at >>>>www.idevgames.com >>>> >>>>[ snips ] >>>> >>>>So I'd like to suggest to the rev community that we set up a >>>>place that >>>>we discuss game dev topics in relationship to Revolution as a >>>>continous >>>>resource >>>>instead of the random weeding of this list. >>> >>>I'm interested in Revolution as an engine for Adventure games (just as a >>>hobbyist but I know of one commercial Adventure game developer looking at >>>Revolution.) >>> >>>iDevGames is a great place but seems mainly focussed on action and arcade >>>style games (from a cursory glance.) A place on the web for Revolution >>>and >>>Adventure games would be nice but not sure there'll be much overlap >>>between >>>that and shoot 'em up style games. >>> >>>This list has been a real help to me but my queries have been pretty >>>generic >>>not specifically game related. >>> >>>Regards, Peter. >>>_______________________________________________ >>>use-revolution mailing list >>>use-revolution at lists.runrev.com >>>http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >Andre Garzia ? 2003 >imac2 ibook p100 e uma torradeira.... > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution _________________________________________________________________ Send mobile Christmas cards, download a festive ringtone and win a Motorola E365. Go to: http://ninemsn.com.au/mobilecentral/christmas.asp From erikhans08 at yahoo.com Fri Jan 16 23:51:18 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Fri, 16 Jan 2004 20:51:18 -0800 (PST) Subject: Making handlers always available on startup In-Reply-To: <4000288C.8010109@hyperactivesw.com> Message-ID: <20040117045118.35864.qmail@web61101.mail.yahoo.com> --- "J. Landman Gay" wrote: > use the Plugins feature. To do that, > create a stack and put all > your custom handlers into the stack script. > Include a preOpenStack (or > an openStack) handler on the first card that > puts the stack in use. Save > the stack into Revolution's Plugins folder. > Then restart Revolution and > choose your plugin stack from the > Development->Plugins->Settings menu. > Set your stack to load every time Rev starts > up. > > The next time you launch Rev, it will > automatically open your plugin > stack. The plugin stack's preOpenStack handler > will put it in use. This > effectively creates a library that will be > accessible all the time, just > as HC's home stack script was. thanks Jacquie, very succinct. are there any caveats about saving plugins as you alter them? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From doug at webcrossing.com Sat Jan 17 00:05:06 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 17 Jan 2004 14:05:06 +0900 Subject: Restricting graphics to a field? In-Reply-To: <20040116064133.6629.qmail@web60509.mail.yahoo.com> Message-ID: I was thinking this could maybe be accomplished with something as simple as on mouseDown if the target <> "field canvas" then choose browse tool end if end mouseDown but that does work for various reasons. I don't know why though. The docs say: ----- The mouseDown message is sent to the control that was clicked, or to the card if no control was under the mouse pointer. If the Browse tool is being used, and you click an unlocked field with mouse button 1 or 2, no mouseDown message is sent. If you click with button 3, the mouseDown message is sent even though the field is not locked. ----- If the browse tool was being used anyway, it doesn't matter if the mouseDown message is not sent. But it seems to be not sent when the graphic tool is being used also, regardless of whether the field is locked or not. Does anybody know why? I think this would be perfect if it worked! :-) doug From doug at webcrossing.com Sat Jan 17 01:18:23 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 17 Jan 2004 15:18:23 +0900 Subject: Restricting graphics to a field? In-Reply-To: <20040116064133.6629.qmail@web60509.mail.yahoo.com> Message-ID: Another "almost but not quite": on mouseMove if the target is "field " & quote & "canvas" & quote then choose graphic tool else choose browse tool end if end mouseMove This one gets unbearably close to what I want. The weird thing is, *just* in the canvas field, the mouseMove messages seems to get sent twice! Once for the field and once for the card in which the field is in. So it bounces between the graphic and browse tool. Why would the message be sent twice - once for the field and once for the card which the field is in? But only for that one field! doug From doug at webcrossing.com Sat Jan 17 01:24:16 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 17 Jan 2004 15:24:16 +0900 Subject: Restricting graphics to a field? In-Reply-To: Message-ID: To me: That is probably because once the tool is changed to the graphic tool the target must be a card because all graphics reside in cards. Interestingly enough, if you watch the Object Inspector at the same time, the object becomes "Graphic 1" - even before the object is created. doug On 1/17/04 3:18 PM, "Doug Lerner" wrote: > Another "almost but not quite": > > on mouseMove > if the target is "field " & quote & "canvas" & quote then > choose graphic tool > else > choose browse tool > end if > end mouseMove > > This one gets unbearably close to what I want. The weird thing is, *just* in > the canvas field, the mouseMove messages seems to get sent twice! Once for > the field and once for the card in which the field is in. So it bounces > between the graphic and browse tool. > > Why would the message be sent twice - once for the field and once for the > card which the field is in? But only for that one field! > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Sat Jan 17 01:46:54 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 17 Jan 2004 15:46:54 +0900 Subject: Restricting graphics to a field? In-Reply-To: <20040116064133.6629.qmail@web60509.mail.yahoo.com> Message-ID: Got it to work! on mouseMove if exists(field "canvas") and the mouseLoc is within the rectangle of field "canvas" then choose graphic tool else choose browse tool end if end mouseMove Works just like I need it to for now. doug From chipp at chipp.com Sat Jan 17 02:03:17 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 17 Jan 2004 01:03:17 -0600 Subject: Rev Conference Toolbar available for download... Message-ID: For all of you who were at the Rev Conference and for those of you who missed it... At the conference, I introduced a new plugin architecture based upon a resizable, configurable and updateable toolbar -- for both Mac and PC. The cool thing is, anyone can add ordinary stacks to this toolbar as a plugin. But, there is also a way to add 'blessed' stacks which you can control online updates simply. It is now ready and available for download. If you are already an altPlugin user, the new architecture can work with your existing plugins, but newer "blessed" versions of them are available. You can find out more at: http://www.altuit.com/webs/altuit2/altPluginCover/about.htm -Chipp Walters Altuit, inc. >From the website: altPlugin toolbar v3 is the ultimate plugin manager and available for both Mac and PC. It has the following features: ? altPlugin now allows you to launch plugins from anywhere on your hard disk. No longer do you have to put them in a designated folder. ? altPlugin supports any stack as a plugin. So, you can create a simple stack with features you always need and load it via the 'Add Stack' command with no modification. ? altPlugin plugins now update themselves. You can choose 'Check for Updates' and altPlugin will look for any and all updates to the installed plugins you have. ? PluginBuilder (an altPlugin itself) automatically creates plugin template stacks or 'blesses' existing stacks so they, too, can be auto-updated online. ? altPlugin is completely configurable with a resizable palette orientation both vertical and horizontal. Icons can be easily resized and customized. Also, the plugin display order can be modified. ? altPlugin toolbar 'snaps' to screen edges to help conserve screen real estate. Also, altPlugin does not modify anything in the current RunRev IDE. No frontscripts are inserted. The intention is to make altPlugin 'transparent' to the IDE. From capellan2000 at yahoo.com Sat Jan 17 02:05:25 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 16 Jan 2004 23:05:25 -0800 (PST) Subject: Porting Postscript code to TRANSCRIPT In-Reply-To: <20040117050611.2207493009C@mail.runrev.com> Message-ID: <20040117070525.2321.qmail@web40507.mail.yahoo.com> Hi Developers, In the web, finally found a code that could fit a bezier curve in a set of points. But, this code was made in Postscript. If you understand Postscript, Could you explain me how did works this code? http://www.tinaja.com/text/fuzzybez.html http://www.tinaja.com/glib/bez4pts.pdf Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From bfr at nwlink.com Sat Jan 17 02:17:58 2004 From: bfr at nwlink.com (Bruce Robertson) Date: Fri, 16 Jan 2004 23:17:58 -0800 Subject: topLevel vs. open stack In-Reply-To: <1C2C8944-46C7-11D8-8F84-0030656FB5D4@danshafer.com> Message-ID: > 1. How if at all can I copy and paste objects between two open stacks? Ack. Messing with the clipboard just to move data? Doesn't Rev have a set field command? In my usual development environment, it's just set field [Thatfield, thisField]. From ambassador at fourthworld.com Sat Jan 17 02:22:19 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 16 Jan 2004 23:22:19 -0800 Subject: Rev Conference Toolbar available for download... In-Reply-To: Message-ID: Chipp Walters wrote: > At the conference, I introduced a new plugin architecture based upon a > resizable, configurable and updateable toolbar -- for both Mac and PC. The > cool thing is, anyone can add ordinary stacks to this toolbar as a plugin. > But, there is also a way to add 'blessed' stacks which you can control > online updates simply. It is now ready and available for download. If you > are already an altPlugin user, the new architecture can work with your > existing plugins, but newer "blessed" versions of them are available. You > can find out more at: > > http://www.altuit.com/webs/altuit2/altPluginCover/about.htm I saw it in action at the Rev seminar and it's way cool. Thanks Chipp! -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Sat Jan 17 02:37:32 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 17 Jan 2004 00:37:32 -0700 Subject: use-revolution Digest, Vol 4, Issue 86 In-Reply-To: Message-ID: <028E0B60-48C0-11D8-B34C-000A9567A3E6@swcp.com> On Friday, January 16, 2004, at 07:32 PM, JonathanC at ag.nsw.gov.au wrote: > I stopped counting after 25 copies. I think it has something to do with > message #3, which begins: This is where Alex showed what his trouble text looked like. My mail has spaces between the letters, but it seems he had other characters. I thought he converted them to spaces for the mail. Maybe my mail client or the list server converted them. Maybe they were not converted for the digest and the digest generator gagged on them. Dar Scott From dsc at swcp.com Sat Jan 17 03:00:22 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 17 Jan 2004 01:00:22 -0700 Subject: Porting Postscript code to TRANSCRIPT In-Reply-To: <20040117070525.2321.qmail@web40507.mail.yahoo.com> Message-ID: <3382E302-48C3-11D8-B34C-000A9567A3E6@swcp.com> On Saturday, January 17, 2004, at 12:05 AM, Alejandro Tejada wrote: > But, this code was made in Postscript. > > If you understand Postscript, > > Could you explain me how did works this code? > > http://www.tinaja.com/text/fuzzybez.html PostScript is like forth. /x is a quote of a symbol. A sequence in braces is a quoted code sequence. def defines a command. The commands are executed in order on a stack. For example: /delta1 {mat 2 get mat 0 get sub dup mul mat 3 get mat 1 get sub dup mul add sqrt} def ==> function delta return sqrt( ((mat[2]-mat[0])^2) + ((mat[3]-mat[1])^2) ) end delta That is not a full explanation, but it might help you in reading the code. Dar Scott From xbury.cs at clearstream.com Sat Jan 17 03:01:18 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Sat, 17 Jan 2004 09:01:18 +0100 Subject: Looking for a function for bezier curve fitting Message-ID: >Could you explain in a new message titled: >Transcript translator, What does this new project? Well, my old javascript/C/java translator (pretrans actually) will be fitted out with language modules. One will handle fla files! The GUI is a clone of my script editor, I hope to merge the two later into one so that when you paste in some java in MC or RR you get the metatalk nearly chewed up for you! Cool eh? But I got a more pressing need for my GUI language manager module which should help anyone have their guis translated in any known galactic language! Sorry to make you drull like this, Im severely under-man-powered for my projects... ;) 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 rgould8 at aol.com Sat Jan 17 03:14:09 2004 From: rgould8 at aol.com (rgould8 at aol.com) Date: Sat, 17 Jan 2004 03:14:09 -0500 Subject: shell() hangs when OSX requires authentification popup Message-ID: <6E626BEC.6FABD89D.0018446D@aol.com> I've been using the Shell() command quite a lot for a number of unix tasks that I need to do in my app. It works great, except in one case. It appears that if I launch a shell() call to a unix command and that unix command requires Mac OS X authentification (which spawns a popup asking for username/password), Revolution hangs after the popup is dismissed. Can anyone think of a way around this? I'm positive that it's the authentification popup that's the issue (I can even hit CANCEL on the popup and Rev will still hang) It's like the shell() command losses control at that point and the popup never gives it back to the Rev process or something. From xbury.cs at clearstream.com Sat Jan 17 03:55:38 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Sat, 17 Jan 2004 09:55:38 +0100 Subject: HTMLtext is a crasher - BrowserX is not! Message-ID: On 17/01/2004 00:15:13 use-revolution-bounces wrote: >on Fri, 16 Jan 2004 >xavier bury wrote: > >> I've been writing a stealthy web browser ... >> I've got it near perfect with most of the features >> including typeahead of the url, downloads, >> URL resolution, history, Favorites to come soon, >> etc... > >How did this browser compares with the altBrowser >dll from Altuit? They have a Demo in their website. I have no idea! I work strictly from scratch! ;) Let's say it is a plain vanila text browser (while RR crashes with HTMLText images) Stealth is the keyword here! ;) >What specific advantages could it have over >a real browser? > >Do you know which feature could make it really useful? >The ability to act as a download manager, like >FlashGet or JetCar, but without installing Adware >software that bumps against Firewalls and >AntiVirus software. I could add skins and themes, editing, another 100 more features with XOS ad-ons (simple copy paste in my home environment), download manager features are built into another stack I'll have to transfer over now that there is demand - best part about it is that it is somewhat threaded!!! >If it could download whole sites as well, with >stop and resume downloads then you >have a Commercial project in your hands. :) I you want to do the finish development for commercial purposes, I'll be glad to share! Most of the code is written already! ;) 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 mwieder at ahsoftware.net Sat Jan 17 04:01:43 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 17 Jan 2004 01:01:43 -0800 Subject: Porting Postscript code to TRANSCRIPT In-Reply-To: <3382E302-48C3-11D8-B34C-000A9567A3E6@swcp.com> References: <3382E302-48C3-11D8-B34C-000A9567A3E6@swcp.com> Message-ID: <7017070035.20040117010143@ahsoftware.net> ...and remember that it's in RPN or postfix notation, so you have to kind of squint your eyes and look at it funny until it makes sense. -- -Mark Wieder mwieder at ahsoftware.net From diwag at pingnet.ch Sat Jan 17 05:41:17 2004 From: diwag at pingnet.ch (Jean-Jacques Wagner) Date: Sat, 17 Jan 2004 11:41:17 +0100 Subject: Porting Postscript code to TRANSCRIPT (Bezier curve) In-Reply-To: <20040117070525.2321.qmail@web40507.mail.yahoo.com> Message-ID: Hi, Here you get a small samples of Bezier curve made in hypertalk. It is self explanotary and work quite well, depend about what you want to do. JJW on mouseUp put the first item of the loc of btn startpoint into x1 put the first item of the loc of btn endpoint into x2 put the first item of the loc of btn control1 into xa put the first item of the loc of btn control2 into xb put the second item of the loc of btn startpoint into y1 put the second item of the loc of btn endpoint into y2 put the second item of the loc of btn control1 into ya put the second item of the loc of btn control2 into yb put 0 into v1 if the hilite of cd btn "Multiple" = false then cleanUpPicture put cd fld bezierResolution into zdt Repeat with i = 1 TO zdt put i * 1/zdt into v1 put 1 - v1 into v2 put (x1 * (v2 * v2 * v2) + (3 * xa * v1 * v2 * v2) + (3 * xb * v1 * v1 * v2) + (x2 * (v1 ^ 3))) into x put (y1 * (v2 * v2 * v2) + (3 * ya * v1 * v2 * v2) + (3 * yb * v1 * v1 * v2) + (y2 * (v1 ^ 3))) into y put x div 1 & "," & y div 1 & return after variablezxc end repeat put the loc of btn "startpoint" & return before variablezxc choose tool "9" repeat with i = 1 to the number of lines of variablezxc -1 put line 1 of variablezxc into cde put line 2 of variablezxc into cda drag from cde to cda delete line 1 of variablezxc end repeat if the hilite of cd btn "No" = false then if the hilite of cd btn "Box" = true then drag from the loc of btn "startpoint" to the loc of btn "control1" drag from the loc of btn "control1" to the loc of btn "control2" drag from the loc of btn "control2" to the loc of btn "endpoint" drag from the loc of btn "endpoint" to the loc of btn "startpoint" else -- if the hilite of cd btn "Line" is true drag from the loc of btn "startpoint" to the loc of btn "control1" drag from the loc of btn "control2" to the loc of btn "endpoint" end if end if choose tool 1 end mouseUp on cleanUpPicture choose tool 4 -- selection tool drag from the topleft of this card to the bottomright of this card if menuitem 6 of menu "edit" = "Clear Picture" then domenu "Clear Picture" end cleanUpPicture on mouseenter set the visible of cd fld "BezierText" to not the visible of cd fld "BezierText" end mouseenter > Hi Developers, > > In the web, finally found a code that > could fit a bezier curve in a set of > points. > > But, this code was made in Postscript. > > If you understand Postscript, > > Could you explain me how did works this code? > > http://www.tinaja.com/text/fuzzybez.html > http://www.tinaja.com/glib/bez4pts.pdf > > Thanks in advance. > > al > > ===== > Visit my site: > http://www.geocities.com/capellan2000/ > Search the mail list: > http://mindlube.com/cgi-bin/search-use-rev.cgi > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jbv.silences at Club-Internet.fr Sat Jan 17 07:20:40 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Sat, 17 Jan 2004 13:20:40 +0100 Subject: Porting Postscript code to TRANSCRIPT References: <3382E302-48C3-11D8-B34C-000A9567A3E6@swcp.com> <7017070035.20040117010143@ahsoftware.net> Message-ID: <40092896.3F7FB3BC@Club-Internet.fr> > ....and remember that it's in RPN or postfix notation, so you have to > kind of squint your eyes and look at it funny until it makes sense. another thing to keep in mind is that PS uses various stacks, and that each instruction applies to data on top of a stack. This is important to understand instructions such as "exch dup"... JB From 3mcgrath at adelphia.net Sat Jan 17 09:42:37 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sat, 17 Jan 2004 09:42:37 -0500 Subject: Rev Conference Toolbar available for download... In-Reply-To: References: Message-ID: <6515A4A5-48FB-11D8-AAE0-000A95DA60FA@adelphia.net> Chipp, I would love it if the altplug could have a preference for it's opening position and if it would open and set the position for the RevToolbar. Tom On Jan 17, 2004, at 2:03 AM, Chipp Walters wrote: > For all of you who were at the Rev Conference and for those of you who > missed it... > > At the conference, I introduced a new plugin architecture based upon a > resizable, configurable and updateable toolbar -- for both Mac and PC. > The > cool thing is, anyone can add ordinary stacks to this toolbar as a > plugin. > But, there is also a way to add 'blessed' stacks which you can control > online updates simply. It is now ready and available for download. If > you > are already an altPlugin user, the new architecture can work with your > existing plugins, but newer "blessed" versions of them are available. > You > can find out more at: > > http://www.altuit.com/webs/altuit2/altPluginCover/about.htm > > -Chipp Walters > Altuit, inc. > >> From the website: > > altPlugin toolbar v3 is the ultimate plugin manager and available for > both > Mac and PC. It has the following features: > > ? altPlugin now allows you to launch plugins from anywhere on your hard > disk. No longer do you have to put them in a designated folder. > ? altPlugin supports any stack as a plugin. So, you can create a simple > stack with features you always need and load it via the 'Add Stack' > command > with no modification. > ? altPlugin plugins now update themselves. You can choose 'Check for > Updates' and altPlugin will look for any and all updates to the > installed > plugins you have. > ? PluginBuilder (an altPlugin itself) automatically creates plugin > template > stacks or 'blesses' existing stacks so they, too, can be auto-updated > online. > ? altPlugin is completely configurable with a resizable palette > orientation > both vertical and horizontal. Icons can be easily resized and > customized. > Also, the plugin display order can be modified. > ? altPlugin toolbar 'snaps' to screen edges to help conserve screen > real > estate. > > Also, altPlugin does not modify anything in the current RunRev IDE. No > frontscripts are inserted. The intention is to make altPlugin > 'transparent' > to the IDE. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From chipp at chipp.com Sat Jan 17 12:00:32 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 17 Jan 2004 11:00:32 -0600 Subject: Rev Conference Toolbar available for download... In-Reply-To: <6515A4A5-48FB-11D8-AAE0-000A95DA60FA@adelphia.net> Message-ID: Tom, It should automatically save it's position and load it each time you launch Rev. Is it not? It does here on both Mac and PC. -Chipp > > Chipp, > > I would love it if the altplug could have a preference for it's opening > position and if it would open and set the position for the RevToolbar. > > Tom From livfoss at blueyonder.co.uk Sat Jan 17 12:21:41 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sat, 17 Jan 2004 17:21:41 +0000 Subject: Making handlers always available on startup Message-ID: On Fri, 16 Jan 2004 20:51:18 -0800 (PST), erik hansen wrote: > >--- "J. Landman Gay" >wrote: > >> use the Plugins feature. To do that, >> create a stack and put all >> your custom handlers into the stack script. >> Include a preOpenStack (or >> an openStack) handler on the first card that >> puts the stack in use. Save >> the stack into Revolution's Plugins folder. >> Then restart Revolution and >> choose your plugin stack from the >> Development->Plugins->Settings menu. >> Set your stack to load every time Rev starts >> up. >> >> The next time you launch Rev, it will >> automatically open your plugin >> stack. The plugin stack's preOpenStack handler >> will put it in use. This >> effectively creates a library that will be >> accessible all the time, just >> as HC's home stack script was. > >thanks Jacquie, very succinct. >are there any caveats about saving plugins >as you alter them? I'm also interested in this technique but I haven't tried to use it yet - however it looks from the above as if it only works in the IDE rather than in a standalone, or do I misunderstand this? I guess this is not the way forward if I want to have a library which is accessible to the mainstack and other stacks further down the hierarchy in a standalone: instead I guess I need to employ the 'start using' construct as described in Richard G's recent paper, but that leaves me slightly puzzled as to whether the library stack(s) can be in a separate file from the mainstack and substacks of my actual application. I guess this has been discussed many times before, but I am still vague on this last point. I guess that since there is only one copy of the engine running at any time, then the engine 'knows' about all .rev files which have been loaded whether they are part of a mainstack-substack cluster or are just freestanding - is this right? Slightly muddled Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From ambassador at fourthworld.com Sat Jan 17 12:30:49 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 17 Jan 2004 09:30:49 -0800 Subject: Making handlers always available on startup In-Reply-To: Message-ID: Graham Samuel wrote: > I guess this > is not the way forward if I want to have a library which is > accessible to the mainstack and other stacks further down the > hierarchy in a standalone: instead I guess I need to employ the > 'start using' construct as described in Richard G's recent paper, but > that leaves me slightly puzzled as to whether the library stack(s) > can be in a separate file from the mainstack and substacks of my > actual application. A library stack can be either, and a backscript object can reside in either. -- 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 dsc at swcp.com Sat Jan 17 12:36:18 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 17 Jan 2004 10:36:18 -0700 Subject: Looking for a function for bezier curve fitting In-Reply-To: <20040116103520.31897.qmail@web40513.mail.yahoo.com> Message-ID: On Friday, January 16, 2004, at 03:35 AM, Alejandro Tejada wrote: > I'm looking for a way to find the control > points of a bezier curve. This is know as > bezier curve fitting. Do you need a single bezier curve for an approximate fit? Or do you need a sequence of curves for an exact fit? Long, long ago I came up with general least-squares fit procedures for lots of models. I have not tried it for bezier, and I suspect I might have trouble and get max errors instead of min errors. Even so, you might look for "least squares" in your searches. I'd give the math a try, but I can't find Calculus; I know he's around in some corner of my mind, but I suspect he's gone feral in the deep woods. It is probably straight forward to draw the curve once you get a fit, I imagine. Doing the fit is probably the hard part. Dar Scott From dsc at swcp.com Sat Jan 17 13:02:44 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 17 Jan 2004 11:02:44 -0700 Subject: text encoding gotcha? In-Reply-To: <9E1EB7C6-45F0-11D8-80AB-000393C4760A@mindlube.com> Message-ID: <599D14FE-4917-11D8-94DF-000A9567A3E6@swcp.com> On Tuesday, January 13, 2004, at 10:47 AM, Alex Rice wrote: > On Jan 13, 2004, at 10:40 AM, Alex Rice wrote: > >> What is it, UTF8? > > No, every other char is charToNum() = 0, NULL I guess. Weird. I'm > going to bugzilla this. These look like wide characters of some sort maybe UTF16 or the closest Windows gets to that. Either Excel is not marking those right, Rev is not handling the type right, or somehow the app is supposed to see the difference. Dar Scott From dsc at swcp.com Sat Jan 17 13:14:28 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 17 Jan 2004 11:14:28 -0700 Subject: use-revolution Digest, Vol 4, Issue 86 In-Reply-To: <028E0B60-48C0-11D8-B34C-000A9567A3E6@swcp.com> Message-ID: On Saturday, January 17, 2004, at 12:37 AM, Dar Scott wrote: > On Friday, January 16, 2004, at 07:32 PM, JonathanC at ag.nsw.gov.au > wrote: > >> I stopped counting after 25 copies. I think it has something to do >> with >> message #3, which begins: > > This is where Alex showed what his trouble text looked like. My mail > has spaces between the letters, but it seems he had other characters. > I thought he converted them to spaces for the mail. Maybe my mail > client or the list server converted them. Maybe they were not > converted for the digest and the digest generator gagged on them. I looked back over my mail and saw that the extra characters in Alex's example are nulls. Maybe the digest program was written by a C programmer. Dar Scott "Logic!" said the Professor half to himself. "Why don't they teach logic in these schools?" _The Lion, the Witch, and the Wardrobe_ C. S. Lewis From Alw918 at earthlink.net Sat Jan 17 08:30:31 2004 From: Alw918 at earthlink.net (Andrew) Date: Sat, 17 Jan 2004 13:30:31 +0000 Subject: problem with Windows standalone In-Reply-To: <20040117170057.E5C0D9300AA@mail.runrev.com> Message-ID: Hi, list. Thanks to everyone for their suggestions regarding my game standalone problems. I'm so grateful for this list; you are so helpful. It seems like the Mac standalones are downloading just fine with Internet Explorer when they are a ".sit" file. However, the problem still persists with my windows standalone (the ask box does not appear when someone hits a key.) A couple people suggested that I be sure to check those options (the "ask" box options) in the Distribution Builder. I made sure those options were checked and built the distribution again-- the problem remains. Any ideas? Thanks! Andrew p.s.(I'm sorry if you already got this message, but for some reason, I'm not seeing many of the messages I send show up on the daily postings, so I'm assuming they aren't sending.) From 3mcgrath at adelphia.net Sat Jan 17 15:36:55 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sat, 17 Jan 2004 15:36:55 -0500 Subject: Rev Conference Toolbar available for download... In-Reply-To: References: Message-ID: Chipp, yeah it does. Tom On Jan 17, 2004, at 12:00 PM, Chipp Walters wrote: > Tom, > > It should automatically save it's position and load it each time you > launch > Rev. Is it not? It does here on both Mac and PC. > > -Chipp > >> >> Chipp, >> >> I would love it if the altplug could have a preference for it's >> opening >> position and if it would open and set the position for the RevToolbar. >> >> Tom > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From bfr at nwlink.com Sat Jan 17 16:09:57 2004 From: bfr at nwlink.com (Bruce Robertson) Date: Sat, 17 Jan 2004 13:09:57 -0800 Subject: Auto Play on PCs In-Reply-To: Message-ID: > When you are in less of a hurry you can give me a clue as to how to do > that on OS X. > > Dar Scott Autorun off CD on Macs is a Quicktime setting. Since autorun is a source of virus propagation, it has been recommended to turn this preference off since about Sytem 7. It is off by default, and most Mac users won't have it turned on. From capellan2000 at yahoo.com Sat Jan 17 16:32:20 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 17 Jan 2004 13:32:20 -0800 (PST) Subject: Porting Postscript code to TRANSCRIPT In-Reply-To: <20040117085632.B5D0E9300A4@mail.runrev.com> Message-ID: <20040117213220.79948.qmail@web40508.mail.yahoo.com> on Sat, 17 Jan 2004 01:00:22 -0700 Dar Scott wrote: >PostScript is like forth. /x is a quote of >a symbol. A sequence in braces is a quoted code >sequence. def defines a command. The commands >are executed in order on a stack. Could I said that the stack in postscript is equal to the variable it in Transcript? >For example: >/delta1 {mat 2 get mat 0 get sub dup mul mat 3 get mat 1 get sub dup mul add sqrt} def >function delta > return sqrt( ((mat[2]-mat[0])^2) + ((mat[3]-mat[1])^2) ) >end delta >That is not a full explanation, but it might help you >in reading the code. Looks like I had to read from last command to first... Thanks a lot Dar, this conversion have give me a starting point to interpret postscript code in Transcript terms. What's your experience with Postscript programming? If you have a lot of experience in this field, maybe you could write an article for revJournal, explaining these conversions in detailed form. If you get entusiastic with the idea, i recommend that your first drafts for the article were made completely using voice dictation. (I save these *.wav as mp3), because in that way it's easier to overcome the initial impulse to polish our ideas and prose until it shine (literally). ;-) Thanks again! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From capellan2000 at yahoo.com Sat Jan 17 16:55:40 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 17 Jan 2004 13:55:40 -0800 (PST) Subject: Porting Postscript code to TRANSCRIPT In-Reply-To: <20040117170058.0B4419300B8@mail.runrev.com> Message-ID: <20040117215540.83550.qmail@web40508.mail.yahoo.com> on Sat, 17 Jan 2004 01:01:43 -0800 Mark Wieder wrote: > ...and remember that it's in RPN or postfix > notation, so you have to > kind of squint your eyes and look at it funny until > it makes sense. This is a good joke! I'll save it to C and java programmers! ;-) Jean-Jacques Wagner wrote: > Here you get a small samples of Bezier curve made in > hypertalk. It is self explanotary and work > quite well, depend about what you want to do. I feel flattered! :-) I post this code some time ago in the Hypercard list. I'm really glad that you could download and save this stack. jbv wrote: > another thing to keep in mind is that PS uses > various stacks, > and that each instruction applies to data on top of > a stack. > This is important to understand instructions such as > "exch dup"... This is similar to the way that Postcript code recreates the vectors, text and images in an adobe ilustrator file. There are a series of globals properties like the fill color, line width, line color, etc that each object could modify or left intact while it is read. But I do not understand how these commands or functions works on the data: dup store exch mat sub. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From capellan2000 at yahoo.com Sat Jan 17 17:24:11 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 17 Jan 2004 14:24:11 -0800 (PST) Subject: HTMLtext is a crasher - BrowserX is not! In-Reply-To: <20040117085632.B5D0E9300A4@mail.runrev.com> Message-ID: <20040117222411.76548.qmail@web40509.mail.yahoo.com> on Sat, 17 Jan 2004 Xavier Bury wrote in response to Alejandro Tejada: >>How did this browser compares with the altBrowser >>dll from Altuit? They have a Demo in their website. >I have no idea! I work strictly from scratch! ;) >Let's say it is a plain vanila text browser >(while RR crashes with HTMLText images) Could you offers a recipe for the crash? I've set the html text of a fld to my webpage and the jpg images are saved with the stack. I close the stack, close the internet connection, close the development environment and when i open again the stack, the fld still contains the html formatted text and the images. >Stealth is the keyword here! ;) You really want to become an underground hero! ;-) >>Do you know which feature could make it really useful? >>The ability to act as a download manager, like >>FlashGet or JetCar, but without installing Adware >>software that bumps against Firewalls and >>AntiVirus software. >I could add skins and themes, editing, another 100 >more features with XOS ad-ons (simple copy paste in >my home environment), download manager features are >built into another stack I'll have to transfer over >now that there is demand - best part about it is >that it is somewhat threaded!!! Great, Are you going to document all the features of this new project? It's true that developers are not as prolific writing documentation as code. >>If it could download whole sites as well, with >>stop and resume downloads then you >>have a Commercial project in your hands. :) >I you want to do the finish development >for commercial purposes, I'll be glad to share! >Most of the code is written already! ;) Actually, you need to associate with another professional developer! :-) As you live in Europe, you have an extraordinary range of options of developers in this list. But you have to be, in first place, a salesman and then a programmer. This is a plain truth. Keep us informed about your advances with this software and keep up your good work! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From dsc at swcp.com Sat Jan 17 17:27:42 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 17 Jan 2004 15:27:42 -0700 Subject: Porting Postscript code to TRANSCRIPT In-Reply-To: <20040117215540.83550.qmail@web40508.mail.yahoo.com> Message-ID: <5D5F135A-493C-11D8-94DF-000A9567A3E6@swcp.com> On Saturday, January 17, 2004, at 02:55 PM, Alejandro Tejada wrote: > But I do not understand how these commands or > functions works on the data: dup store exch mat sub. any dup any any Duplicates the top of the stack. Example /double {dup +} def key value store Replace value of key in dictionary with new value. any1 any2 exch any2 any1 Exchanges top two elements. mat This is not part of PostScript, but is defined in the source. num1 num2 sub dif Removes top two items from the stack and puts the difference onto the stack. You can get the "red book" online from Amazon. Title: "PostScript Language Reference" You might find online references or tutorials. Dar Scott From erikhans08 at yahoo.com Sat Jan 17 17:28:30 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sat, 17 Jan 2004 14:28:30 -0800 (PST) Subject: Field settings In-Reply-To: Message-ID: <20040117222830.85828.qmail@web61106.mail.yahoo.com> --- David Squance wrote: > Yes, that was it. I found two groups I hadn't > remembered were there, > leftover from when I originally built the stack > in HC. One appears to have no purpose. what a familiar story. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From dsc at swcp.com Sat Jan 17 17:44:56 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 17 Jan 2004 15:44:56 -0700 Subject: Porting Postscript code to TRANSCRIPT In-Reply-To: <5D5F135A-493C-11D8-94DF-000A9567A3E6@swcp.com> Message-ID: On Saturday, January 17, 2004, at 03:27 PM, Dar Scott wrote: > You can get the "red book" online from Amazon. Title: "PostScript > Language Reference" > > You might find online references or tutorials. I found this online (note 8MB): > PostScript language references > Red Book , Adobe's Postscript Language Reference Manual > 912 pages, 7.6MB, from > http://www.adobe.com/print/postscript/pdfs/PLRM.pdf ; also available > as http://partners.adobe.com/asn/developer/PDFS/TN/PLRM.pdf . > > Blue Book , Adobe's Postscript Language Tutorial and Cookbook > 242 pages, 0.9MB, from > http://www-cdf.fnal.gov/offline/PostScript/BLUEBOOK.PDF . > > Green Book ,Postscript Language Program Design > 228 pages, 0.9MB, from > http://www-cdf.fnal.gov/offline/PostScript/GREENBK.PDF . > > Book Thinking in Postscript > 239 pages, 0.8MB, from > http://www.rightbrain.com/download/books/ThinkingInPostScript.pdf (cf. > http://www.rightbrain.com/rightbrain.shtml ). I haven't tried the red book download to see if it really works. If you can handle an 8MB download, this would be a good reference. I'm glad I noticed it; my red book is a couple decades old. Dar Scott From erikhans08 at yahoo.com Sat Jan 17 17:52:01 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sat, 17 Jan 2004 14:52:01 -0800 (PST) Subject: Restricting graphics to a field? In-Reply-To: <400720FA.2030407@hyperactivesw.com> Message-ID: <20040117225201.60542.qmail@web61104.mail.yahoo.com> --- "J. Landman Gay" wrote: on checktool if the tool <> "browse" then choose browse tool send "checktool" to me in 10 milliseconds end checktool this looks suspiciously like... on idle! all seriousness aside, does a 6/sec call slow things down much? a Y/N response is fine. thanks, Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From JimCarwardine at OwnYourFuture-net.com Sat Jan 17 18:08:01 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sat, 17 Jan 2004 19:08:01 -0400 Subject: Scrolling Cards In-Reply-To: <363D2CE0-305D-11D8-ADA9-0030657E2BD2@mac.com> Message-ID: I'm still having trouble with this concept. I've grouped a bunch of buttons and locked the location. I also went into the Geometry properties and clicked on the pipes that Ray noted. Now, the group is stable on openCard, but there are things that seem to happen when I quit Rev, restart it and open my file. First, as soon as the card appears on re-opening the file, the scroll bar on the group is off the card - the groups rect has resized. What I noticed is that the group, locked down as it is, will resize to its original size if the card window width is smaller than the group rect width (the card window overlaps). I can cause this to happen by manually resizing the stack window to overlap the group rect. I also noticed that when I re-open the file, the card/stack window seems to have shifted, causing the group scroll to behave the way I've described. With all the controls I can tweak on groups and stacks, I'm not getting the right combination to stabilize my scrolling group. There's lots of discussion of scrolling cards in the archives but nothing I can find to help correct my problem. What am I missing? Jim on 12/17/03 2:49 AM, Ray Bennett wrote: > And make sure to go into the "Property Inspector" for the group Jacque > described and open the Geometry properties. Click on the vertical pipe > that that exits the top of the object box and the horizontal pipe that > exits the left side of the object box. Each will turn red as you click > it. This will ensure that your group resizes with the window. > > On Wednesday, December 17, 2003, at 12:49 AM, J. Landman Gay wrote: > >> On 12/16/03 6:32 PM, Jim Carwardine wrote: >> >>> I?m very new to Revolution and I have a question. I?m designing a >>> database >>> that is relational in the sense that there are parent/child >>> relationships >>> between records that can go many levels deep. When I look at a parent >>> record, I want to see all of the first level children of that record >>> in a >>> list. Each record has a number of fields I want to show. What I >>> seem to be >>> reading in the docs for Rev is that I can place a vertical scroll bar >>> on the >>> card that will allow the fields in the card to scroll, which is >>> exactly what >>> I want to do. Is that clear enough for someone to get me started? >>> How do I >>> do it? Jim >> >> The easiest way is to create a very tall card with enough space to lay >> out all your fields. The card can be taller than the screen if >> necessary. Then group all the fields and objects on the card. In the >> property inspector, set the group to have a vertical scrollbar. Then >> resize both the group and the stack window to be smaller than the card >> so that the scrollbar becomes active. If you set the size of the group >> to be the same size as the stack window, it will look just like a >> scrolling document. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From mwieder at ahsoftware.net Sat Jan 17 20:05:12 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 17 Jan 2004 17:05:12 -0800 Subject: Porting Postscript code to TRANSCRIPT In-Reply-To: <20040117215540.83550.qmail@web40508.mail.yahoo.com> References: <20040117215540.83550.qmail@web40508.mail.yahoo.com> Message-ID: <11874879250.20040117170512@ahsoftware.net> Alejandro- Saturday, January 17, 2004, 1:55:40 PM, you wrote: AT> But I do not understand how these commands or AT> functions works on the data: dup store exch mat sub. Well, this is based on forth, not postscript, but: dup: takes the top item on the stack, makes a copy and leaves both copies on the stack. If you say 1 2 3 dup you will leave this on the stack: 1 2 3 3 store: do you mean grestore? I don't know what store would be. exch: in forth this is call swap. It takes the top two items on the stack and reverses their position. If you say 1 2 3 exch you will be left with 1 3 2 mat: this looks like a command defined in the code. See the line /mat {rawdata} def which looks to me as if it takes the matrix of raw data and stuffs it onto the stack. sub: subtract. length 1 sub will leave length-1 on the top of the stack. -------------- So the line /finderrdist {ytt sub exch xtt sub dup mul exch dup mul add sqrt} def creates a handler called "finderrdist" that returns the square root of (x squared + y squared), where x squared is the square of the sum of the difference between the xvalue passed to finderrdist and the value xtt, and y squared is the difference between the yvalue passed to finderrdist and the value ytt. Think of it unrolled as: ytt sub -- y - ytt exch -- get x out from under the result xtt sub -- x - ytt dup mul -- x^2 exch -- get y out from under x squared dup mul -- y^2 add -- x^2 + y^2 sqrt -- square root of the result This comes out in Transcript as: local xtt local ytt -- Return the error distribution of a point x, y -- from the point xtt, ytt function finderrdist x, y local yErr local xErr put x - xtt into xErr put y - ytt into yErr return sqrt(xErr^2 + yErr^2) end finderrdist -- -Mark Wieder mwieder at ahsoftware.net From doug at webcrossing.com Sat Jan 17 20:28:55 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 18 Jan 2004 10:28:55 +0900 Subject: A couple of very basic Rev object questions Message-ID: I am finding myself creating multiple substacks of the main stack in my application - one for each kind of window. But each window only has one card. Question 1 - I have been putting some handlers in the stack script and some in the card script. But when there is just one card, it doesn't really matter which you put them in, right? Question 2 - Since each substack only has one card, I have been naming the card "mainCard" and doing control references like: button "thisButton" of card "mainCard" of stack "thisStack" Is there a shorter way of making these references since there is only once card in the stack? Thanks, Doug Lerner, Tokyo From doug at webcrossing.com Sat Jan 17 21:00:20 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 18 Jan 2004 11:00:20 +0900 Subject: Hiding all the graphics on a card? Message-ID: I know I can loop through and set each graphic object's visible to false, but I was just wondering if there was a better way. Or - is there a way to double-buffer a window so I can do this in a background and then switch the visible buffer? doug From jacque at hyperactivesw.com Sat Jan 17 21:43:36 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Jan 2004 20:43:36 -0600 Subject: A couple of very basic Rev object questions In-Reply-To: References: Message-ID: <4009F2D8.7060104@hyperactivesw.com> On 1/17/04 7:28 PM, Doug Lerner wrote: > I am finding myself creating multiple substacks of the main stack in my > application - one for each kind of window. > > But each window only has one card. > > Question 1 - I have been putting some handlers in the stack script and some > in the card script. But when there is just one card, it doesn't really > matter which you put them in, right? Right, with one major exception. The stack scripts of the substacks will be in the message hierarchy when the stack is frontmost. The card scripts will not. Sometimes this makes a big difference. > > Question 2 - Since each substack only has one card, I have been naming the > card "mainCard" and doing control references like: > > button "thisButton" of card "mainCard" of stack "thisStack" > > Is there a shorter way of making these references since there is only once > card in the stack? If you omit the card reference, the engine assumes you mean the current card. So you can say: button "thisButton" of stack "thisStack" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jan 17 21:47:02 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Jan 2004 20:47:02 -0600 Subject: Hiding all the graphics on a card? In-Reply-To: References: Message-ID: <4009F3A6.1040302@hyperactivesw.com> On 1/17/04 8:00 PM, Doug Lerner wrote: > I know I can loop through and set each graphic object's visible to false, > but I was just wondering if there was a better way. > > Or - is there a way to double-buffer a window so I can do this in a > background and then switch the visible buffer? The "lock screen" command: lock screen repeat with x = 1 to the number of grcs set the visible of grc x to false end repeat unlock screen This allows only one screen redraw. Unless you have a huge number of graphics on the card, it is very fast. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From doug at webcrossing.com Sat Jan 17 21:49:00 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 18 Jan 2004 11:49:00 +0900 Subject: A couple of very basic Rev object questions In-Reply-To: <4009F2D8.7060104@hyperactivesw.com> Message-ID: On 1/18/04 11:43 AM, "J. Landman Gay" wrote: > On 1/17/04 7:28 PM, Doug Lerner wrote: > >> I am finding myself creating multiple substacks of the main stack in my >> application - one for each kind of window. >> >> But each window only has one card. >> >> Question 1 - I have been putting some handlers in the stack script and some >> in the card script. But when there is just one card, it doesn't really >> matter which you put them in, right? > > Right, with one major exception. The stack scripts of the substacks will > be in the message hierarchy when the stack is frontmost. The card > scripts will not. Sometimes this makes a big difference. Of course the card script will be in the hierarchy if the message was sent to a control in that card though, right? > >> >> Question 2 - Since each substack only has one card, I have been naming the >> card "mainCard" and doing control references like: >> >> button "thisButton" of card "mainCard" of stack "thisStack" >> >> Is there a shorter way of making these references since there is only once >> card in the stack? > > If you omit the card reference, the engine assumes you mean the current > card. So you can say: button "thisButton" of stack "thisStack" OK. Thanks. That helps with some of these long references! doug From doug at webcrossing.com Sat Jan 17 21:49:57 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 18 Jan 2004 11:49:57 +0900 Subject: Hiding all the graphics on a card? In-Reply-To: <4009F3A6.1040302@hyperactivesw.com> Message-ID: On 1/18/04 11:47 AM, "J. Landman Gay" wrote: > On 1/17/04 8:00 PM, Doug Lerner wrote: > >> I know I can loop through and set each graphic object's visible to false, >> but I was just wondering if there was a better way. >> >> Or - is there a way to double-buffer a window so I can do this in a >> background and then switch the visible buffer? > > The "lock screen" command: > > lock screen > repeat with x = 1 to the number of grcs > set the visible of grc x to false > end repeat > unlock screen > > This allows only one screen redraw. Unless you have a huge number of > graphics on the card, it is very fast. > Very useful. Thanks. doug From soapdog at mac.com Sat Jan 17 21:57:32 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 18 Jan 2004 00:57:32 -0200 Subject: A couple of very basic Rev object questions In-Reply-To: References: Message-ID: <0FADE120-4962-11D8-972E-0003936D012E@mac.com> On Jan 18, 2004, at 12:49 AM, Doug Lerner wrote: > > Of course the card script will be in the hierarchy if the message was > sent > to a control in that card though, right? > > Yes!!! Check this article, I think you'll like it http://www.fourthworld.com/embassy/articles/ revolution_message_path.html It explained all I wanted to know about the message path. Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From jacque at hyperactivesw.com Sat Jan 17 22:02:35 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Jan 2004 21:02:35 -0600 Subject: A couple of very basic Rev object questions In-Reply-To: References: Message-ID: <4009F74B.5060904@hyperactivesw.com> On 1/17/04 8:49 PM, Doug Lerner wrote: > On 1/18/04 11:43 AM, "J. Landman Gay" wrote: > > >>On 1/17/04 7:28 PM, Doug Lerner wrote: >> >> >>>I am finding myself creating multiple substacks of the main stack in my >>>application - one for each kind of window. >>> >>>But each window only has one card. >>> >>>Question 1 - I have been putting some handlers in the stack script and some >>>in the card script. But when there is just one card, it doesn't really >>>matter which you put them in, right? >> >>Right, with one major exception. The stack scripts of the substacks will >>be in the message hierarchy when the stack is frontmost. The card >>scripts will not. Sometimes this makes a big difference. > > > Of course the card script will be in the hierarchy if the message was sent > to a control in that card though, right? I misspoke, which usually means it is time for me to give up for the night. Sorry. The card script would be in the hierarchy, as you say. I was thinking of stacks that have been put into use. In that case, the stack script is always in the hierarchy whether the stack is frontmost or not. If the stack is in use and you put a handler into its stack script, any other stack can use it, and it can potentially run at the wrong time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From doug at webcrossing.com Sat Jan 17 22:04:37 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 18 Jan 2004 12:04:37 +0900 Subject: A couple of very basic Rev object questions In-Reply-To: <0FADE120-4962-11D8-972E-0003936D012E@mac.com> Message-ID: On 1/18/04 11:57 AM, "Andre Garzia" wrote: > > On Jan 18, 2004, at 12:49 AM, Doug Lerner wrote: > >> >> Of course the card script will be in the hierarchy if the message was >> sent >> to a control in that card though, right? >> >> > > Yes!!! Check this article, I think you'll like it > http://www.fourthworld.com/embassy/articles/ > revolution_message_path.html > It explained all I wanted to know about the message path. I did find one error occurring though. I had an "go stack" command in my "openCard" handler. When I moved the handler to the stack script that line causes a repeated error (I tried changing it to an openStack handler instead, but the same error occurs): executing at 12:01:49 PM Type Handler: error in statement Object mainstack Line go stack "onlineStack" as topLevel Hint openStack That line causes no problem when in the card script instead. Any idea why? doug From mwieder at ahsoftware.net Sat Jan 17 22:09:02 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 17 Jan 2004 19:09:02 -0800 Subject: Porting Postscript code to TRANSCRIPT In-Reply-To: References: Message-ID: <17482309064.20040117190902@ahsoftware.net> Dar- Saturday, January 17, 2004, 2:44:56 PM, you wrote: Very cool. Thanks. I just went and grabbed them all for the archives while they're still there. -- -Mark Wieder mwieder at ahsoftware.net From squance at elkvalley.net Sat Jan 17 22:45:32 2004 From: squance at elkvalley.net (David Squance) Date: Sat, 17 Jan 2004 20:45:32 -0700 Subject: A couple of very basic Rev object questions In-Reply-To: References: <0FADE120-4962-11D8-972E-0003936D012E@mac.com> Message-ID: I've been using toplevel stack "stackName" successfully, as long as the stack "stackName" is open, ie. in memory, but not showing. I don't know if your syntax is incorrect or if there's some other problem. Dave >I did find one error occurring though. I had an "go stack" command in my >"openCard" handler. When I moved the handler to the stack script that line >causes a repeated error (I tried changing it to an openStack handler >instead, but the same error occurs): > > executing at 12:01:49 PM >Type Handler: error in statement >Object mainstack >Line go stack "onlineStack" as topLevel >Hint openStack > > >That line causes no problem when in the card script instead. > >Any idea why? > >doug From doug at webcrossing.com Sat Jan 17 22:57:52 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 18 Jan 2004 12:57:52 +0900 Subject: A couple of very basic Rev object questions In-Reply-To: Message-ID: If I take the exact same handler and put it in the card script instead of the stack script it works. doug On 1/18/04 12:45 PM, "David Squance" wrote: > I've been using toplevel stack "stackName" successfully, as long as the > stack "stackName" is open, ie. in memory, but not showing. > > I don't know if your syntax is incorrect or if there's some other problem. > Dave > >> I did find one error occurring though. I had an "go stack" command in my >> "openCard" handler. When I moved the handler to the stack script that line >> causes a repeated error (I tried changing it to an openStack handler >> instead, but the same error occurs): >> >> executing at 12:01:49 PM >> Type Handler: error in statement >> Object mainstack >> Line go stack "onlineStack" as topLevel >> Hint openStack >> >> >> That line causes no problem when in the card script instead. >> >> Any idea why? >> >> doug > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Sat Jan 17 23:00:31 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 18 Jan 2004 13:00:31 +0900 Subject: rectangle of 0,0,0,0 ok? Message-ID: If I want to completely hide a field I have been setting it's rectangle temporarily to 0,0,0,0. This seems to work ok. Anybody see any problems with doing that - or can recommend a better way? Thanks, doug From jacque at hyperactivesw.com Sat Jan 17 23:27:38 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Jan 2004 22:27:38 -0600 Subject: Scrolling Cards In-Reply-To: References: Message-ID: <400A0B3A.1020108@hyperactivesw.com> On 1/17/04 5:08 PM, Jim Carwardine wrote: > I'm still having trouble with this concept. I've grouped a bunch of buttons > and locked the location. I also went into the Geometry properties and > clicked on the pipes that Ray noted. Now, the group is stable on openCard, > but there are things that seem to happen when I quit Rev, restart it and > open my file. > > First, as soon as the card appears on re-opening the file, the scroll bar on > the group is off the card - the groups rect has resized. What I noticed is > that the group, locked down as it is, will resize to its original size if > the card window width is smaller than the group rect width (the card window > overlaps). I can cause this to happen by manually resizing the stack window > to overlap the group rect. > > I also noticed that when I re-open the file, the card/stack window seems to > have shifted, causing the group scroll to behave the way I've described. > With all the controls I can tweak on groups and stacks, I'm not getting the > right combination to stabilize my scrolling group. > > There's lots of discussion of scrolling cards in the archives but nothing I > can find to help correct my problem. > > What am I missing? I can't reproduce this. What happens if you unlock all the objects within the group and leave just the group itself locked? On the other hand, is there a reason you need the card to be smaller than the group? Doesn't that obliterate the scrollbar you are trying to display? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jan 17 23:30:09 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Jan 2004 22:30:09 -0600 Subject: Restricting graphics to a field? In-Reply-To: <20040117225201.60542.qmail@web61104.mail.yahoo.com> References: <20040117225201.60542.qmail@web61104.mail.yahoo.com> Message-ID: <400A0BD1.7060500@hyperactivesw.com> On 1/17/04 4:52 PM, erik hansen wrote: > --- "J. Landman Gay" > wrote: > on checktool > if the tool <> "browse" > then choose browse tool > send "checktool" to me in 10 milliseconds > end checktool > > this looks suspiciously like... > on idle! Yes, it is the cpu-friendly way to do idle. > all seriousness aside, > does a 6/sec call slow things down much? > a Y/N response is fine. It depends on the length of the handler you are calling and what it does, but in general, N. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at mindlube.com Sat Jan 17 23:48:22 2004 From: alex at mindlube.com (Alex Rice) Date: Sat, 17 Jan 2004 21:48:22 -0700 Subject: use-revolution Digest, Vol 4, Issue 86 In-Reply-To: <028E0B60-48C0-11D8-B34C-000A9567A3E6@swcp.com> References: <028E0B60-48C0-11D8-B34C-000A9567A3E6@swcp.com> Message-ID: <8B7D36FA-4971-11D8-99ED-000393C4760A@mindlube.com> On Jan 17, 2004, at 12:37 AM, Dar Scott wrote: > This is where Alex showed what his trouble text looked like. My mail > has spaces between the letters, but it seems he had other characters. > I thought he converted them to spaces for the mail. Maybe my mail > client or the list server converted them. Maybe they were not > converted for the digest and the digest generator gagged on them. Sorry for screwing things up. I paid my karma back when I had a disk crash on Friday and lost 2 weeks of email. Luckily I didn't lose any programming work. Anyone who's using Apple's Backup.app - be careful. It's pretty flakey. I'd be glad to rant about it off-list if anyone is interested. Now investigating instead the version of rsync that handles HFS+ multifork info. -- Alex Rice | Mindlube Software | http://mindlube.com From capellan2000 at yahoo.com Sun Jan 18 00:54:37 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 17 Jan 2004 21:54:37 -0800 (PST) Subject: Porting Postscript code to TRANSCRIPT In-Reply-To: <20040118024959.981B59300DE@mail.runrev.com> Message-ID: <20040118055437.66685.qmail@web40503.mail.yahoo.com> on Sat, 17 Jan 2004 Dar Scott wrote: > > I found this online (note 8MB): > > PostScript language references > > Red Book , Adobe's Postscript Language Reference > > Manual 912 pages, 7.6MB, from [snip] Thanks for the explanations and the links to books on Postscript. To really understand all this, I'll need a Postscript interpreter. Right? Is ghostscript the only free alternative to run Postscript code in Windows? > I'm glad I noticed it; my red book is a couple > decades old. Don Lancaster uses postscript for almost everything. How did you used this language? For Graphics? Electronics? Scientific Computing? on Sat, 17 Jan 2004 Mark Wieder wrote: > Well, this is based on forth, not postscript, but: [snip] Great explanation, Thanks!!! > So the line > /finderrdist {ytt sub exch xtt sub dup mul exch dup > mul add sqrt} def > creates a handler called "finderrdist" that returns > the square root of (x squared + y squared), [snip] I need to study this conversion. There is more in Postscript than reads the eye!!! I do not think that i'll become a Postscript programmer, but at least i'm going to learn enough to complete this task. :-) Thanks again Mark and Dar for your guiding help!!! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From capellan2000 at yahoo.com Sun Jan 18 01:26:53 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 17 Jan 2004 22:26:53 -0800 (PST) Subject: Looking for a function for bezier curve fitting In-Reply-To: <20040117222501.213E59300CB@mail.runrev.com> Message-ID: <20040118062653.98710.qmail@web40501.mail.yahoo.com> on Sat, 17 Jan 2004 Dar Scott On Friday, January 16, 2004, at 03:35 AM, Alejandro Tejada wrote: >> I'm looking for a way to find the control >> points of a bezier curve. This is know as >> bezier curve fitting. >Do you need a single bezier curve for an approximate fit? >Or do you need a sequence of curves for an exact fit? An approximate fit for a single curve could be fine. >Long, long ago I came up with general least-squares >fit procedures for lots of models. Something like this genetic algorithm? >I have not tried it for bezier, and I suspect I >might have trouble and get max errors instead of >min errors. Even so, you might look for "least >squares" in your searches. I'd give the math a >try, but I can't find Calculus; I know he's around >in some corner of my mind, but I suspect he's gone >feral in the deep woods. This is a real funny analogy!!! I can figure my own forgotten knowledge as an armadillo closed as a hard ball. It's there, but closed and not accesible... >It is probably straight forward to draw the curve >once you get a fit, I imagine. Doing the fit is >probably the hard part. You are right, the fit is the hardest part. But, reading again the bezier curve definition I have a hunch that this could be approximated and solved using a more geometric approach. If i can probe that this hunch is right, i'll get back to the list with a demostration for comments and corrections. Thanks for your help! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From davis.phil at comcast.net Sun Jan 18 01:34:58 2004 From: davis.phil at comcast.net (Phil Davis) Date: Sat, 17 Jan 2004 22:34:58 -0800 Subject: rectangle of 0,0,0,0 ok? In-Reply-To: Message-ID: Is there a reason why you don't want to: hide fld 1 show fld 1 or alternately: set the visible of fld 1 to false set the visible of fld 1 to true Seems to me that's what the 'visible' property of objects is all about. Phil Davis > > If I want to completely hide a field I have been setting it's rectangle > temporarily to 0,0,0,0. This seems to work ok. Anybody see any > problems with > doing that - or can recommend a better way? > > Thanks, > > doug > From mwieder at ahsoftware.net Sun Jan 18 01:37:21 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 17 Jan 2004 22:37:21 -0800 Subject: Porting Postscript code to TRANSCRIPT In-Reply-To: <20040118055437.66685.qmail@web40503.mail.yahoo.com> References: <20040118055437.66685.qmail@web40503.mail.yahoo.com> Message-ID: <15394807906.20040117223721@ahsoftware.net> Alejandro- Saturday, January 17, 2004, 9:54:37 PM, you wrote: AT> Don Lancaster uses postscript for almost AT> everything. Don Lancaster is THE master of PostScript. He probably understands PostScript better than anyone else on the planet. -- -Mark Wieder mwieder at ahsoftware.net From FlexibleLearning at aol.com Sun Jan 18 02:07:45 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sun, 18 Jan 2004 02:07:45 EST Subject: Restricting graphics to a field? Message-ID: <15f.2aaeb506.2d3b8ac1@aol.com> >> on checktool >> if the tool <> "browse" >> then choose browse tool >> send "checktool" to me in 10 milliseconds >> end checktool >> >> this looks suspiciously like... >> on idle! >Yes, it is the cpu-friendly way to do idle. It will also prevent you selecting any other tool. A back-door trap may be useful such as 'if the shiftkey is down and the tool <>"browse tool" then...' /H From doug at webcrossing.com Sun Jan 18 05:08:32 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 18 Jan 2004 19:08:32 +0900 Subject: rectangle of 0,0,0,0 ok? In-Reply-To: Message-ID: Those don't truly *hide* the field, in the sense that if you check to see if the mouse is in the region of the field it still turns out to be true, even if the field is not visible. doug On 1/18/04 3:34 PM, "Phil Davis" wrote: > Is there a reason why you don't want to: > hide fld 1 > show fld 1 > > or alternately: > set the visible of fld 1 to false > set the visible of fld 1 to true > > Seems to me that's what the 'visible' property of objects is all about. > > Phil Davis > >> >> If I want to completely hide a field I have been setting it's rectangle >> temporarily to 0,0,0,0. This seems to work ok. Anybody see any >> problems with >> doing that - or can recommend a better way? >> >> Thanks, >> >> doug >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From thierry.arbellot at wanadoo.fr Sun Jan 18 05:20:05 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Sun, 18 Jan 2004 11:20:05 +0100 Subject: Hiding all the graphics on a card? In-Reply-To: Message-ID: Make a group of all graphic objects and set the visible of the group to false. Regards. Thierry On Sunday, Jan 18, 2004, at 03:00 Europe/Paris, Doug Lerner wrote: > I know I can loop through and set each graphic object's visible to > false, > but I was just wondering if there was a better way. > > Or - is there a way to double-buffer a window so I can do this in a > background and then switch the visible buffer? > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From derek.huby at ntlworld.com Sun Jan 18 07:32:18 2004 From: derek.huby at ntlworld.com (Derek Huby) Date: Sun, 18 Jan 2004 12:32:18 +0000 Subject: rectangle of 0,0,0,0 ok? In-Reply-To: <20040118055607.A540F9300FB@mail.runrev.com> Message-ID: On 18/1/04 5:56 am, doug lerner wrote: > If I want to completely hide a field I have been setting it's rectangle > temporarily to 0,0,0,0. This seems to work ok. Anybody see any problems with > doing that - or can recommend a better way? > > Thanks, > > doug Try: hide field "myField" You can then show it again with: show field "myField" This is equivalent to setting the visible property of the field to true / false; check out the 'hide' command in the Transcript language Dictionary. Best wishes, Derek From doug at webcrossing.com Sun Jan 18 08:25:07 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 18 Jan 2004 22:25:07 +0900 Subject: differences between running under the IDE and standalone Message-ID: Is there a way of running in the IDE under the same conditions as the standalone app (OS X)? It seems there are some things that work in the IDE and not in the standalone app, and vice versa, depending on this or that. Probably something in memory in one and not the other. What's the best way of approximating standalone conditions when in the IDE? Thanks, doug From 3mcgrath at adelphia.net Sun Jan 18 09:48:07 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sun, 18 Jan 2004 09:48:07 -0500 Subject: rectangle of 0,0,0,0 ok? In-Reply-To: References: Message-ID: <53E47E66-49C5-11D8-AAE0-000A95DA60FA@adelphia.net> After you hide the field (or show the field) THEN pass the mouse message in the field , or just when it is hidden. on mouseWithin if the vis of field "me" then -- do stuff while I'm visible else pass mouseWithin end if end mouseWithin you might also want to pass the other mouse messages in the same way, These are needed only if you need the messages passed if you use them in the graphics, etc under the field. mouseEnter mouseLeave mouseMove mouseRelease mouseUp mouseDoubleUp mouseDown mouseStillDown mouseDoubleDown On Jan 18, 2004, at 7:32 AM, Derek Huby wrote: > On 18/1/04 5:56 am, doug lerner wrote: > >> If I want to completely hide a field I have been setting it's >> rectangle >> temporarily to 0,0,0,0. This seems to work ok. Anybody see any >> problems with >> doing that - or can recommend a better way? >> >> Thanks, >> >> doug > > Try: > > hide field "myField" > > You can then show it again with: > > show field "myField" > > This is equivalent to setting the visible property of the field to > true / > false; check out the 'hide' command in the Transcript language > Dictionary. > > Best wishes, > > Derek > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From JimCarwardine at OwnYourFuture-net.com Sun Jan 18 10:13:08 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sun, 18 Jan 2004 11:13:08 -0400 Subject: Scrolling Cards In-Reply-To: <400A0B3A.1020108@hyperactivesw.com> Message-ID: I have more buttons in the gallery group than I want to display on the card at one time. The user will want to store an unspecified number of thumbnails on these buttons, allowing navigation to the specific cards they are linked to. Thus, my reason for scrolling the group. I was hoping for similar flexibility to a browser window on an internet browser whereby the user has an option of making the card/stack window smaller and the group will still scroll. The rest of the card below the gallery will also eventually be grouped and scrolled in the same way if I can get it to work. I removed the lock location from the buttons inside the group and the behaviour is still the same. In fact, it's consistent which makes me think there is something fundamental I'm doing wrong. I've been in IT for over 30 years and one thing I've learned over and over is that if you encounter an unsolvable problem, when you find it, it's going to be embarrassing. Here's what I want... Size of gallery is 780,106. Position is 220,0,1000,106. Location 610,53. Rect of stack on open is 8,89,1014,721. Here's what I'm getting on openStack... Size of gallery is 1387,97. Position is 220,-1,1607,96. Location 913,47. Rect of stack on open is 77,114,1014,753. I've changed nothing, just quit Rev and restarted and reopened the file and the size of the stack window and it's position have changed. AND it's consistently giving me the same altered size and position when it reopens. If I just leave it in its altered size and position, don't reposition the scrolling group, save and close the file, when it repoens, it is the same size and position. It hasn't changed again. So whatever is happening, it seems to be related to the scrolling group. The fact that you can't reproduce it is also curious. I'm using the demo copy of Rev. v 2.1.2 on a G3 Powerbook, 320MB, 4 GB running OS 9.2.2. Jim on 1/18/04 12:27 AM, J. Landman Gay wrote: > On 1/17/04 5:08 PM, Jim Carwardine wrote: > >> I'm still having trouble with this concept. I've grouped a bunch of buttons >> and locked the location. I also went into the Geometry properties and >> clicked on the pipes that Ray noted. Now, the group is stable on openCard, >> but there are things that seem to happen when I quit Rev, restart it and >> open my file. >> >> First, as soon as the card appears on re-opening the file, the scroll bar on >> the group is off the card - the groups rect has resized. What I noticed is >> that the group, locked down as it is, will resize to its original size if >> the card window width is smaller than the group rect width (the card window >> overlaps). I can cause this to happen by manually resizing the stack window >> to overlap the group rect. >> >> I also noticed that when I re-open the file, the card/stack window seems to >> have shifted, causing the group scroll to behave the way I've described. >> With all the controls I can tweak on groups and stacks, I'm not getting the >> right combination to stabilize my scrolling group. >> >> There's lots of discussion of scrolling cards in the archives but nothing I >> can find to help correct my problem. >> >> What am I missing? > > I can't reproduce this. What happens if you unlock all the objects > within the group and leave just the group itself locked? > > On the other hand, is there a reason you need the card to be smaller > than the group? Doesn't that obliterate the scrollbar you are trying to > display? -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From scott at tactilemedia.com Sun Jan 18 11:05:14 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 18 Jan 2004 08:05:14 -0800 Subject: rectangle of 0,0,0,0 ok? In-Reply-To: Message-ID: On 1/18/04 2:08 AM, "Doug Lerner" wrote: >>> If I want to completely hide a field I have been setting it's rectangle >>> temporarily to 0,0,0,0. This seems to work ok. Anybody see any >>> problems with >>> doing that - or can recommend a better way? >> Is there a reason why you don't want to: >> hide fld 1 >> show fld 1 >> >> or alternately: >> set the visible of fld 1 to false >> set the visible of fld 1 to true >> >> Seems to me that's what the 'visible' property of objects is all about. > Those don't truly *hide* the field, in the sense that if you check to see if > the mouse is in the region of the field it still turns out to be true, even > if the field is not visible. How are you testing the mouse? When I use the following script and the field is hidden, the result is consistently false: put within(fld myField,the mouseLoc) Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From FlexibleLearning at aol.com Sun Jan 18 11:49:03 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sun, 18 Jan 2004 11:49:03 EST Subject: Scrolling Cards Message-ID: <1dd.18ab7697.2d3c12ff@aol.com> >I removed the lock location from the buttons inside the group and the >behaviour is still the same. In fact, it's consistent which makes me think >there is something fundamental I'm doing wrong. I've been in IT for over >30 >years and one thing I've learned over and over is that if you encounter >an >unsolvable problem, when you find it, it's going to be embarrassing. Have you tried locking the group and setting the hScroll/vScroll of the group if required? /H From isb at macconnect.com Sun Jan 18 12:52:16 2004 From: isb at macconnect.com (Ed McCabe) Date: Sun, 18 Jan 2004 12:52:16 -0500 Subject: Revolution Seminar Message-ID: As it took my Motorhome six days to cover the 3500 miles from San Francisco to Smithfield, RI - this is my first opportunity to post my thanks and appreciation for the networking opportunities and professional presentations provided by the REV staff and consultants at the Expo and the two day Seminar. Many thanks for the first class job by all. >From my position of relative isolation here in RI it was highly beneficial to finally meet, converse-with and receive the benefit of the insight of former HC luminaries - Ro Nagy, Dan Schafer, Jacqueline Gay, Jeanne Devoto and Anthony Rinaldi all now associated with REV and to meet cutting edge programmers Richard Gaskin, Skipp Walters & Jerry Daniels who have adopted Rev and regularly contribute unselfishly to this list and last but not least Revolution Studio & Enterprise Product Manager - the author of navigator - Geoff Canyon. Has there ever been more brain power and veteran developers in one room? In my view, the best testimony to the insight of Rev management is their selection of talent. Truly an all star team. I must also mention the immeasurable value (to me) of contact with other Rev developers. I hope that this seminar will become an annual event Ed McCabe Insurors Service Bureau 221 Log Road Smithfield, RI 02917 From jacque at hyperactivesw.com Sun Jan 18 13:01:36 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Jan 2004 12:01:36 -0600 Subject: Scrolling Cards In-Reply-To: References: Message-ID: <400ACA00.5080700@hyperactivesw.com> On 1/18/04 9:13 AM, Jim Carwardine wrote: > I have more buttons in the gallery group than I want to display on the card > at one time. The user will want to store an unspecified number of > thumbnails on these buttons, allowing navigation to the specific cards they > are linked to. Thus, my reason for scrolling the group. I was hoping for > similar flexibility to a browser window on an internet browser whereby the > user has an option of making the card/stack window smaller and the group > will still scroll. The rest of the card below the gallery will also > eventually be grouped and scrolled in the same way if I can get it to work. > > I removed the lock location from the buttons inside the group and the > behaviour is still the same. In fact, it's consistent which makes me think > there is something fundamental I'm doing wrong. I've been in IT for over 30 > years and one thing I've learned over and over is that if you encounter an > unsolvable problem, when you find it, it's going to be embarrassing. LOL! This is certainly the truth, and I've been embarrassed myself more than once. :) > Here's what I want... Size of gallery is 780,106. Position is > 220,0,1000,106. Location 610,53. Rect of stack on open is 8,89,1014,721. > > Here's what I'm getting on openStack... Size of gallery is 1387,97. > Position is 220,-1,1607,96. Location 913,47. Rect of stack on open is > 77,114,1014,753. > > I've changed nothing, just quit Rev and restarted and reopened the file and > the size of the stack window and it's position have changed. AND it's > consistently giving me the same altered size and position when it reopens. > > If I just leave it in its altered size and position, don't reposition the > scrolling group, save and close the file, when it repoens, it is the same > size and position. It hasn't changed again. So whatever is happening, it > seems to be related to the scrolling group. > > The fact that you can't reproduce it is also curious. What you are describing sounds exactly like the group isn't really locked. Does the group have a name? Or if it doesn't, find out its number. Adjust its size to how you want it. Then in the message box, type: set the lockloc of grp "myScrollingGroup" to true That's all I can think of that could be going on. It is tricky to know sometimes whether you have really selected the group or simply one of its objects. The above command should overcome that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From JimCarwardine at OwnYourFuture-net.com Sun Jan 18 13:27:09 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sun, 18 Jan 2004 14:27:09 -0400 Subject: Scrolling Cards In-Reply-To: <1dd.18ab7697.2d3c12ff@aol.com> Message-ID: The hscroll is always 0 when this happens. The thumbslide is the same size as the scroll bar because the group rect is the same size as the group... Jim on 1/18/04 12:49 PM, FlexibleLearning at aol.com wrote: >> I removed the lock location from the buttons inside the group and the >> behaviour is still the same. In fact, it's consistent which makes me think >> there is something fundamental I'm doing wrong. I've been in IT for over >> 30 >> years and one thing I've learned over and over is that if you encounter >> an >> unsolvable problem, when you find it, it's going to be embarrassing. > > Have you tried locking the group and setting the hScroll/vScroll of the group > if required? > > /H > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From JimCarwardine at OwnYourFuture-net.com Sun Jan 18 13:32:36 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sun, 18 Jan 2004 14:32:36 -0400 Subject: Scrolling Cards In-Reply-To: <400ACA00.5080700@hyperactivesw.com> Message-ID: I tried that with the same results. The group has a name. I can reference it from a button because I've created a button to restore it to it's original configuration. Here's the button script. There's no doubt it correctly references the group... on mouseUp set the rect of stack "oyf structural charting" to 8,89,1014,721 set the lockloc of group "gallery group" to false set the width of group "gallery group" to 780 set the height of group "gallery group" to 106 set the loc of group "gallery group" to 610,53 set the rect of group "gallery group" to 220,0,1000,106 set the lockloc of group "gallery group" to true set the hScrollBar of group "gallery group" to true end mouseUp The group is definitely locked according to all the tests I can make... Jim on 1/18/04 2:01 PM, J. Landman Gay wrote: > > What you are describing sounds exactly like the group isn't really > locked. Does the group have a name? Or if it doesn't, find out its > number. Adjust its size to how you want it. Then in the message box, type: > > set the lockloc of grp "myScrollingGroup" to true > > That's all I can think of that could be going on. It is tricky to know > sometimes whether you have really selected the group or simply one of > its objects. The above command should overcome that. -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From klaus at major-k.de Sun Jan 18 13:49:13 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 18 Jan 2004 19:49:13 +0100 Subject: Scrolling Cards In-Reply-To: References: Message-ID: <02970E36-49E7-11D8-A275-000A27B49A96@major-k.de> Hi Jim, > I tried that with the same results. The group has a name. I can > reference > it from a button because I've created a button to restore it to it's > original configuration. > > Here's the button script. There's no doubt it correctly references the > group... > > on mouseUp > set the rect of stack "oyf structural charting" to 8,89,1014,721 ## set the lockloc of group "gallery group" to false > set the width of group "gallery group" to 780 > set the height of group "gallery group" to 106 > set the loc of group "gallery group" to 610,53 > set the rect of group "gallery group" to 220,0,1000,106 ## set the lockloc of group "gallery group" to true > set the hScrollBar of group "gallery group" to true > end mouseUp > > The group is definitely locked according to all the tests I can > make... Jim there is no need to unlock the group before resizing! Please omit these two lines and see if that works... I think the group takes this tiny, unobserved and unlocked moment to resize itself ;-) Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From JimCarwardine at OwnYourFuture-net.com Sun Jan 18 14:10:08 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sun, 18 Jan 2004 15:10:08 -0400 Subject: Scrolling Cards In-Reply-To: <02970E36-49E7-11D8-A275-000A27B49A96@major-k.de> Message-ID: Thanks, Klaus. I only do that when the resize has already taken place. I don't have any code normally that changes settings that I've assigned through the inspector... Jim on 1/18/04 2:49 PM, Klaus Major wrote: > Hi Jim, > >> I tried that with the same results. The group has a name. I can >> reference >> it from a button because I've created a button to restore it to it's >> original configuration. >> >> Here's the button script. There's no doubt it correctly references the >> group... >> >> on mouseUp >> set the rect of stack "oyf structural charting" to 8,89,1014,721 > ## set the lockloc of group "gallery group" to false >> set the width of group "gallery group" to 780 >> set the height of group "gallery group" to 106 >> set the loc of group "gallery group" to 610,53 >> set the rect of group "gallery group" to 220,0,1000,106 > ## set the lockloc of group "gallery group" to true >> set the hScrollBar of group "gallery group" to true >> end mouseUp >> >> The group is definitely locked according to all the tests I can >> make... Jim > > there is no need to unlock the group before resizing! > Please omit these two lines and see if that works... > > I think the group takes this tiny, unobserved and unlocked moment to > resize itself ;-) > > Hope that helps... > > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From alptex2 at orwell.net Sun Jan 18 15:14:50 2004 From: alptex2 at orwell.net (T. R. Ponn) Date: Sun, 18 Jan 2004 15:14:50 -0500 Subject: rectangle of 0,0,0,0 ok? References: Message-ID: <400AE93A.20200@orwell.net> Scott Rossi wrote: >On 1/18/04 2:08 AM, "Doug Lerner" wrote: > > > >>>Those don't truly *hide* the field, in the sense that if you check to see if >>>the mouse is in the region of the field it still turns out to be true, even >>>if the field is not visible. >>> >>> > >How are you testing the mouse? When I use the following script and the >field is hidden, the result is consistently false: > > put within(fld myField,the mouseLoc) > >Regards, > >Scott Rossi > I think the difference is that he's using: if the mouseLoc is within the rect of fld "Whatever" then..... instead of: if within(field "Whatever",the mouseLoc) then..... That's my 2 cents Best Regards, Tim Ponn From frank at backtalk.com Sun Jan 18 15:17:50 2004 From: frank at backtalk.com (Frank Leahy) Date: Sun, 18 Jan 2004 20:17:50 +0000 Subject: Scrolling Cards In-Reply-To: <20040118024959.981B59300DE@mail.runrev.com> Message-ID: <63E9066B-49F3-11D8-B97F-000A9580FCCE@backtalk.com> On Sunday, January 18, 2004, at 02:49 AM, use-revolution-request at lists.runrev.com wrote: > Message: 5 > Date: Sat, 17 Jan 2004 19:08:01 -0400 > From: Jim Carwardine > Subject: Re: Scrolling Cards > To: Revolution Listserve > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1 > > I'm still having trouble with this concept. I've grouped a bunch of > buttons > and locked the location. I also went into the Geometry properties and > clicked on the pipes that Ray noted. Now, the group is stable on > openCard, > but there are things that seem to happen when I quit Rev, restart it > and > open my file. > > First, as soon as the card appears on re-opening the file, the scroll > bar on > the group is off the card - the groups rect has resized. What I > noticed is > that the group, locked down as it is, will resize to its original size > if > the card window width is smaller than the group rect width (the card > window > overlaps). I can cause this to happen by manually resizing the stack > window > to overlap the group rect. > > I also noticed that when I re-open the file, the card/stack window > seems to > have shifted, causing the group scroll to behave the way I've > described. > With all the controls I can tweak on groups and stacks, I'm not > getting the > right combination to stabilize my scrolling group. > > There's lots of discussion of scrolling cards in the archives but > nothing I > can find to help correct my problem. > > What am I missing? Jim I was having the same problem with groups -- if I made any of the items in the group extend below the group, the group bottom would shift a bit, and it would eventually disappear below the bottom of the window. What I've done is create a preOpenStack handler and in it I size and locate the group before the stack opens. Then I override the resizeStack handler, and do all the group resizing manually. Do the size calculations yourself, it takes no time at all, and I've had no problems with the group being the wrong size since. Oh, and be sure to turn off all geometry (check it twice that it's off), and turn on "Lock Size and Position". By the way, is there an FAQ somewhere? I'd like to add a couple of things I've found in the course of creating this photo album product I'm doing. For example how drag and drop really works (i.e. you don't always get a dragEnd message), as well as how cool groups are once you decide to handle the resizing yourself, how to scroll a group on the fly, etc.. Best, -- Frank Leahy From yvescoppe at skynet.be Sun Jan 18 15:30:08 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun, 18 Jan 2004 21:30:08 +0100 Subject: movies collection Message-ID: <1B6EEDD4-49F5-11D8-B02B-000393533246@skynet.be> Hi, I've made a kind of iPhoto in rev based on the "AltImgView" from Chipp Walters 1) I'd like to do the same with movies collection I have some 200 little movies of 3-1? Mbytes and i'd like to make such miniatures and when I click I can expand the picture and start the video.. 2) when I import a video file I don't see as in Quicktime Player, the controls to start, pause or stop the video.. How can I perform that ? Thank you very much Greetings. Yves COPPE yvescoppe at skynet.be From Alw918 at earthlink.net Sun Jan 18 08:43:05 2004 From: Alw918 at earthlink.net (Andrew) Date: Sun, 18 Jan 2004 13:43:05 +0000 Subject: Standalone problem (windows) In-Reply-To: <20040118170005.C2E7B930118@mail.runrev.com> Message-ID: Hi, List. Truly sorry if you've seen this post before, but my postings are not appearing in my digests, so I can only assume that they are not sending. Anyway, I just wanted to thank everyone for their advice on my standalone problems. It seems like the Mac standalones download fine when I convert them to a ".sit" file. Meanwhile, I'm still having problems with the Windows standalone which refuses to show the ask box when you hit a key. I made sure that the "ask box" option was checked in the Distribution Builder, and the problem persists. Any ideas? Thanks so much -Andrew From janschenkel at yahoo.com Sun Jan 18 16:26:28 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 18 Jan 2004 13:26:28 -0800 (PST) Subject: Scrolling Cards In-Reply-To: Message-ID: <20040118212628.46569.qmail@web60505.mail.yahoo.com> --- Jim Carwardine wrote: > Thanks, Klaus. I only do that when the resize has > already taken place. I > don't have any code normally that changes settings > that I've assigned > through the inspector... Jim > Hi Jim, The thing is : when you unlock a group and tinker any of the controls contained in it, the group will happily ignore the size you set, in order to encompass all the controls. The lockLocation property doesn't block you from changing the group location or size from a script ; it will just disable the handles, and as a side-effect, protect your group from changing size when you turn your back. So once its lockLocation is true, you can leave it that way forever :-) Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From janschenkel at yahoo.com Sun Jan 18 16:30:11 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 18 Jan 2004 13:30:11 -0800 (PST) Subject: differences between running under the IDE and standalone In-Reply-To: Message-ID: <20040118213011.80397.qmail@web60501.mail.yahoo.com> --- Doug Lerner wrote: > Is there a way of running in the IDE under the same > conditions as the > standalone app (OS X)? > > It seems there are some things that work in the IDE > and not in the > standalone app, and vice versa, depending on this or > that. Probably > something in memory in one and not the other. > > What's the best way of approximating standalone > conditions when in the IDE? > > Thanks, > > doug > Hi Doug, At the bottom of the menu 'Development', you'll find the item 'Suspend Development Tools' -- this is as close as you're going to get to the standalone environment, from within the IDE. What sort of problems are you experiencing ? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From pixelbird at interisland.net Sun Jan 18 16:36:10 2004 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 18 Jan 2004 13:36:10 -0800 Subject: rectangle of 0,0,0,0 ok? In-Reply-To: <20040118160618.864AF93010F@mail.runrev.com> Message-ID: on 1/18/04 8:06 AM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > Date: Sun, 18 Jan 2004 19:08:32 +0900 > From: Doug Lerner > Subject: Re: rectangle of 0,0,0,0 ok? > > Those don't truly *hide* the field, in the sense that if you check to see if > the mouse is in the region of the field it still turns out to be true, even > if the field is not visible. ---------- That's usually a _good_ thing, but we don't know what your usage is. If you could explain that it might help. IMO setting the rect like that might be a bad idea. Instead, just leave it's width and height alone, and send it off screen by its loc: 1) ## Remember it's loc: global gTfld put the loc of fld n into gTFld 2) ## Send it offstack: set the loc of fld n to "-1000,-1000" If its wider than 1500 (hard to imagine) then increase the negative numbers 3) ## Call it back: global gTfld set the loc of fld n to gTFld HTH, Ken N. From JimCarwardine at OwnYourFuture-net.com Sun Jan 18 17:46:09 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sun, 18 Jan 2004 18:46:09 -0400 Subject: Scrolling Cards (Bug?) In-Reply-To: <63E9066B-49F3-11D8-B97F-000A9580FCCE@backtalk.com> Message-ID: This seems to do the trick. Thanks so much, Frank. IMHO this is almost a bug. There's no reason why we should have to grab this level of control for such a simple action. Frank, did you report this?... Jim on 1/18/04 4:17 PM, Frank Leahy wrote: > What I've done is create a preOpenStack handler and in it I size and > locate the group before the stack opens. Then I override the > resizeStack handler, and do all the group resizing manually. Do the > size calculations yourself, it takes no time at all, and I've had no > problems with the group being the wrong size since. Oh, and be sure to > turn off all geometry (check it twice that it's off), and turn on "Lock > Size and Position". -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From sarahr at genesearch.com.au Sun Jan 18 17:53:16 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 19 Jan 2004 08:53:16 +1000 Subject: How to detect Classic? In-Reply-To: <05F2B313-47E6-11D8-AE6B-0003937A97B8@genesearch.com.au> References: <763534AD-47D9-11D8-999A-000A9567A3E6@swcp.com> <05F2B313-47E6-11D8-AE6B-0003937A97B8@genesearch.com.au> Message-ID: <1A7DAB7D-4A09-11D8-B552-0003937A97B8@genesearch.com.au> Sorry everyone, there must be an error in some other part of my scripts :-( When I made a one-function standalone that just reported the systemVersion, I got what I expected i.e. 10.3.2 in OS X and 9.2.2 in Classic. My apologies if I made anyone panic and I have now been reminded of my usual rule: check problems in isolation before reporting them. Thanks to everyone for their usual helpfulness and suggestions - I'll now go and sit in the corner for a while.... Cheers, Sarah On 16 Jan 2004, at 3:37 pm, Sarah Reichelt wrote: >> From the TD... >> >> Note: When running a Mac OS application in the Classic box on an OS >> X system, the systemVersion function returns the version number of >> the Classic system folder. >> >> Maybe that is a hint somehow. I'm not sure how. >> > I'll do some more tests but I'm pretty sure this is wrong. I am still > getting the OS X version number, not the Classic system folder version > number. If my tests confirm this, I'll Bugzilla it. > > Cheers, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarahr at genesearch.com.au Sun Jan 18 18:11:05 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 19 Jan 2004 09:11:05 +1000 Subject: A couple of very basic Rev object questions In-Reply-To: References: Message-ID: <97B39D78-4A0B-11D8-B552-0003937A97B8@genesearch.com.au> > I did find one error occurring though. I had an "go stack" command in > my > "openCard" handler. When I moved the handler to the stack script that > line > causes a repeated error (I tried changing it to an openStack handler > instead, but the same error occurs): > > executing at 12:01:49 PM > Type Handler: error in statement > Object mainstack > Line go stack "onlineStack" as topLevel > Hint openStack > > > That line causes no problem when in the card script instead. > > Any idea why? I would guess that the problem occurs when the script is in the stack script of your mainStack. It then gets called by ANY openCard message in any of the substacks as well as the mainStack. The solution, as you have discovered, is to put the handler in the card script instead, where it is only available to it's own stack and not to any other. Alternatively, make sure all the substacks have their own openCard handler, even if it does nothing. That way the mesage will get trapped and not proceed up the hierarchy. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From sarahr at genesearch.com.au Sun Jan 18 18:16:43 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 19 Jan 2004 09:16:43 +1000 Subject: topLevel vs. open stack In-Reply-To: References: Message-ID: <60FD22D8-4A0C-11D8-B552-0003937A97B8@genesearch.com.au> On 17 Jan 2004, at 5:20 pm, Bruce Robertson wrote: >> 1. How if at all can I copy and paste objects between two open stacks? > > Ack. Messing with the clipboard just to move data? Doesn't Rev have a > set > field command? In my usual development environment, it's just set field > [Thatfield, thisField]. > Rev certainly has commands for setting field data, but it also has commands for setting the clipboard :-) Try something like: put field "Original" of stack "FirstStack" into \ field "Duplicate" of stack "SecondStack" Cheers, Sarah From sarahr at genesearch.com.au Sun Jan 18 18:22:56 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 19 Jan 2004 09:22:56 +1000 Subject: shell() hangs when OSX requires authentification popup In-Reply-To: <6E626BEC.6FABD89D.0018446D@aol.com> References: <6E626BEC.6FABD89D.0018446D@aol.com> Message-ID: <3F23EE72-4A0D-11D8-B552-0003937A97B8@genesearch.com.au> I needed to be able to set a system clock remotely, and ran into the same problem, with needing to send the authentication password to the shell command. Here is what I use to get around this: set the shellCommand to "/bin/sh" put "#!/bin/sh" & cr into tScript put "pw=" & myPassword & cr after tScript put "echo $pw | sudo -S date " & tDate & tTime & cr after tScript put shell(tScript) into tCheck myPassword is a variable containing the current user's password. It would be a good idea to store this encrypted somewhere. You will need to replace everythig after the "sudo" on the fourth line, with whatever shell script you want to execute. Cheers, Sarah On 17 Jan 2004, at 6:15 pm, rgould8 at aol.com wrote: > I've been using the Shell() command quite a lot for a number of unix > tasks that I need to do in my app. It works great, except in one > case. It appears that if I launch a shell() call to a unix command > and that unix command requires Mac OS X authentification (which spawns > a popup asking for username/password), Revolution hangs after the > popup is dismissed. > > Can anyone think of a way around this? I'm positive that it's the > authentification popup that's the issue (I can even hit CANCEL on the > popup and Rev will still hang) It's like the shell() command losses > control at that point and the popup never gives it back to the Rev > process or something. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From doug at webcrossing.com Sun Jan 18 18:49:00 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 08:49:00 +0900 Subject: rectangle of 0,0,0,0 ok? In-Reply-To: Message-ID: On 1/19/04 1:05 AM, "Scott Rossi" wrote: >> Those don't truly *hide* the field, in the sense that if you check to see if >> the mouse is in the region of the field it still turns out to be true, even >> if the field is not visible. > > How are you testing the mouse? When I use the following script and the > field is hidden, the result is consistently false: > > put within(fld myField,the mouseLoc) if exists(field "canvas") and the mouseLoc is within the rectangle of field "canvas" then This shows true whether or not the field is hidden. doug From doug at webcrossing.com Sun Jan 18 18:58:28 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 08:58:28 +0900 Subject: differences between running under the IDE and standalone In-Reply-To: <20040118213011.80397.qmail@web60501.mail.yahoo.com> Message-ID: On 1/19/04 6:30 AM, "Jan Schenkel" wrote: > Hi Doug, > > At the bottom of the menu 'Development', you'll find > the item 'Suspend Development Tools' -- this is as > close as you're going to get to the standalone > environment, from within the IDE. > What sort of problems are you experiencing ? > > Jan Schenkel. > Well, it's hard to replicate exactly, but, for example the following three things: (1) The existence or non-existence of global variables is different. In fact, it seems that global variables are not TRULY global. They seem to depend on the stack hierarchy. (2) I can't track down the reason yet, but I build a client that does some two-way communication via a server. With the Windows stand-alone app the two-way communication seems to work perfectly with my OS X client when I am in the OS X IDE, but when I do the same thing with the OS X standalone it doesn't always communicate right. (3) I use a cloned stack in my application. In the IDE, after making changes to the original stack, if I don't *close* the stack before cloning it, the changes are sometimes used and sometimes not. I can't figure out why that would be try. When you clone a stack both the openStack and openCard handlers are called for the new stack, aren't they? doug From doug at webcrossing.com Sun Jan 18 19:00:06 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 09:00:06 +0900 Subject: rectangle of 0,0,0,0 ok? In-Reply-To: Message-ID: On 1/19/04 6:36 AM, "Ken Norris" wrote: > on 1/18/04 8:06 AM, use-revolution-request at lists.runrev.com at > use-revolution-request at lists.runrev.com wrote: > >> Date: Sun, 18 Jan 2004 19:08:32 +0900 >> From: Doug Lerner >> Subject: Re: rectangle of 0,0,0,0 ok? >> >> Those don't truly *hide* the field, in the sense that if you check to see if >> the mouse is in the region of the field it still turns out to be true, even >> if the field is not visible. > ---------- > That's usually a _good_ thing, but we don't know what your usage is. If you > could explain that it might help. Well, I am doing a check to see if the cursor is in the range of that field or not and when it is "hidden" I don't want the check to succeed. > > IMO setting the rect like that might be a bad idea. Instead, just leave it's > width and height alone, and send it off screen by its loc: > > 1) ## Remember it's loc: > global gTfld > put the loc of fld n into gTFld > > 2) ## Send it offstack: > set the loc of fld n to "-1000,-1000" If its wider than 1500 (hard to > imagine) then increase the negative numbers > > 3) ## Call it back: > global gTfld > set the loc of fld n to gTFld Why is that better than changing the rect? Is there a technical reason that is better? Thanks! doug From doug at webcrossing.com Sun Jan 18 19:02:43 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 09:02:43 +0900 Subject: A couple of very basic Rev object questions In-Reply-To: <97B39D78-4A0B-11D8-B552-0003937A97B8@genesearch.com.au> Message-ID: On 1/19/04 8:11 AM, "Sarah Reichelt" wrote: >> I did find one error occurring though. I had an "go stack" command in >> my >> "openCard" handler. When I moved the handler to the stack script that >> line >> causes a repeated error (I tried changing it to an openStack handler >> instead, but the same error occurs): >> >> executing at 12:01:49 PM >> Type Handler: error in statement >> Object mainstack >> Line go stack "onlineStack" as topLevel >> Hint openStack >> >> >> That line causes no problem when in the card script instead. >> >> Any idea why? > > I would guess that the problem occurs when the script is in the stack > script of your mainStack. It then gets called by ANY openCard message > in any of the substacks as well as the mainStack. The solution, as you > have discovered, is to put the handler in the card script instead, > where it is only available to it's own stack and not to any other. > > Alternatively, make sure all the substacks have their own openCard > handler, even if it does nothing. That way the mesage will get trapped > and not proceed up the hierarchy. But the same error occurred when I renamed the handler as an openStack handler. Maybe that also affected some other substacks that did not have openStack handlers of their own. Of course! doug From scott at tactilemedia.com Sun Jan 18 19:25:04 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 18 Jan 2004 16:25:04 -0800 Subject: rectangle of 0,0,0,0 ok? In-Reply-To: Message-ID: On 1/18/04 3:49 PM, "Doug Lerner" wrote: >>> Those don't truly *hide* the field, in the sense that if you check to see if >>> the mouse is in the region of the field it still turns out to be true, even >>> if the field is not visible. >> >> How are you testing the mouse? When I use the following script and the >> field is hidden, the result is consistently false: >> >> put within(fld myField,the mouseLoc) > > if exists(field "canvas") and the mouseLoc is within the rectangle of field > "canvas" then > > This shows true whether or not the field is hidden. That's because you're testing the rect of the field, which is a position on the card, as opposed to testing if the mouse is within the field object itself. Try testing the field itself as explained above. You can also gain speed improvements by testing variables instead of testing physical objects. For example, you can use properties to store the presence of the canvas field and its rect from other scripts, and then test the properties, instead of testing the actual objects. Something like: on mouseDown -- TEST THE SITUATION ONCE if exists(fld "canvas") and the visible of fld "canvas" then set the uCanvasRect of this cd to the rect of fld "canvas" set the uCanvasReady of this cd to true end if end mouseDown on mouseMove X,Y -- EXIT IF THE SITUATION IS NOT APPROPRIATE if not the uCanvasReady of this cd then exit mouseMove if (X&","&Y) is within the uCanvasRect of this cd then -- do my stuff else -- do other stuff end if end mouseMove on mouseUp hide fld "canvas" set the uCanvasReady of this cd to false end mouseUp The above may not be completely appropriate to your situation but may give you an idea of where to start. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From doug at webcrossing.com Sun Jan 18 19:31:01 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 09:31:01 +0900 Subject: rectangle of 0,0,0,0 ok? In-Reply-To: Message-ID: OK. I'll try that! Thanks, doug On 1/19/04 9:25 AM, "Scott Rossi" wrote: > On 1/18/04 3:49 PM, "Doug Lerner" wrote: > >>>> Those don't truly *hide* the field, in the sense that if you check to see >>>> if >>>> the mouse is in the region of the field it still turns out to be true, even >>>> if the field is not visible. >>> >>> How are you testing the mouse? When I use the following script and the >>> field is hidden, the result is consistently false: >>> >>> put within(fld myField,the mouseLoc) >> >> if exists(field "canvas") and the mouseLoc is within the rectangle of field >> "canvas" then >> >> This shows true whether or not the field is hidden. > > That's because you're testing the rect of the field, which is a position on > the card, as opposed to testing if the mouse is within the field object > itself. Try testing the field itself as explained above. > > You can also gain speed improvements by testing variables instead of testing > physical objects. For example, you can use properties to store the presence > of the canvas field and its rect from other scripts, and then test the > properties, instead of testing the actual objects. Something like: > > on mouseDown > -- TEST THE SITUATION ONCE > if exists(fld "canvas") and the visible of fld "canvas" then > set the uCanvasRect of this cd to the rect of fld "canvas" > set the uCanvasReady of this cd to true > end if > end mouseDown > > on mouseMove X,Y > -- EXIT IF THE SITUATION IS NOT APPROPRIATE > if not the uCanvasReady of this cd then exit mouseMove > if (X&","&Y) is within the uCanvasRect of this cd then > -- do my stuff > else > -- do other stuff > end if > end mouseMove > > on mouseUp > hide fld "canvas" > set the uCanvasReady of this cd to false > end mouseUp > > > The above may not be completely appropriate to your situation but may give > you an idea of where to start. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Development & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From wouter.abraham at pi.be Sun Jan 18 20:31:03 2004 From: wouter.abraham at pi.be (Wouter) Date: Mon, 19 Jan 2004 02:31:03 +0100 Subject: Restricting graphics to a field? In-Reply-To: <20040118160618.F2F66930110@mail.runrev.com> References: <20040118160618.F2F66930110@mail.runrev.com> Message-ID: <25556CEE-4A1F-11D8-8390-003065CC999E@pi.be> On 18 Jan 2004, at 17:06, use-revolution-request at lists.runrev.com wrote: > Message: 4 > Date: Sun, 18 Jan 2004 02:07:45 EST > From: FlexibleLearning at aol.com > Subject: Re: Restricting graphics to a field? > To: use-revolution at lists.runrev.com > Message-ID: <15f.2aaeb506.2d3b8ac1 at aol.com> > Content-Type: text/plain; charset="US-ASCII" > >>> on checktool >>> if the tool <> "browse" >>> then choose browse tool >>> send "checktool" to me in 10 milliseconds >>> end checktool >>> >>> this looks suspiciously like... >>> on idle! > >> Yes, it is the cpu-friendly way to do idle. > > It will also prevent you selecting any other tool. A back-door trap > may be > useful such as 'if the shiftkey is down and the tool <>"browse tool" > then...' > > /H As the mousemove handler is not suspended in Revolution when choosing a graphic, paint or pointer tool, there is still another way to do this. In this example the canvas is outside of the field. Set the script of the card to: on mousemove if the mouseloc is within the rect of fld "border" then set the cantmodify of this stack to true else set the cantmodify of this stack to false end mousemove ### if the mouse leaves the card and/or if the "border" field is flush with or passing the sides of the card on mouseleave if the short name of the target is in "card id < id of your card >,border" then set the cantmodify of this stack to false end mouseleave Greetings, WA From sarahr at genesearch.com.au Sun Jan 18 20:44:21 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 19 Jan 2004 11:44:21 +1000 Subject: Recurring Dates Script In-Reply-To: References: Message-ID: <00BC2786-4A21-11D8-B552-0003937A97B8@genesearch.com.au> Hi Jim, Coincidentally, I needed exactly the same sort of thing myself last week, so here is a script to get you started: Here are some usage examples: put relativeDate("Mon", 3, 1, 2004) -- 3rd Monday in January 2004 put relativeDate("Fri", -1, 2, 2004) -- last Friday in February 2004 put relativeDate("Tue", "First", 11, 2004) -- 1st Tuesday in November - for the Aussies out there :-) -- pDay is the abbreviated system day name (Mon, Tue, Wed) -- pIndex is First, Second, Third, Fourth, Last -- or 1, 2, 3, 4 for 1st, 2nd, 3rd & 4th and -1 for last -- pMonth & pYear must be numeric -- function relativeDate pDay, pIndex, pMonth, pYear -- convert the day name to a number put the abbrev system weekDayNames into tDayList get lineOffset(pDay, tDayList) if it = 0 then return empty put it into tDayNum -- find first whatever day in the month put pMonth & "/1/" & pYear into firstDate convert firstDate from short English date to dateItems put last item of firstDate into firstDayNum put tDayNum - firstDayNum into dayDiff if dayDiff < 0 then add 7 to dayDiff add dayDiff to item 3 of firstDate convert firstDate to seconds convert firstDate to dateItems -- add weeks as necessary switch pIndex case "First" case "1" break case "Second" case "2" add 7 to item 3 of firstDate break case "Third" case "3" add 14 to item 3 of firstDate break case "Fourth" case "4" add 21 to item 3 of firstDate break case "Fifth" case "5" add 28 to item 3 of firstDate break case "Last" case "-1" -- try week 5 and if that doesn't work, use week 4 put firstDate into testDate add 28 to item 3 of testDate convert testDate to seconds convert testDate to dateItems if item 2 of testDate = pMonth then put testDate into firstDate else add 21 to item 3 of firstDate end if break end switch -- firstDate is now in dateItems format convert firstDate to short system date return firstDate end relativeDate Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 12 Jan 2004, at 1:04 pm, Jim Carwardine wrote: > Thanks, Sarah. I'm familiar with dateItems from HC. Even with > dateItems, > checking on things like the second Tuesday of every month is tricky. > I was > hoping that somebody might have done some of that... Jim > > on 1/11/04 6:21 PM, Sarah Reichelt wrote: > >> Hi Jim, >> >> I don't know exactly what sort of recurring dates you are planning, >> but >> you will find that using the dateItems format works really well for >> date calculations: >> >> Try something like this: >> put the seconds into theDate >> convert theDate to dateItems >> -- 2004,1,12,8,16,46,2 >> -- see the docs for dateItems to check what each item is. >> >> Now you can edit any of these items WITHOUT having to worry about >> whether it results in a correct date. When you convert it back, the >> engine will make it into a real date. >> >> add 18 to item 2 of theDate -- item 2 = month, so move 18 months >> forward >> -- 2004,19,12,8,18,26,2 >> convert theDate to long date >> -- Tuesday, July 12, 2005 >> >> Hope this helps, >> Sarah >> >> On 12 Jan 2004, at 1:59 am, Jim Carwardine wrote: >> >>> Has anyone written a script that handles recurring dates like Outlook >>> or >>> Entourage do? Jim >>> -- >>> >>> OYF is... Highly resourceful people working together. >>> >>> >>> Own Your Future Consulting Services Limited, >>> 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 >>> Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 >>> >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > -- > > OYF is... Highly resourceful people working together. > > > Own Your Future Consulting Services Limited, > 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 > Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From doug at webcrossing.com Sun Jan 18 21:37:53 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 11:37:53 +0900 Subject: Weirdness with global variable declaration Message-ID: In an openCard handler I have: on openCard global debugMode global inChatUsers, newChatSocket global chatRect, chatRectHalf, wbRect put "8,8,596,314" into chatRect . . . But a button in that card doesn't seem to know the value of chatRect. And while globalNames lists inChatUsers, newChatSocket and debugMode it doesn't list any of the three globals on the third line of the handler above. Any reasons why a global should no longer be among the globalNames? Thanks, doug From chipp at chipp.com Sun Jan 18 21:40:48 2004 From: chipp at chipp.com (Chipp Walters) Date: Sun, 18 Jan 2004 20:40:48 -0600 Subject: import snapshot on Panther... Message-ID: Can anyone get this to work? Create a new stack. Type: import snapshot into msg. Then drag a rect and let me know if the resulting pasted img is too dark. It's always dark on my iBook, but works fine on XP. -Chipp From erikhans08 at yahoo.com Sun Jan 18 21:44:48 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sun, 18 Jan 2004 18:44:48 -0800 (PST) Subject: Revolution Seminar In-Reply-To: Message-ID: <20040119024448.4558.qmail@web61108.mail.yahoo.com> --- Ed McCabe wrote: > As it took my Motorhome six days to cover the > 3500 miles from San Francisco > to Smithfield, RI - this is my first > opportunity to post my thanks and > appreciation for the networking opportunities > and professional presentations > provided by the REV staff and consultants at > the Expo and the two day > Seminar. > > Many thanks for the first class job by all. > > >From my position of relative isolation here in > RI it was highly beneficial > to finally meet, converse-with and receive the > benefit of the insight of > former HC luminaries - Ro Nagy, Dan Schafer, > Jacqueline Gay, Jeanne Devoto > and Anthony Rinaldi all now associated with REV > and to meet cutting edge > programmers Richard Gaskin, Skipp Walters & > Jerry Daniels who have adopted > Rev and regularly contribute unselfishly to > this list and last but not least > Revolution Studio & Enterprise Product Manager > - the author of navigator - > Geoff Canyon. > > Has there ever been more brain power and > veteran developers in one room? > > In my view, the best testimony to the insight > of Rev management is their > selection of talent. Truly an all star team. > > I must also mention the immeasurable value (to > me) of contact with other Rev > developers. > > I hope that this seminar will become an annual > event > > Ed McCabe > Insurors Service Bureau > 221 Log Road > Smithfield, RI 02917 a Sunday Amen to that! ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From doug at webcrossing.com Sun Jan 18 21:46:05 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 11:46:05 +0900 Subject: The scope of a global variable Message-ID: The docs say "The scope of a global variable is every handler in the application." I am not finding that to be true. If a global is declared in the main stack hierarchy it may not be accessible in a cloned stack with the same declaration unless you make the cloned stack into a substack of the main stack. doug From doug at webcrossing.com Sun Jan 18 21:59:41 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 11:59:41 +0900 Subject: openCard not being invoked Message-ID: For one of my stacks, when it opens it appears the openCard message is not being sent. What would block that? Thanks, doug From scott at tactilemedia.com Sun Jan 18 22:00:27 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 18 Jan 2004 19:00:27 -0800 Subject: Weirdness with global variable declaration In-Reply-To: Message-ID: On 1/18/04 6:37 PM, "Doug Lerner" wrote: > In an openCard handler I have: > > on openCard > global debugMode > global inChatUsers, newChatSocket > global chatRect, chatRectHalf, wbRect > put "8,8,596,314" into chatRect > . > . > . > > But a button in that card doesn't seem to know the value of chatRect. Did you declare the global in the button's script? global chatRect on mouseUp ... end mouseUp Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From doug at webcrossing.com Sun Jan 18 22:05:58 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 12:05:58 +0900 Subject: Weirdness with global variable declaration In-Reply-To: Message-ID: On 1/19/04 12:00 PM, "Scott Rossi" wrote: > On 1/18/04 6:37 PM, "Doug Lerner" wrote: > >> In an openCard handler I have: >> >> on openCard >> global debugMode >> global inChatUsers, newChatSocket >> global chatRect, chatRectHalf, wbRect >> put "8,8,596,314" into chatRect >> . >> . >> . >> >> But a button in that card doesn't seem to know the value of chatRect. > > Did you declare the global in the button's script? > > global chatRect > on mouseUp > ... > end mouseUp > Yes. I think the problem is that the openCard message itself is not being sent when this stack is cloned! Can you think of a reason that might be? Thanks, doug From sanke at hrz.uni-kassel.de Sun Jan 18 22:00:33 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon, 19 Jan 2004 04:00:33 +0100 Subject: List Digests with Attachments Message-ID: <400B4851.7020405@hrz.uni-kassel.de> Probably due to maintenance problems with the RunRev mail server I was excluded from the use-revolution list for about a week. After an exchange of a couple of posts with RunRev support I now get the lists digests again, but in a changed format: - after the numbered topic overview the individual posts remain un-numbered, which makes it slightly more difficult to scroll quickly to the post one is interested in. - each list digest is now accompanied by attachments, the number of attachments being (the number of posts in the digests + 4). Attachment 2 replicates the topic's overview. Then follow replicates of the individual posts as attachments with an extended form of the header. Does anybody else get this new form of the list digest with attachments? Regards, Wilhlm Sanke Example of the header of an attachment >Content-Transfer-Encoding: 7bit >From: "J. Landman Gay" >Precedence: list >Subject: Re: Scrolling Cards >Date: Sun, 18 Jan 2004 12:01:36 -0600 >To: How to use Revolution >References: >In-Reply-To: >Reply-To: jacque at hyperactivesw.com, How to use Revolution > >Message-ID: <400ACA00.5080700 at hyperactivesw.com> >Content-Type: text/plain; charset=us-ascii; format=flowed >MIME-Version: 1.0 >Message: 2 > >
On 1/18/04 9:13 AM, Jim Carwardine wrote: > From scott at tactilemedia.com Sun Jan 18 22:16:03 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 18 Jan 2004 19:16:03 -0800 Subject: The scope of a global variable In-Reply-To: Message-ID: On 1/18/04 6:46 PM, "Doug Lerner" wrote: > The docs say "The scope of a global variable is every handler in the > application." > > I am not finding that to be true. If a global is declared in the main stack > hierarchy it may not be accessible in a cloned stack with the same > declaration unless you make the cloned stack into a substack of the main > stack. AFAIK, a global value is global to the engine. Someone else can chime in here if this is not correct, but for all intents and purposes you can verify this for yourself. Create a new main stack. Set the destroyStack aqnd destroyWindow properties to true just to be "thorough". Create a button in the stack. Give the button a script like: on mouseUp global gTest put "still here" into gTest end mouseUp Click the button once and close the stack. Then type "answer gTest" in the message box. You should see "still here" answered back. You can also create a new main stack, add a button with a script set to: on mouseUp global gTest answer gTest end mouseUp Again you should see "still here" in the answer window. Note that since globals are indeed global and hang around after use, Rev provides a delete variable command that allows you to remove variables from memory. If you are not finding this to be the case, you may not be declaring your variables correctly. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From doug at webcrossing.com Sun Jan 18 22:31:27 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 12:31:27 +0900 Subject: The scope of a global variable In-Reply-To: Message-ID: On 1/19/04 12:16 PM, "Scott Rossi" wrote: > Note that since globals are indeed global and hang around after use, Rev > provides a delete variable command that allows you to remove variables from > memory. If you are not finding this to be the case, you may not be > declaring your variables correctly. I think I have isolated the problem to the fact that the openCard message is not being sent to the cloned stack when it opens. The Message Watcher seems to confirm this. The preOpenStack message is being sent, but the openCard message isn't. Any idea why that might be? Thanks, doug From jacque at hyperactivesw.com Sun Jan 18 22:40:33 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Jan 2004 21:40:33 -0600 Subject: import snapshot on Panther... In-Reply-To: References: Message-ID: <400B51B1.1000706@hyperactivesw.com> On 1/18/04 8:40 PM, Chipp Walters wrote: > Can anyone get this to work? Create a new stack. > > Type: > > import snapshot > > into msg. Then drag a rect and let me know if the resulting pasted img > is too dark. It's always dark on my iBook, but works fine on XP. It looks identical to the source image on my desktop G4 running 10.2.8. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From doug at webcrossing.com Sun Jan 18 23:14:04 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 13:14:04 +0900 Subject: more on no openCard message issue Message-ID: I did a line by line examination of the message watcher as the cloned stack opens and is shown. The preOpenStack message is the only message among preOpenStack/openStack/preOpenCard/openCard to get sent. Any idea why that might happen? In my preOpenStack handler do I have to pass openStack to get the messages to continue or something like that? doug From dsc at swcp.com Sun Jan 18 23:19:26 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 18 Jan 2004 21:19:26 -0700 Subject: more on no openCard message issue In-Reply-To: Message-ID: On Sunday, January 18, 2004, at 09:14 PM, Doug Lerner wrote: > In my preOpenStack handler do I have to pass openStack to get the > messages > to continue or something like that? You might be onto something. Do you pass preOpenStack? Dar From doug at webcrossing.com Sun Jan 18 23:27:41 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 13:27:41 +0900 Subject: more on no openCard message issue In-Reply-To: Message-ID: On 1/19/04 1:19 PM, "Dar Scott" wrote: > > On Sunday, January 18, 2004, at 09:14 PM, Doug Lerner wrote: > >> In my preOpenStack handler do I have to pass openStack to get the >> messages >> to continue or something like that? > > You might be onto something. Do you pass preOpenStack? > I wasn't. I added that, but it didn't help. So what I did for now was after cloning the stack I added a send "openCard" to stack newStackName and now it is working. But...I wonder what is blocking the openCard message from naturally being sent? doug From 3mcgrath at adelphia.net Sun Jan 18 23:32:54 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Sun, 18 Jan 2004 23:32:54 -0500 Subject: Weirdness with global variable declaration In-Reply-To: References: Message-ID: <8CA4D24A-4A38-11D8-8D66-000A95DA60FA@adelphia.net> Have you tried creating the global outside of this handler? put it by itself before the openCard . On Jan 18, 2004, at 9:37 PM, Doug Lerner wrote: > In an openCard handler I have: > > on openCard > global debugMode > global inChatUsers, newChatSocket > global chatRect, chatRectHalf, wbRect > put "8,8,596,314" into chatRect > . > . > . > > But a button in that card doesn't seem to know the value of chatRect. > And > while globalNames lists inChatUsers, newChatSocket and debugMode it > doesn't > list any of the three globals on the third line of the handler above. > > Any reasons why a global should no longer be among the globalNames? > > Thanks, > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From rgould8 at aol.com Sun Jan 18 23:38:38 2004 From: rgould8 at aol.com (rgould8 at aol.com) Date: Sun, 18 Jan 2004 23:38:38 -0500 Subject: Detect default browser? Message-ID: <140D8589.05CE5B3F.0018446D@aol.com> With Revolution on Mac OS X, is there a command that tells you what the user's default browser is set to, (for instance, which browser will be launched with the revGoURL command)? Perhaps the Rev engine is unaware, since it's using Applescript to launch the browser? From doug at webcrossing.com Sun Jan 18 23:40:03 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 13:40:03 +0900 Subject: Weirdness with global variable declaration In-Reply-To: <8CA4D24A-4A38-11D8-8D66-000A95DA60FA@adelphia.net> Message-ID: I read about doing that - in a so-called "script" rather than in a "handler". But I wasn't clear about how that works. How do script commands get executed if they are not part of a handler? doug On 1/19/04 1:32 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> wrote: > Have you tried creating the global outside of this handler? > put it by itself before the openCard . > > On Jan 18, 2004, at 9:37 PM, Doug Lerner wrote: > >> In an openCard handler I have: >> >> on openCard >> global debugMode >> global inChatUsers, newChatSocket >> global chatRect, chatRectHalf, wbRect >> put "8,8,596,314" into chatRect >> . >> . >> . >> >> But a button in that card doesn't seem to know the value of chatRect. >> And >> while globalNames lists inChatUsers, newChatSocket and debugMode it >> doesn't >> list any of the three globals on the third line of the handler above. >> >> Any reasons why a global should no longer be among the globalNames? >> >> Thanks, >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Mon Jan 19 00:43:50 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 18 Jan 2004 23:43:50 -0600 Subject: more on no openCard message issue In-Reply-To: References: Message-ID: <400B6E96.6010601@hyperactivesw.com> On 1/18/04 10:14 PM, Doug Lerner wrote: > I did a line by line examination of the message watcher as the cloned stack > opens and is shown. > > The preOpenStack message is the only message among > preOpenStack/openStack/preOpenCard/openCard to get sent. > > Any idea why that might happen? I just tried cloning a stack from the message box and kept an eye on the message watcher. I got: preOpenCard resumeStack openStack openCard That's still not all of them, but "openstack" is in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From 3mcgrath at adelphia.net Mon Jan 19 00:47:06 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 19 Jan 2004 00:47:06 -0500 Subject: Weirdness with global variable declaration In-Reply-To: References: Message-ID: just declare the globals off by themselves... then do your on opencard. On Jan 18, 2004, at 11:40 PM, Doug Lerner wrote: > I read about doing that - in a so-called "script" rather than in a > "handler". But I wasn't clear about how that works. > > How do script commands get executed if they are not part of a handler? > > doug > > On 1/19/04 1:32 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> > wrote: > >> Have you tried creating the global outside of this handler? >> put it by itself before the openCard . >> >> On Jan 18, 2004, at 9:37 PM, Doug Lerner wrote: >> >>> In an openCard handler I have: >>> >>> on openCard >>> global debugMode >>> global inChatUsers, newChatSocket >>> global chatRect, chatRectHalf, wbRect >>> put "8,8,596,314" into chatRect >>> . >>> . >>> . >>> >>> But a button in that card doesn't seem to know the value of chatRect. >>> And >>> while globalNames lists inChatUsers, newChatSocket and debugMode it >>> doesn't >>> list any of the three globals on the third line of the handler above. >>> >>> Any reasons why a global should no longer be among the globalNames? >>> >>> Thanks, >>> >>> doug >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev >> 2.1.2 >> >> >> Advanced Media Group >> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >> 220 Drake Road, Bethel Park, PA 15102 >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From itrunrev at itinfo.dk Mon Jan 19 01:30:14 2004 From: itrunrev at itinfo.dk (Carsten Levin) Date: Mon, 19 Jan 2004 07:30:14 +0100 Subject: import snapshot on Panther... In-Reply-To: <400B51B1.1000706@hyperactivesw.com> References: <400B51B1.1000706@hyperactivesw.com> Message-ID: On 19/1-2004, at 4.40, J. Landman Gay wrote: > On 1/18/04 8:40 PM, Chipp Walters wrote: > >> Can anyone get this to work? Create a new stack. >> Type: >> import snapshot >> into msg. Then drag a rect and let me know if the resulting pasted >> img is too dark. It's always dark on my iBook, but works fine on XP. > > It looks identical to the source image on my desktop G4 running 10.2.8. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > On my Mac OS X 10.3.2 with Revolution 2.1.2 the snapshot varies: Sometimes it is 100 pct. darkened with the selection colour. At other times it is partly darkened, a dark stripe at the top, etc. etc. There seems to be a bug in the way Revolution does this. Until it is solved you should probably use an utility like Snapz Pro to create your dumps. Best regards Carsten From doug at webcrossing.com Mon Jan 19 01:35:17 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 15:35:17 +0900 Subject: templateGraphic question Message-ID: The docs say: "The properties of the templateGraphic are reset to their defaults when all running handlers finish executing." It seems, though, that *custom* templateGraphic properties are not deleted after the handlers are finished executing. Is that the experience of other people as well? doug From doug at webcrossing.com Mon Jan 19 01:36:59 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 15:36:59 +0900 Subject: more on no openCard message issue In-Reply-To: <400B6E96.6010601@hyperactivesw.com> Message-ID: On 1/19/04 2:43 PM, "J. Landman Gay" wrote: > On 1/18/04 10:14 PM, Doug Lerner wrote: > >> I did a line by line examination of the message watcher as the cloned stack >> opens and is shown. >> >> The preOpenStack message is the only message among >> preOpenStack/openStack/preOpenCard/openCard to get sent. >> >> Any idea why that might happen? > > I just tried cloning a stack from the message box and kept an eye on the > message watcher. I got: > > preOpenCard > resumeStack > openStack > openCard > > That's still not all of them, but "openstack" is in there. Something I am doing in my preOpenCard must be causing the rest of the handlers to not get sent then. Are there commands there - like setting stack custom properties - that would block subsequent messages? Because the openCard is definitely not being sent unless I specifically add a send "openCard" message to the cloned stack. doug From doug at webcrossing.com Mon Jan 19 01:37:22 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 15:37:22 +0900 Subject: Weirdness with global variable declaration In-Reply-To: Message-ID: What do you mean by "off by themselves"? doug On 1/19/04 2:47 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> wrote: > just declare the globals off by themselves... > > then do your on opencard. > > > On Jan 18, 2004, at 11:40 PM, Doug Lerner wrote: > >> I read about doing that - in a so-called "script" rather than in a >> "handler". But I wasn't clear about how that works. >> >> How do script commands get executed if they are not part of a handler? >> >> doug >> >> On 1/19/04 1:32 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> >> wrote: >> >>> Have you tried creating the global outside of this handler? >>> put it by itself before the openCard . >>> >>> On Jan 18, 2004, at 9:37 PM, Doug Lerner wrote: >>> >>>> In an openCard handler I have: >>>> >>>> on openCard >>>> global debugMode >>>> global inChatUsers, newChatSocket >>>> global chatRect, chatRectHalf, wbRect >>>> put "8,8,596,314" into chatRect >>>> . >>>> . >>>> . >>>> >>>> But a button in that card doesn't seem to know the value of chatRect. >>>> And >>>> while globalNames lists inChatUsers, newChatSocket and debugMode it >>>> doesn't >>>> list any of the three globals on the third line of the handler above. >>>> >>>> Any reasons why a global should no longer be among the globalNames? >>>> >>>> Thanks, >>>> >>>> doug >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> >>> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev >>> 2.1.2 >>> >>> >>> Advanced Media Group >>> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >>> 220 Drake Road, Bethel Park, PA 15102 >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From erikhans08 at yahoo.com Mon Jan 19 02:05:14 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sun, 18 Jan 2004 23:05:14 -0800 (PST) Subject: customize the Variable Watcher In-Reply-To: Message-ID: <20040119070514.22176.qmail@web61106.mail.yahoo.com> can you customize the Variable Watcher by setting a list of things (something like a group of stuff) that you do NOT wish to watch? something like: set the dontLookForThese of MW to fld "Og". thanks, Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From helloc66 at hotmail.com Mon Jan 19 02:08:17 2004 From: helloc66 at hotmail.com (Jeremy Smith) Date: Mon, 19 Jan 2004 07:08:17 +0000 Subject: Weirdness with global variable declaration Message-ID: Instead of doing this on openCard global debugMode global inChatUsers, newChatSocket global chatRect, chatRectHalf, wbRect put "8,8,596,314" into chatRect .... do this global debugMode global inChatUsers, newChatSocket global chatRect, chatRectHalf, wbRect on openCard put "8,8,596,314" into chatRect ... Then you can access the globals from all the handlers (opencard/closecard) etc... Cheers. >From: Doug Lerner >Reply-To: How to use Revolution >To: How to use Revolution >Subject: Re: Weirdness with global variable declaration >Date: Mon, 19 Jan 2004 15:37:22 +0900 > >What do you mean by "off by themselves"? > >doug > >On 1/19/04 2:47 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> wrote: > > > just declare the globals off by themselves... > > > > then do your on opencard. > > > > > > On Jan 18, 2004, at 11:40 PM, Doug Lerner wrote: > > > >> I read about doing that - in a so-called "script" rather than in a > >> "handler". But I wasn't clear about how that works. > >> > >> How do script commands get executed if they are not part of a handler? > >> > >> doug > >> > >> On 1/19/04 1:32 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> > >> wrote: > >> > >>> Have you tried creating the global outside of this handler? > >>> put it by itself before the openCard . > >>> > >>> On Jan 18, 2004, at 9:37 PM, Doug Lerner wrote: > >>> > >>>> In an openCard handler I have: > >>>> > >>>> on openCard > >>>> global debugMode > >>>> global inChatUsers, newChatSocket > >>>> global chatRect, chatRectHalf, wbRect > >>>> put "8,8,596,314" into chatRect > >>>> . > >>>> . > >>>> . > >>>> > >>>> But a button in that card doesn't seem to know the value of chatRect. > >>>> And > >>>> while globalNames lists inChatUsers, newChatSocket and debugMode it > >>>> doesn't > >>>> list any of the three globals on the third line of the handler above. > >>>> > >>>> Any reasons why a global should no longer be among the globalNames? > >>>> > >>>> Thanks, > >>>> > >>>> doug > >>>> > >>>> _______________________________________________ > >>>> use-revolution mailing list > >>>> use-revolution at lists.runrev.com > >>>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>>> > >>>> > >>> > >>> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > >>> 2.1.2 > >>> > >>> > >>> Advanced Media Group > >>> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > >>> 220 Drake Road, Bethel Park, PA 15102 > >>> > >>> > >>> > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> > > > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > > 2.1.2 > > > > > > Advanced Media Group > > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > > 220 Drake Road, Bethel Park, PA 15102 > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution _________________________________________________________________ Send mobile Christmas cards, download a festive ringtone and win a Motorola E365. Go to: http://ninemsn.com.au/mobilecentral/christmas.asp From doug at webcrossing.com Mon Jan 19 02:11:53 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 16:11:53 +0900 Subject: Weirdness with global variable declaration In-Reply-To: Message-ID: Yes, but, but :) If those commands are *outside* of a handler, exactly when do they actually get executed? doug On 1/19/04 4:08 PM, "Jeremy Smith" wrote: > Instead of doing this > > on openCard > global debugMode > global inChatUsers, newChatSocket > global chatRect, chatRectHalf, wbRect > put "8,8,596,314" into chatRect > .... > > do this > > global debugMode > global inChatUsers, newChatSocket > global chatRect, chatRectHalf, wbRect > on openCard > put "8,8,596,314" into chatRect > ... > > Then you can access the globals from all the handlers (opencard/closecard) > etc... > > Cheers. > >> From: Doug Lerner >> Reply-To: How to use Revolution >> To: How to use Revolution >> Subject: Re: Weirdness with global variable declaration >> Date: Mon, 19 Jan 2004 15:37:22 +0900 >> >> What do you mean by "off by themselves"? >> >> doug >> >> On 1/19/04 2:47 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> wrote: >> >>> just declare the globals off by themselves... >>> >>> then do your on opencard. >>> >>> >>> On Jan 18, 2004, at 11:40 PM, Doug Lerner wrote: >>> >>>> I read about doing that - in a so-called "script" rather than in a >>>> "handler". But I wasn't clear about how that works. >>>> >>>> How do script commands get executed if they are not part of a handler? >>>> >>>> doug >>>> >>>> On 1/19/04 1:32 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> >>>> wrote: >>>> >>>>> Have you tried creating the global outside of this handler? >>>>> put it by itself before the openCard . >>>>> >>>>> On Jan 18, 2004, at 9:37 PM, Doug Lerner wrote: >>>>> >>>>>> In an openCard handler I have: >>>>>> >>>>>> on openCard >>>>>> global debugMode >>>>>> global inChatUsers, newChatSocket >>>>>> global chatRect, chatRectHalf, wbRect >>>>>> put "8,8,596,314" into chatRect >>>>>> . >>>>>> . >>>>>> . >>>>>> >>>>>> But a button in that card doesn't seem to know the value of chatRect. >>>>>> And >>>>>> while globalNames lists inChatUsers, newChatSocket and debugMode it >>>>>> doesn't >>>>>> list any of the three globals on the third line of the handler above. >>>>>> >>>>>> Any reasons why a global should no longer be among the globalNames? >>>>>> >>>>>> Thanks, >>>>>> >>>>>> doug >>>>>> >>>>>> _______________________________________________ >>>>>> use-revolution mailing list >>>>>> use-revolution at lists.runrev.com >>>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>>> >>>>>> >>>>> >>>>> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev >>>>> 2.1.2 >>>>> >>>>> >>>>> Advanced Media Group >>>>> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >>>>> 220 Drake Road, Bethel Park, PA 15102 >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> >>> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev >>> 2.1.2 >>> >>> >>> Advanced Media Group >>> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >>> 220 Drake Road, Bethel Park, PA 15102 >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _________________________________________________________________ > Send mobile Christmas cards, download a festive ringtone and win a Motorola > E365. Go to: http://ninemsn.com.au/mobilecentral/christmas.asp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Mon Jan 19 02:22:58 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 19 Jan 2004 08:22:58 +0100 Subject: HTMLtext is a crasher - BrowserX is not! Message-ID: On 17/01/2004 23:24:11 use-revolution-bounces wrote: >on Sat, 17 Jan 2004 > >Xavier Bury wrote in response to Alejandro Tejada: > >>>How did this browser compares with the altBrowser >>>dll from Altuit? They have a Demo in their website. > >>I have no idea! I work strictly from scratch! ;) >>Let's say it is a plain vanila text browser >>(while RR crashes with HTMLText images) > >Could you offers a recipe for the crash? > >I've set the html text of a fld to my webpage >and the jpg images are saved >with the stack. I close the stack, close the >internet connection, close the development >environment and when i open again the stack, >the fld still contains the html formatted text >and the images. I set the htmltext to slashdot.org, wait until the images are there save and that's when it crashes. NT4SP6... I will test other environments later... >>Stealth is the keyword here! ;) > >You really want to become an underground hero! ;-) Im a script ninja! ;) >Great, Are you going to document all the features >of this new project? It's true that developers >are not as prolific writing documentation as >code. I document them in the history of the about boxes in my apps. The scripts are documented with parsimony but they are well written (IMOHO) so that they are readable later. >>>If it could download whole sites as well, with >>>stop and resume downloads then you >>>have a Commercial project in your hands. :) I want threading! ) ;< But the RR engine is already such a hog on resources... >Actually, you need to associate with another >professional developer! :-) >As you live in Europe, you have an extraordinary >range of options of developers in this list. All pros are welcome! ;) >But you have to be, in first place, a salesman >and then a programmer. This is a plain truth. This I knew! But being a salesman is not as logical as being a programmer... >Keep us informed about your advances with this >software and keep up your good work! > >al > >===== >Visit my site: >http://www.geocities.com/capellan2000/ >Search the mail list: >http://mindlube.com/cgi-bin/search-use-rev.cgi > 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 dsc at swcp.com Mon Jan 19 02:41:55 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 19 Jan 2004 00:41:55 -0700 Subject: Weirdness with global variable declaration In-Reply-To: Message-ID: On Monday, January 19, 2004, at 12:11 AM, Doug Lerner wrote: > If those commands are *outside* of a handler, exactly when do they > actually > get executed? Those are called commands, but I think of them as declarations, that is, information to the compiler. Dar Scott From xbury.cs at clearstream.com Mon Jan 19 02:45:26 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 19 Jan 2004 08:45:26 +0100 Subject: customize the Variable Watcher Message-ID: Erik, Nice suggestion! I'll add some filtering to my VW! ;) On 19/01/2004 08:05:14 use-revolution-bounces wrote: >can you customize the Variable Watcher by >setting a list of things (something like a >group of stuff) that you do NOT wish to >watch? > >something like: >set the dontLookForThese of MW to fld "Og". > >thanks, > >Erik > >===== >erik at erikhansen.org http://www.erikhansen.org > >__________________________________ >Do you Yahoo!? >Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes >http://hotjobs.sweepstakes.yahoo.com/signingbonus >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From ambassador at fourthworld.com Mon Jan 19 02:50:48 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 18 Jan 2004 23:50:48 -0800 Subject: RevNet update Message-ID: RevNet has been updated with some info on Chipp Walters' new tool: altPluginToolbar. Also: I'm surprised no one's asked for this, but I'll be changing the download links in the Stacks section soon to include automatic saving options. I'm considering including these: - Download and Run - Download to Plugins Folder - Download to... (lets you choose a location to save the stack) Is that too many options? Too few? Suggestions on making the wording less verbose? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From doug at webcrossing.com Mon Jan 19 02:54:36 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 16:54:36 +0900 Subject: Weirdness with global variable declaration In-Reply-To: Message-ID: On 1/19/04 4:41 PM, "Dar Scott" wrote: > > On Monday, January 19, 2004, at 12:11 AM, Doug Lerner wrote: > >> If those commands are *outside* of a handler, exactly when do they >> actually >> get executed? > > Those are called commands, but I think of them as declarations, that > is, information to the compiler. > When do they get executed though? What if there are two different value assignments in two different scripts? doug From rjb at rz.uni-potsdam.de Mon Jan 19 03:46:46 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon, 19 Jan 2004 09:46:46 +0100 Subject: more on no openCard message issue In-Reply-To: References: Message-ID: >On 1/19/04 1:19 PM, "Dar Scott" wrote: > >> >> On Sunday, January 18, 2004, at 09:14 PM, Doug Lerner wrote: >> >>> In my preOpenStack handler do I have to pass openStack to get the >>> messages >>> to continue or something like that? >> >> You might be onto something. Do you pass preOpenStack? >> > >I wasn't. I added that, but it didn't help. > >So what I did for now was after cloning the stack I added a > >send "openCard" to stack newStackName > >and now it is working. > >But...I wonder what is blocking the openCard message from naturally being >sent? > >doug Do you by any chance have your cloned stack invisible at the time of cloning? When stack is invisible, not all message are sent in my experience. Robert Brenstein From doug at webcrossing.com Mon Jan 19 04:43:56 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 18:43:56 +0900 Subject: more on no openCard message issue In-Reply-To: Message-ID: On 1/19/04 5:46 PM, "Robert Brenstein" wrote: >> On 1/19/04 1:19 PM, "Dar Scott" wrote: >> >>> >>> On Sunday, January 18, 2004, at 09:14 PM, Doug Lerner wrote: >>> >>>> In my preOpenStack handler do I have to pass openStack to get the >>>> messages >>>> to continue or something like that? >>> >>> You might be onto something. Do you pass preOpenStack? >>> >> >> I wasn't. I added that, but it didn't help. >> >> So what I did for now was after cloning the stack I added a >> >> send "openCard" to stack newStackName >> >> and now it is working. >> >> But...I wonder what is blocking the openCard message from naturally being >> sent? >> >> doug > > Do you by any chance have your cloned stack invisible at the time of > cloning? When stack is invisible, not all message are sent in my > experience. The stack I cloned isn't even open. Does that make a difference? However, the invisible may have been set. I'll check on that. Right now I am going crazy about the app running one way in the IDE and another as standalone. For example, my "draw" is running fine in the IDE, but in the standalone app the backgroundColor appears to not get set. Very frustrating! doug From wouter.abraham at pi.be Mon Jan 19 05:15:19 2004 From: wouter.abraham at pi.be (Wouter) Date: Mon, 19 Jan 2004 11:15:19 +0100 Subject: Weirdness with global variable declaration In-Reply-To: <20040119044107.BC5B5930140@mail.runrev.com> References: <20040119044107.BC5B5930140@mail.runrev.com> Message-ID: <6269D27E-4A68-11D8-8390-003065CC999E@pi.be> On 19 Jan 2004, at 05:41, use-revolution-request at lists.runrev.com wrote: > Message: 2 > Date: Mon, 19 Jan 2004 12:05:58 +0900 > From: Doug Lerner > Subject: Re: Weirdness with global variable declaration > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > On 1/19/04 12:00 PM, "Scott Rossi" wrote: > >> On 1/18/04 6:37 PM, "Doug Lerner" wrote: >> >>> In an openCard handler I have: >>> >>> on openCard >>> global debugMode >>> global inChatUsers, newChatSocket >>> global chatRect, chatRectHalf, wbRect >>> put "8,8,596,314" into chatRect As this are globals is there a specific reason to do this intializing on opencard? Why not use openstack or preopenstack? >>> . >>> . >>> . >>> >>> But a button in that card doesn't seem to know the value of chatRect. >> >> Did you declare the global in the button's script? >> >> global chatRect >> on mouseUp >> ... >> end mouseUp >> > > Yes. I think the problem is that the openCard message itself is not > being > sent when this stack is cloned! > > Can you think of a reason that might be? > > Thanks, > > doug Greetings, WA From doug at webcrossing.com Mon Jan 19 05:22:35 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 19:22:35 +0900 Subject: Weirdness with global variable declaration In-Reply-To: <6269D27E-4A68-11D8-8390-003065CC999E@pi.be> Message-ID: On 1/19/04 7:15 PM, "Wouter" wrote: > > On 19 Jan 2004, at 05:41, use-revolution-request at lists.runrev.com wrote: > >> Message: 2 >> Date: Mon, 19 Jan 2004 12:05:58 +0900 >> From: Doug Lerner >> Subject: Re: Weirdness with global variable declaration >> To: How to use Revolution >> Message-ID: >> Content-Type: text/plain; charset="US-ASCII" >> >> On 1/19/04 12:00 PM, "Scott Rossi" wrote: >> >>> On 1/18/04 6:37 PM, "Doug Lerner" wrote: >>> >>>> In an openCard handler I have: >>>> >>>> on openCard >>>> global debugMode >>>> global inChatUsers, newChatSocket >>>> global chatRect, chatRectHalf, wbRect >>>> put "8,8,596,314" into chatRect > > As this are globals is there a specific reason to do this intializing > on opencard? > Why not use openstack or preopenstack? No. No particular reason. I have it working now. I was just trying, as this point, to figure out why the openCard message wasn't being sent. It appears that maybe the cause was because *at the moment of cloning* the stack was invisible. So even though I set the visible to true after opening, in the meantime the openCard handler was not automatically set. doug From thierry.arbellot at wanadoo.fr Mon Jan 19 06:58:02 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Mon, 19 Jan 2004 12:58:02 +0100 Subject: Detect default browser? In-Reply-To: <140D8589.05CE5B3F.0018446D@aol.com> Message-ID: the command replaceText(shell("defaults read com.apple.LaunchServices"),"(\(|\))","") lists all defaults app in OS X the block of lines starting with "U:http" gives the default browser. Hope it helps. Thierry. On Monday, Jan 19, 2004, at 05:38 Europe/Paris, rgould8 at aol.com wrote: > With Revolution on Mac OS X, is there a command that tells you what > the user's default browser is set to, (for instance, which browser > will be launched with the revGoURL command)? Perhaps the Rev engine > is unaware, since it's using Applescript to launch the browser? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From pixelbird at interisland.net Mon Jan 19 06:58:08 2004 From: pixelbird at interisland.net (Ken Norris) Date: Mon, 19 Jan 2004 03:58:08 -0800 Subject: use-revolution Digest, Vol 4, Issue 122 In-Reply-To: <20040119000115.813A2930105@mail.runrev.com> Message-ID: on 1/18/04 4:01 PM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > Why is that better than changing the rect? Is there a technical reason that > is better? ------------ I don't know enough about the engine to answer that. It just seems like a quirky workaround, whereas kicking stuff out of visible range as I suggested keeps things running, but kills screen access, and is a normal pracice in that case. It just seems that setting a 0,0,0,0 rect might make the engine wonder what the heck it's looking for. Also, as others have mentined, there's a difference between actually acccessing a real hidden object and just referencing its rect. The only valid test you need according to your RE is that you can't perform physical mouse actions on a hidden object, which is, of course, true. No amount of physical input from the mouse, by itself, can do anything to a hidden object. Ken N. From pixelbird at interisland.net Mon Jan 19 07:05:10 2004 From: pixelbird at interisland.net (Ken Norris) Date: Mon, 19 Jan 2004 04:05:10 -0800 Subject: rectangle of 0,0,0,0 ok? In-Reply-To: <20040119000115.813A2930105@mail.runrev.com> Message-ID: > Date: Mon, 19 Jan 2004 09:00:06 +0900 > From: Doug Lerner > Subject: Re: rectangle of 0,0,0,0 ok? > Well, I am doing a check to see if the cursor is in the range of that field > or not and when it is "hidden" I don't want the check to succeed. ----------- OOPs, I may have misunderstood. Before, it looked like you just didn't want actions to be performed on a hidden field. But here, you're looking to somehow kill script reference as well, although I can't imagine why. What you're talking abouit is the field's rect, though, not the field itself. For the life of me, I can't see much significance of preventing that. Is it some kind of technique to keep a hacker form discovering the field's whereabouts? Ken N. From thierry.arbellot at wanadoo.fr Mon Jan 19 07:11:26 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Mon, 19 Jan 2004 13:11:26 +0100 Subject: more on no openCard message issue In-Reply-To: Message-ID: <9B1D8574-4A78-11D8-842A-000A27E40768@wanadoo.fr> Hi Doug, I had the same problem sometimes: the preOpenStack handler is executed, but then no openStack message. (Rev 2.1, OSX 10.2.8) It happens only in the main stack, never in any substack. Also, only in the IDE, not in the standalone. I really have no idea what does this. As temporary solution, I open the script, add a blank line, remove it, apply and save, close et reopen. Then it works again ... until the next time. Thierry. On Monday, Jan 19, 2004, at 05:14 Europe/Paris, Doug Lerner wrote: > I did a line by line examination of the message watcher as the cloned > stack > opens and is shown. > > The preOpenStack message is the only message among > preOpenStack/openStack/preOpenCard/openCard to get sent. > > Any idea why that might happen? > > In my preOpenStack handler do I have to pass openStack to get the > messages > to continue or something like that? > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From doug at webcrossing.com Mon Jan 19 07:43:45 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 21:43:45 +0900 Subject: rectangle of 0,0,0,0 ok? In-Reply-To: Message-ID: On 1/19/04 9:05 PM, "Ken Norris" wrote: >> Date: Mon, 19 Jan 2004 09:00:06 +0900 >> From: Doug Lerner >> Subject: Re: rectangle of 0,0,0,0 ok? > >> Well, I am doing a check to see if the cursor is in the range of that field >> or not and when it is "hidden" I don't want the check to succeed. > ----------- > OOPs, I may have misunderstood. Before, it looked like you just didn't want > actions to be performed on a hidden field. But here, you're looking to > somehow kill script reference as well, although I can't imagine why. > > What you're talking abouit is the field's rect, though, not the field > itself. For the life of me, I can't see much significance of preventing > that. Is it some kind of technique to keep a hacker form discovering the > field's whereabouts? No. I just don't want a certain tool switch to take place unless I am in that field. But I don't want the field to be active all the time. doug From doug at webcrossing.com Mon Jan 19 07:47:44 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 21:47:44 +0900 Subject: templateGraphic questions Message-ID: I thought that the templateGraphic settings got reset after the new graphic was created, but it seems that it sometimes happens even before the new graphic gets created. The following doc section is probably relevant here: "The properties of the templateGraphic are reset to their defaults when all running handlers finish executing." This might also explain why I am seeing different effects when running from the IDE and from the standalone app. In this particular case, which handlers are "all the running handlers"? Is there any scope that is relevant? Is there some way of "keeping the templateGraphic" properties alive until the graphic object is finally created? Thanks, doug From JimCarwardine at OwnYourFuture-net.com Mon Jan 19 07:49:04 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Mon, 19 Jan 2004 08:49:04 -0400 Subject: Recurring Dates Script In-Reply-To: <00BC2786-4A21-11D8-B552-0003937A97B8@genesearch.com.au> Message-ID: Hey, that's wonderful Sarah. Thanks. I was just getting to that now that we've put a Band-Aid on the scrolling group problem... Jim on 1/18/04 9:44 PM, Sarah Reichelt wrote: > Hi Jim, > > Coincidentally, I needed exactly the same sort of thing myself last > week, so here is a script to get you started: > > Here are some usage examples: > > put relativeDate("Mon", 3, 1, 2004) > -- 3rd Monday in January 2004 > > put relativeDate("Fri", -1, 2, 2004) > -- last Friday in February 2004 > > put relativeDate("Tue", "First", 11, 2004) > -- 1st Tuesday in November - for the Aussies out there :-) > > > -- pDay is the abbreviated system day name (Mon, Tue, Wed) > -- pIndex is First, Second, Third, Fourth, Last > -- or 1, 2, 3, 4 for 1st, 2nd, 3rd & 4th and -1 for last > -- pMonth & pYear must be numeric > -- > function relativeDate pDay, pIndex, pMonth, pYear > -- convert the day name to a number > put the abbrev system weekDayNames into tDayList > get lineOffset(pDay, tDayList) > if it = 0 then return empty > put it into tDayNum > > -- find first whatever day in the month > put pMonth & "/1/" & pYear into firstDate > convert firstDate from short English date to dateItems > put last item of firstDate into firstDayNum > put tDayNum - firstDayNum into dayDiff > if dayDiff < 0 then add 7 to dayDiff > add dayDiff to item 3 of firstDate > convert firstDate to seconds > convert firstDate to dateItems > > -- add weeks as necessary > switch pIndex > case "First" > case "1" > break > case "Second" > case "2" > add 7 to item 3 of firstDate > break > case "Third" > case "3" > add 14 to item 3 of firstDate > break > case "Fourth" > case "4" > add 21 to item 3 of firstDate > break > case "Fifth" > case "5" > add 28 to item 3 of firstDate > break > case "Last" > case "-1" > -- try week 5 and if that doesn't work, use week 4 > put firstDate into testDate > add 28 to item 3 of testDate > convert testDate to seconds > convert testDate to dateItems > if item 2 of testDate = pMonth then > put testDate into firstDate > else > add 21 to item 3 of firstDate > end if > break > end switch > > -- firstDate is now in dateItems format > convert firstDate to short system date > return firstDate > end relativeDate > > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > > On 12 Jan 2004, at 1:04 pm, Jim Carwardine wrote: > >> Thanks, Sarah. I'm familiar with dateItems from HC. Even with >> dateItems, >> checking on things like the second Tuesday of every month is tricky. >> I was >> hoping that somebody might have done some of that... Jim >> >> on 1/11/04 6:21 PM, Sarah Reichelt wrote: >> >>> Hi Jim, >>> >>> I don't know exactly what sort of recurring dates you are planning, >>> but >>> you will find that using the dateItems format works really well for >>> date calculations: >>> >>> Try something like this: >>> put the seconds into theDate >>> convert theDate to dateItems >>> -- 2004,1,12,8,16,46,2 >>> -- see the docs for dateItems to check what each item is. >>> >>> Now you can edit any of these items WITHOUT having to worry about >>> whether it results in a correct date. When you convert it back, the >>> engine will make it into a real date. >>> >>> add 18 to item 2 of theDate -- item 2 = month, so move 18 months >>> forward >>> -- 2004,19,12,8,18,26,2 >>> convert theDate to long date >>> -- Tuesday, July 12, 2005 >>> >>> Hope this helps, >>> Sarah >>> >>> On 12 Jan 2004, at 1:59 am, Jim Carwardine wrote: >>> >>>> Has anyone written a script that handles recurring dates like Outlook >>>> or >>>> Entourage do? Jim >>>> -- >>>> >>>> OYF is... Highly resourceful people working together. >>>> >>>> >>>> Own Your Future Consulting Services Limited, >>>> 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 >>>> Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> -- >> >> OYF is... Highly resourceful people working together. >> >> >> Own Your Future Consulting Services Limited, >> 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 >> Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From yvescoppe at skynet.be Mon Jan 19 07:50:18 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 19 Jan 2004 13:50:18 +0100 Subject: Movies Message-ID: <093DC334-4A7E-11D8-9AF5-003065E14B04@skynet.be> Hi, I come back with my problem again ; on Mac OS X 10.3 and rev. 2.1.2 : If I import a quicktime file as control, I have no control on the sequence to start, pause or stop the movie. How can I proceed ?? thank you. Greetings. Yves COPPE yvescoppe at skynet.be From xbury.cs at clearstream.com Mon Jan 19 07:57:02 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 19 Jan 2004 13:57:02 +0100 Subject: Movies Message-ID: Try this: set the showcontroller of player x to true On 19/01/2004 13:50:18 use-revolution-bounces wrote: >Hi, > >I come back with my problem again ; > > >on Mac OS X 10.3 and rev. 2.1.2 : > > >If I import a quicktime file as control, I have no control on the >sequence to start, pause or stop the movie. > >How can I proceed ?? > > >thank you. > > >Greetings. > >Yves COPPE >yvescoppe at skynet.be > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution 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 doug at webcrossing.com Mon Jan 19 08:27:04 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 22:27:04 +0900 Subject: templateGraphic opaque property - value not the same in standalone and IDE Message-ID: I think I have narrowed the problems (or most of them) that I have been having to what appears to be a very basic inconsistency between what happens in the OS X IDE and standalone app. In the IDE, when I draw graphics, the created object's opaque property is true and the fill color is visible. But the exact same standalone app creates graphic objects with the opaque property false, so the fill color is not shown. If I specifically set the opaque of the templateGraphic to true before creating the graphic the behavior is *finally* the same in the IDE and the standalone app. Whew. I guess this should be reported as a bug. doug From doug at webcrossing.com Mon Jan 19 09:44:53 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 19 Jan 2004 23:44:53 +0900 Subject: What does the default newGraphic handler do? Message-ID: I know that whether you "pass newGraphic" at the end of your own newGraphic handler makes a difference sometimes, but does anybody know exactly what the default newGraphic handler actually does? Thanks, doug From frank at backtalk.com Mon Jan 19 09:46:40 2004 From: frank at backtalk.com (Frank Leahy) Date: Mon, 19 Jan 2004 14:46:40 +0000 Subject: RevNet update In-Reply-To: <20040119115942.8F9C493016A@mail.runrev.com> Message-ID: <4A83A94A-4A8E-11D8-B97F-000A9580FCCE@backtalk.com> On Monday, January 19, 2004, at 11:59 AM, use-revolution-request at lists.runrev.com wrote: > Message: 4 > Date: Sun, 18 Jan 2004 23:50:48 -0800 > From: Richard Gaskin > Subject: RevNet update > To: Rev Discussion List > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > RevNet has been updated with some info on Chipp Walters' new tool: > altPluginToolbar. > > Also: I'm surprised no one's asked for this, but I'll be changing the > download links in the Stacks section soon to include automatic saving > options. I'm considering including these: > > - Download and Run > - Download to Plugins Folder > - Download to... (lets you choose a location to save the stack) > > Is that too many options? Too few? Suggestions on making the wording > less > verbose? > Richard, I tried your GoRevNet plugin, and was surprised that when I selected a stack to download, it started using it rather than saving it to disk. This had two interesting side-affects: one, I couldn't figure out to save the stack to disk, and two, if someone had uploaded a stack that had malicious code in it (e.g. they called shell(rm *.* -r)) that code would run as soon as the stack was downloaded, and my disk would be wiped clean. So, in answer to your question, I would change the behavior to: A. Always ask the user where they want to save the stack with the options being "plugins folder" or "you choose", and B. after downloading, ask if they want to run the stack (with a note that there's guarantee the stack is "safe"). -- Frank From roger.kingston at ntlworld.com Mon Jan 19 09:44:19 2004 From: roger.kingston at ntlworld.com (Roger Kingston) Date: Mon, 19 Jan 2004 14:44:19 -0000 Subject: How to list tables in an SQL database Message-ID: <000001c3de9a$c32704f0$061cfea9@UltraSolve1> All, I've had a good deal of success using Rev 2's revdb functions, but would like to be able to get a list of tables belonging to a database that I have connected to. Looking in the code behind the Rev Database Query builder, there is a function: revTableNamesOfQuery() which looks promising, but it is not documented and I'm too dumb to figure out how to use it. Any suggestions? Roger Kingston 8 Parsons Walk Clifton Campville Tamworth B79 0DL email: roger.kingston at ntlworld.com From roger.kingston at ntlworld.com Mon Jan 19 09:49:48 2004 From: roger.kingston at ntlworld.com (Roger Kingston) Date: Mon, 19 Jan 2004 14:49:48 -0000 Subject: FW: How to list tables in an SQL database Message-ID: <000101c3de9b$81e19e50$061cfea9@UltraSolve1> All, I've had a good deal of success using Rev 2's revdb functions, but would like to be able to get a list of tables belonging to a database that I have connected to. Looking in the code behind the Rev Database Query builder, there is a function: revTableNamesOfQuery() which looks promising, but it is not documented and I'm too dumb to figure out how to use it. Any suggestions? Roger Kingston 8 Parsons Walk Clifton Campville Tamworth B79 0DL email: roger.kingston at ntlworld.com From livfoss at blueyonder.co.uk Mon Jan 19 10:13:20 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon, 19 Jan 2004 15:13:20 +0000 Subject: Flashing the tooltips? Message-ID: I note that when the toolTipDelay property is set to zero, then toolTips don't appear: I had hoped that this would have the opposite effect, of making all the tooltips on a card appear simultaneously. For an app I'm constructing, such an ability would be very neat - in effect one would get a labelled diagram of every object on the card that has a toolTip. Very good for reference, printing etc. Does anyone know of a trick to make this happen? I can see that there are other more mundane ways of doing it (copying all toolTips to some label fields and parking the labels next to the objects...) but just showing all the tips would be so much less hassle. TIA - without much hope :( Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From rjb at rz.uni-potsdam.de Mon Jan 19 10:02:53 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon, 19 Jan 2004 16:02:53 +0100 Subject: Scrolling Cards In-Reply-To: <63E9066B-49F3-11D8-B97F-000A9580FCCE@backtalk.com> References: <63E9066B-49F3-11D8-B97F-000A9580FCCE@backtalk.com> Message-ID: >I was having the same problem with groups -- if I made any of the >items in the group extend below the group, the group bottom would >shift a bit, and it would eventually disappear below the bottom of >the window. > >What I've done is create a preOpenStack handler and in it I size and >locate the group before the stack opens. Then I override the >resizeStack handler, and do all the group resizing manually. Do the >size calculations yourself, it takes no time at all, and I've had no >problems with the group being the wrong size since. Oh, and be sure >to turn off all geometry (check it twice that it's off), and turn on >"Lock Size and Position". > >By the way, is there an FAQ somewhere? I'd like to add a couple of >things I've found in the course of creating this photo album product >I'm doing. For example how drag and drop really works (i.e. you >don't always get a dragEnd message), as well as how cool groups are >once you decide to handle the resizing yourself, how to scroll a >group on the fly, etc.. > >Best, >-- Frank Leahy > Frank, why don't you just post these tidbits on your web site or revnet or another site with mc info. I for one would like to read your experiences. Robert From francois.cuneo at cuk.ch Mon Jan 19 11:06:13 2004 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Mon, 19 Jan 2004 17:06:13 +0100 Subject: The card is grey on printing!! In-Reply-To: Message-ID: Hello everybody! When I print a card with 2 fields (text black on background white), the printing zone is grey. And the printing zone is with a big margin on top and another big on left Why? Amicalement Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Graham Samuel > R?pondre ??: How to use Revolution > Date?: Mon, 19 Jan 2004 15:13:20 +0000 > ??: Revolution user discussion > Objet?: Flashing the tooltips? > > I note that when the toolTipDelay property is set to zero, then > toolTips don't appear: I had hoped that this would have the opposite > effect, of making all the tooltips on a card appear simultaneously. > For an app I'm constructing, such an ability would be very neat - in > effect one would get a labelled diagram of every object on the card > that has a toolTip. Very good for reference, printing etc. > > Does anyone know of a trick to make this happen? I can see that there > are other more mundane ways of doing it (copying all toolTips to some > label fields and parking the labels next to the objects...) but just > showing all the tips would be so much less hassle. > > TIA - without much hope :( > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From janschenkel at yahoo.com Mon Jan 19 11:40:22 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 19 Jan 2004 08:40:22 -0800 (PST) Subject: The card is grey on printing!! In-Reply-To: Message-ID: <20040119164022.36687.qmail@web60508.mail.yahoo.com> --- Fran?ois Cuneo wrote: > Hello everybody! > > When I print a card with 2 fields (text black on > background white), the > printing zone is grey. > > And the printing zone is with a big margin on top > and another big on left > > Why? > > Amicalement > Fran?ois > Bonjour Fran?ois, I guess you're printing from Windows or *nix ? The default bakcgroundcolor of the cards on those systems is gray instead of white, and Rev's printing is WYSIWYG for that color ;-) Put the following before your print command put the backgroundcolor of this stack into tBC set the backgroundcolor of this stack to white and the following after your print command set the backgroundcolor of this stack to tBC Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From janschenkel at yahoo.com Mon Jan 19 11:44:40 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 19 Jan 2004 08:44:40 -0800 (PST) Subject: What does the default newGraphic handler do? In-Reply-To: Message-ID: <20040119164440.32382.qmail@web60509.mail.yahoo.com> --- Doug Lerner wrote: > I know that whether you "pass newGraphic" at the end > of your own newGraphic > handler makes a difference sometimes, but does > anybody know exactly what the > default newGraphic handler actually does? > > Thanks, > > doug > Hi Doug, Type the following in the message box edit the script of btn "revBackscript" of card id 1002 of stack "revLibrary" and hit the return key. Then use the 'Handler' menu to scroll to the IDE handler for 'newGraphic' Make sure not to save changes to this script ! Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From francois.cuneo at cuk.ch Mon Jan 19 11:52:38 2004 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Mon, 19 Jan 2004 17:52:38 +0100 Subject: The card is grey on printing!! In-Reply-To: <20040119164022.36687.qmail@web60508.mail.yahoo.com> Message-ID: Hello Jan, Thank you for your answer. But I'm working on OSX. I'll try your solution. Thank you more! Amicalement Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Jan Schenkel > R?pondre ??: How to use Revolution > Date?: Mon, 19 Jan 2004 08:40:22 -0800 (PST) > ??: How to use Revolution > Objet?: Re: The card is grey on printing!! > > --- Fran?ois Cuneo wrote: >> Hello everybody! >> >> When I print a card with 2 fields (text black on >> background white), the >> printing zone is grey. >> >> And the printing zone is with a big margin on top >> and another big on left >> >> Why? >> >> Amicalement >> Fran?ois >> > > Bonjour Fran?ois, > > I guess you're printing from Windows or *nix ? > The default bakcgroundcolor of the cards on those > systems is gray instead of white, and Rev's printing > is WYSIWYG for that color ;-) > > Put the following before your print command > put the backgroundcolor of this stack into tBC > set the backgroundcolor of this stack to white > and the following after your print command > set the backgroundcolor of this stack to tBC > > Hope this helped, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La > Rochefoucauld) > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From janschenkel at yahoo.com Mon Jan 19 11:52:17 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 19 Jan 2004 08:52:17 -0800 (PST) Subject: How to list tables in an SQL database In-Reply-To: <000001c3de9a$c32704f0$061cfea9@UltraSolve1> Message-ID: <20040119165217.34847.qmail@web60507.mail.yahoo.com> --- Roger Kingston wrote: > All, > > I've had a good deal of success using Rev 2's revdb > functions, but would > like to be able to get a list of tables belonging to > a database that I > have connected to. > > Looking in the code behind the Rev Database Query > builder, there is a > function: > revTableNamesOfQuery() which looks promising, but it > is not documented > and I'm too dumb to figure out how to use it. > > Any suggestions? > > Roger Kingston > Hi Roger, The trick is to use the name of an existing query that connects to the database whose table names you want ; so suppose you have a query "Foobar" : put revTableNamesOfQuery("Foobar") into tNames answer tNames Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From roger.kingston at ntlworld.com Mon Jan 19 11:52:30 2004 From: roger.kingston at ntlworld.com (Roger Kingston) Date: Mon, 19 Jan 2004 16:52:30 -0000 Subject: FW: How to list tables in an SQL database Message-ID: <000001c3deac$a657d0e0$061cfea9@UltraSolve1> All, I've had a good deal of success using Rev 2's revdb functions, but would like to be able to get a list of tables belonging to a database that I have connected to. Looking in the code behind the Rev Database Query builder, there is a function: revTableNamesOfQuery() which looks promising, but it is not documented and I'm too dumb to figure out how to use it. Any suggestions? Roger Kingston 8 Parsons Walk Clifton Campville Tamworth B79 0DL email: roger.kingston at ntlworld.com From janschenkel at yahoo.com Mon Jan 19 11:55:52 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 19 Jan 2004 08:55:52 -0800 (PST) Subject: The card is grey on printing!! In-Reply-To: Message-ID: <20040119165552.36012.qmail@web60507.mail.yahoo.com> --- Fran?ois Cuneo wrote: > Hello everybody! > > When I print a card with 2 fields (text black on > background white), the > printing zone is grey. > > And the printing zone is with a big margin on top > and another big on left > > Why? > > Amicalement > Fran?ois > And I forgot to answer your second question : check out the 'printMargins' property in the Transcript Dictionary. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From dsc at swcp.com Mon Jan 19 12:01:43 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 19 Jan 2004 10:01:43 -0700 Subject: Weirdness with global variable declaration In-Reply-To: Message-ID: <28AB9008-4AA1-11D8-995A-000A9567A3E6@swcp.com> On Monday, January 19, 2004, at 12:54 AM, Doug Lerner wrote: >>> If those commands are *outside* of a handler, exactly when do they >>> actually >>> get executed? >> >> Those are called commands, but I think of them as declarations, that >> is, information to the compiler. >> > > When do they get executed though? > > What if there are two different value assignments in two different > scripts? They don't get executed as I view them. They just tell the compiler how to handle them when they come up. They apply from that point onward. global a -- all mention of "a" after here means global on yyy put 42 into a -- put 42 into global a end yyy Dar Scott From 3mcgrath at adelphia.net Mon Jan 19 12:04:46 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 19 Jan 2004 12:04:46 -0500 Subject: Weirdness with global variable declaration In-Reply-To: References: Message-ID: <9532D3C0-4AA1-11D8-8D66-000A95DA60FA@adelphia.net> In the script: -- global gmyone, gmytwo, gmythree on openCard do something end openCard on preOpencard do something else end preOpencard -- tom On Jan 19, 2004, at 1:37 AM, Doug Lerner wrote: > What do you mean by "off by themselves"? > > doug > > On 1/19/04 2:47 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> > wrote: > >> just declare the globals off by themselves... >> >> then do your on opencard. >> >> >> On Jan 18, 2004, at 11:40 PM, Doug Lerner wrote: >> >>> I read about doing that - in a so-called "script" rather than in a >>> "handler". But I wasn't clear about how that works. >>> >>> How do script commands get executed if they are not part of a >>> handler? >>> >>> doug >>> >>> On 1/19/04 1:32 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> >>> wrote: >>> >>>> Have you tried creating the global outside of this handler? >>>> put it by itself before the openCard . >>>> >>>> On Jan 18, 2004, at 9:37 PM, Doug Lerner wrote: >>>> >>>>> In an openCard handler I have: >>>>> >>>>> on openCard >>>>> global debugMode >>>>> global inChatUsers, newChatSocket >>>>> global chatRect, chatRectHalf, wbRect >>>>> put "8,8,596,314" into chatRect >>>>> . >>>>> . >>>>> . >>>>> >>>>> But a button in that card doesn't seem to know the value of >>>>> chatRect. >>>>> And >>>>> while globalNames lists inChatUsers, newChatSocket and debugMode it >>>>> doesn't >>>>> list any of the three globals on the third line of the handler >>>>> above. >>>>> >>>>> Any reasons why a global should no longer be among the globalNames? >>>>> >>>>> Thanks, >>>>> >>>>> doug >>>>> >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>>> >>>> >>>> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, >>>> Rev >>>> 2.1.2 >>>> >>>> >>>> Advanced Media Group >>>> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >>>> 220 Drake Road, Bethel Park, PA 15102 >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev >> 2.1.2 >> >> >> Advanced Media Group >> Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >> 220 Drake Road, Bethel Park, PA 15102 >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From mwieder at ahsoftware.net Mon Jan 19 12:05:28 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 19 Jan 2004 09:05:28 -0800 Subject: Weirdness with global variable declaration In-Reply-To: References: Message-ID: <149832977.20040119090528@ahsoftware.net> Doug- >>> global debugMode >>> global inChatUsers, newChatSocket >>> global chatRect, chatRectHalf, wbRect >>> on openCard >>> put "8,8,596,314" into chatRect You're missing the point here. The global declarations are the only thing outside the handler. the "put" statement is still *inside* the openCard handler. Global declarations don't actually get executed, so there's no question of when. The difference is that in declaring the global variables outside of the handler you're widening their scope, making them available to everything in the current object, and removing the need to redeclare them in each handler that might need them. -- -Mark Wieder mwieder at ahsoftware.net From soapdog at mac.com Mon Jan 19 12:19:42 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 19 Jan 2004 15:19:42 -0200 Subject: ANN: revHTTPd next generation (please read, many many goodies inside) Message-ID: Hi Folks, Some might know my old project revHTTPd which is a web server made in revolution. Some might even notice a project called btnHTTPd which is a self contained web server in a button. Well, I just made a huge effort this month to deliver you all the next generation of HTTPd interfaces. My english is a little bad and there are no many news that I am afraid I deliver them in a fuzzy way. Let's go slowly now. First the server is now a self contained button, you might add it to any project of yours by placing it on your stack. You configure it by it's custom properties and command it by sending messages to it. The focus on this project is not to serve web pages but to connect Revolution to a Browser interface. Althought the server can serve local files, It's true marvels are what it can do to serve stacks as pages. First we've got a cool URL mapping scheme that is like this: /Stack ---> Send default_html to the stack. /Stack/Message ---> Send message to the Stack /Stack/Card/Message ---> Send message to card of stack. /Stack/Card/Button/Message ---> Send message to button of card of stack (this is like a design decision, messages default to button if no object type is present) /Stack/Card/ObjectType/ObjectName/Msg ---> Send msg to obj of card of stack like: /MainStack/1/field/email/clearText (would send "clearText" to field email) This way I can for example access a URL a button like this http://home.soapdog.org:8081/quotes/2/button/refreshquotes/mouseUp, this would trigger the mouseUp of button adduote on card 2 of stack quotes. Pretty easy! Enought for URLs. The server is now supporting the POST method and GET method, it will look for POST Data and look inside document request URL for GET data... it will map HTML/URL Field names to Revolution Field names, so if I access http://home.soapdog.org:8081/about?card=1 it will look for stack "about" and for a text field named card in it, if it find one it will fill it with "1", Thats automatic. It fills the fields before sending the message (so that you can proccess them). This way you can write whole web apps just by using our familiar ways of stacks, cards, fields and messages. We created a Revolution Field to Web Engine called Inform. Inform can take any card of any stack and will parse it taking all fields and making a nice HTML form of it. It will fill the form with the currrent fields values, and since the server do the map back automatically, you can focus on the "processPost" message that is sent to your stack for the rest is taken care. For you all to wonder, with this framework I was able to create a Blog engine in 10 lines, was able to create a Fotolog engine in also 10 lines. I created a Instant Message in some 30 lines. I want to stress test and demo this new server before releasing it this week, so if you're interested in it or plain curious, point you browser to http://home.soapdog.org:8081 I am leaving this server running here, fiddle with it leave feedback, see the runtime screenshots... inspect it the way you can, it's a nice job. Mind that my home connection is not the best one and the server is not failsafe yet... but you might like it... Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From frank at backtalk.com Mon Jan 19 12:44:55 2004 From: frank at backtalk.com (Frank Leahy) Date: Mon, 19 Jan 2004 17:44:55 +0000 Subject: Reveal file or folder in Finder? Message-ID: <311FF906-4AA7-11D8-B97F-000A9580FCCE@backtalk.com> Hi, Does anyone have a script that will reveal a file or folder in the Finder? Same goes for Windows. Thanks in advance, -- Frank Leahy From ambassador at fourthworld.com Mon Jan 19 13:14:18 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 19 Jan 2004 10:14:18 -0800 Subject: Weirdness with global variable declaration In-Reply-To: <28AB9008-4AA1-11D8-995A-000A9567A3E6@swcp.com> Message-ID: Dar Scott wrote: > > On Monday, January 19, 2004, at 12:54 AM, Doug Lerner wrote: > >>>> If those commands are *outside* of a handler, exactly when do they >>>> actually >>>> get executed? >>> >>> Those are called commands, but I think of them as declarations, that >>> is, information to the compiler. >>> >> >> When do they get executed though? >> >> What if there are two different value assignments in two different >> scripts? > > They don't get executed as I view them. They just tell the compiler > how to handle them when they come up. They apply from that point > onward. > > global a -- all mention of "a" after here means global > > on yyy > put 42 into a -- put 42 into global a > end yyy Does that work for globals? I'd thought only locals were documented as having this option. -- 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 dsc at swcp.com Mon Jan 19 13:36:16 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 19 Jan 2004 11:36:16 -0700 Subject: Weirdness with global variable declaration In-Reply-To: Message-ID: <5DA65950-4AAE-11D8-995A-000A9567A3E6@swcp.com> On Monday, January 19, 2004, at 11:14 AM, Richard Gaskin wrote: > Does that work for globals? I'd thought only locals were documented as > having this option. From the TD: You can place the global command either in a handler, or in a script but outside any handler in the script: I also ran a test. (You had me worried for a bit.) Dar Scott From klaus at major-k.de Mon Jan 19 13:48:23 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 19 Jan 2004 19:48:23 +0100 Subject: Reveal file or folder in Finder? In-Reply-To: <311FF906-4AA7-11D8-B97F-000A9580FCCE@backtalk.com> References: <311FF906-4AA7-11D8-B97F-000A9580FCCE@backtalk.com> Message-ID: <0ED574FC-4AB0-11D8-9EA5-000A27B49A96@major-k.de> Hi Frank, > Hi, > > Does anyone have a script that will reveal a file or folder in the > Finder? Use this mix of Transcript and Applescript ;-) on el_revealo pfad # path replace "/" with ":" in pfad put "tell application " & quote & "Finder" & quote & cr & "activate" \ & cr & "reveal " & quote & pfad & quote & cr & "end tell" into tScript do tScript as AppleScript end el_revealo replace "reveal" with "open" in the script and the file will open like on a doubleclick in the finder... > Same goes for Windows. Yeah, i also would like to know this :-) > Thanks in advance, > -- Frank Leahy Regards Klaus Major klaus at major-k.de www.major-k.de From rgmiller at pacbell.net Mon Jan 19 14:37:55 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Mon, 19 Jan 2004 11:37:55 -0800 Subject: function for listing all objects in a stack. References: <20040117050600.9C339930092@mail.runrev.com> Message-ID: <400C3213.10001@pacbell.net> > > >From: "J. Landman Gay" > put the number of parts in this stack into bNum > >This interested me because I didn't know you could do that. But when I >tried, I only got the number of parts on the card. Are you able to get >an accurate count of all stack controls? > > > Since I usually script one-card stacks, I've never had a problem. It might be necessary to cycle thru the cards of a stack and check the part ID against the stuff gathered so far, and add the part if its ID is unique... Ray -- Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From James.Cass at sealedair.com Mon Jan 19 14:46:26 2004 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Mon, 19 Jan 2004 14:46:26 -0500 Subject: Reveal file or folder in Finder? In-Reply-To: <0ED574FC-4AB0-11D8-9EA5-000A27B49A96@major-k.de> Message-ID: Here's another version of the Reveal. I cobbled this together with help from a Google search from a previous post by Ken Ray. ( http://lists.runrev.com/pipermail/use-revolution/2003-September/022982.html ) I'm not sure how to handle this on the Windows side, but the Mac code below should do what you want. -- begin -- on mouseUp answer file "Select a file" put it into f -- this gives the full path to the file set the itemDel to "/" put item 1 to -2 of f into folderPath switch (the platform) case "MacOS" put revMacFromUnixPath(f) into macFilePath put "tell application" && quote & "Finder" & quote & cr & \ "reveal" && quote & macFilePath & quote & cr & \ "end tell" into applescripttext do applescripttext as applescript break case "Win32" -- For Windows -- ?? break end switch end mouseUp -- end -- Hope this helps, James Klaus Major Sent by: use-revolution-bounces at lists.runrev.com 01/19/04 01:48 PM Please respond to How to use Revolution To: How to use Revolution cc: Subject: Re: Reveal file or folder in Finder? Hi Frank, > Hi, > > Does anyone have a script that will reveal a file or folder in the > Finder? Use this mix of Transcript and Applescript ;-) on el_revealo pfad # path replace "/" with ":" in pfad put "tell application " & quote & "Finder" & quote & cr & "activate" \ & cr & "reveal " & quote & pfad & quote & cr & "end tell" into tScript do tScript as AppleScript end el_revealo replace "reveal" with "open" in the script and the file will open like on a doubleclick in the finder... > Same goes for Windows. Yeah, i also would like to know this :-) > Thanks in advance, > -- Frank Leahy Regards Klaus Major klaus at major-k.de www.major-k.de _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Mon Jan 19 15:02:04 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 19 Jan 2004 12:02:04 -0800 Subject: Reveal file or folder in Finder? In-Reply-To: <311FF906-4AA7-11D8-B97F-000A9580FCCE@backtalk.com> Message-ID: Recently, "Frank Leahy" wrote: > Does anyone have a script that will reveal a file or folder in the > Finder? Same goes for Windows. >From Ken Ray in the list archives: http://lists.runrev.com/pipermail/use-revolution/2002-October/009008.html (You may need to fiddle with the code a bit.) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From frank at backtalk.com Mon Jan 19 16:21:55 2004 From: frank at backtalk.com (Frank Leahy) Date: Mon, 19 Jan 2004 21:21:55 +0000 Subject: Reveal file or folder in Finder? In-Reply-To: <20040119195415.18D449301DF@mail.runrev.com> Message-ID: <81EA3AFE-4AC5-11D8-8F9A-000A9580FCCE@backtalk.com> Thanks Klaus and James. Here is what I wound up using for the Mac version: function revealInFinder fullPath put revMacFromUnixPath(fullPath) into macPath put "tell application " & quote & "Finder" & quote & return & "activate" \ & return & "reveal " & quote & macPath & quote & return & "end tell" into tScript do tScript as AppleScript return the result end revealInFinder FYI, the docs are quite fuzzy on the optional "convertOSX" parameter for revMacFromUnixPath(). It says and I quote: "The convertOSX is true or false. If you don?t specify the convertOSX, if OS X is running, Revolution assumes you want to convert an OS X-style path to a Mac OS-style path; otherwise, it assumes you don?t want to convert between the OS X style and Mac OS style." Which doesn't explain whether true or false is the default, or what true and false actually do. Anyone know? Also, I'm still looking for a Windows version. There must be someone out there doing Windows work... Thanks, -- Frank From rgmiller at pacbell.net Mon Jan 19 16:22:22 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Mon, 19 Jan 2004 13:22:22 -0800 Subject: Another newbie Mac Question... References: <20040106001417.2D58A9300B1@mail.runrev.com> Message-ID: <400C4A8E.3010208@pacbell.net> > > >From: Richard Gaskin > > > >>>Where? The entry for "answer file" discusses using the 'type" >>>form for Mac OS. >>> >>> >>>From the docs: >>> >>> >>Filtering for Mac OS: You can use either with filter or of type. With >>either form, the types parameter consists of one or more 4-character file >>types, concatenated. For example, to display text and PICT-format files but >>no others, use a types parameter of ?TEXTPICT?. To display applications >>only, use a types parameter of ?APPL?. >> >> > >Where is that passage located? I may be tired, but I'm not seing it in the >Transcript Dictionary entry for "answer file". > >Trying this on OS X 10.2.8: > > answer file "Seleect a PNG file:" with filter "*.png" > >...does not let me select a file whose name ends in ".png". > >... > > >>>With OS X Apple no longer requires file type assignments, posing a problem >>>for us. I'm not sure Apple has yet decided what to do about either file >>>types or creator codes for the long term, so I'm not familiar with a >>>workaround for selecting files that rely only on file name extension on OS >>>X. >>> >>>Anyone come across a current Apple tech note on this? Last I heard Apple >>>required developers to write a custom filterProc for Nav Services (ugh!). >>> >>> >>It does appear that using the answer file with type "PNGf" works for .PNG >>files >> >> > >Here (OS X 10.2.8) it only works for files which have the appropriate type >assigned as Finder metadata. If I get one from the Internet so no Finder >data is attached it is not selectable with either syntax, filter or type. > >So the conundrum remains: How do we expect Rev the write a custom >filterProc which will handle all possible Finder type code/file name >extension combinations? > > > Yep, and it's the same when Macaroons try to open a MC/Rev stack with the creatorType stripped... I have a "Converter" stack which allows the scripter to quickly convert a "text" file to the MC/Rev stack or whatever... without having to remember which button key and keyboard keys to hold down... ;-) It's called "Convert Text File To MC/Rev stack or Whatever Else File". or CTFTMVREVSOWEF for short. I can send it to you for distribution... Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From rjb at rz.uni-potsdam.de Mon Jan 19 16:38:43 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon, 19 Jan 2004 22:38:43 +0100 Subject: Weirdness with global variable declaration In-Reply-To: <5DA65950-4AAE-11D8-995A-000A9567A3E6@swcp.com> References: <5DA65950-4AAE-11D8-995A-000A9567A3E6@swcp.com> Message-ID: >On Monday, January 19, 2004, at 11:14 AM, Richard Gaskin wrote: > >>Does that work for globals? I'd thought only locals were documented as >>having this option. > >From the TD: >You can place the global command either in a handler, or in a script >but outside any handler in the script: > >I also ran a test. (You had me worried for a bit.) > >Dar Scott > I haven't tested this with the newest engine but earlier it was like Richard mentioned: globals had to be declared within a handler. There was some technical reason for that if I recall. Robert Brenstein From themacguy at macosx.com Mon Jan 19 17:41:34 2004 From: themacguy at macosx.com (Barry Levine) Date: Mon, 19 Jan 2004 15:41:34 -0700 Subject: Burning a disc of files from within Rev Message-ID: I've searched through my archive of messages but didn't find anything specific about the following: Given a list of files that a user specifies in my Rev app, how can I burn them to a CD? The answers "use applescript" or "call Terminal code" are not adequate. If someone can point me to the specific script (a URL, perhaps?) and the Transcript syntax, -that- would be an answer. This is an old topic that really has never been properly addressed. I spoke with Tuviah and Frederic at MacExpo about this. If we expect folks to "sign on" with Revolution, there needs to be an easily utilized plugin or, perhaps, a sample stack that does it -and- shows the specifics in the Transcript code. Furthermore, the entire process (from the developer's standpoint) needs to be done in Transcript. Something like this: on mouseUp -- do whatever Transcript is necessary to gather the list of files -- into myFileListVar. -- do whatever Transcript error-checking is necessary to verify -- the size is under 690MB. burn myFileListVar -- the above line of code does whatever is necessary to call the -- AppleScript or Terminal code that is in the plugin or stack. end mouseUp Obviously, the "gather the list" and "error-check the total size" is easily accomplished directly in Transcript. It's the "burn myFileListVar" line that Transcript needs. If you want to get fancy, you could add "as HFS+" or "as ISO", etc. Personally, I'd love to see an example stack with radio buttons for CD format, a button with Transcript code to fill a field with filepaths and sizes and, in the stack script, the syntax for taking this info and accomplishing the burn. If Applescript is the best external method, then so be it. Provide the Applescript along with the example stack. Once this is done, ANY Rev developer may include disc burning in his/her app and there's one less thing that Rev CAN'T do. TIA, Barry From dcragg at lacscentre.co.uk Mon Jan 19 18:40:53 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 19 Jan 2004 23:40:53 +0000 Subject: Weirdness with global variable declaration In-Reply-To: References: <5DA65950-4AAE-11D8-995A-000A9567A3E6@swcp.com> Message-ID: At 10:38 pm +0100 19/1/04, Robert Brenstein wrote: >>On Monday, January 19, 2004, at 11:14 AM, Richard Gaskin wrote: >> >>>Does that work for globals? I'd thought only locals were documented as >>>having this option. >> >>From the TD: >>You can place the global command either in a handler, or in a >>script but outside any handler in the script: >> >>I also ran a test. (You had me worried for a bit.) >> >>Dar Scott >> > >I haven't tested this with the newest engine but earlier it was like >Richard mentioned: globals had to be declared within a handler. >There was some technical reason for that if I recall. How far back are you going? Since engine version 2.2 at least (and I'm pretty sure since pre 2.0), it has been possible to declare globals outside of handlers. Either that, or my stacks are working by magic. Cheers Dave From 3mcgrath at adelphia.net Mon Jan 19 19:28:53 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 19 Jan 2004 19:28:53 -0500 Subject: Burning a disc of files from within Rev In-Reply-To: References: Message-ID: But Rev can do this!!! It is just you that can't do it! And it seems, with a bit of attitude, that you expect someone else to do it for you when you say "Provide the applescript along with the example stack." - with not even a please or thanks or anything. Name any other programming application that provides what you are asking for? Maybe I missed something here BUT I am a bit thrown off by the tone of your email and the attitude you express. That is my 2cents...... On Jan 19, 2004, at 5:41 PM, Barry Levine wrote: > I've searched through my archive of messages but didn't find anything > specific about the following: > > Given a list of files that a user specifies in my Rev app, how can I > burn them to a CD? > > The answers "use applescript" or "call Terminal code" are not > adequate. If someone can point me to the specific script (a URL, > perhaps?) and the Transcript syntax, -that- would be an answer. > > This is an old topic that really has never been properly addressed. I > spoke with Tuviah and Frederic at MacExpo about this. If we expect > folks to "sign on" with Revolution, there needs to be an easily > utilized plugin or, perhaps, a sample stack that does it -and- shows > the specifics in the Transcript code. Furthermore, the entire process > (from the developer's standpoint) needs to be done in Transcript. > Something like this: > > on mouseUp > -- do whatever Transcript is necessary to gather the list of files > -- into myFileListVar. > -- do whatever Transcript error-checking is necessary to verify > -- the size is under 690MB. > burn myFileListVar > -- the above line of code does whatever is necessary to call the > -- AppleScript or Terminal code that is in the plugin or stack. > end mouseUp > > Obviously, the "gather the list" and "error-check the total size" is > easily accomplished directly in Transcript. It's the "burn > myFileListVar" line that Transcript needs. If you want to get fancy, > you could add "as HFS+" or "as ISO", etc. > > Personally, I'd love to see an example stack with radio buttons for CD > format, a button with Transcript code to fill a field with filepaths > and sizes and, in the stack script, the syntax for taking this info > and accomplishing the burn. If Applescript is the best external > method, then so be it. Provide the Applescript along with the example > stack. > > Once this is done, ANY Rev developer may include disc burning in > his/her app and there's one less thing that Rev CAN'T do. > > TIA, > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From frank at backtalk.com Mon Jan 19 19:42:20 2004 From: frank at backtalk.com (Frank Leahy) Date: Tue, 20 Jan 2004 00:42:20 +0000 Subject: Rotate image question In-Reply-To: <20040119195415.18D449301DF@mail.runrev.com> Message-ID: <817E44A4-4AE1-11D8-8F9A-000A9580FCCE@backtalk.com> I've successfully rotated an image. But, my newly rotated image -- that was 650wide x 433high -- is now 650wide x 650high, with newly added white space on the left and right edges of the (now vertical) image. The docs say this is going to happen, so I have no problem there. What I want to know is: is it possible to select just the 650high x 433wide portion of the image, without using the paint tools? I can't seem to find a command that will let me select a portion of an image. Am I missing something? Thanks in advance, -- Frank p.s. There's more FAQ fodder here, as rotate doesn't work unless the image is visible. Is anybody keeping an FAQ? p.p.s. Don't you wish the docs were online and allowed user comments like both MySQL and PHP do? From 3mcgrath at adelphia.net Mon Jan 19 19:47:09 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 19 Jan 2004 19:47:09 -0500 Subject: Rotate image question In-Reply-To: <817E44A4-4AE1-11D8-8F9A-000A9580FCCE@backtalk.com> References: <817E44A4-4AE1-11D8-8F9A-000A9580FCCE@backtalk.com> Message-ID: <2D70B349-4AE2-11D8-8D66-000A95DA60FA@adelphia.net> crop image "photo" to 100,100,200,200 crop image myImage to the rect of graphic "Overlay" On Jan 19, 2004, at 7:42 PM, Frank Leahy wrote: > I've successfully rotated an image. But, my newly rotated image -- > that was 650wide x 433high -- is now 650wide x 650high, with newly > added white space on the left and right edges of the (now vertical) > image. The docs say this is going to happen, so I have no problem > there. > > What I want to know is: is it possible to select just the 650high x > 433wide portion of the image, without using the paint tools? I can't > seem to find a command that will let me select a portion of an image. > Am I missing something? > > Thanks in advance, > -- Frank > > p.s. There's more FAQ fodder here, as rotate doesn't work unless the > image is visible. Is anybody keeping an FAQ? > > p.p.s. Don't you wish the docs were online and allowed user comments > like both MySQL and PHP do? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From frank at backtalk.com Mon Jan 19 19:48:28 2004 From: frank at backtalk.com (Frank Leahy) Date: Tue, 20 Jan 2004 00:48:28 +0000 Subject: Rotate image question Message-ID: <5CD69FFC-4AE2-11D8-8F9A-000A9580FCCE@backtalk.com> >What I want to know is: is it possible to select just the 650high x 433wide >portion of the image, without using the paint tools? I can't seem to find a >command that will let me select a portion of an image. Am I missing something? Never mind, I found it -- crop. Thanks, -- Frank From 3mcgrath at adelphia.net Mon Jan 19 19:50:08 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 19 Jan 2004 19:50:08 -0500 Subject: Rotate image question In-Reply-To: <5CD69FFC-4AE2-11D8-8F9A-000A9580FCCE@backtalk.com> References: <5CD69FFC-4AE2-11D8-8F9A-000A9580FCCE@backtalk.com> Message-ID: <9888F372-4AE2-11D8-8D66-000A95DA60FA@adelphia.net> Yeah that's it. You can crop to a template graphic or you can write a script to 'reverse' the 650 wide to 650 high and 433 high to 433 wide and automate the whole process. Tom On Jan 19, 2004, at 7:48 PM, Frank Leahy wrote: > >What I want to know is: is it possible to select just the 650high x > 433wide > >portion of the image, without using the paint tools? I can't seem to > find a > >command that will let me select a portion of an image. Am I missing > something? > > Never mind, I found it -- crop. > > Thanks, > -- Frank > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From gizmotron at earthlink.net Mon Jan 19 19:56:13 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon, 19 Jan 2004 16:56:13 -0800 Subject: Burning a disc of files from within Rev In-Reply-To: Message-ID: <7190E439-4AE3-11D8-A7FC-000A95859272@earthlink.net> On Monday, January 19, 2004, at 04:28 PM, Thomas J McGrath III wrote: > Maybe I missed something here BUT I am a bit thrown off by the tone of > your email and the attitude you express. > > > That is my 2cents...... Hah! LOL... burn a CD, burn a propeller-topped beanie hat... :-) From alex at mindlube.com Mon Jan 19 20:03:37 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 19 Jan 2004 18:03:37 -0700 Subject: Burning a disc of files from within Rev In-Reply-To: References: Message-ID: <7A99480E-4AE4-11D8-9B08-000393C4760A@mindlube.com> On Jan 19, 2004, at 3:41 PM, Barry Levine wrote: > Once this is done, ANY Rev developer may include disc burning in > his/her app and there's one less thing that Rev CAN'T do. Bugzilla feature request? How about this: post again with the bugzilla #, then let us know so those interested can vote on it. You see there are scores other feature requests that are of equal or greater importance than your Disk Burning framework idea. Depending who you ask, of course. I think I've said it before, but if I were going for this feature, I would try to use shell() and the diskutil command line utility. I don't see anything inadequate about that solution. On the contrary. That's what the shell is there for. That's what the diskutil command is there for. Something that sets Rev developers apart is that they are opportunistic. They will eagerly use Applescript, shell() commands, HTTP, any number of things to communicate with the world outside of Rev. And right now the Disk burning framework of OS X is in the world outside of Rev. -- Alex Rice | Mindlube Software | http://mindlube.com From plsntbreez at mac.com Mon Jan 19 20:08:15 2004 From: plsntbreez at mac.com (Brian Maher) Date: Mon, 19 Jan 2004 20:08:15 -0500 Subject: Password Field Message-ID: <202575BC-4AE5-11D8-9304-000A95B02D84@mac.com> Hi Folks, Does anyone have code that they would be willing to share that allows a user to enter a password into a text field and visually what they enter appears as some other character (blanks, dots, ...)? Thanks, Brian From 3mcgrath at adelphia.net Mon Jan 19 20:31:06 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 19 Jan 2004 20:31:06 -0500 Subject: Burning a disc of files from within Rev In-Reply-To: <7A99480E-4AE4-11D8-9B08-000393C4760A@mindlube.com> References: <7A99480E-4AE4-11D8-9B08-000393C4760A@mindlube.com> Message-ID: <51280A6A-4AE8-11D8-8D66-000A95DA60FA@adelphia.net> Alex, Is that what this was? A feature request? I thought it sounded like a demand that someone on the list show how it can be done complete with stack samples and exact coding. Well, as a feature request I would agree with you and I think accessing system wide commands is a good thing and I would vote yes to it. I mean the finder window can burn a disc and the desktop can too etc. so sure I would love to see REV do it to. But what about windows then? Should we not also be able to access system wide commands available in windows too? I can see this being a very large feature request then. my 4 cents worth. Tom On Jan 19, 2004, at 8:03 PM, Alex Rice wrote: > > On Jan 19, 2004, at 3:41 PM, Barry Levine wrote: >> Once this is done, ANY Rev developer may include disc burning in >> his/her app and there's one less thing that Rev CAN'T do. > > Bugzilla feature request? How about this: post again with the bugzilla > #, then let us know so those interested can vote on it. > > You see there are scores other feature requests that are of equal or > greater importance than your Disk Burning framework idea. Depending > who you ask, of course. > > I think I've said it before, but if I were going for this feature, I > would try to use shell() and the diskutil command line utility. I > don't see anything inadequate about that solution. On the contrary. > That's what the shell is there for. That's what the diskutil command > is there for. > > Something that sets Rev developers apart is that they are > opportunistic. They will eagerly use Applescript, shell() commands, > HTTP, any number of things to communicate with the world outside of > Rev. And right now the Disk burning framework of OS X is in the world > outside of Rev. > > -- > Alex Rice | Mindlube Software | http://mindlube.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Mon Jan 19 20:32:57 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 19 Jan 2004 20:32:57 -0500 Subject: Burning a disc of files from within Rev In-Reply-To: <7190E439-4AE3-11D8-A7FC-000A95859272@earthlink.net> References: <7190E439-4AE3-11D8-A7FC-000A95859272@earthlink.net> Message-ID: <93B0A88A-4AE8-11D8-8D66-000A95DA60FA@adelphia.net> Sorry, ;-) I expressed my own attitude in response to an attitude about an attitude being expressed. :-) tom On Jan 19, 2004, at 7:56 PM, Mark Brownell wrote: > > On Monday, January 19, 2004, at 04:28 PM, Thomas J McGrath III wrote: > >> Maybe I missed something here BUT I am a bit thrown off by the tone >> of your email and the attitude you express. >> >> >> That is my 2cents...... > > Hah! LOL... burn a CD, burn a propeller-topped beanie hat... :-) > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From themacguy at macosx.com Mon Jan 19 20:46:05 2004 From: themacguy at macosx.com (Barry Levine) Date: Mon, 19 Jan 2004 18:46:05 -0700 Subject: Burning a disc of files from within Rev In-Reply-To: <20040120004904.ED89E9301E7@mail.runrev.com> References: <20040120004904.ED89E9301E7@mail.runrev.com> Message-ID: <68F3ABA5-4AEA-11D8-861A-000A95763ABC@macosx.com> Thomas, > Maybe I missed something here BUT I am a bit thrown off by the tone of > your email and the attitude you express. Obviously, my post was poorly worded enough to cause your reaction. If so, I apologize. > But Rev can do this!!! Would you be kind enough to identify the Rev command that does this? I can't seem to find it. > with not even a please or thanks or anything. Actually, I did write "TIA" (thanks in advance). Please & Thank you, Barry ;-) From doug at webcrossing.com Mon Jan 19 20:50:41 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 20 Jan 2004 10:50:41 +0900 Subject: Password Field In-Reply-To: <202575BC-4AE5-11D8-9304-000A95B02D84@mac.com> Message-ID: This is what I am doing, based roughly on advice from other people here in the email list, so I am happy to pass it on! on keyDown theKey if the loginPasswordClear of this stack is not empty then put the loginPasswordClear of this stack into passwordTmp else put "" into passwordTmp end if put theKey after passwordTmp set the loginPasswordClear of this stack to passwordTmp put "*" after field "loginPassword" end keyDown on deleteKey put empty into field "loginPassword" set the loginPasswordClear of this stack to empty end deleteKey on backspaceKey put empty into field "loginPassword" set the loginPasswordClear of this stack to empty end backspaceKey doug On 1/20/04 10:08 AM, "Brian Maher" wrote: > Hi Folks, > > Does anyone have code that they would be willing to share that allows a > user to enter a password into a text field and visually what they enter > appears as some other character (blanks, dots, ...)? > > Thanks, Brian > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From gizmotron at earthlink.net Mon Jan 19 20:53:30 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon, 19 Jan 2004 17:53:30 -0800 Subject: Password Field In-Reply-To: <202575BC-4AE5-11D8-9304-000A95B02D84@mac.com> Message-ID: <72B4B670-4AEB-11D8-A2CF-000A95859272@earthlink.net> On Monday, January 19, 2004, at 05:08 PM, Brian Maher wrote: > Hi Folks, > > Does anyone have code that they would be willing to share that allows > a user to enter a password into a text field and visually what they > enter appears as some other character (blanks, dots, ...)? > > Thanks, Brian You are welcome Brian. I figured this one out reading two how-to-do recipes in the docs. It only took ten minutes. on keyDown theKey global holdPassword if the length of me >= 8 then answer "Now you know how long the password is :-)" exit keyDown else if "abcdefghijklmnopqrstuvwxyz1234567890" contains theKey then put theKey after holdPassword put "*" after field "textbox" else put empty into holdPassword put empty into field "textbox" answer "Start over. You just used the wrong key" exit keyDown end if end if end keyDown Mark Brownell From 3mcgrath at adelphia.net Mon Jan 19 22:00:53 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Mon, 19 Jan 2004 22:00:53 -0500 Subject: Burning a disc of files from within Rev In-Reply-To: <68F3ABA5-4AEA-11D8-861A-000A95763ABC@macosx.com> References: <20040120004904.ED89E9301E7@mail.runrev.com> <68F3ABA5-4AEA-11D8-861A-000A95763ABC@macosx.com> Message-ID: Barry, I too, apologize. It sounded very '' I don't know, pushy or something to me. Actually the answer is very difficult. You will need to understand the command line and how to implement it then you can look into a solution from within REV. Here is some info on hdiutil burn from the command line. Here is how to create a 100MB drive image, backup data to it, and then burn it onto a CD (directly in the commandline, with only the built-in tools). One possible application: This could be easily modified and incorporated into a script that will backup your Entourage mail databases every week, good for up to six uses (6x100MB) depending on the size of your mail data... hdiutil create -fs HFS+ -volname Backup -size 100m ~/Desktop/backup.dmg hdiutil mount ~/Desktop/backup.dmg ditto -rsrc -V ~/Desktop/datatobackup /Volumes/Backup >> /Volumes/Backup/backup.log hdiutil unmount /Volumes/Backup hdiutil burn ~/Desktop/backup.dmg -noverifyburn -noeject It will prompt you for a disc, insert one and it will burn your disc: Code: ------------------------------------------------------------------------ Please insert a disc: Starting Initializing Saving temporary image Opening session Writing track ........................................................................ .... Finishing writing ........................................................................ .... ------------------------------------------------------------------------ OR here is another example of the Burn usage in applescript....................................... Here is a script to backup the Entourage mail database to a CD. I have mine as a cron task that runs every Friday before I leave work. The CD tray opens at the set time as if to say "Feed me"! Simply insert a CD and off it goes! Ahh, the power of Mac OS X. Please note that this script requires fileutils to be installed. The -h in du -sh is for Human readable, meaning it will return the results in megabytes. A pre-compiled binary can be obtained here: http://homepage.mac.com/rgriff/file.html or fink install fileutils works for those with using the fink pagackage manager. Code: ------------------------------------------------------------------------ #!/bin/sh #This script will backup your Entourage mail database to a CD username="`who | fgrep console | awk '{ print $1 }'`" if [ "$username" = "" ]; then    echo "No one logged in via GUI (console)" >&2    exit 1 fi userhome="`eval echo ~$username`"date=`date +%Y.%m.%d` size=`/usr/local/bin/du -sh "/Users/$username/Documents/Microsoft User Data" | awk ' { print $1 } '` #Quit Entourage and give it time to write its database to disk /usr/bin/osascript -l AppleScript -e 'tell Application "Microsoft Entourage" to quit' /bin/sleep 4 /usr/bin/hdiutil create -fs HFS+ -volname Backup-$date -size $size /Users/$username/Desktop/backup.dmg /usr/bin/hdiutil mount $userhome/Desktop/backup.dmg /usr/sbin/disktool -r echo $date >> /Volumes/Backup-$date/backup.log /usr/bin/ditto -rsrc -V "$userhome/Documents/Microsoft User Data/Office X Identities/Main Identity/" /Volumes/Backup-$date/ >> /Volumes/Backup-$date/backup.log /usr/bin/hdiutil unmount /Volumes/Backup-$date /usr/bin/hdiutil burn "$userhome/Desktop/backup.dmg" -noverifyburn -noeject #Clean up and relaunch Entourage /bin/rm -f $userhome/Desktop/backup.dmg /usr/sbin/disktool -r /usr/bin/osascript -l AppleScript -e 'launch Application "Microsoft Entourage"' ------------------------------------------------------------------------ This works very well for those of us with tray-loading drives, as the opening tray is probably sufficient reminder to insert a blank disc. Those with slot-loading drives should probably add this line before the 'burn' command: osascript -l AppleScript -e 'tell Application "Finder" to activate & speak "Please insert a blank CD-R disc."' On Jan 19, 2004, at 8:46 PM, Barry Levine wrote: > Thomas, > >> Maybe I missed something here BUT I am a bit thrown off by the tone of >> your email and the attitude you express. > > Obviously, my post was poorly worded enough to cause your reaction. If > so, I apologize. > >> But Rev can do this!!! > > Would you be kind enough to identify the Rev command that does this? I > can't seem to find it. > >> with not even a please or thanks or anything. > > Actually, I did write "TIA" (thanks in advance). > > Please & Thank you, > > Barry > > ;-) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From doug at webcrossing.com Mon Jan 19 22:24:08 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 20 Jan 2004 12:24:08 +0900 Subject: What does the default newGraphic handler do? In-Reply-To: <20040119164440.32382.qmail@web60509.mail.yahoo.com> Message-ID: On 1/20/04 1:44 AM, "Jan Schenkel" wrote: > --- Doug Lerner wrote: >> I know that whether you "pass newGraphic" at the end >> of your own newGraphic >> handler makes a difference sometimes, but does >> anybody know exactly what the >> default newGraphic handler actually does? >> >> Thanks, >> >> doug >> > > Hi Doug, > > Type the following in the message box > edit the script of btn "revBackscript" of card id > 1002 of stack "revLibrary" > and hit the return key. > > Then use the 'Handler' menu to scroll to the IDE > handler for 'newGraphic' > Make sure not to save changes to this script ! Interesting. But it doesn't seem to be doing anything there to the graphic name or resetting the templateGraphic properties. I wonder where those properties get reset... doug From doug at webcrossing.com Tue Jan 20 00:06:38 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 20 Jan 2004 14:06:38 +0900 Subject: Question about the name of the target for new graphics Message-ID: I am creating a graphic with the new graphic newName command. in the newGraphic handler, if I log "the name of the target" it is the usual "Graphic 1", etc, which I don't expect. However, in the stack inspector the created graphics name is correct. Why doesn't "the name of the target" report correctly then inside the newGraphic handler? doug From jacque at hyperactivesw.com Tue Jan 20 00:09:56 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Jan 2004 23:09:56 -0600 Subject: Question about the name of the target for new graphics In-Reply-To: References: Message-ID: <400CB824.4090601@hyperactivesw.com> On 1/19/04 11:06 PM, Doug Lerner wrote: > > I am creating a graphic with the > > new graphic newName > > command. > > in the newGraphic handler, if I log "the name of the target" it is the usual > "Graphic 1", etc, which I don't expect. > > However, in the stack inspector the created graphics name is correct. > > Why doesn't "the name of the target" report correctly then inside the > newGraphic handler? When a new object is created, it has no properties yet. The newgraphic (or new-anything) message is sent before any properties are assigned. By the time the inspector sees the object, it is done being created and now has a name. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From doug at webcrossing.com Tue Jan 20 00:17:02 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 20 Jan 2004 14:17:02 +0900 Subject: Question about the name of the target for new graphics In-Reply-To: <400CB824.4090601@hyperactivesw.com> Message-ID: On 1/20/04 2:09 PM, "J. Landman Gay" wrote: > On 1/19/04 11:06 PM, Doug Lerner wrote: > >> >> I am creating a graphic with the >> >> new graphic newName >> >> command. >> >> in the newGraphic handler, if I log "the name of the target" it is the usual >> "Graphic 1", etc, which I don't expect. >> >> However, in the stack inspector the created graphics name is correct. >> >> Why doesn't "the name of the target" report correctly then inside the >> newGraphic handler? > > When a new object is created, it has no properties yet. The newgraphic > (or new-anything) message is sent before any properties are assigned. By > the time the inspector sees the object, it is done being created and now > has a name. So - when does the name set in new graphic newName get set so proper logging and verification can be done? Where does that happen? I didn't see anything that did that in the internal newGraphic handler. Would set the name of the templateGraphic to newName be helpful before the "new graphic" command? That is where I set the other properties. doug From tsj at unimelb.edu.au Tue Jan 20 00:17:08 2004 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 20 Jan 2004 16:17:08 +1100 Subject: revXMLPutIntoXMLNode - How do I create CDATA? In-Reply-To: References: Message-ID: Dear revXML gurus - so - I use the revPutIntoXMLNode command to put some text between a pair of tags, but how do I specify that I want it to be CDATA? If the original xml includes CDATA and I write to that node it becomes plain text. Any ideas? Have I missed something (quite likely)? I'd really like to be able to do this without having to have to write the data out and then read it back in. Cheers, Terry... -- ___________________________________________________________________________ Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne ___________________________________________________________________________ From davis.phil at comcast.net Tue Jan 20 00:28:10 2004 From: davis.phil at comcast.net (Phil Davis) Date: Mon, 19 Jan 2004 21:28:10 -0800 Subject: Burning a disc of files from within Rev In-Reply-To: Message-ID: Hi Barry - > Something like this: > > on mouseUp > -- do whatever Transcript is necessary to gather the list of files > -- into myFileListVar. > -- do whatever Transcript error-checking is necessary to verify > -- the size is under 690MB. > burn myFileListVar > -- the above line of code does whatever is necessary to call the > -- AppleScript or Terminal code that is in the plugin or stack. > end mouseUp Actually, by defining in English the things you want to accomplish, you've made an excellent start on doing this yourself. That's really the larger part of the project. Now just work on the first item in the 'list' - gathering the list of files - and see if you can make it happen. Hints: the defaultFolder the detailed files the folders (if you want to also copy files that are in subfolders) repeat Surprise yourself! You're more capable than you think! Phil Davis From dsc at swcp.com Tue Jan 20 01:05:09 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 19 Jan 2004 23:05:09 -0700 Subject: Password Field In-Reply-To: Message-ID: <99EC00DA-4B0E-11D8-8DB7-000A9567A3E6@swcp.com> On Monday, January 19, 2004, at 06:50 PM, Doug Lerner wrote: > > This is what I am doing, based roughly on advice from other people > here in > the email list, so I am happy to pass it on! I recently learned that some characters will bypass keydown (high char codes and low char codes). Also some keys will bypass rawkeydown. (This is perhaps related to bugzilla 1147. Perhaps this _is_ bug 1147.) I'm on OS X with 2.1.2. Dar Scott From jacque at hyperactivesw.com Tue Jan 20 01:05:08 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 20 Jan 2004 00:05:08 -0600 Subject: Question about the name of the target for new graphics In-Reply-To: References: Message-ID: <400CC514.8070405@hyperactivesw.com> On 1/19/04 11:17 PM, Doug Lerner wrote: > So - when does the name set in > > new graphic newName > > get set so proper logging and verification can be done? Where does that > happen? I didn't see anything that did that in the internal newGraphic > handler. > > Would > > set the name of the templateGraphic to newName > > be helpful before the "new graphic" command? That is where I set the other > properties. I've never tried it, but I suppose it would work. What I usually do is something like: create graphic "newGraphic" put the name of last graphic after fld "mylog" -- or whatever Or, since you already know the name of the new graphic, you can just log it directly: create graphic "newGraphic" put "newGraphic" after fld "mylog" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Tue Jan 20 01:13:32 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 19 Jan 2004 23:13:32 -0700 Subject: Burning a disc of files from within Rev In-Reply-To: Message-ID: On Monday, January 19, 2004, at 03:41 PM, Barry Levine wrote: > burn myFileListVar When I do this by hand on OS X (and I think on XP), I just copy the files "to the CD". Then I select 'burn' on some finder (explorer) menu. That suggests to me that there might be some way to do this with AppleScript to finder on OS X. Dar Scott From doug at webcrossing.com Tue Jan 20 01:14:48 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 20 Jan 2004 15:14:48 +0900 Subject: Question about the name of the target for new graphics In-Reply-To: <400CC514.8070405@hyperactivesw.com> Message-ID: On 1/20/04 3:05 PM, "J. Landman Gay" wrote: > On 1/19/04 11:17 PM, Doug Lerner wrote: > >> So - when does the name set in >> >> new graphic newName >> >> get set so proper logging and verification can be done? Where does that >> happen? I didn't see anything that did that in the internal newGraphic >> handler. >> >> Would >> >> set the name of the templateGraphic to newName >> >> be helpful before the "new graphic" command? That is where I set the other >> properties. > > I've never tried it, but I suppose it would work. What I usually do is > something like: > > create graphic "newGraphic" > put the name of last graphic after fld "mylog" -- or whatever > > Or, since you already know the name of the new graphic, you can just log > it directly: > > create graphic "newGraphic" > put "newGraphic" after fld "mylog" Right. But... I wanted to simultaneously check to make sure the name was set right. Just logging what I think it *ought* to be isn't the best way. :) doug From slynch at richmond.sd38.bc.ca Tue Jan 20 01:31:03 2004 From: slynch at richmond.sd38.bc.ca (Stewart Lynch) Date: Mon, 19 Jan 2004 22:31:03 -0800 Subject: OS X Menu Problem Message-ID: I am having real difficulty with creating Menus on OS X. For example, I have a File Menu that has a Save as one of the menu options. When I view the menu in the form, all menu options are displayed. When I view it as an OS X Menu, the menu item is not there. In other instances, entire menus do not display in the OS X IDE nor when the application is built as a stand alone. Is there any solution to this? The Menu Builder is flakey at best. ******************************************* ........ : o/ : Stewart Lynch : <| : Director of Instruction, Technology and Information Services : / > : Richmond School District :......: Richmond, BC Canada Internet: slynch at richmond.sd38.bc.ca https://public.sd38.bc.ca/~slynch tel. (604) 668-6128 fax: (604) 668-6006 ******************************************* From jacque at hyperactivesw.com Tue Jan 20 01:34:25 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 20 Jan 2004 00:34:25 -0600 Subject: Question about the name of the target for new graphics In-Reply-To: References: Message-ID: <400CCBF1.6070205@hyperactivesw.com> On 1/20/04 12:14 AM, Doug Lerner wrote: > On 1/20/04 3:05 PM, "J. Landman Gay" wrote: > > >>On 1/19/04 11:17 PM, Doug Lerner wrote: >> >> >>>So - when does the name set in >>> >>> new graphic newName >>> >>>get set so proper logging and verification can be done? Where does that >>>happen? I didn't see anything that did that in the internal newGraphic >>>handler. >>> >>>Would >>> >>> set the name of the templateGraphic to newName >>> >>>be helpful before the "new graphic" command? That is where I set the other >>>properties. >> >>I've never tried it, but I suppose it would work. What I usually do is >>something like: >> >>create graphic "newGraphic" >>put the name of last graphic after fld "mylog" -- or whatever >> >>Or, since you already know the name of the new graphic, you can just log >>it directly: >> >>create graphic "newGraphic" >>put "newGraphic" after fld "mylog" > > > Right. But... I wanted to simultaneously check to make sure the name was set > right. Just logging what I think it *ought* to be isn't the best way. :) Ah. Of course. In that case, "the name of last graphic" is your best bet. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From janschenkel at yahoo.com Tue Jan 20 01:44:44 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 19 Jan 2004 22:44:44 -0800 (PST) Subject: OS X Menu Problem In-Reply-To: Message-ID: <20040120064444.83099.qmail@web60504.mail.yahoo.com> --- Stewart Lynch wrote: > I am having real difficulty with creating Menus on > OS X. > For example, I have a File Menu that has a Save as > one of the menu > options. When I view the menu in the form, all menu > options are > displayed. When I view it as an OS X Menu, the menu > item is not there. > > In other instances, entire menus do not display in > the OS X IDE nor when > the application is built as a stand alone. > > Is there any solution to this? The Menu Builder is > flakey at best. > Hi Stewart, Revolution may have its peculiarities regarding menus, but usually because it's trying to make things easy for cross-platform developers. One of the things it does behind the scene, is place the last two items of the 'File' menu into the 'Application' menu. Is it possible that the last two items of your 'File' menu aren't a separator line and 'Quit' ? For more information regarding menus, go to the documentation, in the section 'About... menus and the menubar' Here's the relevant quote from this section: -- Special menu items A few menu items on Mac OS and OS X are handled directly by the operating system. To accommodate these special menu items while allowing you to create a fully cross-platform menu bar, Revolution treats the last two menu items of the Help menu (for Mac OS and OS X), the File menu (OS X), and the Edit menu (OS X) differently. By following these guidelines, you can make sure your menus will appear properly on all operating systems without having to write special code or create platform-specific menu bars. The Help menu and the “About This Application” menu item: When Revolution sets up the Mac OS menu bar, it automatically makes the last button the Help menu (regardless of the button’s name). The standard Help menu items, such as “About Balloon Help” and “Show Balloons” on Mac OS, are included for you automatically; you don’t need to include them in your Help menu button, and you can’t eliminate them from the Help menu. Revolution moves the last menu item in the Help menu to the “About This Application” position. (On Mac OS systems, this is the first menu item in the Apple menu. On OS X systems, it’s the first menu item in the Application menu.) Therefore, the last menu item in your Help menu button should be an appropriate “About” item. The menu item above it must be a divider line (a dash), and above that must be at least one menu item to be placed in the Help menu. The File menu and the “Quit” menu item: On OS X systems, the “Quit” menu item is normally placed in the Application menu (which is maintained by the operating system) rather than in the File menu as is standard on other platforms. To acccommodate this user-interface standard, Revolution removes the last two menu items of the File menu when a standalone application is running on an OS X system. Therefore, the last menu item in your File menu button should be “Quit”. The menu item above it should be a divider line (a dash). The Edit menu and the “Preferences” menu item: On OS X systems, the “Preferences” menu item is also normally placed in the Application menu. To acccommodate this user-interface standard, Revolution removes the last two menu items of the Edit menu when a standalone application is running on an OS X system. Therefore, the last menu item in your Edit menu button should be “Preferences”. The menu item above it should be a divider line (a dash). Note: The Preferences menu item is treated in this special way only if its name starts with the string “Preferences”. Tip: If your application’s user interface is presented in a language other than English, set the name of the Edit menu button to “Edit”, and set its label to the correct translation. This ensures that the engine can find the Edit menu, while making sure that the menu is shown in the correct language. Choosing the special menu items: When the user chooses any of these special menu items, a menuPick message is sent to the button that the menu item is contained in. This ensures that your button scripts will work on all platforms, even if Revolution displays a menu item in a different menu to comply with user-interface guidelines. For example, if the user chooses “About This Application” from the Apple menu on a Mac OS system, a menuPick message is sent to the Help menu button, with “About This Application”?as its parameter. You handle the message for the About menu item in the Help menu button’s script, even though Revolution displays this menu item in a different menu on the Mac. -- As for any other problems with menus that aren't covered in these docs : if you would post a sample stack on the web somewhere, I'm sure these can be resolved as well. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From sarahr at genesearch.com.au Tue Jan 20 01:49:45 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 20 Jan 2004 16:49:45 +1000 Subject: OS X Menu Problem In-Reply-To: References: Message-ID: Check the What's New text file that came with your Revolution application. It details how menus are shuffled around to match the OS X use interface guidelines. Basically, the last 2 items in the File menu (normally a divider and Quit) are deleted and the Quit is moved to the application menu. Similarly the last 2 items in the Edit menu (a divider & Preferences) are also deleted and Preferences moved to the application menu and the same with the Help menu and the About menu item. The other trick is that OS X apps do not respond to the Quit menu item. You have to use a closeStackRequest handler instead. Cheers, Sarah On 20 Jan 2004, at 4:30 pm, Stewart Lynch wrote: > I am having real difficulty with creating Menus on OS X. > For example, I have a File Menu that has a Save as one of the menu > options. When I view the menu in the form, all menu options are > displayed. When I view it as an OS X Menu, the menu item is not there. > > In other instances, entire menus do not display in the OS X IDE nor > when > the application is built as a stand alone. > > Is there any solution to this? The Menu Builder is flakey at best. > > > ******************************************* > ....... > : o/ : Stewart Lynch > : <| : Director of Instruction, Technology and Information Services > : / > : Richmond School District > :......: Richmond, BC Canada > Internet: slynch at richmond.sd38.bc.ca > https://public.sd38.bc.ca/~slynch > tel. (604) 668-6128 fax: (604) 668-6006 > ******************************************* > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sibr at sibr.com Tue Jan 20 01:50:20 2004 From: sibr at sibr.com (Simon Brown) Date: Mon, 19 Jan 2004 22:50:20 -0800 Subject: ANN: revHTTPd next generation (please read, many many goodies inside) In-Reply-To: References: Message-ID: Wow. Very interesting. Will have to spend some time playing around with this. Wondering about the security aspects of this though. Could a carefully designed stack with this feature be safe? Would the data have to be locked (static) only? Simon. On Jan 19, 2004, at 9:19 AM, Andre Garzia wrote: > Hi Folks, > > Some might know my old project revHTTPd which is a web server made in > revolution. Some might even notice a project called btnHTTPd which is > a self contained web server in a button. Well, I just made a huge > effort this month to deliver you all the next generation of HTTPd > interfaces. My english is a little bad and there are no many news that > I am afraid I deliver them in a fuzzy way. Let's go slowly now. > > First the server is now a self contained button, you might add it to > any project of yours by placing it on your stack. You configure it by > it's custom properties and command it by sending messages to it. > > The focus on this project is not to serve web pages but to connect > Revolution to a Browser interface. Althought the server can serve > local files, It's true marvels are what it can do to serve stacks as > pages. > > First we've got a cool URL mapping scheme that is like this: > > /Stack ---> Send default_html to the stack. > /Stack/Message ---> Send message to the Stack > /Stack/Card/Message ---> Send message to card of stack. > /Stack/Card/Button/Message ---> Send message to button of card of > stack (this is like a design decision, messages default to button if > no object type is present) > /Stack/Card/ObjectType/ObjectName/Msg ---> Send msg to obj of card of > stack like: /MainStack/1/field/email/clearText (would send "clearText" > to field email) > > This way I can for example access a URL a button like this > http://home.soapdog.org:8081/quotes/2/button/refreshquotes/mouseUp, > this would trigger the mouseUp of button adduote on card 2 of stack > quotes. Pretty easy! Enought for URLs. > > The server is now supporting the POST method and GET method, it will > look for POST Data and look inside document request URL for GET > data... it will map HTML/URL Field names to Revolution Field names, so > if I access http://home.soapdog.org:8081/about?card=1 it will look for > stack "about" and for a text field named card in it, if it find one it > will fill it with "1", Thats automatic. It fills the fields before > sending the message (so that you can proccess them). This way you can > write whole web apps just by using our familiar ways of stacks, cards, > fields and messages. > > We created a Revolution Field to Web Engine called Inform. Inform can > take any card of any stack and will parse it taking all fields and > making a nice HTML form of it. It will fill the form with the currrent > fields values, and since the server do the map back automatically, you > can focus on the "processPost" message that is sent to your stack for > the rest is taken care. > > For you all to wonder, with this framework I was able to create a Blog > engine in 10 lines, was able to create a Fotolog engine in also 10 > lines. I created a Instant Message in some 30 lines. > > I want to stress test and demo this new server before releasing it > this week, so if you're interested in it or plain curious, point you > browser to http://home.soapdog.org:8081 > I am leaving this server running here, fiddle with it leave feedback, > see the runtime screenshots... inspect it the way you can, it's a nice > job. Mind that my home connection is not the best one and the server > is not failsafe yet... but you might like it... > > Cheers > > > Andre Garzia ? 2003 > imac2 ibook p100 e uma torradeira.... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Tue Jan 20 02:09:31 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 19 Jan 2004 23:09:31 -0800 (PST) Subject: revXMLPutIntoXMLNode - How do I create CDATA? In-Reply-To: Message-ID: <20040120070931.76959.qmail@web60509.mail.yahoo.com> --- Terry Judd wrote: > Dear revXML gurus - so - I use the revPutIntoXMLNode > command to put > some text between a pair of tags, but how do I > specify that I want it > to be CDATA? If the original xml includes CDATA and > I write to that > node it becomes plain text. > > Any ideas? Have I missed something (quite likely)? > I'd really like to > be able to do this without having to have to write > the data out and > then read it back in. > > Cheers, > > Terry... > Hi Terry, I haven't actually tested this, but you could try the 'revAppendXML' command for this purpose. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From scott at tactilemedia.com Tue Jan 20 02:21:30 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 19 Jan 2004 23:21:30 -0800 Subject: Custom Cursor Outside of Rev? In-Reply-To: Message-ID: Anyone know if it's possible to control the appearance of the cursor outside of Rev? In other words, is it possible to employ a custom cursor within Rev that can also be displayed if the user clicks on the desktop or into another app? Specifically, I have a utility that provides screen information with custom cursors, and I'm trying to hide the default pointer cursor while the utility is active, even when outside of Rev. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From themacguy at macosx.com Tue Jan 20 02:56:49 2004 From: themacguy at macosx.com (Barry Levine) Date: Tue, 20 Jan 2004 00:56:49 -0700 Subject: Burn files to CD in Rev - Burning Desire Stack Message-ID: <3396DAAA-4B1E-11D8-9642-000A95763ABC@macosx.com> It appears that my post (although erroneously perceived as a "shot across the bow") had the desired effect. Thomas' message (#10, Vol 4, Issue 131) laid out the steps and I am making progress. So a big "thank you!" to Thomas for his shell code. I do have one question, though (for now). I have a folder that has a space as part of its name ("my folder" for example). How would one specify this folder as the source? I get an error that is obviously due to the Terminal mis-parsing the folder name as a result of the space. I have placed the folder path into a field but referencing the field leaves that darn space. I imagine I'd have to replace that space with an ASCII code? BTW: I intend to create a stack that explains exactly what is done to accomplish the burning of the CD and then post it where it may be freely downloaded by anyone who needs it. My hope is that I can encapsulate the seamy underbelly of it all so that my "burn myFolder" line of Transcript code may be all that is required of the developer. Thanks, Barry From roger.kingston at ntlworld.com Tue Jan 20 03:25:29 2004 From: roger.kingston at ntlworld.com (Roger Kingston) Date: Tue, 20 Jan 2004 08:25:29 -0000 Subject: How to list tables in an SQL database In-Reply-To: <20040119165217.34847.qmail@web60507.mail.yahoo.com> Message-ID: <000201c3df2f$0258d920$061cfea9@UltraSolve1> Jan, Thanks for your guidance. I'll give it a try shortly. Just to clarify, when you say, "use the name of an existing query" do you mean the ID number generated by a RevDBquery or are you referring to an automatic query from the Rev Query Builder? Sorry for submitting this question three times, but I was getting 'mailbox full' rejections. Regards Roger Kingston 8 Parsons Walk Clifton Campville Tamworth B79 0DL email: roger.kingston at ntlworld.com -----Original Message----- From: Jan Schenkel [mailto:janschenkel at yahoo.com] Sent: 19 January 2004 16:52 To: roger.kingston at ntlworld.com; How to use Revolution Subject: Re: How to list tables in an SQL database --- Roger Kingston wrote: > All, > > I've had a good deal of success using Rev 2's revdb functions, but > would like to be able to get a list of tables belonging to > a database that I > have connected to. > > Looking in the code behind the Rev Database Query > builder, there is a > function: > revTableNamesOfQuery() which looks promising, but it > is not documented > and I'm too dumb to figure out how to use it. > > Any suggestions? > > Roger Kingston > Hi Roger, The trick is to use the name of an existing query that connects to the database whose table names you want ; so suppose you have a query "Foobar" : put revTableNamesOfQuery("Foobar") into tNames answer tNames Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From thierry.arbellot at wanadoo.fr Tue Jan 20 03:48:38 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Tue, 20 Jan 2004 09:48:38 +0100 Subject: OS X Menu Problem In-Reply-To: Message-ID: <70F1E83D-4B25-11D8-9580-000A27E40768@wanadoo.fr> About the Edit menu, the last 2 items are deleted ONLY if the last item name or label is "Preferences". This is convenient if you don't want to have preferences menu (in this case, the preferences menu in the app menu is disabled) But, it's a problem when you work in another language than English: Rev doesn't delete the last 2 items of the Edit menu and the preferences menu in the app menu is disabled. Regards. Thierry. On Tuesday, Jan 20, 2004, at 07:49 Europe/Paris, Sarah Reichelt wrote: > Check the What's New text file that came with your Revolution > application. It details how menus are shuffled around to match the OS > X use interface guidelines. > > Basically, the last 2 items in the File menu (normally a divider and > Quit) are deleted and the Quit is moved to the application menu. > Similarly the last 2 items in the Edit menu (a divider & Preferences) > are also deleted and Preferences moved to the application menu and the > same with the Help menu and the About menu item. > > The other trick is that OS X apps do not respond to the Quit menu > item. You have to use a closeStackRequest handler instead. > > Cheers, > Sarah > > On 20 Jan 2004, at 4:30 pm, Stewart Lynch wrote: > >> I am having real difficulty with creating Menus on OS X. >> For example, I have a File Menu that has a Save as one of the menu >> options. When I view the menu in the form, all menu options are >> displayed. When I view it as an OS X Menu, the menu item is not >> there. >> >> In other instances, entire menus do not display in the OS X IDE nor >> when >> the application is built as a stand alone. >> >> Is there any solution to this? The Menu Builder is flakey at best. >> >> >> ******************************************* >> ....... >> : o/ : Stewart Lynch >> : <| : Director of Instruction, Technology and Information Services >> : / > : Richmond School District >> :......: Richmond, BC Canada >> Internet: slynch at richmond.sd38.bc.ca >> https://public.sd38.bc.ca/~slynch >> tel. (604) 668-6128 fax: (604) 668-6006 >> ******************************************* >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From plsntbreez at mac.com Tue Jan 20 06:50:19 2004 From: plsntbreez at mac.com (Brian Maher) Date: Tue, 20 Jan 2004 03:50:19 -0800 Subject: Password Field Message-ID: <3342951.1074599419730.JavaMail.plsntbreez@mac.com> Hi Mark, What two recipes in the docs did you use? I looked through those and didn't see anything that was applicable. Brian From revlist at cableone.net Tue Jan 20 10:22:14 2004 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 20 Jan 2004 08:22:14 -0700 Subject: custom tab buttons Message-ID: <000001c3df69$2f3a83f0$64fea8c0@chris1> Does anyone have a good example of how to create a custom tab control with custom button graphics? I know I've seen this before, but I can't figure out how to do it. Maybe it's just faked? I know Chipp Walters has done this in some of his apps. So Chipp, if you're reading this, can you share how you do that? Thanks, Chris Sheffield Software Development Read Naturally --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 From gizmotron at earthlink.net Tue Jan 20 10:38:23 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 20 Jan 2004 07:38:23 -0800 Subject: Password Field In-Reply-To: <3342951.1074599419730.JavaMail.plsntbreez@mac.com> Message-ID: On Tuesday, January 20, 2004, at 03:50 AM, Brian Maher wrote: > Hi Mark, > > What two recipes in the docs did you use? I looked through those and > didn't see anything that was applicable. > > Brian Brian, I opened up the Transcript Dictionary and clicked on "keyDown." I was looking for anything with "key" in it. I then looked at the "See Also" menu and went to "Recipe for... limiting the number of characters in a field." I also looked at "Recipe for... rejecting non-digit characters in a field." I went to the Transcript Dictionary and clicked on "contains" to refresh my memory. I got this: "Compares two strings and evaluates to true if the first contains the second, false if not." So with three cut and pasted examples of code and about five tests I was able to get something thrown together with a little humor thrown in for good measure. I don't recommend using that section that gives away the length of the password. I just put that in to show text manipulation. I knew to go to the Transcript Dictionary and search for anything that had to do with the keys & contains. Mark From 3mcgrath at adelphia.net Tue Jan 20 10:48:40 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Tue, 20 Jan 2004 10:48:40 -0500 Subject: APXL Schema - Using REV Message-ID: <1E5841E4-4B60-11D8-901C-000A95DA60FA@adelphia.net> Hello all listies, I was a wondering, I am reading the XML usage in OSX and it turns out that Keynote stores presentations in XML using Apples APXL Schema. It would appear to me that REV using the APXL can open and display Keynote presentations in Mac and Windows computers. A REV Keynote presentation tool created in REV would be a valuable tool. Also Powerpoint transfers to Keynote very quickly and easily. SO, A person could in effect translate all powerpoint presentations to keynote via Applescript and then open them in REV using XML and the APXL from Apple. This is huge in my opinion. Such a tool would have a large user base for people looking for a better way to present graphics and data without using PP or Director. HHMMM.... Anyone else see the potential in this? Contact me off list. Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From bob at armbase.com Tue Jan 20 11:29:59 2004 From: bob at armbase.com (Bob Hartley) Date: Tue, 20 Jan 2004 16:29:59 +0000 Subject: custom tab buttons In-Reply-To: <000001c3df69$2f3a83f0$64fea8c0@chris1> References: <000001c3df69$2f3a83f0$64fea8c0@chris1> Message-ID: <6.0.0.22.0.20040120162742.024b1368@mail.armbase.com> At 15:22 20/01/2004, you wrote: >Does anyone have a good example of how to create a custom tab control with >custom button graphics? I know I've seen this before, but I can't figure >out how to do it. Maybe it's just faked? If you go to altuit.com and buy Button Gadget (I did and it is a great application) you can get the pro version. This if I remember correctly has a built-in rev converter. >I know Chipp Walters has done this in some of his apps. So Chipp, if you're >reading this, can you share how you do that? I'd save all the hastle and buy the app. It is cheap. >Thanks, > >Chris Sheffield >Software Development >Read Naturally Cheers Bob >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Tue Jan 20 11:30:14 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 20 Jan 2004 09:30:14 -0700 Subject: Burn files to CD in Rev - Burning Desire Stack In-Reply-To: <3396DAAA-4B1E-11D8-9642-000A95763ABC@macosx.com> Message-ID: On Tuesday, January 20, 2004, at 12:56 AM, Barry Levine wrote: > I do have one question, though (for now). I have a folder that has a > space as part of its name ("my folder" for example). How would one > specify this folder as the source? I get an error that is obviously > due to the Terminal mis-parsing the folder name as a result of the > space. I have placed the folder path into a field but referencing the > field leaves that darn space. I imagine I'd have to replace that space > with an ASCII code? Try prefixing the space with a backslash (I think that's it) or quoting the entire name. Dar Scott From revlist at cableone.net Tue Jan 20 11:47:56 2004 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 20 Jan 2004 09:47:56 -0700 Subject: custom tab buttons In-Reply-To: <6.0.0.22.0.20040120162742.024b1368@mail.armbase.com> Message-ID: <000101c3df75$2814b800$64fea8c0@chris1> Thanks, Bob. I already have ButtonGadget. And I agree, it's an awesome tool! But what I need to know is how to get my button graphics into a tab control. Any ideas on that? Chris Sheffield Software Development Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Bob Hartley Sent: Tuesday, January 20, 2004 9:30 AM To: How to use Revolution Subject: Re: custom tab buttons At 15:22 20/01/2004, you wrote: >Does anyone have a good example of how to create a custom tab control >with custom button graphics? I know I've seen this before, but I can't >figure out how to do it. Maybe it's just faked? If you go to altuit.com and buy Button Gadget (I did and it is a great application) you can get the pro version. This if I remember correctly has a built-in rev converter. >I know Chipp Walters has done this in some of his apps. So Chipp, if >you're reading this, can you share how you do that? I'd save all the hastle and buy the app. It is cheap. >Thanks, > >Chris Sheffield >Software Development >Read Naturally Cheers Bob >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 From bob at armbase.com Tue Jan 20 11:52:43 2004 From: bob at armbase.com (Bob Hartley) Date: Tue, 20 Jan 2004 16:52:43 +0000 Subject: custom tab buttons In-Reply-To: <000101c3df75$2814b800$64fea8c0@chris1> References: <6.0.0.22.0.20040120162742.024b1368@mail.armbase.com> <000101c3df75$2814b800$64fea8c0@chris1> Message-ID: <6.0.0.22.0.20040120165030.0248b758@mail.armbase.com> At 16:47 20/01/2004, you wrote: >Thanks, Bob. I already have ButtonGadget. And I agree, it's an awesome >tool! But what I need to know is how to get my button graphics into a tab >control. Any ideas on that? Sorry, now I get it, that would be great. Cant think how you could do it. Cheers Bob From soapdog at mac.com Tue Jan 20 12:20:11 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 20 Jan 2004 15:20:11 -0200 Subject: ANN: revHTTPd next generation (please read, many many goodies inside) In-Reply-To: References: Message-ID: On Jan 20, 2004, at 4:50 AM, Simon Brown wrote: > Wow. Very interesting. Will have to spend some time playing around > with this. > > Wondering about the security aspects of this though. Could a carefully > designed stack with this feature be safe? Would the data have to be > locked (static) only? > > Simon. > Simon, there are some security flaws by design... You can access any stack, you can send any message to any stack available... this is sure a flaw, or a opportunity. While running in a standalone there's not much harm one can do this way, but in the IDE the revIDE stacks are available... that's bad... Also with INFORM you can write data and read data from anystack... but it was designed that way. The best way to address security is to create custom properties for blessed stacks and blessed messages, this way one can use only that, but that proved to be a huge drawback in the framework. When I release the code this week, you'll see that the engine is pretty simple, and adding more robust security to it can be done... I've got a internal version with a frontscript that does that for me... but that won't be released, it's alpha. Cheers Andre > Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From jimlyons at earthlink.net Tue Jan 20 13:33:34 2004 From: jimlyons at earthlink.net (Jim Lyons) Date: Tue, 20 Jan 2004 13:33:34 -0500 Subject: Problems using rev-XML functions Message-ID: <27662C2F-4B77-11D8-8793-000A95893982@earthlink.net> I've been investigating rev's built in functions for parsing XML using this simple XML file (the angle brackets are shown as parens for this message): (root) (record id="1") (fld1)Harry(/fld1) (fld2)Ron(/fld2) (/record) (record id="2") (fld1)Fred(/fld1) (fld2)George(/fld2) (/record) (/root) The two main functions for parsing XML are revCreateXMLTree, which takes the XML source as a parameter, and revCreateXMLTreeFromFile, which gets the XML from a file. Besides the source, there are three other parameters, all boolean switches. The first switch is whether to bail or not if an error in syntax occurs; the second is whether you want the function to build a tree in memory for you and return a pointer to it; the last is whether you want messages sent as the parsing proceeds. You'll want to set one of the last two switches true or the function will only tell you whether there was an error in syntax. There are basically two ways to use these functions, controlled by the last two switches: create a tree in memory and then use the other rev-XML functions to traverse and interrogate it; or have the parser send messages as it goes, like revStartXMLNode, revStartXMLData, etc. Here is what I found out. 1. The TD says that revStartXMLTree and revEndXMLTree messages will be sent when the parsing begins and ends; they are not. I noticed a reference in the "See Also" menu to "revXMLStartTree" but no entry for it, so on a hunch I tried that and it worked: the functions (Rev 2.1.2) send revXMLStartTree and revXMLEndTree. I filed this as a documentation bug (#1165), but probably they meant to change the names as the docs say; guess they will sort it all out. 2. There is a difference in the messages sent depending on if you also create the tree. I put simple handlers similar to this for all the messages: on revStartXMLNode attr put "start node" && attr & return after msg end revStartXMLNode Here is the sort of thing we get from either function with create_tree false and send_messages true: start tree: start node: root start data: start node: record start data: start node: fld1 start data: Harry end node fld1 start data: start node: fld2 start data: Ron end node fld2 start data: end node record .... But with create_tree true and send_messages true we get the much cleaner: start tree: start node: root start node: record start node: fld1 start data: Harry end node fld1 start node: fld2 start data: Ron end node fld2 end node record .... Obviously this is not a big problem, but it just don't seem right. I don't need the tree, but I wish I didn't have to deal with extra start data messages.... 3. The TD says the message "revStartXMLnode nodeAttributes" will get sent when the parser encounters an opening tag, where nodeAttributes "is a string containing the attributes of the XML element currently being parsed, one attribute per line." The reason I started playing with this is because this doesn't make clear how you would know what the tag is. Notice in the test source above that when (record id="1") is parsed the parameter sent with the start node message is just the tag, "record". Where's the id attribute? I didn't write a bug report about this because I'm not sure I understand how it's supposed to work. So can anyone provide any help, understanding, advice, or warnings about any of this? Thanks, and sorry for the long message. Jim Lyons From rgmiller at pacbell.net Tue Jan 20 14:01:11 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Tue, 20 Jan 2004 11:01:11 -0800 Subject: Weirdness with global variable declaration References: <20040120004904.CB1259301E6@mail.runrev.com> Message-ID: <400D7AF7.3040601@pacbell.net> > > >Robert Brenstein said, > >I haven't tested this with the newest engine but earlier it was like >Richard mentioned: globals had to be declared within a handler. There >was some technical reason for that if I recall. > > > Yes, the globala are *declared* within a handler, but setting the globals for all can set, usually at the top of the script editor, for each "section" (card script, background script, button script). For example: In the card script, at the top you could set: global gCatNames, gDogNames, gGreatToys on preOpenStack doTheNeatFldLocs doEmptyLitterBox -- setTheGlobals end preOpenStack on setTheGlobals put fld "catNames" into gCatNames put fld "dogNames" into gCatNames put fld "greatToys" into gGreatToys end setTheGlobals ... then, in the stack script (or any control script), simply start each script page with: global gCatNames, gDogNames, gGreatToys and those globals are available to all handlers on that page. This of course, works across all subStacks as well. Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From dsc at swcp.com Tue Jan 20 14:18:12 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 20 Jan 2004 12:18:12 -0700 Subject: Weirdness with global variable declaration In-Reply-To: <400D7AF7.3040601@pacbell.net> Message-ID: <63FE9F70-4B7D-11D8-A5F5-000A9567A3E6@swcp.com> On Tuesday, January 20, 2004, at 12:01 PM, Ray G. Miller wrote: > Yes, the globala are *declared* within a handler, but setting the > globals for all can set, usually at the top of the script editor, for > each "section" (card script, background script, button script). I like the word "globala"! If I understand you right, this is not the way I use "declare" and "setting". I think of this as the "declaration": global aaa I think of this as the "setting": on yyy put "ransom" into aaa -- <<== end yyy Depending on the circumstances this might also be the "initialization". Or did I misread your point, Ray? Dar Scott (Thinking of ways to use "globala" in a sentence.) From chipp at chipp.com Tue Jan 20 14:25:37 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 20 Jan 2004 13:25:37 -0600 Subject: custom tab buttons In-Reply-To: <000101c3df75$2814b800$64fea8c0@chris1> Message-ID: Chris, I quickly worked up a stack which should take the pain out of creating custom tab buttons: put in the msg box: open URL "http://www.altuit.com/webs/altuit2/RunRev/tabExample.rev" or go to the bottom of page: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm for the demo stack. best, Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Chris > Sheffield > Sent: Tuesday, January 20, 2004 10:48 AM > To: 'How to use Revolution' > Subject: RE: custom tab buttons > > > Thanks, Bob. I already have ButtonGadget. And I agree, it's an awesome > tool! But what I need to know is how to get my button graphics into a tab > control. Any ideas on that? > > Chris Sheffield > Software Development > Read Naturally > > > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Bob Hartley > Sent: Tuesday, January 20, 2004 9:30 AM > To: How to use Revolution > Subject: Re: custom tab buttons > > > At 15:22 20/01/2004, you wrote: > >Does anyone have a good example of how to create a custom tab control > >with custom button graphics? I know I've seen this before, but I can't > >figure out how to do it. Maybe it's just faked? > > If you go to altuit.com and buy Button Gadget (I did and it is a great > application) you can get the pro version. > > This if I remember correctly has a built-in rev converter. > > > > >I know Chipp Walters has done this in some of his apps. So Chipp, if > >you're reading this, can you share how you do that? > > I'd save all the hastle and buy the app. It is cheap. > > > >Thanks, > > > >Chris Sheffield > >Software Development > >Read Naturally > > > Cheers > Bob > > > >--- > >Outgoing mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 > > > > > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mail at richard-hillen.de Tue Jan 20 14:29:02 2004 From: mail at richard-hillen.de (R. Hillen) Date: Tue, 20 Jan 2004 20:29:02 +0100 Subject: get mail from pop3 Message-ID: Hello list, Some days ago I read about Shao Seans new libSmtp and libEmail, so I wanted to try it out. But my ISP wants me to first get mail from my account (with username, pssword) before I can send mail. So my question: How can I get Mail from a pop3-server with RunRev? Thanx for your help. Richard Hillen. From revlist at cableone.net Tue Jan 20 14:37:08 2004 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 20 Jan 2004 12:37:08 -0700 Subject: custom tab buttons In-Reply-To: Message-ID: <000a01c3df8c$cb16a420$64fea8c0@chris1> Thanks, Chipp. That is exactly what I needed. I'm assuming you could add a disabled state as well. Would that cause any problems? Chris Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Chipp Walters Sent: Tuesday, January 20, 2004 12:26 PM To: How to use Revolution Subject: RE: custom tab buttons Chris, I quickly worked up a stack which should take the pain out of creating custom tab buttons: put in the msg box: open URL "http://www.altuit.com/webs/altuit2/RunRev/tabExample.rev" or go to the bottom of page: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm for the demo stack. best, Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Chris > Sheffield > Sent: Tuesday, January 20, 2004 10:48 AM > To: 'How to use Revolution' > Subject: RE: custom tab buttons > > > Thanks, Bob. I already have ButtonGadget. And I agree, it's an > awesome tool! But what I need to know is how to get my button > graphics into a tab control. Any ideas on that? > > Chris Sheffield > Software Development > Read Naturally > > > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Bob > Hartley > Sent: Tuesday, January 20, 2004 9:30 AM > To: How to use Revolution > Subject: Re: custom tab buttons > > > At 15:22 20/01/2004, you wrote: > >Does anyone have a good example of how to create a custom tab control > >with custom button graphics? I know I've seen this before, but I > >can't figure out how to do it. Maybe it's just faked? > > If you go to altuit.com and buy Button Gadget (I did and it is a great > application) you can get the pro version. > > This if I remember correctly has a built-in rev converter. > > > > >I know Chipp Walters has done this in some of his apps. So Chipp, if > >you're reading this, can you share how you do that? > > I'd save all the hastle and buy the app. It is cheap. > > > >Thanks, > > > >Chris Sheffield > >Software Development > >Read Naturally > > > Cheers > Bob > > > >--- > >Outgoing mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 > > > > > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 From frank at backtalk.com Tue Jan 20 15:59:11 2004 From: frank at backtalk.com (Frank Leahy) Date: Tue, 20 Jan 2004 20:59:11 +0000 Subject: Height/width limit on groups? Message-ID: <7F83AE2C-4B8B-11D8-8F9A-000A9580FCCE@backtalk.com> This photo album product I'm working on is going great -- everything I've wanted to do I've been able to do with Revolution. But I've come up against a problem -- it looks like the max height and width of a group is around 32,000. Can anyone confirm this? If so, is there a work around? Thanks, -- Frank From jimlyons at earthlink.net Tue Jan 20 16:08:35 2004 From: jimlyons at earthlink.net (Jim Lyons) Date: Tue, 20 Jan 2004 16:08:35 -0500 Subject: Problems using rev-XML functions Message-ID: Earlier today I wrote: > 3. The TD says the message "revStartXMLnode nodeAttributes" will get > sent when the parser encounters an opening tag, where nodeAttributes > "is a string containing the attributes of the XML element currently > being parsed, one attribute per line." The reason I started playing > with this is because this doesn't make clear how you would know what > the tag is. Notice in the test source above that when (record id="1") > is parsed the parameter sent with the start node message is just the > tag, "record". Where's the id attribute? This must be another doc bug. I tried "revStartXMLNode tag, attr" and the attributes show up in the second parameter; the first parameter is indeed the tag. I will file this one too. Jim Lyons From lists at mangomultimedia.com Tue Jan 20 16:25:41 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 20 Jan 2004 14:25:41 -0700 Subject: Height/width limit on groups? In-Reply-To: <7F83AE2C-4B8B-11D8-8F9A-000A9580FCCE@backtalk.com> References: <7F83AE2C-4B8B-11D8-8F9A-000A9580FCCE@backtalk.com> Message-ID: <331326D6-4B8F-11D8-BFF3-000A956C462A@mangomultimedia.com> On Jan 20, 2004, at 1:59 PM, Frank Leahy wrote: > This photo album product I'm working on is going great -- everything > I've wanted to do I've been able to do with Revolution. > > But I've come up against a problem -- it looks like the max height and > width of a group is around 32,000. > > Can anyone confirm this? If so, is there a work around? This is true. Apparently there can be problems with some graphics cards if you go above 32,000. I encountered this in a project where I create a timeline from a database. The way I worked around it was to create groups that were no larger than say 5,000 pixels. These groups were stored inside of another group. Main Group - Subgroup A (5,000 pixels) - Subgroup B (5,000 pixels) - Subgroup C (5,000 pixels) - etc. I stored the combined width of all subgroups which might be like 50,000 pixels. In my custom scroll bar I would determine where in that 50,000 pixel wide timeline the user currently was and then display the appropriate subgroup(s). As soon as a subgroup moved out of the viewable area of the main Group then I would tuck it away off screen until it was needed again. This way you are never setting the loc of any object outside of the -32,000/32,000 limit. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dsc at swcp.com Tue Jan 20 16:33:52 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 20 Jan 2004 14:33:52 -0700 Subject: Height/width limit on groups? In-Reply-To: <331326D6-4B8F-11D8-BFF3-000A956C462A@mangomultimedia.com> Message-ID: <5771C53E-4B90-11D8-A5F5-000A9567A3E6@swcp.com> On Tuesday, January 20, 2004, at 02:25 PM, Trevor DeVore wrote: > I stored the combined width of all subgroups which might be like > 50,000 pixels. In my custom scroll bar I would determine where in > that 50,000 pixel wide timeline the user currently was and then > display the appropriate subgroup(s). As soon as a subgroup moved out > of the viewable area of the main Group then I would tuck it away off > screen until it was needed again. Cool! I was thinking of doing this. I was also considering a green room and wings. Those subgroups moved from green room to wings get sent a message to get ready for being visible. Those going the other direction get another message to let them go idle and avoid unneeded updating. Dar Scott From rgmiller at pacbell.net Tue Jan 20 16:51:01 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Tue, 20 Jan 2004 13:51:01 -0800 Subject: use-revolution Digest, Vol 4, Issue 135 References: <20040120211019.1C6A7930159@mail.runrev.com> Message-ID: <400DA2C5.4020305@pacbell.net> Dar Scott wrote: > > On Tuesday, January 20, 2004, at 12:01 PM, Ray G. Miller wrote: > >> Yes, the globala are *declared* within a handler, but setting the >> globals for all can set, usually at the top of the script editor, for >> each "section" (card script, background script, button script). > > > > I like the word "globala"! Ok, smarty pants, I forgot to double-check the spellingn ;-) Actually "globala" is a pretty neat word. I'm gonna try to develop a function around it... > > If I understand you right, this is not the way I use "declare" and > "setting". > > I think of this as the "declaration": > > global aaa > > I think of this as the "setting": > > on yyy > put "ransom" into aaa -- <<== > end yyy > > Depending on the circumstances this might also be the "initialization". > > Or did I misread your point, Ray? > > Dar Scott > (Thinking of ways to use "globala" in a sentence.) > > Yea, it's not really clear. I just put the "globala" at the top and set their values in a handler. I then cut and paste the top "globala" into any script page I need them. Ray -- Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From rgmiller at pacbell.net Tue Jan 20 16:54:53 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Tue, 20 Jan 2004 13:54:53 -0800 Subject: strange reply message References: <20040120211019.1C6A7930159@mail.runrev.com> Message-ID: <400DA3AD.7@pacbell.net> Revers, For every message I sent to the list, I get a "Mailbox full. Can't deliver" message! Yet all the messages are delivered. Anyone else getting this strangeness? Ray developer of the famous "globala" Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From dsc at swcp.com Tue Jan 20 17:01:13 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 20 Jan 2004 15:01:13 -0700 Subject: use-revolution Digest, Vol 4, Issue 135 In-Reply-To: <400DA2C5.4020305@pacbell.net> Message-ID: <29CD7E20-4B94-11D8-A5F5-000A9567A3E6@swcp.com> On Tuesday, January 20, 2004, at 02:51 PM, Ray G. Miller wrote: > Actually "globala" is a pretty neat word. It is! So good, I had to risk sounding like I was picking on your spelling. Dar Scott From gbojsza at mac.com Tue Jan 20 17:01:51 2004 From: gbojsza at mac.com (Bojsza) Date: Tue, 20 Jan 2004 16:01:51 -0600 Subject: Working with externals question Message-ID: <4035AB9E-4B94-11D8-A751-003065F00EF2@mac.com> I have been working on an external for the Linux platform. A very basic one works (includes a function and a command). But I am having problems with the external which I have taken from some open source code. The code normally runs from the command line with several switch options such as trigger -F test.cfg -r data.04 This should return several lines of data. Currently I get a script error usually referring to the switches (not trigger itself -- so I think that part of the external is working) Should I be setting this as a command or a function in the external? Is there a particular format I should use for passing the parameters? Is the a way to tell if the external knows the existence of the function or command? The external that I have working is the basic one that I can ask the user to input a number and the external adds 1 to it and returns the result. Similarly another example is where a user is asked for two numbers and the product is returned. Any guidance is appreciated. regards, Glen From sarahr at genesearch.com.au Tue Jan 20 17:08:37 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 21 Jan 2004 08:08:37 +1000 Subject: get mail from pop3 In-Reply-To: References: Message-ID: <32483A6A-4B95-11D8-BAAC-0003937A97B8@genesearch.com.au> Hi Richard, I have a stack that reads POP mail. I have been tidying it up for release but if you want to play with a pre-release version, just email me off-list and I'll send it to you. It connects to your POP server, downloads any emails and saves them as text files. Any attachments are saved as part of the email in their encoded form and I haven't yet written any scripts to decode them as I don't need that yet, but you might still find it useful. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 21 Jan 2004, at 7:27 am, R. Hillen wrote: > Hello list, > > Some days ago I read about Shao Seans new libSmtp and libEmail, so I > wanted to try it out. > But my ISP wants me to first get mail from my account (with username, > pssword) before I can send mail. > > So my question: How can I get Mail from a pop3-server with RunRev? > > Thanx for your help. > > Richard Hillen. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarahr at genesearch.com.au Tue Jan 20 17:10:13 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 21 Jan 2004 08:10:13 +1000 Subject: Burn files to CD in Rev - Burning Desire Stack In-Reply-To: <3396DAAA-4B1E-11D8-9642-000A95763ABC@macosx.com> References: <3396DAAA-4B1E-11D8-9642-000A95763ABC@macosx.com> Message-ID: <6B5D9708-4B95-11D8-BAAC-0003937A97B8@genesearch.com.au> Open up Terminal, drag you folder into the Terminal window and see how it displays it. I think Dar is right and the space gets prefixed with a backslash (or possibly a forward slash) but using the Terminal itself is the best way to make sure you have it right. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 20 Jan 2004, at 5:58 pm, Barry Levine wrote: > I do have one question, though (for now). I have a folder that has a > space as part of its name ("my folder" for example). How would one > specify this folder as the source? I get an error that is obviously > due to the Terminal mis-parsing the folder name as a result of the > space. I have placed the folder path into a field but referencing the > field leaves that darn space. I imagine I'd have to replace that space > with an ASCII code? From lists at mangomultimedia.com Tue Jan 20 17:32:14 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 20 Jan 2004 15:32:14 -0700 Subject: Height/width limit on groups? In-Reply-To: <5771C53E-4B90-11D8-A5F5-000A9567A3E6@swcp.com> References: <5771C53E-4B90-11D8-A5F5-000A9567A3E6@swcp.com> Message-ID: <7EC0E0BF-4B98-11D8-BFF3-000A956C462A@mangomultimedia.com> On Jan 20, 2004, at 2:33 PM, Dar Scott wrote: > > On Tuesday, January 20, 2004, at 02:25 PM, Trevor DeVore wrote: > >> I stored the combined width of all subgroups which might be like >> 50,000 pixels. In my custom scroll bar I would determine where in >> that 50,000 pixel wide timeline the user currently was and then >> display the appropriate subgroup(s). As soon as a subgroup moved out >> of the viewable area of the main Group then I would tuck it away off >> screen until it was needed again. > > Cool! > > I was thinking of doing this. > > I was also considering a green room and wings. Those subgroups moved > from green room to wings get sent a message to get ready for being > visible. Those going the other direction get another message to let > them go idle and avoid unneeded updating. Messaging would be a great addition. Green room and wings is a great way to visualize it as well. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From mwieder at ahsoftware.net Tue Jan 20 17:42:45 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 20 Jan 2004 14:42:45 -0800 Subject: Weirdness with global variable declaration In-Reply-To: <63FE9F70-4B7D-11D8-A5F5-000A9567A3E6@swcp.com> References: <63FE9F70-4B7D-11D8-A5F5-000A9567A3E6@swcp.com> Message-ID: <6321801939.20040120144245@ahsoftware.net> Dar- Think globala, act locala. -- -Mark Wieder mwieder at ahsoftware.net From gizmotron at earthlink.net Tue Jan 20 17:51:30 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 20 Jan 2004 14:51:30 -0800 Subject: Height/width limit on groups? In-Reply-To: <7EC0E0BF-4B98-11D8-BFF3-000A956C462A@mangomultimedia.com> Message-ID: <2FDB8FFB-4B9B-11D8-9E72-000A95859272@earthlink.net> On Tuesday, January 20, 2004, at 02:32 PM, Trevor DeVore wrote: > Messaging would be a great addition. Green room and wings is a great > way to visualize it as well. >> Dar wrote: "Green room and wings" I was getting something like this: put buzzOff(greenSlime, flapWings, 2233) into bird1 You should see my code when I don't care if anyone ever sees it. I once wrote a function that had a cat chasing a dog that ended up in a mouse trap. It was really part of a home grown HTML parser. ? From jacque at hyperactivesw.com Tue Jan 20 18:01:30 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 20 Jan 2004 17:01:30 -0600 Subject: strange reply message In-Reply-To: <400DA3AD.7@pacbell.net> References: <20040120211019.1C6A7930159@mail.runrev.com> <400DA3AD.7@pacbell.net> Message-ID: <400DB34A.7040902@hyperactivesw.com> On 1/20/04 3:54 PM, Ray G. Miller wrote: > Revers, > For every message I sent to the list, I get a "Mailbox full. Can't > deliver" message! Yet all the messages are delivered. Anyone else > getting this strangeness? > > Ray > developer of the famous "globala" Yup, everyone is getting it. There is some user out there whose ISP is sending those. I'll ask Kevin if he can fix it, it has been going on for a long time. I love "globala", btw. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gizmotron at earthlink.net Tue Jan 20 18:11:50 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 20 Jan 2004 15:11:50 -0800 Subject: strange reply message In-Reply-To: <400DB34A.7040902@hyperactivesw.com> Message-ID: <06F99B2B-4B9E-11D8-9E72-000A95859272@earthlink.net> On Tuesday, January 20, 2004, at 03:01 PM, J. Landman Gay wrote: > "globala" 1.) ebola on steroids 2.) global ebola virus 3.) New coined slang for a whopper of an internet virus I guess that would be "globola." From 3mcgrath at adelphia.net Tue Jan 20 17:47:04 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Tue, 20 Jan 2004 17:47:04 -0500 Subject: custom tab buttons In-Reply-To: <000101c3df75$2814b800$64fea8c0@chris1> References: <000101c3df75$2814b800$64fea8c0@chris1> Message-ID: <91BC7E47-4B9A-11D8-901C-000A95DA60FA@adelphia.net> It is too bad we can't use the imageSource to change a char in a button name to a graphic in the button name... It is just text after all just like a field. Tom On Jan 20, 2004, at 11:47 AM, Chris Sheffield wrote: > Thanks, Bob. I already have ButtonGadget. And I agree, it's an > awesome > tool! But what I need to know is how to get my button graphics into a > tab > control. Any ideas on that? > > Chris Sheffield > Software Development > Read Naturally > > > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Bob > Hartley > Sent: Tuesday, January 20, 2004 9:30 AM > To: How to use Revolution > Subject: Re: custom tab buttons > > > At 15:22 20/01/2004, you wrote: >> Does anyone have a good example of how to create a custom tab control >> with custom button graphics? I know I've seen this before, but I >> can't >> figure out how to do it. Maybe it's just faked? > > If you go to altuit.com and buy Button Gadget (I did and it is a great > application) you can get the pro version. > > This if I remember correctly has a built-in rev converter. > > > >> I know Chipp Walters has done this in some of his apps. So Chipp, if >> you're reading this, can you share how you do that? > > I'd save all the hastle and buy the app. It is cheap. > > >> Thanks, >> >> Chris Sheffield >> Software Development >> Read Naturally > > > Cheers > Bob > > >> --- >> Outgoing mail is certified Virus Free. >> Checked by AVG anti-virus system (http://www.grisoft.com). >> Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From dsc at swcp.com Tue Jan 20 18:38:10 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 20 Jan 2004 16:38:10 -0700 Subject: Height/width limit on groups? In-Reply-To: <2FDB8FFB-4B9B-11D8-9E72-000A95859272@earthlink.net> Message-ID: On Tuesday, January 20, 2004, at 03:51 PM, Mark Brownell wrote: >> Messaging would be a great addition. Green room and wings is a great >> way to visualize it as well. > >>> Dar wrote: "Green room and wings" > > I was getting something like this: > > put buzzOff(greenSlime, flapWings, 2233) into bird1 I never got into that, though I have seen code of those that do. The image I was trying to convey was a stage metaphore: On stage-- object is visible In wings-- object is expected to become visible in a timely manner In green room-- object might become visible, but slow response is OK For example, if an object was near the window of visibility and might be quickly scrolled into it, then it would be "in wings". If it would take lots of scrolling or some hops to get to it, then it would be "in green room". I probably butchered the terminology as those in theater might already see. Dar Scott From 3mcgrath at adelphia.net Tue Jan 20 18:27:54 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Tue, 20 Jan 2004 18:27:54 -0500 Subject: Burn files to CD in Rev - Burning Desire Stack In-Reply-To: <6B5D9708-4B95-11D8-BAAC-0003937A97B8@genesearch.com.au> References: <3396DAAA-4B1E-11D8-9642-000A95763ABC@macosx.com> <6B5D9708-4B95-11D8-BAAC-0003937A97B8@genesearch.com.au> Message-ID: <4613A962-4BA0-11D8-901C-000A95DA60FA@adelphia.net> Yes that is a backslash that is used to determine the space in Terminal. Tom On Jan 20, 2004, at 5:10 PM, Sarah Reichelt wrote: > Open up Terminal, drag you folder into the Terminal window and see how > it displays it. I think Dar is right and the space gets prefixed with > a backslash (or possibly a forward slash) but using the Terminal > itself is the best way to make sure you have it right. > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > > On 20 Jan 2004, at 5:58 pm, Barry Levine wrote: > >> I do have one question, though (for now). I have a folder that has a >> space as part of its name ("my folder" for example). How would one >> specify this folder as the source? I get an error that is obviously >> due to the Terminal mis-parsing the folder name as a result of the >> space. I have placed the folder path into a field but referencing the >> field leaves that darn space. I imagine I'd have to replace that >> space with an ASCII code? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Tue Jan 20 18:31:36 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Tue, 20 Jan 2004 18:31:36 -0500 Subject: Height/width limit on groups? In-Reply-To: <2FDB8FFB-4B9B-11D8-9E72-000A95859272@earthlink.net> References: <2FDB8FFB-4B9B-11D8-9E72-000A95859272@earthlink.net> Message-ID: I love it!!!! I am too lazy to get that creative. My scripts when I know no one will see them are more like put as(mygrs, mygrp, 2233) into mydd1 which is just awful...... What are some good topics to associate with scripting of this nature? Birds are good - What else might work? Tom On Jan 20, 2004, at 5:51 PM, Mark Brownell wrote: > > On Tuesday, January 20, 2004, at 02:32 PM, Trevor DeVore wrote: > >> Messaging would be a great addition. Green room and wings is a great >> way to visualize it as well. > >>> Dar wrote: "Green room and wings" > > I was getting something like this: > > put buzzOff(greenSlime, flapWings, 2233) into bird1 > > You should see my code when I don't care if anyone ever sees it. I > once wrote a function that had a cat chasing a dog that ended up in a > mouse trap. It was really part of a home grown HTML parser. > > ? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Tue Jan 20 18:31:36 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Tue, 20 Jan 2004 18:31:36 -0500 Subject: Height/width limit on groups? In-Reply-To: <2FDB8FFB-4B9B-11D8-9E72-000A95859272@earthlink.net> References: <2FDB8FFB-4B9B-11D8-9E72-000A95859272@earthlink.net> Message-ID: I love it!!!! I am too lazy to get that creative. My scripts when I know no one will see them are more like put as(mygrs, mygrp, 2233) into mydd1 which is just awful...... What are some good topics to associate with scripting of this nature? Birds are good - What else might work? Tom On Jan 20, 2004, at 5:51 PM, Mark Brownell wrote: > > On Tuesday, January 20, 2004, at 02:32 PM, Trevor DeVore wrote: > >> Messaging would be a great addition. Green room and wings is a great >> way to visualize it as well. > >>> Dar wrote: "Green room and wings" > > I was getting something like this: > > put buzzOff(greenSlime, flapWings, 2233) into bird1 > > You should see my code when I don't care if anyone ever sees it. I > once wrote a function that had a cat chasing a dog that ended up in a > mouse trap. It was really part of a home grown HTML parser. > > ? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Tue Jan 20 18:13:58 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Tue, 20 Jan 2004 18:13:58 -0500 Subject: custom tab buttons In-Reply-To: References: Message-ID: <53471C6B-4B9E-11D8-901C-000A95DA60FA@adelphia.net> put the hilitedButtonName of grp "tabControl" hide grp "Tab One" hide grp "Tab Two" hide grp "Tab Three" put the hilitedButtonName of grp "tabControl" into t Why did you put in the first line here? What does it do? Thanks Tom On Jan 20, 2004, at 2:25 PM, Chipp Walters wrote: > > open URL "http://www.altuit.com/webs/altuit2/RunRev/tabExample.rev" Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From gizmotron at earthlink.net Tue Jan 20 19:00:03 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 20 Jan 2004 16:00:03 -0800 Subject: Height/width limit on groups? In-Reply-To: Message-ID: On Tuesday, January 20, 2004, at 03:38 PM, Dar Scott wrote: > For example, if an object was near the window of visibility and might > be quickly scrolled into it, then it would be "in wings". If it would > take lots of scrolling or some hops to get to it, then it would be "in > green room". I get it. Stage, standing in the wings, & off stage waiting room. > I probably butchered the terminology as those in theater might already > see. > > Dar Scott I think you've got it. If I wanted to butcher the terminology I would use chops, cleaver, slab, and block... :-) Then you could sell it with slogans like "Where's the beef?" Mark From gizmotron at earthlink.net Tue Jan 20 19:12:09 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 20 Jan 2004 16:12:09 -0800 Subject: Height/width limit on groups? In-Reply-To: Message-ID: <743165E3-4BA6-11D8-B3DC-000A95859272@earthlink.net> On Tuesday, January 20, 2004, at 03:31 PM, Thomas J McGrath III wrote: > My scripts when I know no one will see them are more like > put as(mygrs, mygrp, 2233) into mydd1 > which is just awful...... > > What are some good topics to associate with scripting of this nature? with Rev's very cool object style you could stash a bunch of functions that could allow you to make calls that actually do something useful but sound completely off the wall. I love this stuff too. I burnt all the free brain cells for today otherwise I'd slap something together. imagine this: if the dog 8 my homework then change my grade end if this would log into a secure database and improve your grades. or it could give you a break on your taxes... :-) Mark From mwieder at ahsoftware.net Tue Jan 20 20:24:58 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 20 Jan 2004 17:24:58 -0800 Subject: Working with externals question In-Reply-To: <4035AB9E-4B94-11D8-A751-003065F00EF2@mac.com> References: <4035AB9E-4B94-11D8-A751-003065F00EF2@mac.com> Message-ID: <8631534824.20040120172458@ahsoftware.net> Bojsza- Tuesday, January 20, 2004, 2:01:51 PM, you wrote: B> Should I be setting this as a command or a function in the external? If trigger returns text to you and you want to handle it in Transcript then you'll need this to be an XFCN. Package the return text using the istrdup() function and return it in retstring. If you don't need to return text to Transcript then you can get by with an XCMD. B> Is there a particular format I should use for passing the parameters? you can recover the parameters from the args[] array. In your example you'd find args[0] = "-F" args[1] = "test.cfg" args[2] = "-r" args[3] = "data.04" (unless you're passing "trigger" itself as a parameter, of course. B> Is the a way to tell if the external knows the existence of the B> function or command? put the externalCommands of this stack put the externalFunctions of this stack -- -Mark Wieder mwieder at ahsoftware.net From vokey at uleth.ca Tue Jan 20 21:12:34 2004 From: vokey at uleth.ca (Dr.John R.Vokey) Date: Tue, 20 Jan 2004 19:12:34 -0700 Subject: use-revolution Digest, Vol 4, Issue 136 In-Reply-To: <20040120230227.9237D930176@mail.runrev.com> References: <20040120230227.9237D930176@mail.runrev.com> Message-ID: <46892979-4BB7-11D8-B03A-0050E405DB27@uleth.ca> Good gollyla Miss Mollyla! On Jan 20, 2004, at 4:02 PM, use-revolution-request at lists.runrev.com wrote: > Dar- > > Think globala, act locala. > > -- > -Mark Wieder -- John From squance at elkvalley.net Tue Jan 20 21:12:30 2004 From: squance at elkvalley.net (David Squance) Date: Tue, 20 Jan 2004 19:12:30 -0700 Subject: OT: CD Burner woes In-Reply-To: <6B5D9708-4B95-11D8-BAAC-0003937A97B8@genesearch.com.au> References: <3396DAAA-4B1E-11D8-9642-000A95763ABC@macosx.com> <3396DAAA-4B1E-11D8-9642-000A95763ABC@macosx.com> Message-ID: Hi Group, I hesitate to bring this up to this list, since it's OT, but there's been some discussion of CD burning, so it's close. I'm looking for some advice re my Que external which hasn't worked since I left OS 9.1. As a hobbyist, I'm not a high-volume distribution producer, and my first project was just for one local situation, and I managed with a superdrive (single platform). But now I want to burn CDs. I'm running OS10.3.2, the drive is a QPS 525 (USB). Is there any hope of getting a driver for it that will work? Or should I bite the bullet and get a new one? TIA, Dave From 3mcgrath at adelphia.net Tue Jan 20 18:24:59 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Tue, 20 Jan 2004 18:24:59 -0500 Subject: strange reply message In-Reply-To: <400DA3AD.7@pacbell.net> References: <20040120211019.1C6A7930159@mail.runrev.com> <400DA3AD.7@pacbell.net> Message-ID: I owuld ocnsider "globala" an infamuos creatoin. And that only happens to me when I've sent or received a rather large email. My Dad always sends me very large junk type emails. I hate it cause it then fills my quota from my ISP. This is why I always keep more than one email address. I have seven right now. Tom On Jan 20, 2004, at 4:54 PM, Ray G. Miller wrote: > Revers, > For every message I sent to the list, I get a "Mailbox full. Can't > deliver" message! Yet all the messages are delivered. Anyone else > getting this strangeness? > > Ray > developer of the famous "globala" > > Ray G. Miller > __________________ > Turtlelips Productions > 4009 Everett Ave. > Oakland, CA 94602 > MailTo:rgmiller at pacbell.net > (V) 510.530.1971 > (F) 510.482.3491 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From doug at webcrossing.com Tue Jan 20 22:12:21 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 21 Jan 2004 12:12:21 +0900 Subject: question about the templateGraphic Message-ID: Does anybody know exactly what is cleared when the templateGraphic gets reset? In an app I am doing it seems that sometimes "the points" from a previous graphic end up hanging around in subsequent graphics I create. Thanks, doug From chipp at chipp.com Tue Jan 20 22:35:49 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 20 Jan 2004 21:35:49 -0600 Subject: custom tab buttons In-Reply-To: <000a01c3df8c$cb16a420$64fea8c0@chris1> Message-ID: Certainly, you can add a disabled state if you wish. >> Thanks, Chipp. That is exactly what I needed. I'm assuming you > could add a > disabled state as well. Would that cause any problems? > > Chris > > From chipp at chipp.com Tue Jan 20 22:35:50 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 20 Jan 2004 21:35:50 -0600 Subject: custom tab buttons In-Reply-To: <53471C6B-4B9E-11D8-901C-000A95DA60FA@adelphia.net> Message-ID: OOPS, sorry, it was just some debug code. It turns out you *can't* put this handler in the button group itself...that's why I put it in the card script. I was using the put as a quick debug tool. -Chipp > > put the hilitedButtonName of grp "tabControl" > hide grp "Tab One" > hide grp "Tab Two" > hide grp "Tab Three" > put the hilitedButtonName of grp "tabControl" into t > > Why did you put in the first line here? What does it do? > > Thanks > > Tom > From chipp at chipp.com Tue Jan 20 22:35:51 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 20 Jan 2004 21:35:51 -0600 Subject: custom tab buttons In-Reply-To: <91BC7E47-4B9A-11D8-901C-000A95DA60FA@adelphia.net> Message-ID: Tom, You can change the icon of a button and KEEP the name of the button visible if you like. You can also have the text on the left, below, or to the right by playing around with the text alignment of the button as well. I think this satisfies what you want to do... -Chipp > > It is too bad we can't use the imageSource to change a char in a button > name to a graphic in the button name... It is just text after all just > like a field. > > Tom > > From alex at mindlube.com Tue Jan 20 23:34:27 2004 From: alex at mindlube.com (Alex Rice) Date: Tue, 20 Jan 2004 21:34:27 -0700 Subject: Working with externals question In-Reply-To: <4035AB9E-4B94-11D8-A751-003065F00EF2@mac.com> References: <4035AB9E-4B94-11D8-A751-003065F00EF2@mac.com> Message-ID: <18BE9C94-4BCB-11D8-88C5-000393C4760A@mindlube.com> On Jan 20, 2004, at 3:01 PM, Bojsza wrote: > > trigger -F test.cfg -r data.04 In transcript, no external required! get shell("trigger -F test.cfg -r data.04") If it really needs to be an external, then look at the standard library routine system(). int result = system("trigger -F test.cfg -r data.04"); make sure to read `man system` for info about error signals and other considerations. The system call doesn't return any data however. int result = system("trigger -F test.cfg -r data.04 > outputfile"); Then the stdout of trigger is put in outputfile. sprintf() could be used to build up the arguments to the trigger command. > Is the a way to tell if the external knows the existence of the > function or command? Not sure if this is what you mean: See the UNIX command "which". It tells you if a command exists in the current PATH, and if so, what the location of the executable is. For example which java /opt/IBMJava2-14/bin/java which nothing which: no nothing in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/IBMJava2 -14/bin:.) -- Alex Rice | Mindlube Software | http://mindlube.com From rgould8 at aol.com Tue Jan 20 23:58:19 2004 From: rgould8 at aol.com (rgould8 at aol.com) Date: Tue, 20 Jan 2004 23:58:19 -0500 Subject: Challenge for a Rev/Unix Mac expert Message-ID: <1B47BB75.330FCBF2.0018446D@aol.com> I mailed a posting a few days ago about a problem I was having with Revolution when launching a unix command-line application with the shell() command. The problem I'm having is that the first time this particular unix call is invoked, it requires the Mac OS X authentification popup to display, which causes Revolution to hang for some reason. I've come to realize that really the only way to get help with this is to show you want I'm talking about, and that's going to involve me creating a little web-page with the download of the source code and the unix call. http://librarytools.com/helpneeded.htm The .rev app is only 5 lines of code, and 1 button. Very simple - - - and very simple to reproduce the problem. The unix command is called "PPPSetup". It basically dials the Mac modem and logs in to the dialup server using whatever phone # and username and password is provided. If you run this from the terminal, it runs perfectly every time. If you run the rev app, it will hang itself the first time you authenticate. Then, hit FORCE-QUIT, then run it again, and it will be fine from then on out. The only solutions I can possibly think of are: 1) Have someone write a Carbon app on the Mac which just does the PPPSetup call with the parameters I've supplied, which then authenticates with the popup, and then sublaunches my main Rev app. If someone knows how to do this, or is willing to try this as an experiment, please let me know. 2) Perhaps there's a way to write a standalone Applescript application that will do a shell to this PPPSetup command, and then sublaunch my main REV application. However, I suspect that Applescript may have the same hanging problem. 3) Perhaps I could give someone the source-code to the PPPSetup unix call and see if there's some way to make it recover from the authentification popup. I don't know C, so I can't troubleshoot this myself. 4) If someone can find a working Applescript that will dial a modem with a username/password to a specific telephone #, that would be a great solution. However, I have yet to see such a working script. (lots of examples of just dialing, but no examples of dialing with username/password - - - you have to have applescript create a configuration first, and the folks on the AS listserve I'm on don't seem to think it's possible. It is in the Applescript dictionary for Internet connect, but I haven't found a technique or script that actually works) I already tried the SUDO command on this PPPSetup app, but since it's really an app and not just a command-line call, SUDO doesn't seem to like that approach. Any solutions to this problem are GREATLY appreciated. My present solution is to have Mindvision Installer VISE run PPPSetup and then sublaunch my REV app. This works, but it's sloppy. I'd like to do it all in Rev if at all possible. - Rob From chipp at chipp.com Wed Jan 21 01:13:17 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 21 Jan 2004 00:13:17 -0600 Subject: ButtonGadget on the Mac... Message-ID: Hi all, I'm busy porting ButtonGadget to the Mac. I've only got an I-Book with Panther on it. I'm using the latest vers of RR and I've stumbled onto a real problem... Those of you with Macs, can you do me a favor and next time you're in Rev type in the msg: open URL "http://www.altuit.com/webs/altuit2/test2/alphatest.rev" This is a simple test for setting the alphadata of one image to the alphadata of another image. Can you please click the test button and report back (via the Email link on the stack) the result? My finding is that the alphadata cannot be set from the first image to the second image on the Mac, whereas it works just fine on the PC. Any insights will be helpful as well :-) best, Chipp From alex at mindlube.com Wed Jan 21 02:01:25 2004 From: alex at mindlube.com (Alex Rice) Date: Wed, 21 Jan 2004 00:01:25 -0700 Subject: Challenge for a Rev/Unix Mac expert In-Reply-To: <1B47BB75.330FCBF2.0018446D@aol.com> References: <1B47BB75.330FCBF2.0018446D@aol.com> Message-ID: On Jan 20, 2004, at 9:58 PM, rgould8 at aol.com wrote: > I mailed a posting a few days ago about a problem I was having with > Revolution when launching a unix command-line application with the > shell() command. The problem I'm having is that the first time this > particular unix call is invoked, it requires the Mac OS X > authentification popup to display, which causes Revolution to hang for > some reason. A gnarly problem you've got here. If your installer software can launch PPPSetup then I would just go with that. I don't think it's the authentication itself that is causing Rev to hang. There are other problems here. (Even after authentication is done, the PPPSetup command hangs for me.) PPPSetup launches a second instance of itself [1] as a subprocess- which apparently confuses Rev and it thinks that it has to wait for all processes to complete. (or maybe something weird with TTYs or signals)? In Terminal, PPPSetup returns immediately, or waits for authentication, depending whether authentication has been done. Just an observation about it's varying behavior in behavior in normal conditions. In Rev shell, PPPSetup always hangs no matter whether authentication has been done. In applescript with the "do shell script ..." version of this command ALSO hangs no matter whether authentication has been done. In Terminal I can background PPPSetup with job control & no problems. In Rev shell I cannot background PPPSetup with job control & (even by writing a separate /bin/sh script to do it). In applescript I cannot background PPPSetup with job control & [1] I think PPPSetup is spawning other processes because I keep ending up with these long running processes "./PPPSetup" when the process I started was named "./PPPSetup m username password 7035551212" and had already ended. # ps ax | grep PPP 535 ?? S 0:00.07 ./PPPSetup -- Alex Rice | Mindlube Software | http://mindlube.com From cowhead at mac.com Wed Jan 21 04:07:34 2004 From: cowhead at mac.com (mark) Date: Wed, 21 Jan 2004 18:07:34 +0900 Subject: rev unicode still crap? In-Reply-To: <20040115233225.E440B930410@mail.runrev.com> Message-ID: <408252FA-4BF1-11D8-853C-000A956E5E04@mac.com> After beating my head on the wall in the past, I decided to return to this issue. However, as far as I can tell, the unicode and uniEncode capability of rev is still crap. I attempted to convert an old stack into unicode... very simple script: create field put uniEncode(field "oldshiftJis",Japanese) into last field set the textFont of last field to "osaka,japanese" The new fields made in this way display the japanese text just fine. But if you attempt to edit them, you go into endless beachball spin and have to force-quit rev. Again and again.... This is rev 2.02 on mac OS10.2. I would purchase the update to rev 2.1x if the unicode handling were not still crap in that. Anyone know if it was improved between these versions? Boy do I pine for the ease of Hypercard's Japanese ability! mark mitchell japan From P.Jimmieson at csc.liv.ac.uk Wed Jan 21 04:57:23 2004 From: P.Jimmieson at csc.liv.ac.uk (Phil Jimmieson) Date: Wed, 21 Jan 2004 09:57:23 +0000 Subject: [OT] Poetry (was Re: Height/width limit on groups?) In-Reply-To: <743165E3-4BA6-11D8-B3DC-000A95859272@earthlink.net> References: <743165E3-4BA6-11D8-B3DC-000A95859272@earthlink.net> Message-ID: >On Tuesday, January 20, 2004, at 03:31 PM, Thomas J McGrath III wrote: > >>My scripts when I know no one will see them are more like >>put as(mygrs, mygrp, 2233) into mydd1 >>which is just awful...... >> >>What are some good topics to associate with scripting of this nature? > >with Rev's very cool object style you could stash a bunch of >functions that could allow you to make calls that actually do >something useful but sound completely off the wall. I love this >stuff too. I burnt all the free brain cells for today otherwise I'd >slap something together. > >imagine this: > >if the dog 8 my homework then > change my grade >end if Which kind of brings to mind those people who write poetry in the perl programming language. One quick Google later and I found this fab example at http://perlmonks.thepen.com/Perl%20Poetry.html : formline BY, $the_confessional; pack "IN", $the_box; bless $me, Father for @I_have_sinned; time - $last_confession > 20 * 365 * 24 * 60 * 60; my $father; $I, seek YOUR, $wisdom, $guidance and $support; $I, sin and $wonder if exists $god{"in heaven"}, each %day; $I, link "chains across the", exit; @the_orphanage; $I, pop @children's_balloons for $fun; $I, do { sleep $around }; $I, push @nuns, $with_a_broom; $I, read MY_NEIGHBOR'S, $mail, 1 or 30, times, each %month; $I, import and exp$ort, $illegal_goods; $oh and local $police_are_looking for @me; cos $I, kill$ed, $my_mother_in_law; ; tell ME_WHAT_SHOULD_I_DO; my $son; eval $your_situation and study $the_bible while $I, $the_police->(); , $Ummm ... wait while $I, split; exit, $the_confessional; join "the", @circus; So, anyone up for writing some Transcript poetry? :-) -- Phil Jimmieson phil at csc.liv.ac.uk (UK) 0151 794 3689 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Chadwick Building, Peach Street Liverpool L69 7ZF http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From roger.kingston at ntlworld.com Wed Jan 21 04:54:41 2004 From: roger.kingston at ntlworld.com (Roger Kingston) Date: Wed, 21 Jan 2004 09:54:41 -0000 Subject: How to list tables in an SQL database In-Reply-To: <20040120084421.96950.qmail@web60509.mail.yahoo.com> Message-ID: <000001c3e004$9dfc1420$061cfea9@UltraSolve1> Thanks again Jan, I very much appreciate your in-depth knowledge of the secrets of Rev! My tests, which I performed on ODBC connections both local (MS Access) and over the Internet (MS SQL), show that the revdb_tablenames() function does exist (i.e. no error message when called), but the response is always empty. This is strange, because I can manipulate the connected databases very successfully with all the other revdb funtions and commands, so I'm not sure what is going wrong here. I tried the exact example you mailed me and the response was empty. Perhaps this is why the function isn't documented, maybe it's not properly supported? The only other clue I have is that when using the Automatic DB Query form, it too fails to list the database tables. Could it be connected with something in my local setup or do others experience the same problem? Regards Roger Kingston Hi Roger, Indeed I was referring to an automatic query from the Query Builder. If you're not using that, you could try the 'revdb_tablenames' function ; unfortunately that didn't get an entry in the docs either. So assuming tConnectionID is the ID of a connection to your database, try this : -- put revdb_tablenames(tConnectionID) into tTables answer tTables -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From livfoss at blueyonder.co.uk Wed Jan 21 05:22:11 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Wed, 21 Jan 2004 10:22:11 +0000 Subject: Chipp's alphatest Message-ID: Chipp, I tried to send you this personally, but it bounced**, so for info: Your test works fine on MacOS 9.2.2. I will try it on a pre-panther OSX (10.2.8) shortly and email you again. HTH Graham ======= ** - for Chipp's info, part of the bounce message. Looks like your ISP doesn't like something about my ISP, but I'm not sure >Your message > > To: chipp at chipp.com > Subject: Your alphatest.rev > Sent: Wed, 21 Jan 2004 09:40:42 -0000 > >did not reach the following recipient(s): > >chipp at chipp.com on Wed, 21 Jan 2004 09:41:13 -0000 > There was a SMTP communication problem with the recipient's email >server. Please contact your system administrator. > 195.188.213.5 is in a black list at dnsbl.sorbs.net> > > >Reporting-MTA: dns; ECOWV05M.Telewest.Internal > >Final-Recipient: RFC822; chipp at chipp.com >Action: failed >Status: 5.5.0 >X-Supplementary-Info: smtp;550-rejected because 195.188.213.5 is in a black list at >dnsbl.sorbs.net>.... -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Wed Jan 21 06:40:22 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Wed, 21 Jan 2004 11:40:22 +0000 Subject: Chipp's alphatest (2) Message-ID: I tried the test on MacOS 10.2.8 (Jaguar). It didn't work (the turquoise rectangle behind the right hand button didn't change). I noted that the AlphaData of the button was non-empty (didn't try to look at the contents). Since it's a button rather than an image, I don't know what that's supposed to mean (the TD suggests that only images can have AlphaData), but it may be of interest. HTH Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From dave at b-i-s.org Wed Jan 21 07:25:59 2004 From: dave at b-i-s.org (Dave Cope) Date: Wed, 21 Jan 2004 12:25:59 +0000 Subject: closeStackRequest Issue. Message-ID: <200401211225.59627.dave@b-i-s.org> Hi, I am trapping the closeStackRequest message to allow a user to discard/save pending edits. This works fine when I close the stack using the close button of the stack window. I have a button control on the card whose handler is simply; on mouseDown close this stack end mouseDown The above handler closes the stack regardless and to my mind does not trigger the closeStackRequest. I'd be grateful for any clues. Thanks. Kind Regards, -- Dave Cope, Data & Systems Admin. Biodiversity Information Service for Powys and Brecon Beacons National Park. Gwasanaeth Gwybodaeth Fioamrywiaeth Powys A Pharc Cenedlaethol Bannau Brycheiniog. EMail: dave at b-i-s.org Web: http://www.b-i-s.org From plsntbreez at mac.com Wed Jan 21 07:40:12 2004 From: plsntbreez at mac.com (Brian Maher) Date: Wed, 21 Jan 2004 04:40:12 -0800 Subject: Password Field Message-ID: <7302367.1074688812959.JavaMail.plsntbreez@mac.com> Hi Folks, Well, I ended up taking a different tack on the password field thing. Although the solutions given will work in most cases I decided to go the route of setting the foreground, background and hilite color of my password field to white then disallowing the "copy" function (Cmd-C, Ctrl-C) so that no one can select the entered text, copy it to the clipboard then paste it into something else in order to obtain the password. In the end this ended up being easier than trying to (1) figure out all the possible ways someone can "get" the password and (2) ensure that whatever someone does with the mouse or keyboard, the entered password is correct (i.e. what if they use the mouse to select some of the "dots" in the field and remove them ... it was just getting too complicated). Thanks, Brian From rbarber at yhb.att.ne.jp Wed Jan 21 08:05:48 2004 From: rbarber at yhb.att.ne.jp (ron barber) Date: Wed, 21 Jan 2004 22:05:48 +0900 Subject: rev unicode still crap? In-Reply-To: <408252FA-4BF1-11D8-853C-000A956E5E04@mac.com> References: <408252FA-4BF1-11D8-853C-000A956E5E04@mac.com> Message-ID: <88292054-4C12-11D8-8AA3-000A95DAEEF0@yhb.att.ne.jp> Hi Mark RR is still not there concerning unicode in general and Japanese in particular. We are waiting in confidence that Tuviah and others will come through with everything promised by v2.5. However, there was a bug fixed with uniencode/decode in 2.1.2. I suggest you download the trial and try it. Ron On Jan 21, 2004, at 6:07 PM, mark wrote: > After beating my head on the wall in the past, I decided to return to > this issue. However, as far as I can tell, the unicode and uniEncode > capability of rev is still crap. I attempted to convert an old stack > into unicode... very simple script: > > create field > put uniEncode(field "oldshiftJis",Japanese) into last field > set the textFont of last field to "osaka,japanese" > > The new fields made in this way display the japanese text just fine. > But if you attempt to edit them, you go into endless beachball spin > and have to force-quit rev. Again and again.... > > This is rev 2.02 on mac OS10.2. I would purchase the update to rev > 2.1x if the unicode handling were not still crap in that. Anyone know > if it was improved between these versions? Boy do I pine for the ease > of Hypercard's Japanese ability! > > mark mitchell > japan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From doug at webcrossing.com Wed Jan 21 08:47:38 2004 From: doug at webcrossing.com (Doug Lerner) Date: Wed, 21 Jan 2004 22:47:38 +0900 Subject: rev unicode still crap? In-Reply-To: <88292054-4C12-11D8-8AA3-000A95DAEEF0@yhb.att.ne.jp> Message-ID: No wonder I have been having trouble with all my Japanese field editing attempts! doug On 1/21/04 10:05 PM, "ron barber" wrote: > Hi Mark > > RR is still not there concerning unicode in general and Japanese in > particular. We are waiting in confidence that Tuviah and others will > come through with everything promised by v2.5. However, there was a bug > fixed with uniencode/decode in 2.1.2. I suggest you download the trial > and try it. > > Ron > > On Jan 21, 2004, at 6:07 PM, mark wrote: > >> After beating my head on the wall in the past, I decided to return to >> this issue. However, as far as I can tell, the unicode and uniEncode >> capability of rev is still crap. I attempted to convert an old stack >> into unicode... very simple script: >> >> create field >> put uniEncode(field "oldshiftJis",Japanese) into last field >> set the textFont of last field to "osaka,japanese" >> >> The new fields made in this way display the japanese text just fine. >> But if you attempt to edit them, you go into endless beachball spin >> and have to force-quit rev. Again and again.... >> >> This is rev 2.02 on mac OS10.2. I would purchase the update to rev >> 2.1x if the unicode handling were not still crap in that. Anyone know >> if it was improved between these versions? Boy do I pine for the ease >> of Hypercard's Japanese ability! >> >> mark mitchell >> japan >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From rcozens at pon.net Wed Jan 21 08:26:06 2004 From: rcozens at pon.net (Rob Cozens) Date: Wed, 21 Jan 2004 06:26:06 -0700 Subject: Password Field In-Reply-To: <7302367.1074688812959.JavaMail.plsntbreez@mac.com> References: <7302367.1074688812959.JavaMail.plsntbreez@mac.com> Message-ID: >Well, I ended up taking a different tack on the password field >thing. Although the solutions given will work in most cases I >decided to go the route of setting the foreground, background and >hilite color of my password field to white then disallowing the >"copy" function (Cmd-C, Ctrl-C) so that no one can select the >entered text, copy it to the clipboard then paste it into something >else in order to obtain the password. In the end this ended up >being easier than trying to (1) figure out all the possible ways >someone can "get" the password and (2) ensure that whatever someone >does with the mouse or keyboard, the entered password is correct >(i.e. what if they use the mouse to select some of the "dots" in the >field and remove them ... it was just getting too complicated). Hi Brian, I got into this thread a little late, so forgive me if this has been addressed. The general approach to passwords is via an ask password dialog box instead of a field. The ask password command takes care of all the details you are struggling with when trying to replicate a password dialog in a field. As part of this approach, the password is never unencrypted: Sys Admin creates a password via the ask password dialog, hides the result in the application, and tells the user what keys to press when responding to ask password. Password verification involves comparing the user's response to ask password with the encrypted response stored in the application. Note that the user input is never derived by unencrypting the ask password response. So I ask: 1. Is it necessary that the password be entered in a field instead of via the ask password dialog? 2. Is there a reason why you need to know what keys the user pressed (eg: the user is entering "secure" data instead of a predefined password)? If you answer both questions in the negative, I suggest you look at ask password syntax. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From plsntbreez at mac.com Wed Jan 21 09:49:09 2004 From: plsntbreez at mac.com (Brian Maher) Date: Wed, 21 Jan 2004 06:49:09 -0800 Subject: Password Field Message-ID: <8733503.1074696549575.JavaMail.plsntbreez@mac.com> Hi Rob, This is part of a normal application login (i.e. enter user name & password) rather than asking for a password to open a stack or something. It seemed very unintuitive to the users to have to bring up two separate dialog boxes (one for user name and another for password). >1. Is it necessary that the password be entered in a field instead >of via the ask password dialog? Yes (see above). >2. Is there a reason why you need to know what keys the user pressed >(eg: the user is entering "secure" data instead of a predefined >password)? I don't need to know what keys the user pressed. I need to keep someone from swiping the password when the user is not looking (i.e. copy and paste). My initial thought was to do a password by internally tracking what they typed (i.e. the plain text) and putting some character (dots, asterisk, etc) on the screen so that if the user typed in the password and had to leave their desk for some emergency no one could come up, do a select all, copy, paste scenario and walk off with the password. The initial responses that helped with that work ok but don't really handle all of the things a user could possibly do within the field (backspace, select all & delete, select some & delete, select some & change, etc). The best solution was to simply make the contents of what the user is typing into the field invisible and disable the ability to copy the data out of the field. Thanks, Brian From revlist at cableone.net Wed Jan 21 10:04:42 2004 From: revlist at cableone.net (Chris Sheffield) Date: Wed, 21 Jan 2004 08:04:42 -0700 Subject: custom tab buttons In-Reply-To: <91BC7E47-4B9A-11D8-901C-000A95DA60FA@adelphia.net> Message-ID: <000201c3e02f$e71f51a0$64fea8c0@chris1> That would be a nice feature. But I think I would prefer to to at least be able to set the icons of the tabs in a tab control, much like you do for a regular button. I find it kind of odd that you can't. Is this a good idea for a feature request, or am I just off in left field? Chris Sheffield Software Development Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas J McGrath III Sent: Tuesday, January 20, 2004 3:47 PM To: How to use Revolution Subject: Re: custom tab buttons It is too bad we can't use the imageSource to change a char in a button name to a graphic in the button name... It is just text after all just like a field. Tom On Jan 20, 2004, at 11:47 AM, Chris Sheffield wrote: > Thanks, Bob. I already have ButtonGadget. And I agree, it's an > awesome > tool! But what I need to know is how to get my button graphics into a > tab > control. Any ideas on that? > > Chris Sheffield > Software Development > Read Naturally > > > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Bob > Hartley > Sent: Tuesday, January 20, 2004 9:30 AM > To: How to use Revolution > Subject: Re: custom tab buttons > > > At 15:22 20/01/2004, you wrote: >> Does anyone have a good example of how to create a custom tab control >> with custom button graphics? I know I've seen this before, but I >> can't figure out how to do it. Maybe it's just faked? > > If you go to altuit.com and buy Button Gadget (I did and it is a great > application) you can get the pro version. > > This if I remember correctly has a built-in rev converter. > > > >> I know Chipp Walters has done this in some of his apps. So Chipp, if >> you're reading this, can you share how you do that? > > I'd save all the hastle and buy the app. It is cheap. > > >> Thanks, >> >> Chris Sheffield >> Software Development >> Read Naturally > > > Cheers > Bob > > >> --- >> Outgoing mail is certified Virus Free. >> Checked by AVG anti-virus system (http://www.grisoft.com). >> Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004 From dcragg at lacscentre.co.uk Wed Jan 21 10:50:19 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 21 Jan 2004 15:50:19 +0000 Subject: rev unicode still crap? In-Reply-To: <408252FA-4BF1-11D8-853C-000A956E5E04@mac.com> References: <408252FA-4BF1-11D8-853C-000A956E5E04@mac.com> Message-ID: At 6:07 pm +0900 21/1/04, mark wrote: >After beating my head on the wall in the past, I decided to return >to this issue. However, as far as I can tell, the unicode and >uniEncode capability of rev is still crap. I attempted to convert >an old stack into unicode... very simple script: > >create field >put uniEncode(field "oldshiftJis",Japanese) into last field >set the textFont of last field to "osaka,japanese" > >The new fields made in this way display the japanese text just fine. >But if you attempt to edit them, you go into endless beachball spin >and have to force-quit rev. Again and again.... > >This is rev 2.02 on mac OS10.2. I would purchase the update to rev >2.1x if the unicode handling were not still crap in that. Anyone >know if it was improved between these versions? Boy do I pine for >the ease of Hypercard's Japanese ability! In 2.02 on OS X 10, the following allowed me to edit the text in field 2. (The original text in field 1 was shift-jis.) put uniEncode(field 1,Japanese) into t1 set the unicodeText of field 2 to t1 set the textFont of field 2 to "osaka,japanese" Dave From erik.lips at zonnet.nl Wed Jan 21 11:20:22 2004 From: erik.lips at zonnet.nl (Erik Lips) Date: Wed, 21 Jan 2004 17:20:22 +0100 Subject: Groups: why do some controls group separately but not together with other ones. Message-ID: <5.2.0.9.0.20040121171307.00b73ec8@pop3.zonnet.nl> Hi, When I select all controls on a card (Select All), they won't group using the Group Selected function. There's just a couple of controls in the top left hand corner of the card that will not group with the other ones. I can group this couple of controls separately however, but I cannot group them together with all other controls on the card. What could be the reason for this behaviour? Any advice on this is highly appreciated. Erik. WinXP Rev. v 2.1.2 From ambassador at fourthworld.com Wed Jan 21 11:21:02 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 21 Jan 2004 08:21:02 -0800 Subject: Groups: why do some controls group separately but not together with other ones. In-Reply-To: <5.2.0.9.0.20040121171307.00b73ec8@pop3.zonnet.nl> Message-ID: Erik Lips wrote: > When I select all controls on a card (Select All), they won't group using > the Group Selected function. > There's just a couple of controls in the top left hand corner of the card > that will not group with the other ones. > I can group this couple of controls separately however, but I cannot group > them together with all other controls on the card. > > What could be the reason for this behaviour? > Any advice on this is highly appreciated. Could the controls in question already belong to a group? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Wed Jan 21 11:50:31 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 21 Jan 2004 09:50:31 -0700 Subject: Groups: why do some controls group separately but not together with other ones. In-Reply-To: Message-ID: On Wednesday, January 21, 2004, at 09:21 AM, Richard Gaskin wrote: >> When I select all controls on a card (Select All), they won't group >> using >> the Group Selected function. ... > Could the controls in question already belong to a group? There is a button called Select Grouped Controls. Could this be the culprit? This is probably useful for alignment, but usually it just gets in the way. I often find it on and I don't know how it got that way. Dar Scott From klaus at major-k.de Wed Jan 21 11:58:41 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 21 Jan 2004 17:58:41 +0100 Subject: [OT] Poetry (was Re: Height/width limit on groups?) In-Reply-To: References: <743165E3-4BA6-11D8-B3DC-000A95859272@earthlink.net> Message-ID: <10C09BE0-4C33-11D8-BFB1-000A27B49A96@major-k.de> Hi Phil, >> ... >> if the dog 8 my homework then >> change my grade >> end if > > Which kind of brings to mind those people who write poetry in the perl > programming language. > One quick Google later and I found this fab example at > http://perlmonks.thepen.com/Perl%20Poetry.html : > > formline BY, $the_confessional; > pack "IN", $the_box; > bless $me, Father for @I_have_sinned; > time - $last_confession > 20 * 365 * 24 * 60 * 60; > my $father; $I, seek YOUR, $wisdom, $guidance and $support; > $I, sin and $wonder if exists $god{"in heaven"}, each %day; > $I, link "chains across the", exit; @the_orphanage; > $I, pop @children's_balloons for $fun; > $I, do { sleep $around }; > $I, push @nuns, $with_a_broom; > $I, read MY_NEIGHBOR'S, $mail, 1 or 30, times, each %month; > $I, import and exp$ort, $illegal_goods; > $oh and local $police_are_looking for @me; > cos $I, kill$ed, $my_mother_in_law; > ; tell ME_WHAT_SHOULD_I_DO; > my $son; > eval $your_situation and study $the_bible while $I, $the_police->(); > , $Ummm ... wait while $I, split; > exit, $the_confessional; > join "the", @circus; LOL :-D BTW, what the heck does this script actually do? Nothing probably? > So, anyone up for writing some Transcript poetry? :-) OK, ok, i never can resist :-) And somebody has to start anyway... Here is my first try, cheap and quick... (...like the drinks in my example...) ###################### local sparemoney on havefunornot put "50 Euro" into sparemoney ## The Euro is very strong in the moment! ## Read: more booze for the money 8-) go "Twilight Bar" repeat until sparemoney = "0 Euro" getadrink("cheap") add 100 to alcoholpromille end repeat go "Home" get "AlkaSeltzer" find "Bed" ## ;-) repeat until alcoholpromille = 0 get "sleep" subtract 100 from alcoholpromille end repeat end havefunornot on getadrink expensiveness switch expensiveness case "cheap" ##coke, spa, beer and stuff... subtract 2 from word 1 of sparemoney break case "moderate" ## cheap booze... subtract 5 from word 1 of sparemoney break case "expensive" ## quality booze ;-) subtract 10 from word 1 of sparemoney break case "too late" ## champaign and loose (wo-)men ;-) subtract 50 from word 1 of sparemoney ## Don't try this with the ridiculous 50 Euro... break end switch end getadrink ######################### Tested and works :-D Please note the variations in "getadrink" ;-) Regards Klaus Major klaus at major-k.de www.major-k.de From dsc at swcp.com Wed Jan 21 11:59:57 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 21 Jan 2004 09:59:57 -0700 Subject: Password Field In-Reply-To: <7302367.1074688812959.JavaMail.plsntbreez@mac.com> Message-ID: <3E259A88-4C33-11D8-8B57-000A9567A3E6@swcp.com> On Wednesday, January 21, 2004, at 05:40 AM, Brian Maher wrote: > Although the solutions given will work in most cases I decided to go > the route of setting the foreground, background and hilite color of my > password field to white then disallowing the "copy" function (Cmd-C, > Ctrl-C) so that no one can select the entered text, copy it to the > clipboard then paste it into something else in order to obtain the > password. I'd also look carefully at what might cause color changes. I wonder if imageSource could be useful here. Dar Scott From FlexibleLearning at aol.com Wed Jan 21 12:00:07 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 21 Jan 2004 12:00:07 EST Subject: closeStackRequest Issue Message-ID: <133.2a471957.2d400a17@aol.com> Dave: >I am trapping the closeStackRequest message to allow a user to discard/save >pending edits. This works fine when I close the stack using the close button >of the stack window. I have a button control on the card whose handler >is simply; > >on mouseDown > close this stack >end mouseDown > >The above handler closes the stack regardless and to my mind does not trigger >the closeStackRequest. I'd be grateful for any clues. Thanks. closeStackRequest is triggered when the closeBox is clicked, so you need to trap both events... on closeStack checkSave end closeStack on closeStackRequest checkSave pass closeStackRequest end closeStackRequest on checkSave ... do your stuff here end checkSave /H From ambassador at fourthworld.com Wed Jan 21 12:31:26 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 21 Jan 2004 09:31:26 -0800 Subject: Another newbie Mac Question... In-Reply-To: <400C4A8E.3010208@pacbell.net> Message-ID: Ray G. Miller wrote: >>>> With OS X Apple no longer requires file type assignments, posing a problem >>>> for us. I'm not sure Apple has yet decided what to do about either file >>>> types or creator codes for the long term, so I'm not familiar with a >>>> workaround for selecting files that rely only on file name extension on OS >>>> X. >>>> >>>> Anyone come across a current Apple tech note on this? Last I heard Apple >>>> required developers to write a custom filterProc for Nav Services (ugh!). >>>> >>> It does appear that using the answer file with type "PNGf" works for .PNG >>> files >> >> Here (OS X 10.2.8) it only works for files which have the appropriate type >> assigned as Finder metadata. If I get one from the Internet so no Finder >> data is attached it is not selectable with either syntax, filter or type. >> >> So the conundrum remains: How do we expect Rev the write a custom >> filterProc which will handle all possible Finder type code/file name >> extension combinations? >> > Yep, and it's the same when Macaroons try to open a MC/Rev stack with the > creatorType stripped... > > I have a "Converter" stack which allows the scripter to quickly convert a > "text" file to the MC/Rev stack or whatever... without having to remember > which button key and keyboard keys to hold down... ;-) > > > It's called "Convert Text File To MC/Rev stack or Whatever Else File". or > CTFTMVREVSOWEF for short. > > I can send it to you for distribution... Pop it in RevNet for the quickest distribution. Sure would be nice if Apple would provide backward compatibility with their own conventions. This monkey business of making developers write custom filter-procs evidences a bizarre organizational process there. NOTE TO LIST MANAGER: The reply-to address is set to: "rgmiller at p_____l.net, How to use Revolution" (I modified Ray's address to prevent it from being picked up by spambots, but you get the idea) A similar change has found its way into the MC list as well. In some cases it makes the reply-to address invalid, and in all cases less readable/useful. Can this be fixed? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From plsntbreez at mac.com Wed Jan 21 12:41:08 2004 From: plsntbreez at mac.com (Brian Maher) Date: Wed, 21 Jan 2004 09:41:08 -0800 Subject: Password Field Message-ID: <6498646.1074706868973.JavaMail.plsntbreez@mac.com> Hi Dar, >I'd also look carefully at what might cause color changes. Yes, that is something I am keeping in the back of my mind for the future. For right now this will be an OS X only application so using white works perfectly. Thanks, Brian From erik.lips at zonnet.nl Wed Jan 21 13:29:31 2004 From: erik.lips at zonnet.nl (Erik Lips) Date: Wed, 21 Jan 2004 19:29:31 +0100 Subject: Groups: why do some controls group separately but not together with other ones. Message-ID: <5.2.0.9.0.20040121181317.00bca1b8@pop3.zonnet.nl> Thanks for help. I had to do with the Select Grouped Controls. Have to get used to these things .... just a starter with Rev. :-) Erik. From dsc at swcp.com Wed Jan 21 13:52:42 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 21 Jan 2004 11:52:42 -0700 Subject: [OT] Poetry (was Re: Height/width limit on groups?) In-Reply-To: Message-ID: On Wednesday, January 21, 2004, at 02:57 AM, Phil Jimmieson wrote: > So, anyone up for writing some Transcript poetry? :-) on rising put the wheat of the field without into barns put harvest before any item of desire put barns before houses find the first line of the stacks and quickly put it into barns set the hands of today to tomorrow if the long time is weary then set eyes of today to tomarrow end rising on sitting replace weariness with joy and laughter in evenings add love to laughter find food and friends and Fido add contentment to love move sleeping relative (brother or sister, wife or husband) without waiting add prayers to contentment go to bed end sitting on reading matt1344 if the kingdom of heaven is likened then find the treasure of field nearby hide it if it is the first item in desires then get it if it is precious and the joy of me is true then send it to me put the price of land before them put the price of it put the price of it put the son of me before them end if end reading Dar Scott From cal at eazy.net Wed Jan 21 13:58:51 2004 From: cal at eazy.net (Cal Campbell) Date: Wed, 21 Jan 2004 11:58:51 -0700 Subject: Hypercard to Rev Question Message-ID: I have an extensive Hypercard database I would like to move to another environment. It make extensive use of ReportsPro which is a third party report writer. I have several clients who are used to used ReportsPro to design their own reports and queries. Does Revolution have this capability? Calvin Campbell Castle Rock, CO www/d4bp.com/ From jacque at hyperactivesw.com Wed Jan 21 14:05:28 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 21 Jan 2004 13:05:28 -0600 Subject: [OT] Poetry (was Re: Height/width limit on groups?) In-Reply-To: References: <743165E3-4BA6-11D8-B3DC-000A95859272@earthlink.net> Message-ID: <400ECD78.8050605@hyperactivesw.com> On 1/21/04 3:57 AM, Phil Jimmieson wrote: > So, anyone up for writing some Transcript poetry? :-) I wrote this years and years ago: on theAnswerToEverything put "Why do I keep wasting time" \ & "striving for a script in rhyme?" \ into query wait 2 ticks put "'Cause you're stupid" into x get word 1 of "What's my line" && \ word 1 of "the summertime" && \ word 4 of "what do you mean" && \ word 1 of "life is a dream." put "i" & "n" & "g" & " of" \ after word 3 of it -- above put 6 * 7 into reckoned answer it wait one second put "You can run this script all day." answer reckoned with "Okay" end theAnswerToEverything -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jan 21 14:06:41 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 21 Jan 2004 13:06:41 -0600 Subject: Chipp's alphatest (2) In-Reply-To: References: Message-ID: <400ECDC1.8070009@hyperactivesw.com> On 1/21/04 5:40 AM, Graham Samuel wrote: > I tried the test on MacOS 10.2.8 (Jaguar). It didn't work (the turquoise > rectangle behind the right hand button didn't change). It worked fine on my copy of Jaguar 10.2.8. Wonder if it is machine-specific. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From SimPLsol at aol.com Wed Jan 21 14:35:52 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed, 21 Jan 2004 14:35:52 EST Subject: Hypercard to Rev Question Message-ID: <140.20e8d54d.2d402e98@aol.com> Calvin, The good news is that it is generally easy to convert HyperCard stacks to Revolution stacks; there are a few more reserved words and some minor syntax issues but nothing really hard (probably the hardest thing is the new way of handling menus). If your experience is the same as mine (HC user since 1987) you will find Rev. exasperating at the beginning (because that is not how we always did it) and then you will find Rev. so much better that going back to HC would be like reliving the '50s. The bad news is Rev. has nothing even remotely like Reports. Indeed, Rev. reporting is almost nonexistent. People will probably reply to this post saying how Rev. reports are as good as HC internal reports; many of these folks have never used the 9 to 5 Reports. But I know what you are saying; nothing, on any platform, or any database, is a powerful, fast and flexible as Reports. Paul Looney Simple Solutions San Dimas, California From gizmotron at earthlink.net Wed Jan 21 15:13:29 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 21 Jan 2004 12:13:29 -0800 Subject: [OT] Poetry (was Re: Height/width limit on groups?) In-Reply-To: Message-ID: <4704ADCF-4C4E-11D8-AEB1-000A95859272@earthlink.net> Dar Scott wrote: > on rising, on sitting, on reading matt1344 > > Dar Scott nice! mb From gizmotron at earthlink.net Wed Jan 21 15:35:35 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 21 Jan 2004 12:35:35 -0800 Subject: [OT] Poetry (was Re: Height/width limit on groups?) In-Reply-To: Message-ID: <5DA11962-4C51-11D8-AEB1-000A95859272@earthlink.net> OK, here's mine: on mouseUp global spaz put 1 into spaz someDays end mouseUp on someDays global spaz if spaz < 6 then answer "Some days my life just seems to go around in circles" with "OK" else answer "Are you sick of this yet?" with "Yes" end if if it = "Yes" then exit someDays add 1 to spaz doThis end someDays on doThis global spaz answer "Do This" with "Yes Dear" add 1 to spaz doThat end doThis on doThat global spaz answer "Do That" with "Yes Dear" add 1 to spaz someDays end doThat From 3mcgrath at adelphia.net Wed Jan 21 15:52:48 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Wed, 21 Jan 2004 15:52:48 -0500 Subject: custom tab buttons In-Reply-To: <000201c3e02f$e71f51a0$64fea8c0@chris1> References: <000201c3e02f$e71f51a0$64fea8c0@chris1> Message-ID: Although Tabs traditionally do not have pictures in them, it would be nice to have that ability. They are buttons but don't let you have icons like buttons. I think it is a good feature request. Tom On Jan 21, 2004, at 10:04 AM, Chris Sheffield wrote: > That would be a nice feature. But I think I would prefer to to at > least be > able to set the icons of the tabs in a tab control, much like you do > for a > regular button. I find it kind of odd that you can't. Is this a good > idea > for a feature request, or am I just off in left field? > > Chris Sheffield > Software Development > Read Naturally > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas J > McGrath III > Sent: Tuesday, January 20, 2004 3:47 PM > To: How to use Revolution > Subject: Re: custom tab buttons > > > It is too bad we can't use the imageSource to change a char in a button > name to a graphic in the button name... It is just text after all just > like a field. > > Tom > > On Jan 20, 2004, at 11:47 AM, Chris Sheffield wrote: > >> Thanks, Bob. I already have ButtonGadget. And I agree, it's an >> awesome >> tool! But what I need to know is how to get my button graphics into a >> tab >> control. Any ideas on that? >> >> Chris Sheffield >> Software Development >> Read Naturally >> >> >> >> >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Bob >> Hartley >> Sent: Tuesday, January 20, 2004 9:30 AM >> To: How to use Revolution >> Subject: Re: custom tab buttons >> >> >> At 15:22 20/01/2004, you wrote: >>> Does anyone have a good example of how to create a custom tab control >>> with custom button graphics? I know I've seen this before, but I >>> can't figure out how to do it. Maybe it's just faked? >> >> If you go to altuit.com and buy Button Gadget (I did and it is a great >> application) you can get the pro version. >> >> This if I remember correctly has a built-in rev converter. >> >> >> >>> I know Chipp Walters has done this in some of his apps. So Chipp, if >>> you're reading this, can you share how you do that? >> >> I'd save all the hastle and buy the app. It is cheap. >> >> >>> Thanks, >>> >>> Chris Sheffield >>> Software Development >>> Read Naturally >> >> >> Cheers >> Bob >> >> >>> --- >>> Outgoing mail is certified Virus Free. >>> Checked by AVG anti-virus system (http://www.grisoft.com). >>> Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> --- >> Incoming mail is certified Virus Free. >> Checked by AVG anti-virus system (http://www.grisoft.com). >> Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 >> >> >> --- >> Outgoing mail is certified Virus Free. >> Checked by AVG anti-virus system (http://www.grisoft.com). >> Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From chipp at chipp.com Wed Jan 21 16:08:48 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 21 Jan 2004 15:08:48 -0600 Subject: Chipp's alphatest (2) In-Reply-To: <400ECDC1.8070009@hyperactivesw.com> Message-ID: Thanks for all of you who helped with the alphaTest. Currently, I received 11 comments that it *didn't* work in OSX and 2 comments where it did work in OSX (and 2 comments where it worked in OS9). So, I'm still trying to figure out why it would work sometime and not others....:-( I'll keep the list posted if I figure it out. best, Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of J. Landman > Gay > Sent: Wednesday, January 21, 2004 1:07 PM > To: How to use Revolution > Subject: Re: Chipp's alphatest (2) > > > On 1/21/04 5:40 AM, Graham Samuel wrote: > > > I tried the test on MacOS 10.2.8 (Jaguar). It didn't work (the > turquoise > > rectangle behind the right hand button didn't change). > > It worked fine on my copy of Jaguar 10.2.8. Wonder if it is > machine-specific. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From k.r.hauge at east.uio.no Wed Jan 21 16:10:56 2004 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Wed, 21 Jan 2004 22:10:56 +0100 Subject: [OT] Poetry (was Re: Height/width limit on groups?) In-Reply-To: <5DA11962-4C51-11D8-AEB1-000A95859272@earthlink.net> References: <5DA11962-4C51-11D8-AEB1-000A95859272@earthlink.net> Message-ID: Someone tried to organise a poetry contest on the HyperCard list way back in the last century (1999). I've dug up my posting from then: "For one who mainly uses HyperCards to move words around and who refers to Option-Shift as the _enjambement_ character, this HyperTalk poetry contest came as an interesting challenge. With no experience in actually creating poetry, but some as a translator, I decided to try to translate one of the most translated poems in world literature, Johann Wolfgang von Goethe's "Wandrers Nachtlied", into native HyperTalk, using HyperCard's inner poetic world to its full extent and avoiding as much as possible such vulgar interferences from English and the so-called "real world" as quoted literals. on nightSong -- Ueber allen Gipfeln -- Ist Ruh, repeat with peak = 1 to the number of backgrounds set the script of background peak to peace end repeat -- In allen Wipfeln -- Spuerest du -- Kaum einen Hauch repeat with treetop = 1 to the number of cards if breathOfWind is in treetop then exit nightSong end repeat -- Die Voegelein schweigen im Walde, play "birdsong" wait until the sound is done -- Warte nur, balde wait 60 ticks -- Ruhest du auch! put 60 into soon put the ticks into now if the ticks is now + soon then send suspendstack to me end nightSong For my next translation I am considering Rudyard Kipling's "If ... end if"." -- --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 --- (this msg sent from home, +47/67148424, fax +1/5084372444) From frank at backtalk.com Wed Jan 21 16:19:05 2004 From: frank at backtalk.com (Frank Leahy) Date: Wed, 21 Jan 2004 21:19:05 +0000 Subject: ReportsPro [was] Hypercard to Rev Question In-Reply-To: <20040121205359.3A384930197@mail.runrev.com> Message-ID: <7118A0E9-4C57-11D8-8F9A-000A9580FCCE@backtalk.com> Does anyone from RunRev read this list? If so, I'm good friends with the guy who bought the rights to Reports and ReportsPro and he would LOVE to talk to someone at RunRev about making it work with Revolution. Please reply directly to me and I'll pass on your info to him. Thanks, -- Frank Leahy On Wednesday, January 21, 2004, at 08:53 PM, use-revolution-request at lists.runrev.com wrote: > The bad news is Rev. has nothing even remotely like Reports. Indeed, > Rev. > reporting is almost nonexistent. People will probably reply to this > post saying > how Rev. reports are as good as HC internal reports; many of these > folks have > never used the 9 to 5 Reports. But I know what you are saying; > nothing, on any > platform, or any database, is a powerful, fast and flexible as Reports. From frank at backtalk.com Wed Jan 21 16:30:20 2004 From: frank at backtalk.com (Frank Leahy) Date: Wed, 21 Jan 2004 21:30:20 +0000 Subject: List etiquette suggestion In-Reply-To: <20040121205359.3A384930197@mail.runrev.com> Message-ID: <03C85FFD-4C59-11D8-8F9A-000A9580FCCE@backtalk.com> Hi, I wonder if I might make a small suggestion about list etiquette... I get the digest version, and there are some fellow rev'ers who tend to quote the complete thread, even when that thread is hundreds of line long, and I, and I imagine most of the rest of us, have also read the previous messages. So, it might be nice if only the most relevant bits got quoted when replying. Just a suggestion. And please don't start a long thread about this -- flame me privately and I'll summarize to the list ;-) Thanks, -- Frank From ambassador at fourthworld.com Wed Jan 21 16:32:30 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 21 Jan 2004 13:32:30 -0800 Subject: ReportsPro [was] Hypercard to Rev Question In-Reply-To: <7118A0E9-4C57-11D8-8F9A-000A9580FCCE@backtalk.com> Message-ID: Frank Leahy wrote: > Does anyone from RunRev read this list? If so, I'm good friends with > the guy who bought the rights to Reports and ReportsPro and he would > LOVE to talk to someone at RunRev about making it work with Revolution. > Please reply directly to me and I'll pass on your info to him. I believe RunRev folks check this list as time permits, but on this specific issue you're coming in late: When this was suggested here several months ago, after discussing all the parameters it became clear that the cost of porting the Mac-68k-specific ReportsPro code to the 12 platforms Rev supports with all the necessary sources (stacks or databases) would far exceed the cost of writing such an engine natively in Transcript. There's been talk of one of the list members working on a reporting tool in Rev, so hopefully there will be something for us soon. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Jan 21 16:36:31 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 21 Jan 2004 13:36:31 -0800 Subject: List etiquette suggestion In-Reply-To: <03C85FFD-4C59-11D8-8F9A-000A9580FCCE@backtalk.com> Message-ID: Frank Leahy wrote: > I get the digest version, and there are some fellow rev'ers who tend to > quote the complete thread, even when that thread is hundreds of line > long, and I, and I imagine most of the rest of us, have also read the > previous messages. So, it might be nice if only the most relevant bits > got quoted when replying. Agreed. One of the benefits of adhering to standard top-to-bottom reading order is that it encourages the poster to trim the original so we can get to the new stuff. :) Many email clients encourage a lazier approach of quoting all below the new stuff, which I do when providing tech support to maintain the entire discussion but on a list like this that's not needed. The extra few seconds to trim are appreciated. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From frank at backtalk.com Wed Jan 21 16:50:16 2004 From: frank at backtalk.com (Frank Leahy) Date: Wed, 21 Jan 2004 21:50:16 +0000 Subject: Porting from MacOSX to Windows In-Reply-To: <20040121205359.3A384930197@mail.runrev.com> Message-ID: I was playing around with my project on Windows today using an evaluation key version while I waited for my MacOSX license key. I noticed a couple of things that were different between the Mac and Windows versions, particularly the facts that 1) my .jpg file code was picking up the ._xxx.jpg versions that get created when copying jpg files from Mac to Windows and displaying them with empty images, and 2) popup menus don't work when the menu button is invisible on Windows (even though it works fine on the Mac), and 3) there are all sorts of little visual anomalies between the two versions (button sizing, placement, etc.) My questions are this: 1. Has anyone ported their product to Windows, and is there an FAQ somewhere that lists all the little gotchas? 2. How does one debug both a Mac and Windows version if you only have a Mac license? I can't imagine shelling out another $299 for the Windows version (or $700 for the Enterprise version) just so I can do final debugging and testing. As it is currently, one has to rebuild the app over and over again to debug it, which sounds like a recipe for banging my head on the keyboard in the next month or so. Finally, has anyone at Revolution considered allowing licensed users of one version the ability to use the other versions, but only for development purposes? For example, stacks could be edited and saved, but one couldn't build an application on the non-primary-platform version. Thanks in advance, -- Frank From cal at eazy.net Wed Jan 21 16:55:41 2004 From: cal at eazy.net (Cal Campbell) Date: Wed, 21 Jan 2004 14:55:41 -0700 Subject: ReportsPro [was] Hypercard to Rev Question In-Reply-To: <7118A0E9-4C57-11D8-8F9A-000A9580FCCE@backtalk.com> Message-ID: <8E1D11EE-4C5C-11D8-9330-0003938F519C@eazy.net> Man! Would I like that. I would have a dozen customers for him if it works. On Wednesday, January 21, 2004, at 02:19 PM, Frank Leahy wrote: > Does anyone from RunRev read this list? If so, I'm good friends with > the guy who bought the rights to Reports and ReportsPro and he would > LOVE to talk to someone at RunRev about making it work with > Revolution. Please reply directly to me and I'll pass on your info to > him. > > Thanks, > -- Frank Leahy > > On Wednesday, January 21, 2004, at 08:53 PM, > use-revolution-request at lists.runrev.com wrote: > >> The bad news is Rev. has nothing even remotely like Reports. Indeed, >> Rev. >> reporting is almost nonexistent. People will probably reply to this >> post saying >> how Rev. reports are as good as HC internal reports; many of these >> folks have >> never used the 9 to 5 Reports. But I know what you are saying; >> nothing, on any >> platform, or any database, is a powerful, fast and flexible as >> Reports. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Calvin Campbell Castle Rock, CO www/d4bp.com/ From cal at eazy.net Wed Jan 21 16:58:04 2004 From: cal at eazy.net (Cal Campbell) Date: Wed, 21 Jan 2004 14:58:04 -0700 Subject: ReportsPro [was] Hypercard to Rev Question In-Reply-To: Message-ID: On Wednesday, January 21, 2004, at 02:32 PM, Richard Gaskin wrote: > Frank Leahy wrote: > >> Does anyone from RunRev read this list? If so, I'm good friends with >> the guy who bought the rights to Reports and ReportsPro and he would >> LOVE to talk to someone at RunRev about making it work with >> Revolution. >> Please reply directly to me and I'll pass on your info to him. > > I believe RunRev folks check this list as time permits, but on this > specific > issue you're coming in late: > > When this was suggested here several months ago, after discussing all > the > parameters it became clear that the cost of porting the > Mac-68k-specific > ReportsPro code to the 12 platforms Rev supports with all the necessary > sources (stacks or databases) would far exceed the cost of writing > such an > engine natively in Transcript. I do hope that will take good look at what ReportsPro designed, It was very well thought out. > There's been talk of one of the list members working on a reporting > tool in > Rev, so hopefully there will be something for us soon. > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Calvin Campbell Castle Rock, CO www/d4bp.com/ From tsj at unimelb.edu.au Wed Jan 21 17:06:52 2004 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 22 Jan 2004 09:06:52 +1100 Subject: revXMLPutIntoXMLNode - How do I create CDATA? In-Reply-To: References: Message-ID: >--- Terry Judd wrote: >>Dear revXML gurus - so - I use the revPutIntoXMLNode >>command to put >>some text between a pair of tags, but how do I >>specify that I want it >>to be CDATA? If the original xml includes CDATA and >>I write to that >>node it becomes plain text. >> >>Cheers, >> >>Terry... >> > >Hi Terry, > >I haven't actually tested this, but you could try the >'revAppendXML' command for this purpose. > >Jan Schenkel. Thanks Jan - I was using revAppendXML to append some 'template' xml and then revPutIntoXMLNode to populate it. Seems like I'll have to append the xml a node at a time if I want to add it as CDATA. urlEncode(ing) the data will suffice for internal purposes but I want to be able to export the xml with CDATA at some stage. Cheers, Terry... -- ___________________________________________________________________________ Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne ___________________________________________________________________________ From bvg at mac.com Wed Jan 21 17:10:38 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 21 Jan 2004 23:10:38 +0100 Subject: [OT] Poetry (was Re: Height/width limit on groups?) In-Reply-To: Message-ID: don't forget my contributions to the mug/shirt contest a year ago: on humanLife do Birth get URL "binfile:Spouse" put Love into it set the showLines of me to true end humanLife on drink do fill me repeat until me is 0 subtract one from me add one to the target end repeat end drink on second tough, these are neither poetic, nor do they execute without error... maybe I should not have mentioned them ;-) From gbojsza at mac.com Wed Jan 21 17:34:36 2004 From: gbojsza at mac.com (Bojsza) Date: Wed, 21 Jan 2004 16:34:36 -0600 Subject: Read from process time requirement Message-ID: I have a process that runs until it is user terminated. It produces anywhere from 1 line to 1000's of lines of data per second -- streaming data. What I am trying to figure out is how to read from the process and put it into a field without losing any data. The "read from process" does not support "for" time function. And since the data is variable none of the associated options will work. I thought of a repeat loop but the "read from process" still requires parameters that cause errors if they are not met. Is there a way to have Revolution ignore or not report errors? Any thoughts (I am trying to do this via an external but that seems to be a long learning process). Glen From chipp at chipp.com Wed Jan 21 17:43:45 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 21 Jan 2004 16:43:45 -0600 Subject: Porting from MacOSX to Windows In-Reply-To: Message-ID: Hi Frank, > 1) my .jpg file code was picking up the ._xxx.jpg versions that get > created when copying jpg files from Mac to Windows and displaying them > with empty images, and I think that's a Mac issue, not a Windows issue. Windows will look for any file ending in .jpg when you filter for .jpg > > 2) popup menus don't work when the menu button is invisible on Windows > (even though it works fine on the Mac), and Didn't know that, I always keep my menu buttons way off screen on Windows... > > 3) there are all sorts of little visual anomalies between the two > versions (button sizing, placement, etc.) Use profiles to manage this. See the Property Profiles Tutorial... > 2. How does one debug both a Mac and Windows version if you only have a > Mac license? I can't imagine shelling out another $299 for the Windows > version (or $700 for the Enterprise version) just so I can do final > debugging and testing. As it is currently, one has to rebuild the app > over and over again to debug it, which sounds like a recipe for banging > my head on the keyboard in the next month or so. Frankly, the idea is that if you wish to port your code cross-platform, then either 1) you purchase the license for the platform you wish to deliver on or; 2) you purchase the Enterprise version. 3) you purchase Revolution Express for Windows only $149, but you can't make standalones. The only other cross-platform development tool I know of which compares to RunRev is TrollTech QT and they charge over $5000 for a Enterprise Mac/Win/Linux coding tool. So, it seems to me RunRev is a bargain :-) > > Finally, has anyone at Revolution considered allowing licensed users of > one version the ability to use the other versions, but only for > development purposes? For example, stacks could be edited and saved, > but one couldn't build an application on the non-primary-platform > version. See Revolution Express -Chipp From rjb at rz.uni-potsdam.de Wed Jan 21 17:30:32 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed, 21 Jan 2004 23:30:32 +0100 Subject: ReportsPro [was] Hypercard to Rev Question In-Reply-To: References: Message-ID: On Wednesday, January 21, 2004, at 02:32 PM, Richard Gaskin wrote: >Frank Leahy wrote: > >>Does anyone from RunRev read this list? If so, I'm good friends with >>the guy who bought the rights to Reports and ReportsPro and he would >>LOVE to talk to someone at RunRev about making it work with Revolution. >>Please reply directly to me and I'll pass on your info to him. > >I believe RunRev folks check this list as time permits, but on this specific >issue you're coming in late: > >When this was suggested here several months ago, after discussing all the >parameters it became clear that the cost of porting the Mac-68k-specific >ReportsPro code to the 12 platforms Rev supports with all the necessary >sources (stacks or databases) would far exceed the cost of writing such an >engine natively in Transcript. > >There's been talk of one of the list members working on a reporting tool in >Rev, so hopefully there will be something for us soon. > >-- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com I see no problem with owners of the code checking into porting, even if it means that (at least initially) they work on Mac only. Developing sth equivalent to ReportsPro will take time and effort. I suspect that the main issue is that Reports' externals are of type 2 not 1, so it may be possible to move the type 2 stuff into a control stack. But I am like a blind man talking about colors :) Robert From sarahr at genesearch.com.au Wed Jan 21 17:52:17 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 22 Jan 2004 08:52:17 +1000 Subject: closeStackRequest Issue. In-Reply-To: <200401211225.59627.dave@b-i-s.org> References: <200401211225.59627.dave@b-i-s.org> Message-ID: <768052DD-4C64-11D8-BAAC-0003937A97B8@genesearch.com.au> Hi Dave, What happens if you use "quit" here instead of "close this stack"? Also, as a human interface thing, I would recommend quitting on mouseUp rather than mouseDown. This gives people the option to change their mind before releasing the mouse. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 21 Jan 2004, at 10:36 pm, Dave Cope wrote: > Hi, > > I am trapping the closeStackRequest message to allow a user to > discard/save > pending edits. This works fine when I close the stack using the close > button > of the stack window. I have a button control on the card whose handler > is > simply; > > on mouseDown > close this stack > end mouseDown > > The above handler closes the stack regardless and to my mind does not > trigger > the closeStackRequest. I'd be grateful for any clues. Thanks. > > Kind Regards, > -- > Dave Cope, Data & Systems Admin. > > Biodiversity Information Service for Powys and Brecon Beacons National > Park. > Gwasanaeth Gwybodaeth Fioamrywiaeth Powys A Pharc Cenedlaethol Bannau > Brycheiniog. > > EMail: dave at b-i-s.org > Web: http://www.b-i-s.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From themacguy at macosx.com Wed Jan 21 17:52:22 2004 From: themacguy at macosx.com (Barry Levine) Date: Wed, 21 Jan 2004 15:52:22 -0700 Subject: Burning Desire stack - "shell" command problem Message-ID: <79B588AF-4C64-11D8-B4BD-000A95763ABC@macosx.com> I have a field named "theImageToCreate" containing the following text: hdiutil create -fs HFS+ -volname MyDisk -size 100m ~/Desktop/MyDiskImage2.dmg I have a button with the following script: on mouseUp shell (field "theImageToCreate") end mouseUp When the script executes, I get an error. Here's the error dialog info: Type Handler: can't find handler Object Create disk image file Line shell (field "theImageToCreate") Hint shell However, when I copy the text in the field and paste it into a Terminal window (and then hit "enter"), the command executes and the Terminal window even gives me a verbose feedback. I thought it might be because I had not set the "shellCommand" property but that doesn't seem to be the case. I've tried altering the script to: shell (line 1 of field "theImageToCreate") ...but that results in the same error. Any assistance would be greatly appreciated. Thanks, Barry From dsc at swcp.com Wed Jan 21 17:58:42 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 21 Jan 2004 15:58:42 -0700 Subject: Burning Desire stack - "shell" command problem In-Reply-To: <79B588AF-4C64-11D8-B4BD-000A95763ABC@macosx.com> Message-ID: <5C0BB2C2-4C65-11D8-8B57-000A9567A3E6@swcp.com> On Wednesday, January 21, 2004, at 03:52 PM, Barry Levine wrote: > I have a field named "theImageToCreate" containing the following text: > > hdiutil create -fs HFS+ -volname MyDisk -size 100m > ~/Desktop/MyDiskImage2.dmg Try the full path for hdiutil. Dar Scott From themacguy at macosx.com Wed Jan 21 18:01:35 2004 From: themacguy at macosx.com (Barry Levine) Date: Wed, 21 Jan 2004 16:01:35 -0700 Subject: Burning Desire stack - stupid syntax error (mine) Message-ID: $$$**%&^****!!!! shell (field "whatever") should be put shell (field "whatever") That sound like it? Barry From ambassador at fourthworld.com Wed Jan 21 18:01:06 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 21 Jan 2004 15:01:06 -0800 Subject: ReportsPro [was] Hypercard to Rev Question In-Reply-To: Message-ID: Robert Brenstein wrote: > I see no problem with owners of the code checking into porting, even > if it means that (at least initially) they work on Mac only. > Developing sth equivalent to ReportsPro will take time and effort. I > suspect that the main issue is that Reports' externals are of type 2 > not 1, so it may be possible to move the type 2 stuff into a control > stack. But I am like a blind man talking about colors :) I certinly have no objection, but it would seem likely to cost as much to update the Mac-only version (OS X is a _very_ different animal than Classic) as it would to just rewrite it in Transcript, and a Mac-only version have a much smaller audience (most folks choose Rev for its multi-platform capabilities). -- 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 sarahr at genesearch.com.au Wed Jan 21 18:03:39 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 22 Jan 2004 09:03:39 +1000 Subject: Burning Desire stack - "shell" command problem In-Reply-To: <79B588AF-4C64-11D8-B4BD-000A95763ABC@macosx.com> References: <79B588AF-4C64-11D8-B4BD-000A95763ABC@macosx.com> Message-ID: <0CF7DA02-4C66-11D8-BAAC-0003937A97B8@genesearch.com.au> Remove the space between "shell" and the first bracket. I ran into the same sort of problem a couple of days ago and that was what fixed it. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 22 Jan 2004, at 8:55 am, Barry Levine wrote: > I have a field named "theImageToCreate" containing the following text: > > hdiutil create -fs HFS+ -volname MyDisk -size 100m > ~/Desktop/MyDiskImage2.dmg > > I have a button with the following script: > > on mouseUp > shell (field "theImageToCreate") > end mouseUp > > When the script executes, I get an error. Here's the error dialog info: > > Type Handler: can't find handler > Object Create disk image file > Line shell (field "theImageToCreate") > Hint shell From ambassador at fourthworld.com Wed Jan 21 18:04:43 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 21 Jan 2004 15:04:43 -0800 Subject: Porting from MacOSX to Windows In-Reply-To: Message-ID: Chipp Walters wrote: >> 1) my .jpg file code was picking up the ._xxx.jpg versions that get >> created when copying jpg files from Mac to Windows and displaying them >> with empty images, and > > I think that's a Mac issue, not a Windows issue. Windows will look for any > file ending in .jpg when you filter for .jpg It's an OS X issue, and it's annoying. Whenever you copy files from OS X to a Win volume it copies these metadata files. I hope it can be turned off but I haven't discovered how. I usually build installers on Win so it doesn't affect my build process as much as it just clutters my work space. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Wed Jan 21 18:24:41 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 21 Jan 2004 15:24:41 -0800 Subject: List etiquette suggestion In-Reply-To: <03C85FFD-4C59-11D8-8F9A-000A9580FCCE@backtalk.com> References: <03C85FFD-4C59-11D8-8F9A-000A9580FCCE@backtalk.com> Message-ID: <15014881588.20040121152441@ahsoftware.net> Frank- One thing that would help is if people adhered to the RFC-standard signature trimmer of -- (That's dash-dash-space) on a line by itself. Most modern email clients will trim everything after that automatically when replying. -- -Mark Wieder mwieder at ahsoftware.net From HyperChris at aol.com Wed Jan 21 18:37:37 2004 From: HyperChris at aol.com (HyperChris at aol.com) Date: Wed, 21 Jan 2004 18:37:37 -0500 Subject: ReportsPro Message-ID: <46FC36C4.24854695.0BD6E795@aol.com> >>Hypercard to Rev Question ... Does Revolution have this capability? Lots of us are in this boat and, unfortunately, it looks like Reports DataPro will not be coming over I can offer you this, however .... An alternative that some of us are pursuing (thanks to Bobby at ieEntertainment) is to use RichTextFormat (RTF) docs for the layout, custom tags for placing the data, and then our own engines to pump out RTF formatted reports. To be more specific ... generate a layout in Word make up a tag system/language for where you want your data placed save this 'layout' as RTF when generating a report, Rev opens the layout your engine substitutes the data in for the tags save the document with an output name (it's still RTF) pop it open in Word for the user to preview/modify/print Obviously this is more work on our part then slapping together a few fields and hitting save. However, it has a lot of potential. It gives the user editable output which is something one usually has to do with PDFs and the full version of Acrobat. Microsoft, in true Microsoft fashion, has also "embraced and extended" the RTF format substantially such that within the Word product you can do quite a bit of formatting and RTF will retain it. That's just the tip of the iceberg, of course. Good luck ! From rjb at rz.uni-potsdam.de Wed Jan 21 19:09:06 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu, 22 Jan 2004 01:09:06 +0100 Subject: ReportsPro In-Reply-To: <46FC36C4.24854695.0BD6E795@aol.com> References: <46FC36C4.24854695.0BD6E795@aol.com> Message-ID: > >>Hypercard to Rev Question ... Does Revolution have this capability? > >Lots of us are in this boat and, unfortunately, it looks like >Reports DataPro will not be coming over > Well, Frank Leahy posted today to RevSupport list: >Does anyone from RunRev read this list? If so, I'm good friends >with the guy who bought the rights to Reports and ReportsPro and he >would LOVE to talk to someone at RunRev about making it work with >Revolution. Please reply directly to me and I'll pass on your info >to him. Robert Brenstein From doug at webcrossing.com Wed Jan 21 19:25:42 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 09:25:42 +0900 Subject: Linux standalones? Message-ID: I can't get my Linux standalone to even open up (Redhat 9.0). The app I created works fine in OS X, OS 9 and Windows. Any special Linux issues I should know about? doug From livfoss at blueyonder.co.uk Wed Jan 21 19:29:40 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu, 22 Jan 2004 00:29:40 +0000 Subject: Porting from MacOSX to Windows Message-ID: On Wed, 21 Jan 2004 21:50:16 +0000, Frank Leahy wrote: >[...] >My questions are this: > >1. Has anyone ported their product to Windows, and is there an FAQ somewhere that lists all the little gotchas? > >2. How does one debug both a Mac and Windows version if you only have a >Mac license? I can't imagine shelling out another $299 for the Windows >version (or $700 for the Enterprise version) just so I can do final >debugging and testing. As it is currently, one has to rebuild the app >over and over again to debug it, which sounds like a recipe for banging >my head on the keyboard in the next month or so. > >Finally, has anyone at Revolution considered allowing licensed users of >one version the ability to use the other versions, but only for >development purposes? For example, stacks could be edited and saved, >but one couldn't build an application on the non-primary-platform >version. Don't know a FAQ, although there is help buried in the docs. No substitute for trying it out IMHO - I mean testing on all platforms you plan to deploy to (this includes not only MacOS 9.x and OSX but also several flavours of Windows). In fact I did start my own journey with Revolution by recreating something I'd developed for Mac only (using SuperCard), and it was not particularly tough making it work in Windows - and now I consider myself to be primarily a Revolution developer, I swap platforms all the time (only PC and Mac, as I have no Unix users) and don't really think of a particular platform being the 'native' or 'superior' one. It helps that I work in two locations, one where the PC is the best machine, the other where it's a Mac. I'm sorry but if you're serious about cross-platform development I think you have to go Enterprise. The price made me suck my teeth too, but somehow I got used to it. I just hope this year's revenue will justify next year's licence fee... Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From alex at mindlube.com Wed Jan 21 19:38:37 2004 From: alex at mindlube.com (Alex Rice) Date: Wed, 21 Jan 2004 17:38:37 -0700 Subject: Burning Desire stack - "shell" command problem In-Reply-To: <79B588AF-4C64-11D8-B4BD-000A95763ABC@macosx.com> References: <79B588AF-4C64-11D8-B4BD-000A95763ABC@macosx.com> Message-ID: <514FA96B-4C73-11D8-B301-000393C4760A@mindlube.com> On Jan 21, 2004, at 3:52 PM, Barry Levine wrote: > I have a button with the following script: > > on mouseUp > shell (field "theImageToCreate") > end mouseUp > > When the script executes, I get an error. Here's the error dialog info: The examples in the Transcript Dictionary are misleading because shell is a function not a command! so you can't ignore the return value. Try this instead: get shell(field "theImageToCreate") -- Alex Rice | Mindlube Software | http://mindlube.com From scott at tactilemedia.com Wed Jan 21 20:16:21 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 21 Jan 2004 17:16:21 -0800 Subject: Sockets Behind The Wall Message-ID: I'm trying to establish socket connections behind a router with firewall. (I'm using the little chat demo that Tuviah put together some time ago.) I assumed I only needed the local (router assigned) addresses of each machine, but either this is wrong or I'm doing something else wrong. The demo works with both the server and client stacks on the same machine, but when I move the client to another networked machine and point it at the local address of the server stack's machine, nothing seems to happen. Ports are the same, and both machines can see each other on the network. Opening the socket returns empty as if it succeeded and the socket is listed in the openSockets, but no message is returned from the socket upon opening. Can some kind soul enlighten me as to what I'm doing wrong? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From JimCarwardine at OwnYourFuture-net.com Wed Jan 21 20:57:14 2004 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Wed, 21 Jan 2004 21:57:14 -0400 Subject: Password Field In-Reply-To: Message-ID: I have an idea for this application... I created 2 identical fields. I placed field 2 exactly on top of field 1 and locked field 2. I put this script in field 2 (the top field)... on mouseUp select line 1 of field 1 end mouseUp on mouseDown put empty into me put empty into field 1 end mouseDown Then I put this script on field 1... on keyDown put "*" after line 1 of field 2 pass keyDown end keyDown You can then lock everything down and a user would need a can opener to see the password... Jim on 1/21/04 9:26 AM, Rob Cozens wrote: >> Well, I ended up taking a different tack on the password field >> thing. Although the solutions given will work in most cases I >> decided to go the route of setting the foreground, background and >> hilite color of my password field to white then disallowing the >> "copy" function (Cmd-C, Ctrl-C) so that no one can select the >> entered text, copy it to the clipboard then paste it into something >> else in order to obtain the password. In the end this ended up >> being easier than trying to (1) figure out all the possible ways >> someone can "get" the password and (2) ensure that whatever someone >> does with the mouse or keyboard, the entered password is correct >> (i.e. what if they use the mouse to select some of the "dots" in the >> field and remove them ... it was just getting too complicated). > > Hi Brian, > > I got into this thread a little late, so forgive me if this has been > addressed. > > The general approach to passwords is via an ask password dialog box > instead of a field. The ask password command takes care of all the > details you are struggling with when trying to replicate a password > dialog in a field. > > As part of this approach, the password is never unencrypted: Sys > Admin creates a password via the ask password dialog, hides the > result in the application, and tells the user what keys to press when > responding to ask password. Password verification involves comparing > the user's response to ask password with the encrypted response > stored in the application. > > Note that the user input is never derived by unencrypting the ask > password response. > > So I ask: > > 1. Is it necessary that the password be entered in a field instead > of via the ask password dialog? > > 2. Is there a reason why you need to know what keys the user pressed > (eg: the user is entering "secure" data instead of a predefined > password)? > > If you answer both questions in the negative, I suggest you look at > ask password syntax. -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139 From soapdog at mac.com Wed Jan 21 21:49:33 2004 From: soapdog at mac.com (Andre Garzia) Date: Thu, 22 Jan 2004 00:49:33 -0200 Subject: ANN: Tribe: simple blog server (revHTTPd Framework quick demo) Message-ID: <9B9C68DA-4C85-11D8-A52C-0003936D012E@mac.com> Hi Folks, this is Andre Alves Garzia of Soap Dog Studios speaking, I made a little demo to show simple web serving using revHTTPd framework. This is a little blog application, you may add/modify/remove blog posts and modify your site template. You can see that everything is packed inside the "default_html" handler of the mainstack. All the httpd server is inside the HTTPd button... this should be hidden in a enduser app but since you're all developer, I left it plain visible. This stack is provided as a public domain demo of the framework, you might inspect it and fiddle with it the way you like. This is just a simple dynamic serving demo, nothing fancy. We could use the framework to handle it all automatically using our Inform Engine and stuff, but we choose to do it all by hand so that you know how things work. The stack code is better than me explaining. Allow me just to explaing it a little. When you try to access the stack it receive a "default_html" message, this will loop thru your posts and replace the defined tags in the template, then it will flush it back to the browser. Fiddle with it and send your feedback to me at soapdog at mac.com I packed the source code + standalones for Windows, Linux, MacOS You can get Tribe.zip from http://public.soapdog.org Cheers Andre Alves Garzia Soap Dog Studio - BRAZIL From kgjaqua1 at sbcglobal.net Wed Jan 21 22:27:16 2004 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Wed, 21 Jan 2004 19:27:16 -0800 (PST) Subject: dragDrop -- dragData("image") Message-ID: <20040122032716.96721.qmail@web80407.mail.yahoo.com> I can dragDrop -- dragData("text") to a target from a substack to a stack. I would like to dragData["image"] from a substack or palette and dragdrop it on a card. The image "Gold SqHalf.png" is in the stack's image library The following does not work: on mouseDown set the dragData["image"] to "Gold SqHalf.png" end mouseDown on dragEnd send "choose browse tool" to me in 1 tick end dragEnd Where do I put the following dragEnter and dragDrop script (Which of course after working 2 days dose not work either)? on dragEnter set the acceptDrop to true end dragEnter on dragDrop create image the dragData["image"] end dragDrop I am, to say the least, having a problem with the concept of creating an image on a card using an image located in the stacks image library? How can I correct the dragDrop message? Kathy Graves Jaqua A Wildest Dream Software From doug at webcrossing.com Wed Jan 21 22:31:36 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 12:31:36 +0900 Subject: close stack question Message-ID: In the docs it says "The clone command places the name property of the newly created object in the it variable." But if I clone stack "wb" and then log the value of "it", it is stack "Copy of wb" Why isn't it just "Copy of wb" ? I am having trouble setting the name of the new stack to something else afterwards and I think the extra "stack" is interfering somehow... doug From 3mcgrath at adelphia.net Wed Jan 21 22:53:20 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Wed, 21 Jan 2004 22:53:20 -0500 Subject: close stack question In-Reply-To: References: Message-ID: <84A8A436-4C8E-11D8-A34D-000A95DA60FA@adelphia.net> clone stack "wb" set the name of it to "wc" set the mainstack of "wc" to "wb" Simpler this way Tom On Jan 21, 2004, at 10:31 PM, Doug Lerner wrote: > In the docs it says "The clone command places the name property of the > newly > created object in the it variable." > > But if I > > clone stack "wb" > > and then log the value of "it", it is > > stack "Copy of wb" > > Why isn't it just > > "Copy of wb" > > ? > > I am having trouble setting the name of the new stack to something else > afterwards and I think the extra "stack" is interfering somehow... > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From ambassador at fourthworld.com Wed Jan 21 22:53:42 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 21 Jan 2004 19:53:42 -0800 Subject: close stack question In-Reply-To: Message-ID: Doug Lerner wrote: > In the docs it says "The clone command places the name property of the newly > created object in the it variable." > > But if I > > clone stack "wb" > > and then log the value of "it", it is > > stack "Copy of wb" > > Why isn't it just > > "Copy of wb" Getting the name of object includes a complete reference, while the short name includes only the name property. I'm not sure why the original HyperTalk language established this convention, but in this case it allows you to write generalized handlers for objects without needing to know the object's type: create field set the width of it to 200 ...as opposed to: create field set the width of field it to 200 -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From doug at webcrossing.com Wed Jan 21 23:11:52 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 13:11:52 +0900 Subject: close stack question In-Reply-To: <84A8A436-4C8E-11D8-A34D-000A95DA60FA@adelphia.net> Message-ID: Thanks, I'll try that... It was working in another place, but I won't worry about that right now... doug On 1/22/04 12:53 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> wrote: > clone stack "wb" > set the name of it to "wc" > > set the mainstack of "wc" to "wb" > > Simpler this way > > Tom > > On Jan 21, 2004, at 10:31 PM, Doug Lerner wrote: > >> In the docs it says "The clone command places the name property of the >> newly >> created object in the it variable." >> >> But if I >> >> clone stack "wb" >> >> and then log the value of "it", it is >> >> stack "Copy of wb" >> >> Why isn't it just >> >> "Copy of wb" >> >> ? >> >> I am having trouble setting the name of the new stack to something else >> afterwards and I think the extra "stack" is interfering somehow... >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Wed Jan 21 23:29:53 2004 From: soapdog at mac.com (Andre Garzia) Date: Thu, 22 Jan 2004 02:29:53 -0200 Subject: Sockets Behind The Wall In-Reply-To: References: Message-ID: <9FBDBC58-4C93-11D8-A52C-0003936D012E@mac.com> On Jan 21, 2004, at 11:16 PM, Scott Rossi wrote: > I'm trying to establish socket connections behind a router with > firewall. > (I'm using the little chat demo that Tuviah put together some time > ago.) I > assumed I only needed the local (router assigned) addresses of each > machine, > but either this is wrong or I'm doing something else wrong. > > The demo works with both the server and client stacks on the same > machine, > but when I move the client to another networked machine and point it > at the > local address of the server stack's machine, nothing seems to happen. > Ports > are the same, and both machines can see each other on the network. > Opening > the socket returns empty as if it succeeded and the socket is listed > in the > openSockets, but no message is returned from the socket upon opening. > > Can some kind soul enlighten me as to what I'm doing wrong? > > Thanks & Regards, Scott, Hell, I hate firewalls!!! :-D I was having similar problems here. First you need to check the ports, what port you're using and if this port is blocked or not. I'll tell you an ugly and bad solution, actually is not a solution, it's just a hack for you to know if the problem is your code or your firewall. You can: A) Change the port you're connecting the stacks to port 80, almost no sane firewall will block port 80 for this is the port defined for HTTP transport (means web). This port should work, but this is evil for you're using a port defined to serve HTTP transport for custom stack transport... it's really ugly and against the specs we all love. But it should get across the firewall. You can use this to try the stacks, them, if the problem is with the firewall, you must find some port that is not being blocked, try high ports like 8080 and the like. B) You can opt not to use that evil hack above to test your stack, try using a high port or contact your sysadmin and ask him for a clear port for your usage, this is the peacefull and wise decision. Once you find our what port to use, everything will be haven. You can them look for RevZeroconf external, this will enable your chat client to find it's friends across the network without caring for ports or ips... this is really handy. Cheers Andre PS: I cannot be sued for the misuse of port 80! :-D > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From dsc at swcp.com Wed Jan 21 23:54:27 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 21 Jan 2004 21:54:27 -0700 Subject: Sockets Behind The Wall In-Reply-To: Message-ID: <0EAC499A-4C97-11D8-8B57-000A9567A3E6@swcp.com> On Wednesday, January 21, 2004, at 06:16 PM, Scott Rossi wrote: > Can some kind soul enlighten me as to what I'm doing wrong? Sure! Only, I'm not clear on your setup. Is it this? A. Internet ------ Firewall -----------------------------Client | Server Or this? B. Client -------- Internet ---------- Firewall ---------Server Or this? C. Client ---- Firewall ----- Internet ----- Firewall ----Server If it is A, your firewall (as firewall) should not be a problem. Just point to the private address. If B or C, the client will need to point to the public address of that server for that service. The firewall will use NAT (network address translation) to translate addresses (and ports). One form is sometimes called masquerade; it represents to the Internet all private addresses behind the firewall as (typically) one address and ports are shuffled about to accommodate collisions. This almost always applies to clients behind the firewall. Servers are handled a couple ways. One is a fixed NAT in which a public address is assigned to the whole port space of a computer. An address on the outside is mapped directly to a private address. Another method is to assign a port on the public side of the server to a port on the private computer. This keeps the public addresses down. If the server is behind a firewall, it will normally be handled one of those two ways. The simple SOHO routers usually make it easier for the latter. This works well for an environment that uses masquerade, even for a computer supplying a service. Because of the kinds of things I do for customers, I usually have the first. At my lab, I mix all of the above methods. So, depending on the situation, you may have to fiddle with the router. Dar Scott From doug at webcrossing.com Thu Jan 22 00:21:14 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 14:21:14 +0900 Subject: Visible of stack is false - but still visible - why? Message-ID: I can check and uncheck the Visible of a stack, but it remains visible. (Other stacks don't experience this problem.) In the message window I can also do set the visible of stack "thisStack" to true or set the visible of stack "thisStack" to false and when I look at the Visible value in the stack inspector the value looks correct, like I set it. But the stack remains visible regardless. Any idea what might cause this behavior? Thanks, doug From doug at webcrossing.com Thu Jan 22 00:37:04 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 14:37:04 +0900 Subject: Visible of stack is false - but still visible - why? In-Reply-To: Message-ID: Never mind on this for now. The problem was due to a weird thing with duplicate stacks somehow having the same name. I avoided the conflict and the visibility problem went awa. doug On 1/22/04 2:21 PM, "Doug Lerner" wrote: > I can check and uncheck the Visible of a stack, but it remains visible. > (Other stacks don't experience this problem.) > > In the message window I can also do > > set the visible of stack "thisStack" to true > or > set the visible of stack "thisStack" to false > > and when I look at the Visible value in the stack inspector the value looks > correct, like I set it. > > But the stack remains visible regardless. > > Any idea what might cause this behavior? > > Thanks, > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Thu Jan 22 00:38:00 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 21 Jan 2004 21:38:00 -0800 Subject: Sockets Behind The Wall In-Reply-To: <0EAC499A-4C97-11D8-8B57-000A9567A3E6@swcp.com> Message-ID: On 1/21/04 8:54 PM, "Dar Scott" wrote: >> Can some kind soul enlighten me as to what I'm doing wrong? > > Sure! > > Only, I'm not clear on your setup. > > Is it this? > > A. > Internet ------ Firewall -----------------------------Client > | > Server > > Or this? > > B. > Client -------- Internet ---------- Firewall ---------Server > > > Or this? > > C. > Client ---- Firewall ----- Internet ----- Firewall ----Server > > If it is A, your firewall (as firewall) should not be a problem. Just > point to the private address. That's what I thought. Your "A" diagram is the setup I'm testing on, so I didn't think I needed to use any specially designated port. But I still can't seem to get anything happening. The default port used in the script is 1987, but I've also used 8080, neither of which seems to make a difference. It works fine when client and server stacks are on the same system, but not when they're on separate local systems. Anything else I can try? Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Thu Jan 22 01:07:14 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 21 Jan 2004 23:07:14 -0700 Subject: Sockets Behind The Wall In-Reply-To: Message-ID: <392CA3CF-4CA1-11D8-8B57-000A9567A3E6@swcp.com> On Wednesday, January 21, 2004, at 10:38 PM, Scott Rossi wrote: > It works fine when client and server stacks are on the same > system, but not when they're on separate local systems. > > Anything else I can try? Make sure you can ping your own address (not just 127.0.0.1) and the other address from the client and the server. You can use netstat on OS X and Windows to look at the connections. You should be able to see the server listening even without a client. When a client is connected you should be able to see that on either machine (tcp). If your system uses DHCP (or similar method) to assign addresses, they might change between boots. Whoops! I saw you said the addresses are router assigned. Watch for this. Some computers might have a personal firewall. Though unusual, two computers on the same ethernet might not be on the same subnet. There are a few ways this can cause trouble if this is the case. If you have trouble with netstat or ping, holler. Many on this list have used them. Arg. I need to read better. I also saw, in looking back, that the client looks like it connects. What platform(s)? What Rev versions? Recent chat demo stack? Are any of these computers very slow or virtual PCs? Dar Scott -- **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From soapdog at mac.com Thu Jan 22 01:37:32 2004 From: soapdog at mac.com (Andre Garzia) Date: Thu, 22 Jan 2004 04:37:32 -0200 Subject: Sockets Behind The Wall In-Reply-To: <392CA3CF-4CA1-11D8-8B57-000A9567A3E6@swcp.com> References: <392CA3CF-4CA1-11D8-8B57-000A9567A3E6@swcp.com> Message-ID: <754650FE-4CA5-11D8-A52C-0003936D012E@mac.com> On Jan 22, 2004, at 4:07 AM, Dar Scott wrote: > Though unusual, two computers on the same ethernet might not be on the > same subnet. There are a few ways this can cause trouble if this is > the case. thats just ugly... :-D Once I stod hours trying to solve a "simple netbios-samba problem" just to realize the subnets were wrong... sometimes I hate tcp/ip... and with ipv6 it just get us near the obfuscated address holly grail... jeez, I must sleep -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From mcdomi at free.fr Thu Jan 22 02:23:07 2004 From: mcdomi at free.fr (Dom) Date: Thu, 22 Jan 2004 08:23:07 +0100 Subject: Chipp's alphatest (2) In-Reply-To: Message-ID: <1g7ydqu.8hucqh1yp1mwwM%mcdomi@free.fr> Chipp Walters wrote: > Thanks for all of you who helped with the alphaTest. Currently, I received > 11 comments that it *didn't* work in OSX and 2 comments where it did work in > OSX (and 2 comments where it worked in OS9). Doesn't work here (OS 10.2.4 - RR 2.1.2) ... Maybe it works with 10.3.x ??? -- Digital photos (nature, garden) : http://cooldomi.free.fr/ Scripting : http://domiscript.free.fr/ From Aideduc at scolagora.com Thu Jan 22 02:42:38 2004 From: Aideduc at scolagora.com (Aides Educateurs) Date: Thu, 22 Jan 2004 08:42:38 +0100 Subject: French List (Forum) Hosting In-Reply-To: <1g7ydqu.8hucqh1yp1mwwM%mcdomi@free.fr> Message-ID: Hi, Domi Aides Educateurs, wrote on RunRev-Fr something for you From doug at webcrossing.com Thu Jan 22 02:48:47 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 16:48:47 +0900 Subject: substack question Message-ID: Can a stack not be a substack of another substack? In other words, is the substack hierarchy only a maximum of two deep? doug From xbury.cs at clearstream.com Thu Jan 22 02:51:51 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 22 Jan 2004 08:51:51 +0100 Subject: substack question Message-ID: I have substacks in substacks... There's just no guarantee that they can be found at some point by other stacks than their own top stack... But for simplicity's sake, make them all one level deep... Shouldn't be hard to test tough... ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 Doug Lerner Sent by: use-revolution-bounces at lists.runrev.com 22/01/04 08:48 Please respond to How to use Revolution To: How to use Revolution cc: Subject: substack question . Can a stack not be a substack of another substack? In other words, is the substack hierarchy only a maximum of two deep? doug _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From doug at webcrossing.com Thu Jan 22 02:59:22 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 16:59:22 +0900 Subject: substack question In-Reply-To: Message-ID: I tried testing, but I get an error saying that the stack I am trying to make a mainStack "is not a main stack". That is why I was wondering if I couldn't make another substack the mainstack of another stack. doug On 1/22/04 4:51 PM, "xbury.cs at clearstream.com" wrote: > I have substacks in substacks... There's just no guarantee that they can > be found at some point by > other stacks than their own top stack... > > But for simplicity's sake, make them all one level deep... > > Shouldn't be hard to test tough... > ---------------------=--------------------- > Xavier Bury > Clearstream Services > TNS NT LAN Server > ext 36465 > Voice: +352 4656 43 6465 > Fax: +352 4656 493 6465 > > > > > Doug Lerner > Sent by: use-revolution-bounces at lists.runrev.com > 22/01/04 08:48 > Please respond to How to use Revolution > > > To: How to use Revolution > cc: > Subject: substack question > > . > > > Can a stack not be a substack of another substack? In other words, is the > substack hierarchy only a maximum of two deep? > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream International > does not accept legal responsibility for the contents of this message. > > The information contained in this e-mail is confidential and may be legally > privileged. It is intended solely for the addressee. If you are not the > intended recipient, any disclosure, copying, distribution or any action taken > or omitted to be taken in reliance on it, is prohibited and may be unlawful. > Any views expressed in this e-mail are those of the individual sender, except > where the sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From briany at qldlearning.com Thu Jan 22 03:03:57 2004 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 22 Jan 2004 03:03:57 -0500 Subject: substack question In-Reply-To: Message-ID: <87962751-4CB1-11D8-BEFA-000393AA08D2@qldlearning.com> Perhaps it matters what order you do things in? IOW, if you want a hierarchy A->B->C then what happens if you attach C to B, and then B to A (rather than B to A followed by C to B)? HTH -Brian > I tried testing, but I get an error saying that the stack I am trying > to > make a mainStack "is not a main stack". That is why I was wondering if > I > couldn't make another substack the mainstack of another stack. > > doug From alw918 at earthlink.net Thu Jan 22 02:57:02 2004 From: alw918 at earthlink.net (Andrew) Date: Wed, 21 Jan 2004 23:57:02 -0800 Subject: test In-Reply-To: <20040122074344.7BCF3930197@mail.runrev.com> Message-ID: <903015E4-4CB0-11D8-8067-000393DD0724@earthlink.net> I'm having lots of trouble sending to the list. Does this work? From alw918 at earthlink.net Thu Jan 22 02:57:02 2004 From: alw918 at earthlink.net (Andrew) Date: Wed, 21 Jan 2004 23:57:02 -0800 Subject: test In-Reply-To: <20040122074344.7BCF3930197@mail.runrev.com> Message-ID: <903015E4-4CB0-11D8-8067-000393DD0724@earthlink.net> I'm having lots of trouble sending to the list. Does this work? From xbury.cs at clearstream.com Thu Jan 22 03:28:23 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 22 Jan 2004 09:28:23 +0100 Subject: substack question Message-ID: Doug, did you try open stack x of stack y of stack z? After some testing, you dont even need it... Trick to make it work: Make a mainstack Stack1 Create a stack2 substack of stack1 At this point you can't create another substack of stack2 Create a mainstack stack3 set the mainstack of stack1 to stack3 et voila! Open stack2 worked for me... On 22/01/2004 08:59:22 use-revolution-bounces wrote: >I tried testing, but I get an error saying that the stack I am trying to >make a mainStack "is not a main stack". That is why I was wondering if I >couldn't make another substack the mainstack of another stack. > >doug > >On 1/22/04 4:51 PM, "xbury.cs at clearstream.com" >wrote: > >> I have substacks in substacks... There's just no guarantee that they can >> be found at some point by >> other stacks than their own top stack... >> >> But for simplicity's sake, make them all one level deep... >> >> Shouldn't be hard to test tough... >> ---------------------=--------------------- >> Xavier Bury >> Clearstream Services >> TNS NT LAN Server >> ext 36465 >> Voice: +352 4656 43 6465 >> Fax: +352 4656 493 6465 >> >> >> >> >> Doug Lerner >> Sent by: use-revolution-bounces at lists.runrev.com >> 22/01/04 08:48 >> Please respond to How to use Revolution >> >> >> To: How to use Revolution >> cc: >> Subject: substack question >> >> . >> >> >> Can a stack not be a substack of another substack? In other words, is the >> substack hierarchy only a maximum of two deep? >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> >> >> Visit us at http://www.clearstream.com >> >> IMPORTANT MESSAGE >> >> Internet communications are not secure and therefore Clearstream International >> does not accept legal responsibility for the contents of this message. >> >> The information contained in this e-mail is confidential and may be legally >> privileged. It is intended solely for the addressee. If you are not the >> intended recipient, any disclosure, copying, distribution or any action taken >> or omitted to be taken in reliance on it, is prohibited and may be unlawful. >> Any views expressed in this e-mail are those of the individual sender, except >> where the sender specifically states them to be the views of Clearstream >> International or of any of its affiliates or subsidiaries. >> >> END OF DISCLAIMER >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Thu Jan 22 03:49:43 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 17:49:43 +0900 Subject: substack question In-Reply-To: Message-ID: What I have is a mainStack. There is a substack of the mainStack, A. I use clone to make a duplicate of stack A and then set its mainStack to the mainstack. I also have a stack B. I use clone to make a duplicate of stack B. At this point I try to set the mainStack of B to A, but that is where it fails. doug On 1/22/04 5:28 PM, "xbury.cs at clearstream.com" wrote: > Doug, > > did you try open stack x of stack y of stack z? > > After some testing, you dont even need it... > > Trick to make it work: > Make a mainstack Stack1 > Create a stack2 substack of stack1 > > At this point you can't create another substack of stack2 > > Create a mainstack stack3 > set the mainstack of stack1 to stack3 et voila! > > Open stack2 worked for me... > > On 22/01/2004 08:59:22 use-revolution-bounces wrote: >> I tried testing, but I get an error saying that the stack I am trying to >> make a mainStack "is not a main stack". That is why I was wondering if I >> couldn't make another substack the mainstack of another stack. >> >> doug >> >> On 1/22/04 4:51 PM, "xbury.cs at clearstream.com" >> wrote: >> >>> I have substacks in substacks... There's just no guarantee that they > can >>> be found at some point by >>> other stacks than their own top stack... >>> >>> But for simplicity's sake, make them all one level deep... >>> >>> Shouldn't be hard to test tough... >>> ---------------------=--------------------- >>> Xavier Bury >>> Clearstream Services >>> TNS NT LAN Server >>> ext 36465 >>> Voice: +352 4656 43 6465 >>> Fax: +352 4656 493 6465 >>> >>> >>> >>> >>> Doug Lerner >>> Sent by: use-revolution-bounces at lists.runrev.com >>> 22/01/04 08:48 >>> Please respond to How to use Revolution >>> >>> >>> To: How to use Revolution >>> cc: >>> Subject: substack question >>> >>> . >>> >>> >>> Can a stack not be a substack of another substack? In other words, is > the >>> substack hierarchy only a maximum of two deep? >>> >>> doug >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> >>> >>> >>> Visit us at http://www.clearstream.com >>> >>> IMPORTANT MESSAGE >>> >>> Internet communications are not secure and therefore Clearstream > International >>> does not accept legal responsibility for the contents of this message. >>> >>> The information contained in this e-mail is confidential and may be > legally >>> privileged. It is intended solely for the addressee. If you are not the >>> intended recipient, any disclosure, copying, distribution or any action > taken >>> or omitted to be taken in reliance on it, is prohibited and may be > unlawful. >>> Any views expressed in this e-mail are those of the individual sender, > except >>> where the sender specifically states them to be the views of > Clearstream >>> International or of any of its affiliates or subsidiaries. >>> >>> END OF DISCLAIMER >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Thu Jan 22 03:49:58 2004 From: soapdog at mac.com (Andre Garzia) Date: Thu, 22 Jan 2004 06:49:58 -0200 Subject: trouble with loading externals... Message-ID: Hi Folks, I've got this externals revzeroconf.bundle and revzeroconf.dll... they are inside the stacks folder and also at /Applications/Revolution 2.1.2/ folder. When the stack loads, it cant find the externals... I used set the externals of stack "cool" to "revzeroconf.bundle" & return & "revzeroconf.dll" can anyone point my obvious mistake. never used externals before... -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From doug at webcrossing.com Thu Jan 22 03:51:07 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 17:51:07 +0900 Subject: substack question In-Reply-To: <87962751-4CB1-11D8-BEFA-000393AA08D2@qldlearning.com> Message-ID: Logically speaking, A exists when the app opens. B is sometimes created, sometimes not. If B is created, sometimes C is created, sometimes not. C must be a substack of B which is a substack of A. So the order is required. If it is possible. If not I'll need to find some work-around. doug On 1/22/04 5:03 PM, "Brian Yennie" wrote: > Perhaps it matters what order you do things in? > IOW, if you want a hierarchy A->B->C then what happens if you attach C > to B, and then B to A (rather than B to A followed by C to B)? > > HTH > -Brian > >> I tried testing, but I get an error saying that the stack I am trying >> to >> make a mainStack "is not a main stack". That is why I was wondering if >> I >> couldn't make another substack the mainstack of another stack. >> >> doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From briany at qldlearning.com Thu Jan 22 03:57:09 2004 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 22 Jan 2004 03:57:09 -0500 Subject: substack question In-Reply-To: Message-ID: If it _is_ order related, you could always unhitch the middle-level stack first, and then reconnect all three in reverse order? i.e. set the mainStack of stack B to empty set the mainStack of stack C to B set the mainStack of stack B to A I'm not sure that will work, but a possible workaround? Of course I'm curious, what is the advantage of having 3 levels of stacks? - Brian > Logically speaking, A exists when the app opens. B is sometimes > created, > sometimes not. > > If B is created, sometimes C is created, sometimes not. > > C must be a substack of B which is a substack of A. > > So the order is required. If it is possible. If not I'll need to find > some > work-around. From xbury.cs at clearstream.com Thu Jan 22 03:59:06 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 22 Jan 2004 09:59:06 +0100 Subject: substack question Message-ID: you can set a mainstack stack (with a substack) as a substack of another mainstack but you can't set a stack to be a substack of another substack. I tried, it wont work... Workaround would be to make one central mainstack and keep your substacks all as brothers instead of creating children of children (hope that's clear...). But you can simulate children with some naming convention eg: mainstack a1 substacks aa1 - virtual substack of a1 ab1 - virtual substack of a1 ab2 - virtual substack of ab1 etc... It will be simpler to work with - guaranteed and there should be better performance. ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 Doug Lerner Sent by: use-revolution-bounces at lists.runrev.com 22/01/04 09:51 Please respond to How to use Revolution To: How to use Revolution cc: Subject: Re: substack question . Logically speaking, A exists when the app opens. B is sometimes created, sometimes not. If B is created, sometimes C is created, sometimes not. C must be a substack of B which is a substack of A. So the order is required. If it is possible. If not I'll need to find some work-around. doug On 1/22/04 5:03 PM, "Brian Yennie" wrote: > Perhaps it matters what order you do things in? > IOW, if you want a hierarchy A->B->C then what happens if you attach C > to B, and then B to A (rather than B to A followed by C to B)? > > HTH > -Brian > >> I tried testing, but I get an error saying that the stack I am trying >> to >> make a mainStack "is not a main stack". That is why I was wondering if >> I >> couldn't make another substack the mainstack of another stack. >> >> doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From doug at webcrossing.com Thu Jan 22 04:05:34 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 18:05:34 +0900 Subject: The clock cursor Message-ID: In the OS X IDE the clock cursor suddenly won't go away. I can still select and browse as needed, so the tools are working, but the cursor is a clock. I realize that if I quit the IDE and restart it would probably reset, but has anybody seen this happen before? doug From doug at webcrossing.com Thu Jan 22 04:08:14 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 18:08:14 +0900 Subject: substack question In-Reply-To: Message-ID: On 1/22/04 5:57 PM, "Brian Yennie" wrote: > If it _is_ order related, you could always unhitch the middle-level > stack first, and then reconnect all three in reverse order? > > i.e. > > set the mainStack of stack B to empty > set the mainStack of stack C to B > set the mainStack of stack B to A > > I'm not sure that will work, but a possible workaround? I don't think so, in this case. > > Of course I'm curious, what is the advantage of having 3 levels of > stacks? Well, the mainstack is the mainstack. From the main stack I can call various application windows, like "chat". Chat then would be a substack of the main stack and can use things in the main stack hierarchy. Similarly, Chat has a sub-application, a white board attached to that chat. So I want it to be part of that chat hierarchy and be able to use the handlers available to chat and also handlers available at the main stack level. It seems that 3 levels of stack is natural for a case like this, isn't it? doug From doug at webcrossing.com Thu Jan 22 04:10:11 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 18:10:11 +0900 Subject: substack question In-Reply-To: Message-ID: On 1/22/04 5:59 PM, "xbury.cs at clearstream.com" wrote: > you can set a mainstack stack (with a substack) as a substack of another > mainstack > but you can't set a stack to be a substack of another substack. I tried, > it wont work... That is what I am finding too. So it seems that you can only have a two-deep stack hierarchy. Is that right? > > Workaround would be to make one central mainstack and keep your substacks > all > as brothers instead of creating children of children (hope that's > clear...). But you can > simulate children with some naming convention > > eg: > mainstack a1 > substacks > aa1 - virtual substack of a1 > ab1 - virtual substack of a1 > ab2 - virtual substack of ab1 > etc... Yes, I figured I would have to do something like that. Or use custom properties to "link" them all together. It would be nice to have more hierarchical levels though. doug > > It will be simpler to work with - guaranteed and there should be better > performance. > ---------------------=--------------------- > Xavier Bury > Clearstream Services > TNS NT LAN Server > ext 36465 > Voice: +352 4656 43 6465 > Fax: +352 4656 493 6465 > > > > > Doug Lerner > Sent by: use-revolution-bounces at lists.runrev.com > 22/01/04 09:51 > Please respond to How to use Revolution > > > To: How to use Revolution > cc: > Subject: Re: substack question > > . > > > Logically speaking, A exists when the app opens. B is sometimes created, > sometimes not. > > If B is created, sometimes C is created, sometimes not. > > C must be a substack of B which is a substack of A. > > So the order is required. If it is possible. If not I'll need to find some > work-around. > > doug > > On 1/22/04 5:03 PM, "Brian Yennie" wrote: > >> Perhaps it matters what order you do things in? >> IOW, if you want a hierarchy A->B->C then what happens if you attach C >> to B, and then B to A (rather than B to A followed by C to B)? >> >> HTH >> -Brian >> >>> I tried testing, but I get an error saying that the stack I am trying >>> to >>> make a mainStack "is not a main stack". That is why I was wondering if >>> I >>> couldn't make another substack the mainstack of another stack. >>> >>> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream International > does not accept legal responsibility for the contents of this message. > > The information contained in this e-mail is confidential and may be legally > privileged. It is intended solely for the addressee. If you are not the > intended recipient, any disclosure, copying, distribution or any action taken > or omitted to be taken in reliance on it, is prohibited and may be unlawful. > Any views expressed in this e-mail are those of the individual sender, except > where the sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Thu Jan 22 04:13:00 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 22 Jan 2004 10:13:00 +0100 Subject: substack question Message-ID: Doug, You can have sub of sub of sub of sub but you have to use the procedure I mentioned before: Make your 2nd level substacks with their 3rd level substacks and THEN make sub2 a substack of Mainstack 1 On 22/01/2004 10:10:11 use-revolution-bounces wrote: >On 1/22/04 5:59 PM, "xbury.cs at clearstream.com" >wrote: > >> you can set a mainstack stack (with a substack) as a substack of another >> mainstack >> but you can't set a stack to be a substack of another substack. I tried, >> it wont work... > >That is what I am finding too. So it seems that you can only have a two-deep >stack hierarchy. Is that right? > >> >> Workaround would be to make one central mainstack and keep your substacks >> all >> as brothers instead of creating children of children (hope that's >> clear...). But you can >> simulate children with some naming convention >> >> eg: >> mainstack a1 >> substacks >> aa1 - virtual substack of a1 >> ab1 - virtual substack of a1 >> ab2 - virtual substack of ab1 >> etc... > >Yes, I figured I would have to do something like that. Or use custom >properties to "link" them all together. > >It would be nice to have more hierarchical levels though. > >doug > > >> >> It will be simpler to work with - guaranteed and there should be better >> performance. >> ---------------------=--------------------- >> Xavier Bury >> Clearstream Services >> TNS NT LAN Server >> ext 36465 >> Voice: +352 4656 43 6465 >> Fax: +352 4656 493 6465 >> >> >> >> >> Doug Lerner >> Sent by: use-revolution-bounces at lists.runrev.com >> 22/01/04 09:51 >> Please respond to How to use Revolution >> >> >> To: How to use Revolution >> cc: >> Subject: Re: substack question >> >> . >> >> >> Logically speaking, A exists when the app opens. B is sometimes created, >> sometimes not. >> >> If B is created, sometimes C is created, sometimes not. >> >> C must be a substack of B which is a substack of A. >> >> So the order is required. If it is possible. If not I'll need to find some >> work-around. >> >> doug >> >> On 1/22/04 5:03 PM, "Brian Yennie" wrote: >> >>> Perhaps it matters what order you do things in? >>> IOW, if you want a hierarchy A->B->C then what happens if you attach C >>> to B, and then B to A (rather than B to A followed by C to B)? >>> >>> HTH >>> -Brian >>> >>>> I tried testing, but I get an error saying that the stack I am trying >>>> to >>>> make a mainStack "is not a main stack". That is why I was wondering if >>>> I >>>> couldn't make another substack the mainstack of another stack. >>>> >>>> doug >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> >> Visit us at http://www.clearstream.com >> >> IMPORTANT MESSAGE >> >> Internet communications are not secure and therefore Clearstream International >> does not accept legal responsibility for the contents of this message. >> >> The information contained in this e-mail is confidential and may be legally >> privileged. It is intended solely for the addressee. If you are not the >> intended recipient, any disclosure, copying, distribution or any action taken >> or omitted to be taken in reliance on it, is prohibited and may be unlawful. >> Any views expressed in this e-mail are those of the individual sender, except >> where the sender specifically states them to be the views of Clearstream >> International or of any of its affiliates or subsidiaries. >> >> END OF DISCLAIMER >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From briany at qldlearning.com Thu Jan 22 04:16:12 2004 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 22 Jan 2004 04:16:12 -0500 Subject: substack question In-Reply-To: Message-ID: <9FB8E7DE-4CBB-11D8-BEFA-000393AA08D2@qldlearning.com> Not quite. You can have as many levels as you want, but the "mainStack" property must always refer to a stack which is _not_ a substack at the time, thus the building up instead of down I suggested. I think my workaround may work for you. If it's mainly a script-sharing issue, you can also use the "start using" command (or "library") to make a stack's scripts available wherever you need them. Is your whiteboard in a separate window I presume? > That is what I am finding too. So it seems that you can only have a > two-deep > stack hierarchy. Is that right? From thierry.arbellot at wanadoo.fr Thu Jan 22 04:24:39 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Thu, 22 Jan 2004 10:24:39 +0100 Subject: The clock cursor In-Reply-To: Message-ID: It happens often on my Mac (OX 10.2.8, Rev 2.1) Open the message box and run "unlock cursor" Regards. Thierry. On Thursday, Jan 22, 2004, at 10:05 Europe/Paris, Doug Lerner wrote: > In the OS X IDE the clock cursor suddenly won't go away. I can still > select > and browse as needed, so the tools are working, but the cursor is a > clock. > > I realize that if I quit the IDE and restart it would probably reset, > but > has anybody seen this happen before? > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Thu Jan 22 04:45:54 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 22 Jan 2004 03:45:54 -0600 Subject: Conference Help stack... Message-ID: For those of you attending, and those who wished they did: Thanks to an excellent presentation by Jacque Landman Gay at the Revolution Conference in San Francisco regarding using Revolution as CGI -- prompted me to create this stack which is a step-by-step walkthrough of setting up a Revolution CGI on a local Mac running OSX. It couldn't be simpler (once I figured out with a bit of help from Jacque). What's cool about this is that now you can setup and debug/run cgi's locally without having to have an online server. Cool. Frankly, I was amazed on how easy this was, especially considering how hard it would be on the PC (using an outdated MS Personal Web Server...perhaps others know of a better way?) Again, just type into the msg (on Mac OS X only, but the notes may be interesting to others as well) go url "http://www.altuit.com/webs/altuit2/RunRev/CGIeditor.rev" (It's also available in the Tutorials section of my RunRev site: http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm ) I've also included a small editor which adds the correct line feed returns for creating the Revolution CGI scripts. While her demonstration went deeper than this stack, the basics are here. If I get around to it, I'll provide another tutorial on how to use stacks instead of scripts. Also, Jacque had a great handout. Perhaps she can put a .pdf of it online. She also mentioned Monte and someone else recently releasing a very cool cgi library...I'd like to see it!!! best, Chipp From doug at webcrossing.com Thu Jan 22 04:48:57 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 18:48:57 +0900 Subject: substack question In-Reply-To: <9FB8E7DE-4CBB-11D8-BEFA-000393AA08D2@qldlearning.com> Message-ID: On 1/22/04 6:16 PM, "Brian Yennie" wrote: > Not quite. You can have as many levels as you want, but the "mainStack" > property must always refer to a stack which is _not_ a substack at the > time, thus the building up instead of down I suggested. I think my > workaround may work for you. I will try that. Thanks. > > If it's mainly a script-sharing issue, you can also use the "start > using" command (or "library") to make a stack's scripts available > wherever you need them. > > Is your whiteboard in a separate window I presume? It wasn't. I had written an elaborate set of stuff to let me restrict graphics to a *field* even though graphics are not aware of fields and are really card objects. It was working ok, but then I realized I wanted to do something that really does require a separate window, so I am redoing the underpinnings to use a separate window that lies on top of the other window instead. doug From doug at webcrossing.com Thu Jan 22 04:49:33 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 18:49:33 +0900 Subject: The clock cursor In-Reply-To: Message-ID: Thanks. I will remember that. I also noticed that opening the online documentation helped. doug On 1/22/04 6:24 PM, "Thierry Arbellot" wrote: > It happens often on my Mac (OX 10.2.8, Rev 2.1) > Open the message box and run "unlock cursor" > > Regards. > Thierry. > > On Thursday, Jan 22, 2004, at 10:05 Europe/Paris, Doug Lerner wrote: > >> In the OS X IDE the clock cursor suddenly won't go away. I can still >> select >> and browse as needed, so the tools are working, but the cursor is a >> clock. >> >> I realize that if I quit the IDE and restart it would probably reset, >> but >> has anybody seen this happen before? >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From thierry.arbellot at wanadoo.fr Thu Jan 22 04:55:19 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Thu, 22 Jan 2004 10:55:19 +0100 Subject: trouble with loading externals... In-Reply-To: Message-ID: <16650040-4CC1-11D8-A798-000A27E40768@wanadoo.fr> Hi, "revzeroconf.bundle" is the external for MacOS X and "revzeroconf.dll" is for Windows You should copy the files in the revolution folder (what you did well) if you want to use them from the IDE Set the externals... command actually doesn't load the external. The external is loaded when the stack is open. Try the following: open the stack input the command set the externals of stack "cool" to "revzeroconf.bundle" or set the externals of stack "cool" to "revzeroconf.dll" according to the platform save and close the stack may be better to quit Rev launch Rev and open the stack Hope it helps Thierry. On Thursday, Jan 22, 2004, at 09:49 Europe/Paris, Andre Garzia wrote: > Hi Folks, > > I've got this externals revzeroconf.bundle and revzeroconf.dll... they > are inside the stacks folder and also at /Applications/Revolution > 2.1.2/ folder. When the stack loads, it cant find the externals... > > I used > set the externals of stack "cool" to "revzeroconf.bundle" & return & > "revzeroconf.dll" > > can anyone point my obvious mistake. > > never used externals before... > -- > Andre Alves Garzia ? 2004 ? BRAZIL > http://studio.soapdog.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dave at b-i-s.org Thu Jan 22 04:38:13 2004 From: dave at b-i-s.org (Dave Cope) Date: Thu, 22 Jan 2004 09:38:13 +0000 Subject: closeStackRequest Issue In-Reply-To: <133.2a471957.2d400a17@aol.com> References: <133.2a471957.2d400a17@aol.com> Message-ID: <200401220938.13676.dave@b-i-s.org> On Wednesday 21 Jan 2004 5:00 pm, FlexibleLearning at aol.com wrote: > Dave: > closeStackRequest is triggered when the closeBox is clicked, so you need to > trap both events... > > on closeStack > checkSave > end closeStack > > on closeStackRequest > checkSave > pass closeStackRequest > end closeStackRequest > > on checkSave > ... do your stuff here > end checkSave Thanks for the code. I had sort of arrived at this, but your checkSave is my PendingEdits handler. I'm going to try your code as I've not seen the syntax of just naming the handler with out a send or call in front. Kind Regards, -- Dave Cope, Data & Systems Admin. Biodiversity Information Service for Powys and Brecon Beacons National Park. Gwasanaeth Gwybodaeth Fioamrywiaeth Powys A Pharc Cenedlaethol Bannau Brycheiniog. EMail: dave at b-i-s.org Web: http://www.b-i-s.org From ops at myesa.com Thu Jan 22 05:35:12 2004 From: ops at myesa.com (Ops) Date: Thu, 22 Jan 2004 04:35:12 -0600 Subject: Resizing with pointer tool in standalone Message-ID: <400FA760.9030200@myesa.com> In the Rev development environment, I can select the pointer tool in a handler allowing a user to resize a control. When performed in a standalone, the "handles" do show up (black in color as opposed to gray when in development environment) but one cannot resize the control? Is there a library I need to include in my build? What do I need to do to make resizing actually work in a standalone when a handler chooses the pointer tool? BTW, the stack mode is "editable" and the "lockLocation" for the object in question is indeed "false". THANKS!! From doug at webcrossing.com Thu Jan 22 07:26:41 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 21:26:41 +0900 Subject: substack question In-Reply-To: <9FB8E7DE-4CBB-11D8-BEFA-000393AA08D2@qldlearning.com> Message-ID: On 1/22/04 6:16 PM, "Brian Yennie" wrote: > Not quite. You can have as many levels as you want, but the "mainStack" > property must always refer to a stack which is _not_ a substack at the > time, thus the building up instead of down I suggested. I think my > workaround may work for you. > > If it's mainly a script-sharing issue, you can also use the "start > using" command (or "library") to make a stack's scripts available > wherever you need them. I'll take a look at "start using". I can't get a sub-sub-stack to work no matter what combination I try. doug From psahores at easynet.fr Thu Jan 22 07:19:07 2004 From: psahores at easynet.fr (Pierre Sahores) Date: 22 Jan 2004 13:19:07 +0100 Subject: test : rev list available ? In-Reply-To: <3F23EE72-4A0D-11D8-B552-0003937A97B8@genesearch.com.au> References: <6E626BEC.6FABD89D.0018446D@aol.com> <3F23EE72-4A0D-11D8-B552-0003937A97B8@genesearch.com.au> Message-ID: <1074773947.2771.1.camel@www.kmax.ici> test : rev list available ? -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From cowhead at mac.com Thu Jan 22 07:34:32 2004 From: cowhead at mac.com (mark) Date: Thu, 22 Jan 2004 21:34:32 +0900 Subject: rev unicode still crap? In-Reply-To: <20040121170017.F3261930183@mail.runrev.com> Message-ID: <544EE91C-4CD7-11D8-BDAE-000A956E5E04@mac.com> Thanks Dave, that's sweet. I downloaded the revappversion 2.1.2 and it was no better at Japanese than the older rev. But I also noticed that copying and pasting the text from the Rev field into apple's TextEdit and then recopying and pasting back into the same rev field also fixes it and allows editing in the field. So for some reason, we have to pass the rev unicode through a variable or another program before rev can handle it in a field. Anyway, I fixed all my fields in the old rev with the variable-pass trick you suggested. Thanks. Now, if only I could directly type in hiragana RU and NO without having to hit return and then go back up again....sigh... I strongly suggest that the rev people remove any "claims" of unicode or Japanese support until this thing is actually usable. After all, if I were a Real american I would sue them for false advertising (but then, I wouldn't care about Japanese either). :-) On Thursday, Dave wrote: > In 2.02 on OS X 10, the following allowed me to edit the text in > field 2. (The original text in field 1 was shift-jis.) > > put uniEncode(field 1,Japanese) into t1 > set the unicodeText of field 2 to t1 > set the textFont of field 2 to "osaka,japanese" From doug at webcrossing.com Thu Jan 22 07:48:07 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 21:48:07 +0900 Subject: substack question In-Reply-To: Message-ID: On 1/22/04 9:26 PM, "Doug Lerner" wrote: > On 1/22/04 6:16 PM, "Brian Yennie" wrote: > >> Not quite. You can have as many levels as you want, but the "mainStack" >> property must always refer to a stack which is _not_ a substack at the >> time, thus the building up instead of down I suggested. I think my >> workaround may work for you. >> >> If it's mainly a script-sharing issue, you can also use the "start >> using" command (or "library") to make a stack's scripts available >> wherever you need them. > > I'll take a look at "start using". I can't get a sub-sub-stack to work no > matter what combination I try. Whoa! That "start using" command sure caused a zillion unexpected and weird weird weird results that took me a while to disentangle from! I better find a different way... doug From doug at webcrossing.com Thu Jan 22 07:57:53 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 21:57:53 +0900 Subject: Embedded windows? Message-ID: Instead of a field in a card, I would like to have a separate window appear in a card - an embedded window. I can do this fine, but when the focus changes to something else on the card - a button for example - the "embedded window" ends up behind the current window. Is there a way of keeping the embedded window on top, besides making it into a palette? I don't want to make it into a palette because when entering a palette the tool always switches to browse. doug From xbury.cs at clearstream.com Thu Jan 22 08:07:36 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 22 Jan 2004 14:07:36 +0100 Subject: Embedded windows? Message-ID: put this in the stack script on suspendstack if the short name of the topstack is not the short name of me then open me -- although im not sure this command will work, it's the suspend message interception mechanism that counts... pass suspendstack -- politically correct -- but could be commented out to force things... end suspendstack cheers Xavier On 22/01/2004 13:57:53 use-revolution-bounces wrote: >Instead of a field in a card, I would like to have a separate window appear >in a card - an embedded window. > >I can do this fine, but when the focus changes to something else on the card >- a button for example - the "embedded window" ends up behind the current >window. > >Is there a way of keeping the embedded window on top, besides making it into >a palette? I don't want to make it into a palette because when entering a >palette the tool always switches to browse. > >doug > 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 doug at webcrossing.com Thu Jan 22 08:12:19 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 22:12:19 +0900 Subject: Embedded windows? In-Reply-To: Message-ID: I'll take a look and see if that works. I'm afraid if my focus is repeatedly changing though, like typing into a text field in the "outer window" that that might end up looking funny, or reducing performance. But I'll give it a try before abandoning the "embedded window" idea. Thanks, doug On 1/22/04 10:07 PM, "xbury.cs at clearstream.com" wrote: > put this in the stack script > > on suspendstack > if the short name of the topstack is not the short name of me then open > me > -- although im not sure this command will work, it's the suspend message > interception mechanism that counts... > pass suspendstack -- politically correct -- but could be commented out > to force things... > end suspendstack > > cheers > Xavier > > On 22/01/2004 13:57:53 use-revolution-bounces wrote: >> Instead of a field in a card, I would like to have a separate window > appear >> in a card - an embedded window. >> >> I can do this fine, but when the focus changes to something else on the > card >> - a button for example - the "embedded window" ends up behind the current >> window. >> >> Is there a way of keeping the embedded window on top, besides making it > into >> a palette? I don't want to make it into a palette because when entering a >> palette the tool always switches to browse. >> >> doug >> > > > > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream International > does not accept legal responsibility for the contents of this message. > > The information contained in this e-mail is confidential and may be legally > privileged. It is intended solely for the addressee. If you are not the > intended recipient, any disclosure, copying, distribution or any action taken > or omitted to be taken in reliance on it, is prohibited and may be unlawful. > Any views expressed in this e-mail are those of the individual sender, except > where the sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Thu Jan 22 08:19:16 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 22:19:16 +0900 Subject: Embedded windows? In-Reply-To: Message-ID: On 1/22/04 10:07 PM, "xbury.cs at clearstream.com" wrote: > on suspendstack > if the short name of the topstack is not the short name of me then open > me > -- although im not sure this command will work, it's the suspend message > interception mechanism that counts... > pass suspendstack -- politically correct -- but could be commented out > to force things... > end suspendstack That doesn't seem to work - with our without the pass command. But I'll try fiddling with some combinations of that to see if I can come up with something viable. Thanks, doug From xbury.cs at clearstream.com Thu Jan 22 09:00:35 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 22 Jan 2004 15:00:35 +0100 Subject: Embedded windows? Message-ID: There maybe some frontscript intercepting it and not "pass"ing the event... Put a debug checkpoint on it to see if it is caught... Otherwise, put a resume event with a pass resume and see where that goes, it should lead to the stack script eventually or to some resume script that doesn't pass the event... hopefully... ;) On 22/01/2004 14:19:16 use-revolution-bounces wrote: >On 1/22/04 10:07 PM, "xbury.cs at clearstream.com" >wrote: > >> on suspendstack >> if the short name of the topstack is not the short name of me then open >> me >> -- although im not sure this command will work, it's the suspend message >> interception mechanism that counts... >> pass suspendstack -- politically correct -- but could be commented out >> to force things... >> end suspendstack > >That doesn't seem to work - with our without the pass command. But I'll try >fiddling with some combinations of that to see if I can come up with >something viable. > >Thanks, > >doug > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From dcragg at lacscentre.co.uk Thu Jan 22 09:41:50 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 22 Jan 2004 14:41:50 +0000 Subject: rev unicode In-Reply-To: <544EE91C-4CD7-11D8-BDAE-000A956E5E04@mac.com> References: <544EE91C-4CD7-11D8-BDAE-000A956E5E04@mac.com> Message-ID: At 9:34 pm +0900 22/1/04, mark wrote: >Thanks Dave, that's sweet. I downloaded the revappversion 2.1.2 and >it was no better at Japanese than the older rev. But I also noticed >that copying and pasting the text from the Rev field into apple's >TextEdit and then recopying and pasting back into the same rev field >also fixes it and allows editing in the field. So for some reason, >we have to pass the rev unicode through a variable or another >program before rev can handle it in a field. Anyway, I fixed all my >fields in the old rev with the variable-pass trick you suggested. I didn't see it as a trick. I thought that was how we were meant to do it. However, I haven't kept up to date on the unicode progess. I need to handle Japanese text in my stacks sometimes, but rarely require editing ability. BTW, I don't know what problems you are having with RU and NO but is this the same as Bugzilla #250? On 2.1.2, I don't have the problem described there, so perhaps it was fixed. Cheers Dave From alex at mindlube.com Thu Jan 22 09:42:41 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 22 Jan 2004 07:42:41 -0700 Subject: trouble with loading externals... In-Reply-To: References: Message-ID: <3B8D605D-4CE9-11D8-AB20-000393C4760A@mindlube.com> On Jan 22, 2004, at 1:49 AM, Andre Garzia wrote: > Hi Folks, > > I've got this externals revzeroconf.bundle and revzeroconf.dll... they > are inside the stacks folder and also at /Applications/Revolution > 2.1.2/ folder. When the stack loads, it cant find the externals... > > I used > set the externals of stack "cool" to "revzeroconf.bundle" & return & > "revzeroconf.dll" - during IDE development the .bundle or .dll files have to be in the Revolution folder (or in the defaultFolder) - in a standalone the .bundle or .dll files have to be in the app's folder. (or in the defaultFolder) BTW there is also a way to hide the .bundle into the app bundle on Mac OS X. - If you are only working on OS X, then you can safely leave off the revzeroconf.dll - It's OK to specify both the bundle and dll but I think there is a bug in the engine on OS X that it won't see the Mac bundle unless you specify it last! ie set the externals of stack "cool" to "revzeroconf.dll" & return & "revzeroconf.bundle" which is what I did for the Zeroconf Workbench stack. Hope this helps, -- Alex Rice | Mindlube Software | http://mindlube.com From alex at mindlube.com Thu Jan 22 09:44:17 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 22 Jan 2004 07:44:17 -0700 Subject: trouble with loading externals... In-Reply-To: <16650040-4CC1-11D8-A798-000A27E40768@wanadoo.fr> References: <16650040-4CC1-11D8-A798-000A27E40768@wanadoo.fr> Message-ID: <746F6820-4CE9-11D8-AB20-000393C4760A@mindlube.com> On Jan 22, 2004, at 2:55 AM, Thierry Arbellot wrote: > > save and close the stack > may be better to quit Rev > launch Rev and open the stack Right! Those are tough to remember until it becomes habit. -- Alex Rice | Mindlube Software | http://mindlube.com From 3mcgrath at adelphia.net Thu Jan 22 09:48:20 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 22 Jan 2004 09:48:20 -0500 Subject: substack question In-Reply-To: References: Message-ID: <0540DDA1-4CEA-11D8-A34D-000A95DA60FA@adelphia.net> Why are you not just using the open stack in your stacks??? You can open a stack outside of your mainstack and use it as a palette in your main stack. it does not have to be a sub of a sub of a sub. it can just be separate completely from the beginning. FWIW Tom On Jan 22, 2004, at 7:48 AM, Doug Lerner wrote: > On 1/22/04 9:26 PM, "Doug Lerner" wrote: > >> On 1/22/04 6:16 PM, "Brian Yennie" wrote: >> >>> Not quite. You can have as many levels as you want, but the >>> "mainStack" >>> property must always refer to a stack which is _not_ a substack at >>> the >>> time, thus the building up instead of down I suggested. I think my >>> workaround may work for you. >>> >>> If it's mainly a script-sharing issue, you can also use the "start >>> using" command (or "library") to make a stack's scripts available >>> wherever you need them. >> >> I'll take a look at "start using". I can't get a sub-sub-stack to >> work no >> matter what combination I try. > > Whoa! That "start using" command sure caused a zillion unexpected and > weird > weird weird results that took me a while to disentangle from! I better > find > a different way... > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Thu Jan 22 09:52:40 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 22 Jan 2004 09:52:40 -0500 Subject: substack question In-Reply-To: References: Message-ID: Doug, The start using is meant as a "Library" type usage. It is not the same as just opening another stack from your main stack. You need to check your message paths. Also, with all of these changes you are making to your stacks (ie. clones, setting mainstack etc.) you should be saving and close and remove from memory and THEN quit rev and relaunch rev and open your stack. Doing this has helped avoid weird bugs etc in the IDE for me. Tom On Jan 22, 2004, at 7:48 AM, Doug Lerner wrote: > > Whoa! That "start using" command sure caused a zillion unexpected and > weird > weird weird results that took me a while to disentangle from! I better > find > a different way... > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From doug at webcrossing.com Thu Jan 22 09:53:20 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 23:53:20 +0900 Subject: substack question In-Reply-To: <0540DDA1-4CEA-11D8-A34D-000A95DA60FA@adelphia.net> Message-ID: I was wanting to use handlers in the "parent" stack. doug On 1/22/04 11:48 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> wrote: > Why are you not just using the open stack in your stacks??? > > You can open a stack outside of your mainstack and use it as a palette > in your main stack. it does not have to be a sub of a sub of a sub. it > can just be separate completely from the beginning. > > FWIW > > Tom > > On Jan 22, 2004, at 7:48 AM, Doug Lerner wrote: > >> On 1/22/04 9:26 PM, "Doug Lerner" wrote: >> >>> On 1/22/04 6:16 PM, "Brian Yennie" wrote: >>> >>>> Not quite. You can have as many levels as you want, but the >>>> "mainStack" >>>> property must always refer to a stack which is _not_ a substack at >>>> the >>>> time, thus the building up instead of down I suggested. I think my >>>> workaround may work for you. >>>> >>>> If it's mainly a script-sharing issue, you can also use the "start >>>> using" command (or "library") to make a stack's scripts available >>>> wherever you need them. >>> >>> I'll take a look at "start using". I can't get a sub-sub-stack to >>> work no >>> matter what combination I try. >> >> Whoa! That "start using" command sure caused a zillion unexpected and >> weird >> weird weird results that took me a while to disentangle from! I better >> find >> a different way... >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Thu Jan 22 09:56:02 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 22 Jan 2004 23:56:02 +0900 Subject: substack question In-Reply-To: Message-ID: On 1/22/04 11:52 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> wrote: > Also, with all of these changes you are making to your stacks (ie. > clones, setting mainstack etc.) you should be saving and close and > remove from memory and THEN quit rev and relaunch rev and open your > stack. Doing this has helped avoid weird bugs etc in the IDE for me. Yes, I have found that too. Thanks. Well, it's getting late here, so time to go to futon and let the "night staff" in the U.S. take over. :-) doug From 3mcgrath at adelphia.net Thu Jan 22 09:58:49 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 22 Jan 2004 09:58:49 -0500 Subject: substack question In-Reply-To: References: Message-ID: <7C4D9372-4CEB-11D8-A34D-000A95DA60FA@adelphia.net> good night.... Tom On Jan 22, 2004, at 9:56 AM, Doug Lerner wrote: > On 1/22/04 11:52 PM, "Thomas J McGrath III" <3mcgrath at adelphia.net> > wrote: > >> Also, with all of these changes you are making to your stacks (ie. >> clones, setting mainstack etc.) you should be saving and close and >> remove from memory and THEN quit rev and relaunch rev and open your >> stack. Doing this has helped avoid weird bugs etc in the IDE for me. > > Yes, I have found that too. > > Thanks. > > Well, it's getting late here, so time to go to futon and let the "night > staff" in the U.S. take over. :-) From frank at backtalk.com Thu Jan 22 11:41:14 2004 From: frank at backtalk.com (Frank Leahy) Date: Thu, 22 Jan 2004 16:41:14 +0000 Subject: Bug in handling Help menu items? Message-ID: Has anyone else had problems getting the menuPick message sent from items in the Help menu in the MacOSX menubar? I have two items in the Help menu, "Open Help Window", followed by a -, followed by "About Photo Album" as the docs describe. The "About Photo Album" gets moved to the Application menu as it's supposed to (as does Preferences from the Edit menu), and the only item left in the Help menu is "Open Help Window". All my other menu choices come through the stack menuPick handler, except for these two Help menu items -- "About Photo Album" and "Open Help Window". There is definitely no intervening menuPick handler that might be hiding the choices, and it doesn't matter if I add a menuPick to the Help button, menu bar, etc.. Has anyone else seen this behavior? (I'm running 2.1.2) Thanks in advance, -- Frank Leahy From mwieder at ahsoftware.net Thu Jan 22 12:27:41 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 22 Jan 2004 09:27:41 -0800 Subject: trouble with loading externals... In-Reply-To: <746F6820-4CE9-11D8-AB20-000393C4760A@mindlube.com> References: <16650040-4CC1-11D8-A798-000A27E40768@wanadoo.fr> <746F6820-4CE9-11D8-AB20-000393C4760A@mindlube.com> Message-ID: <651517942.20040122092741@ahsoftware.net> >> save and close the stack I think it has to be "remove from memory" as well, but I'm not sure because I always quit rev completely and then relaunch, just to be safe. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jan 22 12:35:32 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 22 Jan 2004 09:35:32 -0800 Subject: trouble with loading externals... In-Reply-To: <3B8D605D-4CE9-11D8-AB20-000393C4760A@mindlube.com> References: <3B8D605D-4CE9-11D8-AB20-000393C4760A@mindlube.com> Message-ID: <1011988649.20040122093532@ahsoftware.net> Alex- Thursday, January 22, 2004, 6:42:41 AM, you wrote: AR> - during IDE development the .bundle or .dll files have to be in the AR> Revolution folder (or in the defaultFolder) AR> - in a standalone the .bundle or .dll files have to be in the app's AR> folder. (or in the defaultFolder) BTW there is also a way to hide the AR> .bundle into the app bundle on Mac OS X. Actually, the external library can be *anywhere*, in either the IDE or standalone environments. The trick is to specify the path (either absolute or relative) in the set statement. Of course, the easiest thing, both for development and for distribution, is to place the external in the same directory or bundle. But I often find that for external development setting the externals location to a relative path makes things less complicated. set the externals of this stack to "../externaltest/test.dll" set the externals of this stack to "C:/mylibraries/externals/test.dll" AR> - It's OK to specify both the bundle and dll but I think there is a bug AR> in the engine on OS X that it won't see the Mac bundle unless you AR> specify it last! ie !!! Thanks. I didn't know about that one. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jan 22 12:42:10 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 22 Jan 2004 09:42:10 -0800 Subject: trouble with loading externals... In-Reply-To: References: Message-ID: <972386361.20040122094210@ahsoftware.net> Andre- Thursday, January 22, 2004, 12:49:58 AM, you wrote: Here's what I use to set the path to an external library: global useFullPath on mouseup -- Set useFullPath to true during development and testing -- then set it to false for final build, -- where you will place the external library in the same -- folder as the stack itself. put true into useFullPath set the itemDelimiter to "/" answer file "Find an external DLL" if it is not empty then if useFullPath then -- Specify the full path location of the external library set the externals of this stack to it -- Display the path if you want put it else -- Extract just the filename from the specified path. -- Put the external library in the same directory as the stack. -- In this case the external library should be in the defaultFolder -- which by default is the same folder as the stack. set the externals of this stack to the last item of it -- Display the path if you want put the last item of it end if end if end mouseup -- -Mark Wieder mwieder at ahsoftware.net From alex at mindlube.com Thu Jan 22 12:45:26 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 22 Jan 2004 10:45:26 -0700 Subject: trouble with loading externals... In-Reply-To: <1011988649.20040122093532@ahsoftware.net> References: <3B8D605D-4CE9-11D8-AB20-000393C4760A@mindlube.com> <1011988649.20040122093532@ahsoftware.net> Message-ID: On Jan 22, 2004, at 10:35 AM, Mark Wieder wrote: > AR> - It's OK to specify both the bundle and dll but I think there is > a bug > AR> in the engine on OS X that it won't see the Mac bundle unless you > AR> specify it last! ie > > !!! Thanks. I didn't know about that one. Mark, can you replicate that problem (mac bundle not seen unless last in the externals list)? If someone else can replicate then I will bugzilla it. Thanks, -- Alex Rice | Mindlube Software | http://mindlube.com From alw918 at earthlink.net Thu Jan 22 15:02:08 2004 From: alw918 at earthlink.net (Andrew) Date: Thu, 22 Jan 2004 12:02:08 -0800 Subject: Windows standalone In-Reply-To: <20040122085836.EFC0C9301BF@mail.runrev.com> Message-ID: Hi, List, I apologize if you have seen this message before, but I've been having continuous problems sending messages to the list; they don't appear in my daily posts. I finally saw my "test" message appear, so that gives me hope. Anyway, now the content: I wanted to thank everyone for their responses to my problem about the mac standalone not downloading. I fixed the problem by making it a ".sit" file, and it downloaded fine. Thanks! Meanwhile, I'm still having the same problem with the Windows standalone: when the user hits a key, an ask window is supposed to show, but it doesn't. I made sure that the "ask window" option was checked in the Distribution Builder, but the problem persists. Any ideas? Thanks so much Andrew From 3mcgrath at adelphia.net Thu Jan 22 15:56:44 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 22 Jan 2004 15:56:44 -0500 Subject: Preferences files Message-ID: <7CC23408-4D1D-11D8-AE55-000A95DA60FA@adelphia.net> Hello Revo's, Can anyone help me with this? I want to save a bookmark preferences file in my revised CD project. So far I know I can't save in my CD stack - it is meant to run right from the CD. If I ask the user to save a Pref file somewhere on their machine then what is the best way to get that file loaded next time they run the CD? The CD is meant for cross-platform distribution. Thank you, Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From scott at tactilemedia.com Thu Jan 22 16:08:41 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 22 Jan 2004 13:08:41 -0800 Subject: Preferences files In-Reply-To: <7CC23408-4D1D-11D8-AE55-000A95DA60FA@adelphia.net> Message-ID: Recently, "Thomas J McGrath III" wrote: > I want to save a bookmark preferences file in my revised CD project. > So far I know I can't save in my CD stack - it is meant to run right > from the CD. > If I ask the user to save a Pref file somewhere on their machine then > what is the best way to get that file loaded next time they run the CD? > The CD is meant for cross-platform distribution. You can try the specialFolderPath("preferences") function. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From gizmotron at earthlink.net Thu Jan 22 16:42:41 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 22 Jan 2004 13:42:41 -0800 Subject: Preferences files In-Reply-To: <7CC23408-4D1D-11D8-AE55-000A95DA60FA@adelphia.net> Message-ID: On Thursday, January 22, 2004, at 12:56 PM, Thomas J McGrath III wrote: > If I ask the user to save a Pref file somewhere on their machine then > what is the best way to get that file loaded next time they run the > CD? > The CD is meant for cross-platform distribution. Thomas, I do this: if the platform is "MacOS" then put specialFolderPath("preferences") into regStatGoPath put regStatGoPath & "/yourpref.txt" into itX if there is a file itX then put URL ("file:" & itX )) into temp -- put decompress(URL ("binfile:" & itX )) into temp else -- do something here to create one end if end if if the platform is "Win32" then put specialFolderPath("system") into regStatGoPath put regStatGoPath & "/yourpref.txt" into itX if there is a file itX then put URL ("file:" & itX )) into temp -- put decompress(URL ("binfile:" & itX )) into temp else -- do something here to create one end if end if I would also add base64 for your cross-platform distribution. Mark From chipp at chipp.com Thu Jan 22 16:45:16 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 22 Jan 2004 15:45:16 -0600 Subject: Windows standalone In-Reply-To: Message-ID: Andrew, I've seen all three of your posts regarding Windows Standalone. If you can't get an 'ask window' to open in the standalone, why don't you just create a sample button with the following script and put it into the standalone: on mouseUp ask "hello world" end mouseUp Also, check to see if the topstack where your keypress handler resides is offscreen. The ASK dialog wants to center itself on the topStack. If it is offscreen then do: on rawKeyDown pKey --> CHECKS FOR THE 'a' KEY DOWN if pKey = 97 then go inv stack "ask Dialog" set the loc of stack "ask Dialog" to the screenloc show stack "ask Dialog" ask "hello world" end if end rawKeyDown > Meanwhile, I'm still having the same problem with the Windows > standalone: when the user hits a key, an ask window is supposed to > show, but it doesn't. I made sure that the "ask window" option was > checked in the Distribution Builder, but the problem persists. > Any ideas? > Thanks so much > Andrew From erikhans08 at yahoo.com Thu Jan 22 15:18:15 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Thu, 22 Jan 2004 12:18:15 -0800 (PST) Subject: Height/width limit on groups? In-Reply-To: Message-ID: <20040122201815.91089.qmail@web61108.mail.yahoo.com> those spaces get me into trouble. is required. works. Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From thierry.arbellot at wanadoo.fr Thu Jan 22 17:47:57 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Thu, 22 Jan 2004 23:47:57 +0100 Subject: Preferences files In-Reply-To: Message-ID: <05DAFF47-4D2D-11D8-9BEA-000A27E40768@wanadoo.fr> On Win2K or XP platforms, the user may not have enough privileges to write files into system folder. It's better to store preferences file in C:\Documents and Settings\All Users\Application Data = specialFolderPath(35) From MS documentation CSIDL_COMMON_APPDATA ?(0x0023) Version 5.0 . The file system directory containing application data for all users. A typical path is C:\Documents and Settings\All Users\Application Data. Regards. Thierry. On Thursday, Jan 22, 2004, at 22:42 Europe/Paris, Mark Brownell wrote: > On Thursday, January 22, 2004, at 12:56 PM, Thomas J McGrath III > wrote: > >> If I ask the user to save a Pref file somewhere on their machine then >> what is the best way to get that file loaded next time they run the > >> CD? >> The CD is meant for cross-platform distribution. > > Thomas, > > I do this: > > if the platform is "MacOS" then > put specialFolderPath("preferences") into regStatGoPath > put regStatGoPath & "/yourpref.txt" into itX > if there is a file itX then > put URL ("file:" & itX )) into temp > -- put decompress(URL ("binfile:" & itX )) into temp > else > -- do something here to create one > end if > end if > if the platform is "Win32" then > put specialFolderPath("system") into regStatGoPath > put regStatGoPath & "/yourpref.txt" into itX > if there is a file itX then > put URL ("file:" & itX )) into temp > -- put decompress(URL ("binfile:" & itX )) into temp > else > -- do something here to create one > end if > end if > > I would also add base64 for your cross-platform distribution. > > Mark > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From erikhans08 at yahoo.com Thu Jan 22 15:37:34 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Thu, 22 Jan 2004 12:37:34 -0800 (PST) Subject: a good laptop PC for Revolution & MIDI? In-Reply-To: Message-ID: <20040122203734.93333.qmail@web61103.mail.yahoo.com> what is a good laptop PC for RunRev & MIDI? the consumer comparison magazines are a fine starting place, but they do not usually consider Revolution and/or MIDI compatability. there will be considerable bouncing around in a pack on a bike. durablity is the main concern. under $1,000 is the other. thanks for any ideas, Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From Mark.Powell at veritas.com Thu Jan 22 18:02:29 2004 From: Mark.Powell at veritas.com (Mark Powell) Date: Thu, 22 Jan 2004 15:02:29 -0800 Subject: Deselect on click Message-ID: Simple I'm sure, but it evades me... I have a field that I'm using as a clickable list. Its listBehavior, toggleHilites, noncontiguousHilites, autoHilite, are all set to true. The standalone works as I want, except for one thing. If the user has a line or lines already selected, then clicks on another line *without* using Shift or Command/Control keys, all the previously selected lines should un-highlight and the new line should then be highlighted by itself. At least that is how it works in applications that I use. How do I do that? Mark From capellan2000 at yahoo.com Thu Jan 22 18:05:34 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 22 Jan 2004 15:05:34 -0800 (PST) Subject: rev unicode still crap? In-Reply-To: <20040122132041.95F299300A8@mail.runrev.com> Message-ID: <20040122230534.57059.qmail@web40513.mail.yahoo.com> on Thu, 22 Jan 2004 21:34:32 +0900 mark wrote: > But I also noticed that copying and pasting > the text from the Rev field into apple's TextEdit > and then recopying and pasting back into the same > rev field also fixes it and allows editing in the > field. So for some reason, we have to > pass the rev unicode through a variable or another > program before rev can handle it in a field. [snip] > Now, if only I could directly type in > hiragana RU and NO without > having to hit return > and then go back up again....sigh... There are a RunRev japanese mail list. I'm sure that there you could find users of multiple operating systems. How did they type and edit japanese or another double byte language in RunRev in these OS? Just for curiosity, How fast could someone type in double byte languages? 25 or less words per minute? al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From jacque at hyperactivesw.com Thu Jan 22 18:11:56 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 22 Jan 2004 17:11:56 -0600 Subject: Conference Help stack... In-Reply-To: References: Message-ID: <401058BC.8070607@hyperactivesw.com> On 1/22/04 3:45 AM, Chipp Walters wrote: > Also, Jacque had a great handout. Perhaps she can put a .pdf of it online. > She also mentioned Monte and someone else recently releasing a very cool cgi > library...I'd like to see it!!! Thanks for the kind words, Chipp. My handout is online at: And Monte's and Rodney's LibCGI can be found at: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Thu Jan 22 18:21:50 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 22 Jan 2004 17:21:50 -0600 Subject: a good laptop PC for Revolution & MIDI? In-Reply-To: <20040122203734.93333.qmail@web61103.mail.yahoo.com> Message-ID: This Compaq looks pretty good...and it's only $799. You might want to check out the others at TigerDirect.com. http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=6 24707&Sku=A265-1084%20P > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of erik hansen > Sent: Thursday, January 22, 2004 2:38 PM > To: How to use Revolution > Subject: a good laptop PC for Revolution & MIDI? > > > > what is a good laptop PC for RunRev & MIDI? > the consumer comparison magazines are a fine > starting place, but they do not usually > consider Revolution and/or MIDI compatability. > > there will be considerable bouncing around > in a pack on a bike. durablity is the main > concern. under $1,000 is the other. > > thanks for any ideas, > > Erik > > ===== > erik at erikhansen.org http://www.erikhansen.org > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Thu Jan 22 18:28:50 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 22 Jan 2004 15:28:50 -0800 Subject: trouble with loading externals... In-Reply-To: References: <3B8D605D-4CE9-11D8-AB20-000393C4760A@mindlube.com> <1011988649.20040122093532@ahsoftware.net> Message-ID: <339136517.20040122152850@ahsoftware.net> Alex- Thursday, January 22, 2004, 9:45:26 AM, you wrote: Can't get to it today, but I'll give it a try tomorrow. -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Thu Jan 22 18:47:38 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 22 Jan 2004 15:47:38 -0800 Subject: a good laptop PC for Revolution & MIDI? In-Reply-To: <20040122203734.93333.qmail@web61103.mail.yahoo.com> Message-ID: Recently, "erik hansen" wrote: > what is a good laptop PC for RunRev & MIDI? > the consumer comparison magazines are a fine > starting place, but they do not usually > consider Revolution and/or MIDI compatability. > > there will be considerable bouncing around > in a pack on a bike. durablity is the main > concern. under $1,000 is the other. You'll probably be hard pressed to find a truly durable portable for under $1000. FWIW: http://www.popularmechanics.com/technology/tech_tuesday/2003/12/tech_tuesday _12_23_03/ Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From doug at webcrossing.com Thu Jan 22 19:01:26 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 23 Jan 2004 09:01:26 +0900 Subject: rev unicode still crap? In-Reply-To: <20040122230534.57059.qmail@web40513.mail.yahoo.com> Message-ID: On 1/23/04 8:05 AM, "Alejandro Tejada" wrote: > How fast could someone type in > double byte languages? > > 25 or less words per minute? Once you get into it you can type very quickly. I don't have numbers, but when I get into long emails in Japanese I find myself zooming along. And secretaries who use direct kana input instead of romaji-kana henkan (like most computer people do) go even faster, I understand. doug From jacque at hyperactivesw.com Thu Jan 22 19:15:15 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 22 Jan 2004 18:15:15 -0600 Subject: dragDrop -- dragData("image") In-Reply-To: <20040122032716.96721.qmail@web80407.mail.yahoo.com> References: <20040122032716.96721.qmail@web80407.mail.yahoo.com> Message-ID: <40106793.6090603@hyperactivesw.com> On 1/21/04 9:27 PM, Kathy Jaqua wrote: > I can dragDrop -- dragData("text") to a target from a > substack to a stack. > > I would like to dragData["image"] from a substack or > palette and dragdrop it on a card. ... > Where do I put the following dragEnter and dragDrop > script (Which of course after working 2 days dose not > work either)? > > on dragEnter > set the acceptDrop to true > end dragEnter > > on dragDrop > create image the dragData["image"] > end dragDrop Cards do not receive the dragDrop message. I solved this in one of my stacks by placing a huge transparent button underneath all other objects. That button did receive the message, but since it had no scripts it did not handle it. The message then passed through to the card script where it was handled with generic dragDrop and dragEnter handlers. In your dragDrop handler above, the "create" line will create an image and try to assign it the name contained in the dragData -- which probably isn't a valid name. Instead you need to create the image and then assign its contents in two separate lines: on dragDrop create image "myImage" set the imageData of image "myImage" to the dragData["image"] end dragDrop -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rbarber at yhb.att.ne.jp Thu Jan 22 19:18:13 2004 From: rbarber at yhb.att.ne.jp (ron barber) Date: Fri, 23 Jan 2004 09:18:13 +0900 Subject: rev unicode still crap? In-Reply-To: <20040122230534.57059.qmail@web40513.mail.yahoo.com> References: <20040122230534.57059.qmail@web40513.mail.yahoo.com> Message-ID: Hi Alejandro On Jan 23, 2004, at 8:05 AM, Alejandro Tejada wrote: > > There are a RunRev japanese mail list. > I'm sure that there you could find users > of multiple operating systems. Actually, I believe Mark is on the Japanese RR list as I also am. I think it is fair to say that the Japanese are just as frustrated with RR current shortcomings in handling Unicode/Japanese as Mark is. Some are more patient, but the overall attitude is one of disappointment at the current state and hope for a truly Japanese enabled Revolution. My current project involves all three, CJK, languages, but is stalled because of bugs, all reported in bugzilla, that are currently being addressed. (I think/hope) Ron From 3mcgrath at adelphia.net Thu Jan 22 19:07:05 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 22 Jan 2004 19:07:05 -0500 Subject: a good laptop PC for Revolution & MIDI? In-Reply-To: <20040122203734.93333.qmail@web61103.mail.yahoo.com> References: <20040122203734.93333.qmail@web61103.mail.yahoo.com> Message-ID: <142030B6-4D38-11D8-8977-000A95DA60FA@adelphia.net> ibook is perfect and around a $1000. Midi and was designed for students to bang around. On Jan 22, 2004, at 3:37 PM, erik hansen wrote: > > what is a good laptop PC for RunRev & MIDI? > the consumer comparison magazines are a fine > starting place, but they do not usually > consider Revolution and/or MIDI compatability. > > there will be considerable bouncing around > in a pack on a bike. durablity is the main > concern. under $1,000 is the other. > > thanks for any ideas, > > Erik > > ===== > erik at erikhansen.org http://www.erikhansen.org > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From soapdog at mac.com Thu Jan 22 20:23:53 2004 From: soapdog at mac.com (Andre Garzia) Date: Thu, 22 Jan 2004 23:23:53 -0200 Subject: Preferences files In-Reply-To: <7CC23408-4D1D-11D8-AE55-000A95DA60FA@adelphia.net> References: <7CC23408-4D1D-11D8-AE55-000A95DA60FA@adelphia.net> Message-ID: Tom, there was a tread like this some weeks ago and Klauss present a function that is very handy, it can save prefs for mac, windows and unix it's very good, you can search for "safe_place_to_store_my_bloody_prefs", i think that was the handler... Cheers Andre On Jan 22, 2004, at 6:56 PM, Thomas J McGrath III wrote: > Hello Revo's, > > Can anyone help me with this? > I want to save a bookmark preferences file in my revised CD project. > So far I know I can't save in my CD stack - it is meant to run right > from the CD. > If I ask the user to save a Pref file somewhere on their machine then > what is the best way to get that file loaded next time they run the > CD? > The CD is meant for cross-platform distribution. > > Thank you, > > Tom > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From shishilite at hotpop.com Thu Jan 22 20:32:48 2004 From: shishilite at hotpop.com (shishilite at hotpop.com) Date: Fri, 23 Jan 2004 11:32:48 +1000 Subject: Conference Help stack... In-Reply-To: Message-ID: Just a note to all Rev users who are interested in using Rev CGI on Linux: 1. revxml is currently *not* supported in Rev CGI Linux engine. I have tested this on a number of Linux servers running Red Hat 9.0 with the latest Linux CGI engine that can be found on the RR public FTP server. 2. revdb/libmysql is currently *not* supported in Rev CGI Linux Engine. This has been tested on Linux servers with RH 9.0 and MySQL 4.0.15. I downloaded Monte's LibCGI and the following was mentioned in the Intro to RevCGI: ---- With the purchase of Metacard by RunRev, Revolution now has database functionality built into the CGI engine. According to Tuviah: "Everything is supported, revdb and revxml. The embedded engine library is indeed used for now, and now since RR has aquired MC you can look forward to an english flexible syntax being integrated into the engine." ---- However, based on my experience, this is not the case for the Linux engine. Shishi From rodneyta at telpacific.com.au Thu Jan 22 22:08:02 2004 From: rodneyta at telpacific.com.au (Rodney Tamblyn) Date: Fri, 23 Jan 2004 16:08:02 +1300 Subject: LibCGI 1.0 [ANN] Message-ID: <5AF45A30-4D51-11D8-9244-003065F97100@telpacific.com.au> Monte Guilding and I are pleased to announce the availability of our LibCGI package, as demonstrated by Jacqueline at the Revolution conference recently. LibCGI is now available for download from: http://www.sweattechnologies.com/rev/ http://www.infiny.co.nz/developer/LibCGI%201.0.zip We are releasing this to the Revolution community as freeware. LibCGI simplifies CGI scripting in Revolution (and Metacard). It provides a standard way to process data from users, whether submitted via web page forms or URL parameters. Scripting your own CGIs is very simple with LibCGI. After configuration on your web server, all you need to do is create a Revolution stack containing an "on libraryStack" handler. All data from the user is stored in an array. This will be called when the web server calls a function in the stack. A simple example of calling a libCGI function is illustrated in the following URL and response: http://yourdomain.com/cgi-bin/form.cgi?stack=hello&cmd=hello In the Hello.rev stack you would place the following handler global gRequestA on libraryStack put gRequestA["address"] into tAddress switch gRequestA["cmd"] case "hello" libCGI_Response "hello world" break default libCGI_Response "command not understood"&& gRequestA["cmd"] break end switch end libraryStack Calling the URL returns "Hello World" State information can be handled through LibCGI support for getting and setting cookies on the remote client's web browser. To simplify development, LibCGI features several useful error reporting features. When a script in a CGI stack fails LibCGI can generate a result page containing the error, submitted information from user, and Revolution variables. Errors can also be logged to the system logs. To assist in debugging you can watch CGI scripts dynamically as they execute in the web server, by placing libCGI console logging messages in your scripts. These can be viewed in OSX using the Console application. CGI stacks may call other stacks. One of the supplied example CGI stacks demonstrates sending an email reply to a request using the libSMTP stack. When file and file permissions are correctly configured, LibCGi scripts can also read and write files on the server. The documentation explains how advanced users can configure Apache to support server side includes, allowing generation of dynamic web pages where portions of the page have been generated by Revolution CGI calls. Documentation and several examples stacks are included in the download. Known Issues: (i) Console logging script has a known bug - it is necessary to escape special characters in error strings (such as quotes, slashes etc) otherwise writing to console fails. This will be fixed in the next release. -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From mato.kola at wanblizaptan.com Thu Jan 22 22:09:45 2004 From: mato.kola at wanblizaptan.com (Jerry Daniels) Date: Thu, 22 Jan 2004 21:09:45 -0600 Subject: Password Field In-Reply-To: <202575BC-4AE5-11D8-9304-000A95B02D84@mac.com> References: <202575BC-4AE5-11D8-9304-000A95B02D84@mac.com> Message-ID: <98825C9A-4D51-11D8-A407-000A95B300EC@wanblizaptan.com> Brian, I answered this last week for Doug Lerner but maybe my email went astray or maybe you didn't see it. Here follows an answer to your question (as well as his)... ************************ Here's one possible way to tackle your question number 2 (password entry so that you only see asterisks): 1. Make two editable (but empty) text fields called "password" and "password mask." 2. Hide "password" but keep "password mask" visible for text entry of the password. 3. Put these handlers into the visible field, "password mask": on keyDown theKey --> FIND OUT WHAT'S SELECTED: put the selectedChunk into theChunk put word 2 of theChunk into theStartPos put word 4 of theChunk into theEndPos --> PUT ASTERISK INTO THE SELECTION IN VISIBLE MASK FIELD: put "*" into char theStartPos to theEndPos of fld "Password Mask" --> PUT REAL DATA INTO THE HIDDEN FIELD: put theKey into char theStartPos to theEndPos of fld "Password" focus on me end keyDown on keyUp --> GET THAT SELECTION GOING AGAIN: focus on me pass keyUp end keyUp on backspaceKey --> IF THEY HIT BACKSPACE...SAME IDEA AS KEYDOWN: put the selectedChunk into theChunk put word 2 of theChunk into theStartPos put word 4 of theChunk into theEndPos if theStartPos > theEndPos then put empty into char theEndPos of fld "Password Mask" put empty into char theEndPos of fld "Password" else put empty into char theStartPos to theEndPos of fld "Password Mask" put empty into char theStartPos to theEndPos of fld "Password" end if focus on me end backspaceKey on deleteKey --> IF THEY HIT DELETE...SAME IDEA AS KEYDOWN: put the selectedChunk into theChunk put word 2 of theChunk into theStartPos put word 4 of theChunk into theEndPos if theStartPos > theEndPos then put empty into char theStartPos of fld "Password Mask" put empty into char theStartPos of fld "Password" else put empty into char theStartPos to theEndPos of fld "Password Mask" put empty into char theStartPos to theEndPos of fld "Password" end if focus on me end deleteKey When you want the password, it will be in the hidden field "password", not "password mask." Hope that helps, Jerry Daniels On Jan 19, 2004, at 7:08 PM, Brian Maher wrote: > Hi Folks, > > Does anyone have code that they would be willing to share that allows > a user to enter a password into a text field and visually what they > enter appears as some other character (blanks, dots, ...)? > > Thanks, Brian > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kkaufman at snet.net Thu Jan 22 22:20:04 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu, 22 Jan 2004 22:20:04 -0500 Subject: a good laptop PC for Revolution Message-ID: <098ED8A0-4D53-11D8-A5B1-0003937052EC@snet.net> Last October, I wrote: "...my [MIDI] stack also does "funny" things on Dell [Inspiron] laptops: MIDI file playback through QT sometimes results in a horrible scratching sound instead of the expected pitches. This happens on-and-off, but will always happen at least a few times each time the program is run (MIDI Builder Rev. 2.1 standalone for Windows, running on XP Pro)...." So I'd try running a Rev-based MIDI application on any model you're considering before buying... -Kurt From themacguy at macosx.com Thu Jan 22 22:32:23 2004 From: themacguy at macosx.com (Barry Levine) Date: Thu, 22 Jan 2004 20:32:23 -0700 Subject: a good laptop PC for Revolution & MIDI? In-Reply-To: <20040123013353.8FAB293008C@mail.runrev.com> References: <20040123013353.8FAB293008C@mail.runrev.com> Message-ID: The iBook has a hinge problem that is quickly becoming an epidemic on machines approaching (or past) their warranty expiration. If you go for an iBook, -please- also get the AppleCare extended warranty as this hinge repair $$ is more than the cost of AppleCare. The ribbon cable that passes through the hinge to the screen get damaged after a number of months of use. Opening and closing the lid is the action that hurts this cable so the more you travel with your iBook (and the more you open and close it), the sooner the problem develops. Barry On Jan 22, 2004, at 6:33 PM, use-revolution-request at lists.runrev.com wrote: > ibook is perfect and around a $1000. Midi and was designed for students > to bang around. From capellan2000 at yahoo.com Thu Jan 22 23:49:29 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 22 Jan 2004 20:49:29 -0800 (PST) Subject: Porting Postscript code to TRANSCRIPT Message-ID: <20040123044929.94341.qmail@web40512.mail.yahoo.com> Hi Developers, I've posted my first try on adaptation of postscript code to transcript code. This code came from Don Lancaster's website. Check the details in the stack. I've got mixed results. This means no good results. :-( If you could read postscript, please download this stack and send the corrections to my mail or post them here in the list. Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From bornstein at designeq.com Fri Jan 23 00:13:04 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Fri, 23 Jan 2004 00:13:04 -0500 Subject: Standalone won't launch under OSX Message-ID: I've had several reports of a variety of my OSX standalone apps not launching. The reports say that the expanding rectangles appear when the application starts to launch, but the app never actually launches. These are apps that launch properly on most systems, but occasionally, I get the report that the app won't launch. This has been reported in OS X 10.2.8 and 10.3. Does anyone have an idea what would cause a standalone app to start to launch but then never complete launching? Has anyone seen this or can you suggest what might be going on? Thanks. Regards, Howard Bornstein ---------------- D E S I G N E Q www.designeq.com From alex at mindlube.com Fri Jan 23 00:19:28 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 22 Jan 2004 22:19:28 -0700 Subject: Standalone won't launch under OSX In-Reply-To: References: Message-ID: On Jan 22, 2004, at 10:13 PM, Howard Bornstein wrote: > I've had several reports of a variety of my OSX standalone apps not > launching. The reports say that the expanding rectangles appear when > the application starts to launch, but the app never actually launches. > These are apps that launch properly on most systems, but occasionally, > I get the report that the app won't launch. > > This has been reported in OS X 10.2.8 and 10.3. Does anyone have an > idea what would cause a standalone app to start to launch but then > never complete launching? Has anyone seen this or can you suggest what > might be going on? When I've seen that it's because I built the standalone with the mainstack hidden. d'oh! But seriously for your situation- I would ask for them to run it with Console.app open, and see if they get any messages or crash reports there. -- Alex Rice | Mindlube Software | http://mindlube.com From doug at webcrossing.com Fri Jan 23 00:33:17 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 23 Jan 2004 14:33:17 +0900 Subject: Flatter than I hoped for Message-ID: I was having so much trouble getting substacks of substacks to work, and the main reason I was doing this was to gain access to the handlers, that I ended up re-arranging all the handlers and putting almost all of them in the mainstack stack script, leaving only specific openStack (and things like that) in the separate stack scripts. This required only minor handler modifications to tell each handler *which* stack the request came from because "this stack" was no longer appropriate in most cases. This is "ok", but I was hoping to be able to do this more modularly - keeping all of a particular stack's handlers within a substack. But as soon as I needed a depth of more than 2 (a substack of a substack) this became unfeasible. So the entire project is a lot less modular than would be nice if we wanted to allow a group of people to work on the project. I think better support for a more flexible stack hierarchy would be useful in future Rev enhancements. Especially for groups of people working together on a single project, or for creating plugin features to an existing app. doug From sims at ezpzapps.com Fri Jan 23 00:46:03 2004 From: sims at ezpzapps.com (sims) Date: Fri, 23 Jan 2004 06:46:03 +0100 Subject: Standalone won't launch under OSX In-Reply-To: References: Message-ID: >I've had several reports of a variety of my OSX standalone apps not >launching. The reports say that the expanding rectangles appear when >the application starts to launch, but the app never actually >launches. These are apps that launch properly on most systems, but >occasionally, I get the report that the app won't launch. > >This has been reported in OS X 10.2.8 and 10.3. Does anyone have an >idea what would cause a standalone app to start to launch but then >never complete launching? Has anyone seen this or can you suggest >what might be going on? Were they .sit compressed files? I've had some reports like this with apps compressed with DropStuff. This was cured by upgrading DropStuff and in some cases people might need to upgrade their StuffitExpander. atb sims -- Tech Conferences! http://TechieTours.com We make... iBirthday! http://EZPZapps.com/iB SmartDog! http://EZPZapps.com/SmartDog Kartolina! http://EZPZapps.com/kartolina From kray at sonsothunder.com Fri Jan 23 00:47:10 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 22 Jan 2004 23:47:10 -0600 Subject: Flatter than I hoped for In-Reply-To: Message-ID: <009601c3e174$5be3d660$6601a8c0@LightningFlash> Doug, > This is "ok", but I was hoping to be able to do this more > modularly - keeping all of a particular stack's handlers > within a substack. But as soon as I needed a depth of more > than 2 (a substack of a substack) this became unfeasible. AFAIK you can't have a substack of a substack, so I don't know what you mean... > I think better support for a more flexible stack hierarchy > would be useful in future Rev enhancements. Especially for > groups of people working together on a single project, or for > creating plugin features to an existing app. How do you think the hierarchy should be changed? Just curious... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Fri Jan 23 00:51:15 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 22 Jan 2004 23:51:15 -0600 Subject: Deselect on click In-Reply-To: Message-ID: <009701c3e174$edcce530$6601a8c0@LightningFlash> > I have a field that I'm using as a clickable list. Its > listBehavior, toggleHilites, noncontiguousHilites, > autoHilite, are all set to true. The standalone works as I > want, except for one thing. If the user has a line or lines > already selected, then clicks on another line *without* using > Shift or Command/Control keys, all the previously selected > lines should un-highlight and the new line should then be > highlighted by itself. At least that is how it works in > applications that I use. > > How do I do that? Turn off the toggleHilites. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From doug at webcrossing.com Fri Jan 23 01:07:04 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 23 Jan 2004 15:07:04 +0900 Subject: Question about deleting all the graphics on a card Message-ID: The following loop: repeat with i = 1 to the number of graphics delete graphic (the short name of graphic i) end repeat doesn't work right because while the loop is running Rev seems to renumber the graphics (hah!) so at some point a "missing object" error will occur. I can run through the loop twice: First pass: collect the names of the graphics Second pass: delete the graphics But is there a better way? Thanks, doug From doug at webcrossing.com Fri Jan 23 01:13:10 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 23 Jan 2004 15:13:10 +0900 Subject: Flatter than I hoped for In-Reply-To: <009601c3e174$5be3d660$6601a8c0@LightningFlash> Message-ID: On 1/23/04 2:47 PM, "Ken Ray" wrote: > Doug, > >> This is "ok", but I was hoping to be able to do this more >> modularly - keeping all of a particular stack's handlers >> within a substack. But as soon as I needed a depth of more >> than 2 (a substack of a substack) this became unfeasible. > > AFAIK you can't have a substack of a substack, so I don't know what you > mean... Some people on this list were suggesting you could. But, as you say, you can't. > >> I think better support for a more flexible stack hierarchy >> would be useful in future Rev enhancements. Especially for >> groups of people working together on a single project, or for >> creating plugin features to an existing app. > > How do you think the hierarchy should be changed? Just curious... For example. A - Mainstack B - Feature called by pressing a button in the main stack C - A sub-feature of app 1 opened up by pressing a button in app 1 D - Another feature called by pressing a button in the main stack All the stacks need to be able to use the handlers in the main stack, A. C needs to use the handlers in stack B and stack A because it is a substack of stack B. In the case of A->B->C there would be three windows opened up, C would depend on what is going on in B. It seems a natural thing to want to do, doesn't it? doug From sarahr at genesearch.com.au Fri Jan 23 01:18:39 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 23 Jan 2004 16:18:39 +1000 Subject: Question about deleting all the graphics on a card In-Reply-To: References: Message-ID: repeat the number of graphics times delete graphic 1 end repeat or if you want to check the name of any on the loop: repeat with i = the number of graphics down to 1 delete graphic (the short name of graphic i) end repeat Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 23 Jan 2004, at 4:09 pm, Doug Lerner wrote: > The following loop: > > repeat with i = 1 to the number of graphics > delete graphic (the short name of graphic i) > end repeat > > doesn't work right because while the loop is running Rev seems to > renumber > the graphics (hah!) so at some point a "missing object" error will > occur. > > I can run through the loop twice: > > First pass: collect the names of the graphics > Second pass: delete the graphics > > But is there a better way? > > Thanks, > > doug From bfr at nwlink.com Fri Jan 23 01:27:22 2004 From: bfr at nwlink.com (Bruce Robertson) Date: Thu, 22 Jan 2004 22:27:22 -0800 Subject: a good laptop PC for Revolution & MIDI? In-Reply-To: Message-ID: > The iBook has a hinge problem that is quickly becoming an epidemic on > machines approaching (or past) their warranty expiration. If you go for > an iBook, -please- also get the AppleCare extended warranty as this > hinge repair $$ is more than the cost of AppleCare. > > The ribbon cable that passes through the hinge to the screen get > damaged after a number of months of use. Opening and closing the lid is > the action that hurts this cable so the more you travel with your iBook > (and the more you open and close it), the sooner the problem develops. There are two problems. The other main problem giving a dead screen is a failed logic board because a BGA component starts to disconnect from the board. But all the problems are with G3 iBooks. From stephenREVOLUTION at barncard.com Fri Jan 23 01:26:55 2004 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Thu, 22 Jan 2004 22:26:55 -0800 Subject: Burning Desire stack - "shell" command problem Message-ID: just saw this: If one is really serious about packing CD/DVD burning code into your app, there's always the SDK from Gear for all platforms: http://www.gearsoftware.com/products/wks/index.cfm >Remove the space between "shell" and the first bracket. I ran into >the same sort of problem a couple of days ago and that was what >fixed it. > >Cheers, >Sarah >sarahr at genesearch.com.au >http://www.troz.net/Rev/ > >On 22 Jan 2004, at 8:55 am, Barry Levine wrote: > >>I have a field named "theImageToCreate" containing the following text: >> >>hdiutil create -fs HFS+ -volname MyDisk -size 100m ~/Desktop/MyDiskImage2.dmg >> >>I have a button with the following script: >> >>on mouseUp >> shell (field "theImageToCreate") >>end mouseUp >> >>When the script executes, I get an error. Here's the error dialog info: >> >>Type Handler: can't find handler >>Object Create disk image file >>Line shell (field "theImageToCreate") >>Hint shell > > From pixelbird at interisland.net Fri Jan 23 01:42:35 2004 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 22 Jan 2004 22:42:35 -0800 Subject: Flatter than I hoped forightningFlash> In-Reply-To: <20040123055422.748509300A8@mail.runrev.com> Message-ID: on 1/22/04 9:54 PM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > Date: Thu, 22 Jan 2004 23:47:10 -0600 > From: "Ken Ray" > Subject: RE: Flatter than I hoped forightningFlash> > Content-Type: text/plain; charset="US-ASCII" > > Doug, > >> This is "ok", but I was hoping to be able to do this more >> modularly - keeping all of a particular stack's handlers >> within a substack. But as soon as I needed a depth of more >> than 2 (a substack of a substack) this became unfeasible. > > AFAIK you can't have a substack of a substack, so I don't know what you > mean... ---------- Right. This is very curious. Substacks are really just windows. You cannot have "sub" windows inside windows. ---------- >> I think better support for a more flexible stack hierarchy >> would be useful in future Rev enhancements. Especially for >> groups of people working together on a single project, or for >> creating plugin features to an existing app. > > How do you think the hierarchy should be changed? Just curious... ---------- I think I see the problem. I'm really a modular kinda guy myself, and I know others here are as well, but I have much to learn. Still... 1) Make the main stack a Splash or Error dialog (as Richard suggests), let it just be the basic "housing" for the engine, startup handlers, and initializiing data. Don't put anything else in there. 2) Now you might want to build a generic UI substack you can use during development to help coordinate other substacks. 3) Let your develpment groups develop and test stacks in the IDE, remembering that the stack(s) they are working on will all become substacks in the end product. In theory, all these stacks they make will be come substacks. I.e., if you put them in the same folder (or proper filepath) as the Main stack (the engine-house...remember?), they should all run independently. Now, in your UI substack, build a link setup that coordinates the other stacks the ways you want, and you're 'in like Flynn'. The trick may be in manipulating and coordinating groups within these windows (substacks). There is a great deal of power available in proper management of groups (and nested groups)...so much that I find it quite mind-boggling what you can do with them. This is where your depth considerations should lie. Just my $0.01.5 worth. Ken N. From jacque at hyperactivesw.com Fri Jan 23 01:58:47 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 23 Jan 2004 00:58:47 -0600 Subject: Standalone won't launch under OSX In-Reply-To: References: Message-ID: <4010C627.8010209@hyperactivesw.com> On 1/22/04 11:13 PM, Howard Bornstein wrote: > I've had several reports of a variety of my OSX standalone apps not > launching. The reports say that the expanding rectangles appear when the > application starts to launch, but the app never actually launches. These > are apps that launch properly on most systems, but occasionally, I get > the report that the app won't launch. > > This has been reported in OS X 10.2.8 and 10.3. Does anyone have an idea > what would cause a standalone app to start to launch but then never > complete launching? Has anyone seen this or can you suggest what might > be going on? The last time that happened to me, I was missing a component -- in my case, I had disabled the color picker while running an MC app in OS 9. The engine needs that available, even if you don't use it. This was a long time ago though, but the problem may be related. Check the crash log in ~/Library/Logs/CrashReporter to see if there is a clue. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From xbury.cs at clearstream.com Fri Jan 23 02:20:45 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 23 Jan 2004 08:20:45 +0100 Subject: a good laptop PC for Revolution & MIDI? Message-ID: I have a 3 year old IBM with Fruitloops studio producer (flstudio.com) running on it. Takes a lot to bring it down... And 99% it's less than 10% CPU load... Haven't hooked up any midi instruments on it but it should be no prob. Naturally, the sound cards in portables are not as good as PCI cards... For latency... For the playing side, there's absolutely no worry. On 23/01/2004 01:07:05 use-revolution-bounces wrote: >ibook is perfect and around a $1000. Midi and was designed for students >to bang around. > > >On Jan 22, 2004, at 3:37 PM, erik hansen wrote: > >> >> what is a good laptop PC for RunRev & MIDI? >> the consumer comparison magazines are a fine >> starting place, but they do not usually >> consider Revolution and/or MIDI compatability. >> >> there will be considerable bouncing around >> in a pack on a bike. durablity is the main >> concern. under $1,000 is the other. >> >> thanks for any ideas, >> >> Erik >> >> ===== >> erik at erikhansen.org http://www.erikhansen.org >> >> __________________________________ >> Do you Yahoo!? >> Yahoo! SiteBuilder - Free web site building tool. Try it! >> http://webhosting.yahoo.com/ps/sb/ >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > >Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev >2.1.2 > > >Advanced Media Group >Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net >220 Drake Road, Bethel Park, PA 15102 > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From doug at webcrossing.com Fri Jan 23 02:31:56 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 23 Jan 2004 16:31:56 +0900 Subject: Question about deleting all the graphics on a card In-Reply-To: Message-ID: On 1/23/04 3:18 PM, "Sarah Reichelt" wrote: > repeat the number of graphics times > delete graphic 1 > end repeat Interesting one. I like your second one better though! :) > > or if you want to check the name of any on the loop: > > repeat with i = the number of graphics down to 1 > delete graphic (the short name of graphic i) > end repeat The idea of this one being that since you are going down in reverse order the numbers won't get reset in the middle of the loop? Good idea. doug > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > > On 23 Jan 2004, at 4:09 pm, Doug Lerner wrote: > >> The following loop: >> >> repeat with i = 1 to the number of graphics >> delete graphic (the short name of graphic i) >> end repeat >> >> doesn't work right because while the loop is running Rev seems to >> renumber >> the graphics (hah!) so at some point a "missing object" error will >> occur. >> >> I can run through the loop twice: >> >> First pass: collect the names of the graphics >> Second pass: delete the graphics >> >> But is there a better way? >> >> Thanks, >> >> doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Fri Jan 23 04:38:40 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 23 Jan 2004 18:38:40 +0900 Subject: the "true" top of a window? Message-ID: The top of a stack doesn't include the height of the title bar for that window. How do I find the *real* top of the stack? doug From doug at webcrossing.com Fri Jan 23 04:57:35 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 23 Jan 2004 18:57:35 +0900 Subject: Opening a stack *behind* another stack? Message-ID: If I open a stack it always appears at the selected, topmost stack. But what if I want to open it up *behind* another stack. For example, after opening it up I might want it to slide out from behind another stack. How would I specify that the newly opened stack is behind another stack? Thanks, doug From frank at backtalk.com Fri Jan 23 05:19:38 2004 From: frank at backtalk.com (Frank Leahy) Date: Fri, 23 Jan 2004 10:19:38 +0000 Subject: Flatter than I hoped for In-Reply-To: <20040123095855.8F6EF930081@mail.runrev.com> Message-ID: Doug, Yes, it would be nice to do what you want. You might be able to do it as follows (assuming you have some source control in place for the main stack): 1. Main stack has all your really common handlers. This stack gets put into source control so that any developer can get the latest version at any time. (And anyone who breaks it has to do the nightly build for a week :-) 2. Each developer works on his "stack set", e.g. chat stack + whiteboard stack. 3. When a stack in a "stack set" is suspended, it is responsible for calling "stop using" on the stacks in its stack set. 4. Similarly, when a stack in a "stack set" is resumed, it is responsible for calling "start using" on the stacks in its stack set. This assumes of course that stack sets that are open but not in front won't need their handlers while they're in the background. Another option would be to have some handler naming conventions for each stack set so you could be sure there were never any naming clashes. -- Frank On Friday, January 23, 2004, at 09:58 AM, use-revolution-request at lists.runrev.com wrote: > For example. > > A - Mainstack > B - Feature called by pressing a button in the main stack > C - A sub-feature of app 1 opened up by pressing a button in > app 1 > D - Another feature called by pressing a button in the main stack > > All the stacks need to be able to use the handlers in the main stack, > A. > C needs to use the handlers in stack B and stack A because it is a > substack > of stack B. > > In the case of A->B->C there would be three windows opened up, C would > depend on what is going on in B. > > It seems a natural thing to want to do, doesn't it? > > doug > From doug at webcrossing.com Fri Jan 23 05:27:08 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 23 Jan 2004 19:27:08 +0900 Subject: Flatter than I hoped for In-Reply-To: Message-ID: On 1/23/04 7:19 PM, "Frank Leahy" wrote: > Doug, > > Yes, it would be nice to do what you want. You might be able to do it > as follows (assuming you have some source control in place for the main > stack): > > 1. Main stack has all your really common handlers. This stack gets put > into source control so that any developer can get the latest version at > any time. (And anyone who breaks it has to do the nightly build for a > week :-) > And walk my dog? > 2. Each developer works on his "stack set", e.g. chat stack + > whiteboard stack. The problem now, of course, is that handlers for the substack (say, whiteboard stack) are in the mainstack rather than in the chat stack to which it belongs. > > 3. When a stack in a "stack set" is suspended, it is responsible for > calling "stop using" on the stacks in its stack set. > > 4. Similarly, when a stack in a "stack set" is resumed, it is > responsible for calling "start using" on the stacks in its stack set. > > This assumes of course that stack sets that are open but not in front > won't need their handlers while they're in the background. > > Another option would be to have some handler naming conventions for > each stack set so you could be sure there were never any naming clashes. That is sort of what I am doing for now. doug > > -- Frank > > > > > On Friday, January 23, 2004, at 09:58 AM, > use-revolution-request at lists.runrev.com wrote: > >> For example. >> >> A - Mainstack >> B - Feature called by pressing a button in the main stack >> C - A sub-feature of app 1 opened up by pressing a button in >> app 1 >> D - Another feature called by pressing a button in the main stack >> >> All the stacks need to be able to use the handlers in the main stack, >> A. >> C needs to use the handlers in stack B and stack A because it is a >> substack >> of stack B. >> >> In the case of A->B->C there would be three windows opened up, C would >> depend on what is going on in B. >> >> It seems a natural thing to want to do, doesn't it? >> >> doug >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Fri Jan 23 06:04:11 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 23 Jan 2004 03:04:11 -0800 (PST) Subject: Embedded windows? In-Reply-To: Message-ID: <20040123110411.69038.qmail@web60505.mail.yahoo.com> --- Doug Lerner wrote: > Instead of a field in a card, I would like to have a > separate window appear > in a card - an embedded window. > > I can do this fine, but when the focus changes to > something else on the card > - a button for example - the "embedded window" ends > up behind the current > window. > > Is there a way of keeping the embedded window on > top, besides making it into > a palette? I don't want to make it into a palette > because when entering a > palette the tool always switches to browse. > > doug > Hi Doug, Sorry to reply so late, but I have a backlog of use-rev mails :-) If you haven't found a way to make it happen yet, I'd suggest you just make sure the user doesn't notice it : you could make a snapshot of your 'embedded window' and put that as a picture on your 'main window' (eg on 'suspendStack'). Then when the user wants to edit the picture again (eg on 'mouseEnter', you would switch the embedded window to the front. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From janschenkel at yahoo.com Fri Jan 23 06:12:13 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 23 Jan 2004 03:12:13 -0800 (PST) Subject: custom tab buttons In-Reply-To: <000201c3e02f$e71f51a0$64fea8c0@chris1> Message-ID: <20040123111213.49025.qmail@web60502.mail.yahoo.com> --- Chris Sheffield wrote: > But I think I would prefer to to at least be > able to set the icons of the tabs in a tab > control, much like you do for a regular button. > I find it kind of odd that you can't. Is this a > good idea for a feature request, or am I just > off in left field? > > Chris Sheffield > Hi Chris, I'd like this feature as well ; in fact, I'd like to see this for all menus (as tabs are menus) : set the icon of menuitem 3 of menu "Foo" to bar This would allow for icons in menubars in true MacOS Classic + MacOS X + WinXP style (it has probably reached the Linux side as well, hasn't it ?). I know that it's not easy to accomplish on the MacOS-side, as the Carbon Menu Manager expects an iconHandle ; but I'm sure Tuviah can come up with a conversion trick ;-) Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From livfoss at blueyonder.co.uk Fri Jan 23 06:30:03 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Fri, 23 Jan 2004 11:30:03 +0000 Subject: the "true" top of a window? Message-ID: On Fri, 23 Jan 2004 18:38:40 +0900, Doug Lerner wrote: > >The top of a stack doesn't include the height of the title bar for that >window. How do I find the *real* top of the stack? > This was discussed in the list around 22 Sept 03 under the subject 'Leaving room for the title bar'. It may also be of interest that the other decorations in the window (the sides and the bottom) also take away pixels from the available space within it - I think this was also discussed. Anyway I incorporated the results of this in an app which has since been tested pretty hard by a profeesional, so I think it works. Basically if it's Windows the user can reset the height of the bar (and other decorations) so you have to query the Registry; on the Mac there appear to be standard heights. If you want to see my script on all this I will gladly send it to you. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From 3mcgrath at adelphia.net Fri Jan 23 07:21:46 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 23 Jan 2004 07:21:46 -0500 Subject: Question about deleting all the graphics on a card In-Reply-To: References: Message-ID: you might try: repeat with i = 1 to the number of graphics if exists(the short name of graphic i) then delete graphic(the short name of graphic i) end repeat On Jan 23, 2004, at 1:07 AM, Doug Lerner wrote: > The following loop: > > repeat with i = 1 to the number of graphics > delete graphic (the short name of graphic i) > end repeat > > doesn't work right because while the loop is running Rev seems to > renumber > the graphics (hah!) so at some point a "missing object" error will > occur. > > I can run through the loop twice: > > First pass: collect the names of the graphics > Second pass: delete the graphics > > But is there a better way? > > Thanks, > > doug > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Fri Jan 23 07:24:20 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 23 Jan 2004 07:24:20 -0500 Subject: Question about deleting all the graphics on a card In-Reply-To: References: Message-ID: <11F12823-4D9F-11D8-8977-000A95DA60FA@adelphia.net> repeat with i = the number of graphics down to 1 if exists(the short name of graphic i) then delete graphic (the short name of graphic i) end repeat -- error free - I love if exists On Jan 23, 2004, at 1:18 AM, Sarah Reichelt wrote: > repeat the number of graphics times > delete graphic 1 > end repeat > > or if you want to check the name of any on the loop: > > repeat with i = the number of graphics down to 1 > delete graphic (the short name of graphic i) > end repeat > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > > On 23 Jan 2004, at 4:09 pm, Doug Lerner wrote: > >> The following loop: >> >> repeat with i = 1 to the number of graphics >> delete graphic (the short name of graphic i) >> end repeat >> >> doesn't work right because while the loop is running Rev seems to >> renumber >> the graphics (hah!) so at some point a "missing object" error will >> occur. >> >> I can run through the loop twice: >> >> First pass: collect the names of the graphics >> Second pass: delete the graphics >> >> But is there a better way? >> >> Thanks, >> >> doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From Cubist at aol.com Fri Jan 23 07:32:19 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 23 Jan 2004 07:32:19 EST Subject: Opening a stack *behind* another stack? Message-ID: sez doug at webcrossing.com: >If I open a stack it always appears at the selected, topmost stack. But what >if I want to open it up *behind* another stack. For example, after opening >it up I might want it to slide out from behind another stack. >How would I specify that the newly opened stack is behind another stack? I'm not entirely sure why you'dFake it. lock screen open stack "Fred" From Cubist at aol.com Fri Jan 23 07:50:21 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 23 Jan 2004 07:50:21 EST Subject: Opening a stack *behind* another stack? (take 2) Message-ID: Okay, I hit the SEND key prematurely the first time I was replying to Doug's query... sez doug: >How would I specify that the newly opened stack is behind another stack? I'm not sure why you'd *want* a newly-opened stack to open up *behind* another stack, but the answer is: Fake it. lock screen push this card open stack "Fred" pop card unlock screen If you have more than one stack open, and you want to guarantee that the new stack will open up behind *all* of them, something like this might work... lock screen put the stacks into George open stack "Fred" repeat with K1 = 1 to the number of lines in George go stack (line K1 of George) end repeat unlock screen This latter snippet offers the possibility of controlling exactly where the newly-opened stack fits into the z-order of the stacks that are already opened -- move the "open stack Fred" line into the loop, bracketed by "if K1 = DerNumber then" and "end if". I have no idea why you'd want to do that, but since I also have no idea why you want to open a stack *behind* another stack, I thot it might be worth noting anyway. Hope this helps... From Mike at doub.com Fri Jan 23 08:20:02 2004 From: Mike at doub.com (Mike Doub) Date: Fri, 23 Jan 2004 08:20:02 -0500 Subject: Debugging problem with Windows XP Message-ID: I have been trying to debug Andre Garzia's httpd framework on a Windows XP system and I am unable to get a breakpoints to operate when trying to catch the new connection from a browser. I tried the same experiment on a Windows 2000 system and don't seem to have the same problem. I suspect that is Revolution's interaction with XP's network code rather than the core debugging of Revolution. Has anyone else experienced problems debugging network based code on XP? I would appreciate any suggestions. Thanks Mike Doub From ambassador at fourthworld.com Fri Jan 23 09:51:08 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Jan 2004 06:51:08 -0800 Subject: Embedded windows? In-Reply-To: <20040123110411.69038.qmail@web60505.mail.yahoo.com> Message-ID: --- Doug Lerner wrote: > Instead of a field in a card, I would like to have a > separate window appear > in a card - an embedded window. In RADBuilder they're called Viewers, and they're very powerful. You can place a Viwe object on any card and point it to a stack and it's embedded. Until Rev adopts this feature, in many cases you can use groups for this. A group can hold anything a window can, even multiple groups to hide and show acting like cards. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Jan 23 10:07:12 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Jan 2004 07:07:12 -0800 Subject: Flatter than I hoped for In-Reply-To: Message-ID: Doug Lerner wrote: > I think better support for a more flexible stack hierarchy would be useful > in future Rev enhancements. Especially for groups of people working together > on a single project, or for creating plugin features to an existing app. This might be helpful if you haven't seen it yet: Extending the Revolution Message Path: An introduction to using Libraries, FrontScripts, and BackScripts in Runtime Revolution's Transcript Programming Language -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From kray at sonsothunder.com Fri Jan 23 11:24:27 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 23 Jan 2004 10:24:27 -0600 Subject: Opening a stack *behind* another stack? In-Reply-To: Message-ID: <011601c3e1cd$627fbdf0$6601a8c0@LightningFlash> > If I open a stack it always appears at the selected, topmost > stack. But what if I want to open it up *behind* another > stack. For example, after opening it up I might want it to > slide out from behind another stack. Check out the "drawer" command. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From wouter.abraham at pi.be Fri Jan 23 11:42:01 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 23 Jan 2004 17:42:01 +0100 Subject: PNG standard paintcompression for the import snapshot command? In-Reply-To: <20040122170005.7705F930056@mail.runrev.com> References: <20040122170005.7705F930056@mail.runrev.com> Message-ID: <11BA0AD7-4DC3-11D8-97F2-003065CC999E@pi.be> Hi all, Can someone confirm (or deny) if the standard paintcompression for the import snapshot command in Revolution is PNG? In Metacard it is rle. Greetings and TIA, WA From bornstein at designeq.com Fri Jan 23 11:55:44 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Fri, 23 Jan 2004 11:55:44 -0500 Subject: Standalone won't launch under OSX In-Reply-To: <4010C627.8010209@hyperactivesw.com> Message-ID: On Friday, January 23, 2004, at 01:58 AM, J. Landman Gay wrote: > The last time that happened to me, I was missing a component -- in my > case, I had disabled the color picker while running an MC app in OS 9. > The engine needs that available, even if you don't use it. This was a > long time ago though, but the problem may be related. The odd thing is that the programs work fine on most people's computers. It's just occasionally that someone won't be able to launch. Sims raised the Stuffit issue, and that makes the most sense at this point. Regards, Howard Bornstein ---------------- D E S I G N E Q www.designeq.com From bornstein at designeq.com Fri Jan 23 12:01:38 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Fri, 23 Jan 2004 12:01:38 -0500 Subject: Standalone won't launch under OSX In-Reply-To: Message-ID: On Friday, January 23, 2004, at 12:46 AM, sims wrote: > Were they .sit compressed files? > I've had some reports like this with apps compressed with DropStuff. > This was cured by upgrading > DropStuff and in some cases people might need to upgrade their > StuffitExpander. Ah, you may have hit upon it. I've been using Stuffit V8.0. Just found this on the Stuffit web site: "StuffIt Expander 8.0 caused a problem whereby applications would not run if they were expanded from archive formats that do not preserve UNIX file permissions." I'm upgrading to Stuffit 8.02 (DropStuff), so I don't know for certain if this will cure the problem without the end user also upgrading, but I can test it with one of my users. Thanks! Regards, Howard Bornstein ---------------- D E S I G N E Q www.designeq.com From dsc at swcp.com Fri Jan 23 12:03:08 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 23 Jan 2004 10:03:08 -0700 Subject: PNG standard paintcompression for the import snapshot command? In-Reply-To: <11BA0AD7-4DC3-11D8-97F2-003065CC999E@pi.be> Message-ID: <04C76CF8-4DC6-11D8-9F4A-000A9567A3E6@swcp.com> On Friday, January 23, 2004, at 09:42 AM, Wouter wrote: > Can someone confirm (or deny) if the standard paintcompression > for the import snapshot command in Revolution is PNG? > In Metacard it is rle. The first few bytes of PNG contains the letters PNG. One test is to import and then look at the text of the image. Unfortunately, often the text returns empty. Export is more reliable, but it forces a type and may force a conversion. None of the types in export is rle. Maybe this would work... Import. Save the stack. Look for the PNG signature (about 5 or so bytes) in the file. The rle should be easy to calculate and you only need part, but some special variation of rle might be used. You might see that pattern in the file. Since the doc says the compression is rle and this is confirming that, I don't think this is reverse engineering, but will bow to whatever RunRev says. Why do you care? Speed? Size? Dar Scott From scott at tactilemedia.com Fri Jan 23 12:07:15 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 23 Jan 2004 09:07:15 -0800 Subject: Standalone won't launch under OSX In-Reply-To: Message-ID: Recently, "Howard Bornstein" wrote: > I've had several reports of a variety of my OSX standalone apps not > launching. The reports say that the expanding rectangles appear when > the application starts to launch, but the app never actually launches. > These are apps that launch properly on most systems, but occasionally, > I get the report that the app won't launch. > > This has been reported in OS X 10.2.8 and 10.3. Does anyone have an > idea what would cause a standalone app to start to launch but then > never complete launching? Has anyone seen this or can you suggest what > might be going on? This is probably a Stuffit issue. I experienced it myself with two apps from a game developer and their was response was to grab the latest (8.02 I believe) version of Stuffit. Apparently there was some problem in earlier 8.x versions that resulted in this non-opening phenomenon. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From cb at callum.demon.co.uk Fri Jan 23 12:50:10 2004 From: cb at callum.demon.co.uk (Callum Brines) Date: Fri, 23 Jan 2004 17:50:10 +0000 Subject: =?windows-1252?q?Re=3AChipp=92s_Alphatest?= In-Reply-To: <20040121090654.76CA2930082@mail.runrev.com> References: <20040121090654.76CA2930082@mail.runrev.com> Message-ID: <96EA45FA-4DCC-11D8-BE83-000A95AAC568@callum.demon.co.uk> > I tried the test on MacOS 10.2.8 (Jaguar). It didn't work (the > turquoise > rectangle behind the right hand button didn't change). Doesn?t work on my G5 dual 1.8 with 10.3.2 (Panther). Callum From rogerguay at centurytel.net Fri Jan 23 13:12:08 2004 From: rogerguay at centurytel.net (Roger Guay) Date: Fri, 23 Jan 2004 10:12:08 -0800 Subject: Web-Based Stacks . . . Yet Again! In-Reply-To: <20031125195621.B2DC1930070@mail.runrev.com> References: <20031125195621.B2DC1930070@mail.runrev.com> Message-ID: Hi Folks! I've been reviewing the archives for hours, yet I am still not able to make it work. I have a stack (remoteStack) located at a URL address, and I have a local stack (localStack) on my desktop. And, I am trying to open remoteStack with a button on localStack. I've tried every combination of commands I can think of but to no avail. Would someone simply tell my the script for doing this? BTW, localStack is a standalone but remoteStack is not, if this makes any difference. Your help is greatly appreciated. Cheers, Roger From kray at sonsothunder.com Fri Jan 23 13:26:24 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 23 Jan 2004 12:26:24 -0600 Subject: Web-Based Stacks . . . Yet Again! In-Reply-To: Message-ID: <012f01c3e1de$6bfe8ee0$6601a8c0@LightningFlash> > I have a stack (remoteStack) located at a URL address, and I have a > local stack (localStack) on my desktop. And, I am trying to open > remoteStack with a button on localStack. I've tried every > combination > of commands I can think of but to no avail. Would someone > simply tell > my the script for doing this? open stack url You can test it with one of my web-based stacks that was done with MetaCard: open stack url "http://www.sonsothunder.com/AboutSTS.mc" Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dcragg at lacscentre.co.uk Fri Jan 23 13:27:50 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 23 Jan 2004 18:27:50 +0000 Subject: Web-Based Stacks . . . Yet Again! In-Reply-To: References: <20031125195621.B2DC1930070@mail.runrev.com> Message-ID: At 10:12 am -0800 23/1/04, Roger Guay wrote: >Hi Folks! > >I've been reviewing the archives for hours, yet I am still not able >to make it work. > >I have a stack (remoteStack) located at a URL address, and I have a >local stack (localStack) on my desktop. And, I am trying to open >remoteStack with a button on localStack. I've tried every >combination of commands I can think of but to no avail. Would >someone simply tell my the script for doing this? BTW, localStack >is a standalone but remoteStack is not, if this makes any difference. It should be as simple as this: go stack url "http://www.someserver.com/whatever/filename.rev" A possible problem is that you didn't load the internnet libraries when you built the standalone. Does it work in the Rev development environment? Cheers Dave From 3mcgrath at adelphia.net Fri Jan 23 14:00:32 2004 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Fri, 23 Jan 2004 14:00:32 -0500 Subject: Opening a stack *behind* another stack? In-Reply-To: <011601c3e1cd$627fbdf0$6601a8c0@LightningFlash> References: <011601c3e1cd$627fbdf0$6601a8c0@LightningFlash> Message-ID: <6AFC83E4-4DD6-11D8-8977-000A95DA60FA@adelphia.net> I thought drawer is OSX only? Is it? Tom On Jan 23, 2004, at 11:24 AM, Ken Ray wrote: >> If I open a stack it always appears at the selected, topmost >> stack. But what if I want to open it up *behind* another >> stack. For example, after opening it up I might want it to >> slide out from behind another stack. > > Check out the "drawer" command. > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From mwieder at ahsoftware.net Fri Jan 23 14:46:02 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 23 Jan 2004 11:46:02 -0800 Subject: trouble with loading externals... In-Reply-To: References: <3B8D605D-4CE9-11D8-AB20-000393C4760A@mindlube.com> <1011988649.20040122093532@ahsoftware.net> Message-ID: <994631569.20040123114602@ahsoftware.net> Alex- Thursday, January 22, 2004, 9:45:26 AM, you wrote: AR> Mark, can you replicate that problem (mac bundle not seen unless last AR> in the externals list)? If someone else can replicate then I will AR> bugzilla it. Nope. It worked fine for me, no matter where the bundle is in the list (OS 10.2.8, rev 2.1.2). I had to be *very* sensitive to punctuation, though - I managed to insert a leading space before one of the paths and that had the same effect as set the externals of this stack to "" -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Fri Jan 23 14:56:43 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Jan 2004 11:56:43 -0800 Subject: Web-Based Stacks . . . Yet Again! In-Reply-To: Message-ID: Roger Guay wrote: > I've been reviewing the archives for hours, yet I am still not able to > make it work. > > I have a stack (remoteStack) located at a URL address, and I have a > local stack (localStack) on my desktop. And, I am trying to open > remoteStack with a button on localStack. I've tried every combination > of commands I can think of but to no avail. Would someone simply tell > my the script for doing this? BTW, localStack is a standalone but > remoteStack is not, if this makes any difference. RevNet is on your hard drive and is a living example of this in action. See your plugins folder... -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Jan 23 16:51:26 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Jan 2004 13:51:26 -0800 Subject: What is Rev doing? Message-ID: Try this: 1. In OS X, open Terminal and run top 2. Launch Rev 3. Wait for Rev's launch to complete so it's idle 4. Bring Terminal to the front -- it shows Rev consuming roughly 10% of CPU time, even though it's idle without even a throbbing default button. What is Rev doing at idle? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From yoy at comcast.net Fri Jan 23 16:56:41 2004 From: yoy at comcast.net (Andy Burns) Date: Fri, 23 Jan 2004 16:56:41 -0500 Subject: What is Rev doing? References: Message-ID: <000401c3e1fb$cb606940$e8e02044@fatal7lcf637rj> Housekeeping? ----- Original Message ----- From: "Richard Gaskin" To: "Rev Discussion List" Sent: Friday, January 23, 2004 4:51 PM Subject: What is Rev doing? > Try this: > > 1. In OS X, open Terminal and run top > 2. Launch Rev > 3. Wait for Rev's launch to complete so it's idle > 4. Bring Terminal to the front -- it shows Rev consuming roughly 10% of CPU > time, even though it's idle without even a throbbing default button. > > What is Rev doing at idle? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Jan 23 16:58:49 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Jan 2004 13:58:49 -0800 Subject: What is Rev doing? In-Reply-To: <000401c3e1fb$cb606940$e8e02044@fatal7lcf637rj> Message-ID: >> Try this: >> >> 1. In OS X, open Terminal and run top >> 2. Launch Rev >> 3. Wait for Rev's launch to complete so it's idle >> 4. Bring Terminal to the front -- it shows Rev consuming roughly 10% of > CPU >> time, even though it's idle without even a throbbing default button. >> >> What is Rev doing at idle? > > Housekeeping? How many times must it sweep the same floor? -- 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 edgore at shinra.com Fri Jan 23 17:00:03 2004 From: edgore at shinra.com (Edwin Gore) Date: Fri, 23 Jan 2004 15:00:03 -0700 Subject: What is Rev doing? Message-ID: <200401232200.i0NM03wJ093789@mmm1505.boca15-verio.com> Handling the million-odd messages that are sent when nothing is going on? The IDE does quite a bit even if it's not doing anything... >----- ------- Original Message ------- ----- >From: "Andy Burns" >To: "How to use Revolution" > >Sent: Fri, 23 Jan 2004 16:56:41 > >Housekeeping? > > >----- Original Message ----- >From: "Richard Gaskin" > >To: "Rev Discussion List" > >Sent: Friday, January 23, 2004 4:51 PM >Subject: What is Rev doing? > > >> Try this: >> >> 1. In OS X, open Terminal and run top >> 2. Launch Rev >> 3. Wait for Rev's launch to complete so it's idle > >> 4. Bring Terminal to the front -- it shows Rev >consuming roughly 10% of >CPU >> time, even though it's idle without even a >throbbing default button. >> >> What is Rev doing at idle? >> >> -- >> Richard Gaskin >> Fourth World Media Corporation >> >> Ambassador at FourthWorld.com >http://www.FourthWorld.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >___________________________________________________ >________ >http://lists.runrev.com/mailman/listinfo/use-revolu >tion >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From edgore at shinra.com Fri Jan 23 17:00:48 2004 From: edgore at shinra.com (Edwin Gore) Date: Fri, 23 Jan 2004 15:00:48 -0700 Subject: What is Rev doing? Message-ID: <200401232200.i0NM0mvr094071@mmm1505.boca15-verio.com> Perhaps it has OCD? >----- ------- Original Message ------- ----- >From: Richard Gaskin >To: How to use Revolution > >Sent: Fri, 23 Jan 2004 13:58:49 > >>> Try this: >>> >>> 1. In OS X, open Terminal and run top >>> 2. Launch Rev >>> 3. Wait for Rev's launch to complete so it's >idle >>> 4. Bring Terminal to the front -- it shows Rev >consuming roughly 10% of >> CPU >>> time, even though it's idle without even a >throbbing default button. >>> >>> What is Rev doing at idle? >> >> Housekeeping? > >How many times must it sweep the same floor? > >-- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any >Web site > > Ambassador at FourthWorld.com >http://www.FourthWorld.com > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >___________________________________________________ >________ >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From jacque at hyperactivesw.com Fri Jan 23 17:13:47 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 23 Jan 2004 16:13:47 -0600 Subject: What is Rev doing? In-Reply-To: <200401232200.i0NM03wJ093789@mmm1505.boca15-verio.com> References: <200401232200.i0NM03wJ093789@mmm1505.boca15-verio.com> Message-ID: <40119C9B.4010609@hyperactivesw.com> On 1/23/04 4:00 PM, Edwin Gore wrote: > Handling the million-odd messages that are sent when nothing is going on? The IDE does quite a bit even if it's not doing anything... That would be my guess too. Do you get the same thing if you suspend the IDE? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From yoy at comcast.net Fri Jan 23 17:20:43 2004 From: yoy at comcast.net (Andy Burns) Date: Fri, 23 Jan 2004 17:20:43 -0500 Subject: What is Rev doing? References: Message-ID: <001801c3e1ff$2810b700$e8e02044@fatal7lcf637rj> On W2K, it only consumes 1k after launch in the task manager (with or without a new stack!!). Maybe there's a memory leak in the OS/X version. I can't help you there. Turn off "Suppress Messages" under the Development menu and see if that has any effect on CPU usage. Running antivirus, firewall and email apps, it ranges from 0-4Kb with Rev 2.1.2 running. Andy ----- Original Message ----- From: "Richard Gaskin" To: "How to use Revolution" Sent: Friday, January 23, 2004 4:58 PM Subject: Re: What is Rev doing? > >> Try this: > >> > >> 1. In OS X, open Terminal and run top > >> 2. Launch Rev > >> 3. Wait for Rev's launch to complete so it's idle > >> 4. Bring Terminal to the front -- it shows Rev consuming roughly 10% of > > CPU > >> time, even though it's idle without even a throbbing default button. > >> > >> What is Rev doing at idle? > > > > Housekeeping? > > How many times must it sweep the same floor? > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From yoy at comcast.net Fri Jan 23 17:32:19 2004 From: yoy at comcast.net (Andy Burns) Date: Fri, 23 Jan 2004 17:32:19 -0500 Subject: What is Rev doing? References: <001801c3e1ff$2810b700$e8e02044@fatal7lcf637rj> Message-ID: <000401c3e200$c67d8ca0$e8e02044@fatal7lcf637rj> Actually, forgive me, it only used 1 second, not 1k. Frame of mind error. Andy From rogerguay at centurytel.net Fri Jan 23 17:44:45 2004 From: rogerguay at centurytel.net (Roger Guay) Date: Fri, 23 Jan 2004 14:44:45 -0800 Subject: Web-Based Stacks . . . Yet Again! In-Reply-To: <20040123215802.57828930061@mail.runrev.com> References: <20040123215802.57828930061@mail.runrev.com> Message-ID: > Web-Based Stacks . . . Yet Again! Thanks to all for responding to this. I was trying to use "Go stack" and/or "open stack" without the term "URL". Go stack URL "URL address" and open Go stack URL "URL address" work just fine. Cheers, Roger From kray at sonsothunder.com Fri Jan 23 17:44:40 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 23 Jan 2004 16:44:40 -0600 Subject: What is Rev doing? In-Reply-To: <40119C9B.4010609@hyperactivesw.com> Message-ID: <015501c3e202$80489c00$6601a8c0@LightningFlash> > That would be my guess too. Do you get the same thing if you > suspend the > IDE? It drops to about 5% when the IDE is suspended. The pendingMessgaes show a "revScriptEdit" running constantly, though... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bvg at mac.com Fri Jan 23 18:01:56 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 24 Jan 2004 00:01:56 +0100 Subject: What is Rev doing? In-Reply-To: <015501c3e202$80489c00$6601a8c0@LightningFlash> Message-ID: <2461CB8C-4DF8-11D8-B214-003065AD94A4@mac.com> On Freitag, Jan 23, 2004, at 23:44 Europe/Zurich, Ken Ray wrote: >> That would be my guess too. Do you get the same thing if you >> suspend the >> IDE? > > It drops to about 5% when the IDE is suspended. The pendingMessgaes > show > a "revScriptEdit" running constantly, though... Ooooh the ominous "revScriptEdit" message, I always wonder what that was good for. Anyone know? From cowhead at mac.com Fri Jan 23 18:07:08 2004 From: cowhead at mac.com (mark) Date: Sat, 24 Jan 2004 08:07:08 +0900 Subject: rev unicode still crap? In-Reply-To: <20040122170005.3AF6293009B@mail.runrev.com> Message-ID: Dave wrote: > I didn't see it as a trick. I thought that was how we were meant to > do it. However, I haven't kept up to date on the unicode progess. I > need to handle Japanese text in my stacks sometimes, but rarely > require editing ability. Hey Dave, "meant to" apparently means someone told you to do it that way? Must have been on this list. No mention of a variable pass requirement in the transcript dictionary. Unfortunately, I only have time to read a small fraction of this list. So if it aint in the documentation, it constitutes a 'trick' in my opinion :-) > > BTW, I don't know what problems you are having with RU and NO but is > this the same as Bugzilla #250? On 2.1.2, I don't have the problem > described there, so perhaps it was fixed. Could be, but I get problems with other characters as well. And a general negative environment since if you forget and leave Japanese input on (which is all the time) the editor/message box cannot recover without some fanagling. But I don't have time to check bug reports either :-) best, mark mitchell japan From yoy at comcast.net Fri Jan 23 18:09:06 2004 From: yoy at comcast.net (Andy Burns) Date: Fri, 23 Jan 2004 18:09:06 -0500 Subject: What is Rev doing? References: <2461CB8C-4DF8-11D8-B214-003065AD94A4@mac.com> Message-ID: <000401c3e206$0fa7eb50$e8e02044@fatal7lcf637rj> LOL!!! ----- Original Message ----- From: "Bj?rnke von Gierke" To: Sent: Friday, January 23, 2004 6:01 PM Subject: Re: What is Rev doing? > > On Freitag, Jan 23, 2004, at 23:44 Europe/Zurich, Ken Ray wrote: > > >> That would be my guess too. Do you get the same thing if you > >> suspend the > >> IDE? > > > > It drops to about 5% when the IDE is suspended. The pendingMessgaes > > show > > a "revScriptEdit" running constantly, though... > > Ooooh the ominous "revScriptEdit" message, I always wonder what that > was good for. > Anyone know? From doug at webcrossing.com Fri Jan 23 18:16:17 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 24 Jan 2004 08:16:17 +0900 Subject: Opening a stack *behind* another stack? (take 2) In-Reply-To: Message-ID: Thanks. I will take a look at push and pop. The reason I want to do it is for a visual effect. doug On 1/23/04 9:50 PM, "Cubist at aol.com" wrote: > Okay, I hit the SEND key prematurely the first time I was replying to > Doug's query... > > sez doug: >> How would I specify that the newly opened stack is behind another stack? > I'm not sure why you'd *want* a newly-opened stack to open up *behind* > another stack, but the answer is: Fake it. > > lock screen > push this card > open stack "Fred" > pop card > unlock screen > > If you have more than one stack open, and you want to guarantee that the > new stack will open up behind *all* of them, something like this might work... > > lock screen > put the stacks into George > open stack "Fred" > repeat with K1 = 1 to the number of lines in George > go stack (line K1 of George) > end repeat > unlock screen > > This latter snippet offers the possibility of controlling exactly where > the newly-opened stack fits into the z-order of the stacks that are already > opened -- move the "open stack Fred" line into the loop, bracketed by "if K1 = > DerNumber then" and "end if". I have no idea why you'd want to do that, but > since > I also have no idea why you want to open a stack *behind* another stack, I > thot it might be worth noting anyway. > > Hope this helps... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Fri Jan 23 18:36:49 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 24 Jan 2004 08:36:49 +0900 Subject: Opening a stack *behind* another stack? In-Reply-To: <011601c3e1cd$627fbdf0$6601a8c0@LightningFlash> Message-ID: On 1/24/04 1:24 AM, "Ken Ray" wrote: >> If I open a stack it always appears at the selected, topmost >> stack. But what if I want to open it up *behind* another >> stack. For example, after opening it up I might want it to >> slide out from behind another stack. > > Check out the "drawer" command. Doesn't that only open to the side - and only for OS X? doug From ambassador at fourthworld.com Fri Jan 23 19:20:38 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 23 Jan 2004 16:20:38 -0800 Subject: What is Rev doing? In-Reply-To: <015501c3e202$80489c00$6601a8c0@LightningFlash> Message-ID: Ken Ray wrote: >> That would be my guess too. Do you get the same thing if you >> suspend the >> IDE? > > It drops to about 5% when the IDE is suspended. The pendingMessgaes show > a "revScriptEdit" running constantly, though... Even without that (in MC for example) it still hovers at around 7% to 9%. Odd.... LISTMASTER: Why is the Reply-To field for this message set to: "kray at sonsothunder.com, How to use Revolution" -- 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 3mcgrath at adelphia.net Fri Jan 23 20:16:36 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 23 Jan 2004 20:16:36 -0500 Subject: What is Rev doing? In-Reply-To: <200401232200.i0NM0mvr094071@mmm1505.boca15-verio.com> References: <200401232200.i0NM0mvr094071@mmm1505.boca15-verio.com> Message-ID: HHAAAAAAA On Jan 23, 2004, at 5:00 PM, Edwin Gore wrote: > Perhaps it has OCD? > >> ----- ------- Original Message ------- ----- >> From: Richard Gaskin >> To: How to use Revolution >> >> Sent: Fri, 23 Jan 2004 13:58:49 >> >>>> Try this: >>>> >>>> 1. In OS X, open Terminal and run top >>>> 2. Launch Rev >>>> 3. Wait for Rev's launch to complete so it's >> idle >>>> 4. Bring Terminal to the front -- it shows Rev >> consuming roughly 10% of >>> CPU >>>> time, even though it's idle without even a >> throbbing default button. >>>> >>>> What is Rev doing at idle? >>> >>> Housekeeping? >> >> How many times must it sweep the same floor? >> >> -- >> Richard Gaskin >> Fourth World Media Corporation >> Developer of WebMerge: Publish any database on any >> Web site >> >> Ambassador at FourthWorld.com >> http://www.FourthWorld.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> ___________________________________________________ >> ________ >> http://lists.runrev.com/mailman/listinfo/use-revolu >> tion > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Fri Jan 23 20:20:56 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 23 Jan 2004 20:20:56 -0500 Subject: What is Rev doing? In-Reply-To: <000401c3e200$c67d8ca0$e8e02044@fatal7lcf637rj> References: <001801c3e1ff$2810b700$e8e02044@fatal7lcf637rj> <000401c3e200$c67d8ca0$e8e02044@fatal7lcf637rj> Message-ID: <8F97C92A-4E0B-11D8-AAC3-000A95DA60FA@adelphia.net> Actually I get between 3.5% and 7% usage. Spikes go up to 14% for non system usage. Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Fri Jan 23 20:24:11 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 23 Jan 2004 20:24:11 -0500 Subject: What is Rev doing? In-Reply-To: <8F97C92A-4E0B-11D8-AAC3-000A95DA60FA@adelphia.net> References: <001801c3e1ff$2810b700$e8e02044@fatal7lcf637rj> <000401c3e200$c67d8ca0$e8e02044@fatal7lcf637rj> <8F97C92A-4E0B-11D8-AAC3-000A95DA60FA@adelphia.net> Message-ID: <03570B65-4E0C-11D8-84DA-000A95DA60FA@adelphia.net> That was with suspended development tools I get 7% to 9% with spikes of 12 - 14% Tom On Jan 23, 2004, at 8:20 PM, Thomas McGrath III wrote: > Actually I get between 3.5% and 7% usage. > > Spikes go up to 14% for non system usage. > > Tom > > Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.1.2 > > > Advanced Media Group > Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net > 220 Drake Road, Bethel Park, PA 15102 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From doug at webcrossing.com Fri Jan 23 20:38:10 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 24 Jan 2004 10:38:10 +0900 Subject: Opening a stack *behind* another stack? (take 2) In-Reply-To: Message-ID: That *almost* works. The only problem is that even though I do the lock screen before cloning the new stack, the new stack appears for a flicker of a moment on top anyway anyway. doug On 1/23/04 9:50 PM, "Cubist at aol.com" wrote: > Okay, I hit the SEND key prematurely the first time I was replying to > Doug's query... > > sez doug: >> How would I specify that the newly opened stack is behind another stack? > I'm not sure why you'd *want* a newly-opened stack to open up *behind* > another stack, but the answer is: Fake it. > > lock screen > push this card > open stack "Fred" > pop card > unlock screen > > If you have more than one stack open, and you want to guarantee that the > new stack will open up behind *all* of them, something like this might work... > > lock screen > put the stacks into George > open stack "Fred" > repeat with K1 = 1 to the number of lines in George > go stack (line K1 of George) > end repeat > unlock screen > > This latter snippet offers the possibility of controlling exactly where > the newly-opened stack fits into the z-order of the stacks that are already > opened -- move the "open stack Fred" line into the loop, bracketed by "if K1 = > DerNumber then" and "end if". I have no idea why you'd want to do that, but > since > I also have no idea why you want to open a stack *behind* another stack, I > thot it might be worth noting anyway. > > Hope this helps... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From wouter.abraham at pi.be Fri Jan 23 20:42:06 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 24 Jan 2004 02:42:06 +0100 Subject: PNG standard paintcompression for the import snapshot command? Message-ID: <845BA218-4E0E-11D8-97F2-003065CC999E@pi.be> Hi Dar, > Re: PNG standard paintcompression for the import snapshot command? > ? From: Dar Scott > ? Subject: Re: PNG standard paintcompression for the import snapshot > command? > ? Date: Fri, 23 Jan 2004 10:04:50 -0800 > > On Friday, January 23, 2004, at 09:42 AM, Wouter wrote: > > > Can someone confirm (or deny) if the standard paintcompression > for the import snapshot command in Revolution is PNG? > In Metacard it is rle. > > > The first few bytes of PNG contains the letters PNG. > > One test is to import and then look at the text of the image. > Unfortunately, often the text returns empty. Export is more reliable, > but it forces a type and may force a conversion. > > None of the types in export is rle. > > Maybe this would work... Import. Save the stack. Look for the PNG > signature (about 5 or so bytes) in the file. The rle should be easy to > calculate and you only need part, but some special variation of rle > might be used. You might see that pattern in the file. > > Since the doc says the compression is rle and this is confirming that, > I don't think this is reverse engineering, but will bow to whatever > RunRev says. I checked the image produced by the import snapshot command on my rig and it was rle in Metacard and PNG in Revolution. To make sure this is the default paintcompression used by Revolution (and not something only on my machine) I asked this question. > > Why do you care? Speed? Size? > Because of the problem proposed by Chipp's alphatest (and one I had when trying out a metacard stack in revolution). It made me run some tests on a png image with a transparency mask produced by script and Chipp's GoodAlpha image. Chipp's GoodAlpha image is made with adobe imageready And there was a huge difference in result when using this code on both of them: on mouseup export img to a as png set the text of img to a end mouseup My image came out as it went in, but the Chipp's GoodAlpha image (made with adobe imageready) came out "flattened", no transparency anymore and the alphamask and background visible in black and white. This could mean that the engine is not recognizing all formats of png or not handling every chunk in a png image as it should. But I still have to run more tests to be sure. > Dar Scott Greetings and tnx, WA From doug at webcrossing.com Fri Jan 23 20:59:44 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 24 Jan 2004 10:59:44 +0900 Subject: stack opening visual effects? Message-ID: Are there any nice stack opening/closing visual effects available, like zoom in and zoom out? doug From dhartlieb at adelphia.net Fri Jan 23 22:29:43 2004 From: dhartlieb at adelphia.net (Dale Hartlieb) Date: Fri, 23 Jan 2004 22:29:43 -0500 Subject: Opening a stack *behind* another stack? (take 2) Message-ID: Could you do a lock screen, open the new stack, focus ( or select) on the original stack, then an unlock screen? Dale Hartlieb From doug at webcrossing.com Fri Jan 23 22:36:39 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 24 Jan 2004 12:36:39 +0900 Subject: Opening a stack *behind* another stack? (take 2) In-Reply-To: Message-ID: I thought the "pop" was doing the refocusing on the original stack. doug On 1/24/04 12:29 PM, "Dale Hartlieb" wrote: > Could you do a lock screen, open the new stack, focus ( or select) on the > original stack, then an unlock screen? > > Dale Hartlieb > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Fri Jan 23 22:37:15 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 23 Jan 2004 21:37:15 -0600 Subject: Opening a stack *behind* another stack? (take 2) In-Reply-To: References: Message-ID: <4011E86B.7080702@hyperactivesw.com> On 1/23/04 7:38 PM, Doug Lerner wrote: > That *almost* works. The only problem is that even though I do the lock > screen before cloning the new stack, the new stack appears for a flicker of > a moment on top anyway anyway. The "lock screen" command should really be thought of as "lock window". You can't really lock the entire screen because the OS draws the windows and you will always see a flash when it happens. The best you can to is open a window invisibly and then show it when it is needed, but I don't think this does what you want. You can also open a stack in the window of an existing stack, but then you don't have two windows any more. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From doug at webcrossing.com Fri Jan 23 22:44:13 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 24 Jan 2004 12:44:13 +0900 Subject: Opening a stack *behind* another stack? (take 2) In-Reply-To: <4011E86B.7080702@hyperactivesw.com> Message-ID: On 1/24/04 12:37 PM, "J. Landman Gay" wrote: > On 1/23/04 7:38 PM, Doug Lerner wrote: > >> That *almost* works. The only problem is that even though I do the lock >> screen before cloning the new stack, the new stack appears for a flicker of >> a moment on top anyway anyway. > > The "lock screen" command should really be thought of as "lock window". > You can't really lock the entire screen because the OS draws the windows > and you will always see a flash when it happens. Ah. That must be what is happening. > > The best you can to is open a window invisibly and then show it when it > is needed, but I don't think this does what you want. You can also open > a stack in the window of an existing stack, but then you don't have two > windows any more. What does that do? Replace the window? doug From alex at mindlube.com Sat Jan 24 00:18:30 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 23 Jan 2004 22:18:30 -0700 Subject: trouble with loading externals... In-Reply-To: <994631569.20040123114602@ahsoftware.net> References: <3B8D605D-4CE9-11D8-AB20-000393C4760A@mindlube.com> <1011988649.20040122093532@ahsoftware.net> <994631569.20040123114602@ahsoftware.net> Message-ID: On Jan 23, 2004, at 12:46 PM, Mark Wieder wrote: > > Nope. It worked fine for me, no matter where the bundle is in the list Hmm I can't replicate it either. Either I imagined it, or it's a bug already fixed. > (OS 10.2.8, rev 2.1.2). I had to be *very* sensitive to punctuation, > though - I managed to insert a leading space before one of the paths > and that had the same effect as > > set the externals of this stack to "" OK thanks -- Alex Rice | Mindlube Software | http://mindlube.com From scott at tactilemedia.com Sat Jan 24 00:20:29 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 23 Jan 2004 21:20:29 -0800 Subject: compound if alternatives In-Reply-To: Message-ID: Recently, I wrote: >> if c < t1 then >> do1 >> else if c >= t1 and c < t2 then >> do2 >> else if c >= t2 and c < t3 then >> do3 >> ... >> else if c >= t7 then >> do8 >> end if >> >> Anyone any ideas? I seem to have a "writer's block" :( > > You could try switch: > > switch > case c < t1 > do1 > case c < t2 > do2 > case c < t3 > do3 > ... > case c < t8 > do8 > end switch > > Note there are no breaks between case statements so the script should run > through all options until it finds a valid equation. Doh -- ignore the "breaks" comment above (not sure why I left them out -- fatigue?). Include the breaks to prevent the script from returning multiple true statements (unless you want multiple true statements). switch case c < t1 do1 break case c < t2 do2 break case c < t3 do3 break ... case c < t8 do8 end switch Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From squance at elkvalley.net Sat Jan 24 00:49:43 2004 From: squance at elkvalley.net (David Squance) Date: Fri, 23 Jan 2004 22:49:43 -0700 Subject: stack opening visual effects? In-Reply-To: Message-ID: >Are there any nice stack opening/closing visual effects available, like zoom >in and zoom out? > >doug Have you looked at "visual effect" in the docs? Dave From doug at webcrossing.com Sat Jan 24 01:02:22 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 24 Jan 2004 15:02:22 +0900 Subject: stack opening visual effects? In-Reply-To: Message-ID: On 1/24/04 2:49 PM, "David Squance" wrote: >> Are there any nice stack opening/closing visual effects available, like zoom >> in and zoom out? >> >> doug > > Have you looked at "visual effect" in the docs? I thought that was just for card in a stack. doug From doug at webcrossing.com Sat Jan 24 04:54:08 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 24 Jan 2004 18:54:08 +0900 Subject: insert script question Message-ID: If I want to make a couple of utility handlers available to all targets everywhere, and if I want to use the "insert script" command to make these scripts available, is it common to stick those scripts in a hidden field somewhere on the mainstack and then invoke the "insert script" command in the openStack handler of the mainstack? doug From Cubist at aol.com Sat Jan 24 06:32:43 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Sat, 24 Jan 2004 06:32:43 EST Subject: Opening a stack *behind* another stack? (take 2) Message-ID: <1a0.1fa58d7c.2d43b1db@aol.com> sez jacque at hyperactivesw.com >The best you can to is open a window invisibly and then show it when it >is needed, but I don't think this does what you want. Not in and of itself, but it does suggest a perhaps-successful variant: push this card open stack "Fred" invisible # (or whatever the syntax is) pop card show stack "Fred"# (or whatever the syntax is, again) And yes, the "pop card" does take care of putting your back where you started from. Hope this helps... From doug at webcrossing.com Sat Jan 24 07:43:06 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 24 Jan 2004 21:43:06 +0900 Subject: insert script vs start using stack questions Message-ID: (1) What is the difference between insert script of stack "mainstack" and start using stack "mainstack" ? (2) I added insert script of stack "mainstack" to the preOpenStack handler for a stack. But a handler call in the stack caused an error saying it couldn't find the handler. Shouldn't it though? (3) Do repeated "start using" or "insert script" calls mean anything, or are they like "global" calls that affect all stacks after the call? doug From doug at webcrossing.com Sat Jan 24 08:27:48 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 24 Jan 2004 22:27:48 +0900 Subject: A message path question Message-ID: I have a stack and a substack Stack A (contains a preOpenStack) Stack B (contains a preOpenStack) I have a "pass preOpenStack" as the last line of my preOpenStack handlers. It seems that when I open Stack B that *both* of the preOpenStack handlers run - the one for Stack B and then the one for Stack A. Is that because I have the "pass" statement in there? It seems like I should remove the pass statement. Any idea why the docs in their examples include it? It seems like it would only be useful if you also wanted the main stack's preOpenStack handler to run. Isn't that right? doug From erikhans08 at yahoo.com Sat Jan 24 01:10:32 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Fri, 23 Jan 2004 22:10:32 -0800 (PST) Subject: summary: PC for Revolution & MIDI? In-Reply-To: Message-ID: <20040124061032.95039.qmail@web61104.mail.yahoo.com> thanks for all the useful information: PC --- Chipp Walters wrote: > This Compaq looks pretty good... $800.00. --- Kurt Kaufman wrote: > "...my [MIDI] stack also does "funny" > things on Dell [Inspiron] laptops: > So I'd try running a Rev-based MIDI application > on any model you're considering before buying... Dell gets good word of mouth, too bad. --- Scott Rossi wrote: > You'll probably be hard pressed to find a truly > durable portable for under $1000. FWIW: > http://www.popularmechanics.com/technology/ > tech_tuesday/2003/12/tech_tuesday ouch. --- xbury.cs at clearstream.com wrote: > I have a 3 year old IBM with Fruitloops studio > producer (flstudio.com) running on it. > Takes a lot to bring it down... MAC --- Thomas J McGrath III <3mcgrath at adelphia.net> wrote: > ibook is perfect and around a $1000. Midi and > was designed for students to bang around. --- Barry Levine wrote: > The iBook has a hinge problem... --- > other problem is a failed logic board... > But all the problems are with G3 iBooks. TENTATIVE CONCLUSION: (note the lifted-from-RunRev-scripts format) development: video is another big concern, so if the hinge and logic board problems are solved then the g4 ibook might be easiest. the $1100 price puts it out of ScottRossi's danger zone! standalone: the users will be mainly on windows. first hand familiarity with the operating system is bound to be a huge plus on site. and judging from the list, there are ALWAYS some cross platform issues. another tough call. thanks again, Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From doug at webcrossing.com Sat Jan 24 09:12:42 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 24 Jan 2004 23:12:42 +0900 Subject: A cross-platform answer file? Message-ID: In the docs, the example of an answer file for web graphics is: answer file myPrompt with filter "Web Graphics,*.jpg;*.gif;*.png" But... this doesn't work for OS X, which seems to require a concatenation of 4-character Mac types. What are the types in this case? JPEGGIFFPING? How would one make a cross-platform version of this answer file prompt? Thanks, doug From doug at webcrossing.com Sat Jan 24 09:25:46 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 24 Jan 2004 23:25:46 +0900 Subject: shutDownRequest being called twice Message-ID: I am seeing my "are you sure you want to shut down" twice (the shutDownRequest handler) prompt twice now. I think the reason for this is that I added an insert script for stack "mainstack" into back so I could make use of the mainstack handlers in all the stacks. But the shutDownRequest handler looks like this: on shutDownRequest answer "Are you sure you want to quit?" with "No" or "Yes" if it is "Yes" then pass shutDownRequest end if end shutDownRequest I need to "pass shutDownRequest". I think the "pass shutDownRequest" is passing it "up" the path and it is re-encountering itself in the backScripts. Any ideas of how to avoid this problem? Thanks, doug From wouter.abraham at pi.be Sat Jan 24 09:46:49 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 24 Jan 2004 15:46:49 +0100 Subject: Chipp's alphatest revisited In-Reply-To: <20040124034518.3B589930057@mail.runrev.com> References: <20040124034518.3B589930057@mail.runrev.com> Message-ID: <2421D38E-4E7C-11D8-B189-003065CC999E@pi.be> Hi, May be this can be a starter for a possible workaround (until the set alphaData bug gets solved). Compute a maskdata from the alphaData of the GoodAlpha image. It is not perfect because it does not retain the cast shadow set by the alphadata. But the cast shadow can be simulated in other ways if it is only to be used on OS X Set the script of the "set alphadata ->" button to: on mouseUp put binaryEncode("C",0) into transparentPixel ### fiddle with this value put binaryEncode("C",100) into opaquePixel put the imagedata of img "prep" into iData put the alphaData of img "prep2" into aData repeat for each char i in aData if i > opaquePixel then put opaquePixel after mData else put transparentPixel after mData end if end repeat set the imagedata of img "prep" to iData set the maskdata of img "prep" to mData end mouseUp (be sure to do the 1 pixel trick or the export to png to retain the image) Greetings, WA From squance at elkvalley.net Sat Jan 24 09:49:06 2004 From: squance at elkvalley.net (David Squance) Date: Sat, 24 Jan 2004 07:49:06 -0700 Subject: stack opening visual effects? In-Reply-To: References: Message-ID: >On 1/24/04 2:49 PM, "David Squance" wrote: > >>> Are there any nice stack opening/closing visual effects available, like >>>zoom >>> in and zoom out? >>> >>> doug >> >> Have you looked at "visual effect" in the docs? > >I thought that was just for card in a stack. > >From the docs: The visual effect command affects only navigation within a window. If you want to create a transition effect when moving between stacks, use the go...in window form of the go command: visual effect wipe down go stack "Index" in window "Part 2" -- replaces stack on screen In other words, if you have a stack "A" and a stack "B" you can go stack "B" in window "A" and show some visual effect. Dave From doug at webcrossing.com Sat Jan 24 09:51:26 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 24 Jan 2004 23:51:26 +0900 Subject: stack opening visual effects? In-Reply-To: Message-ID: On 1/24/04 11:49 PM, "David Squance" wrote: >> On 1/24/04 2:49 PM, "David Squance" wrote: >> >>>> Are there any nice stack opening/closing visual effects available, like >>>> zoom >>>> in and zoom out? >>>> >>>> doug >>> >>> Have you looked at "visual effect" in the docs? >> >> I thought that was just for card in a stack. >> >> From the docs: > The visual effect command affects only navigation within a window. If you > want to create a transition effect when moving between stacks, use the > go...in window form of the go command: > > visual effect wipe down > go stack "Index" in window "Part 2" -- replaces stack on screen > > In other words, if you have a stack "A" and a stack "B" you can > go stack "B" in window "A" > and show some visual effect. Hmmmm... Interesting... I'll check that out... doug From klaus at major-k.de Sat Jan 24 10:07:30 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 24 Jan 2004 16:07:30 +0100 Subject: A cross-platform answer file? In-Reply-To: References: Message-ID: <078F6F3A-4E7F-11D8-99F2-000A27B49A96@major-k.de> Hi Doug > In the docs, the example of an answer file for web graphics is: > > answer file myPrompt with filter "Web Graphics,*.jpg;*.gif;*.png" > But... this doesn't work for OS X, which seems to require a > concatenation of > 4-character Mac types. > > What are the types in this case? JPEGGIFFPING? > > How would one make a cross-platform version of this answer file prompt? on mouseup if the platform = "MacOS" then put "JPEGGIFfPNGf" into filterlist else ##for windows, no idea about *nix... put "*.jpg;*.gif;*.png" into filterlist end if answer file myPrompt with filter filterlist ## do your stuff here... end mouseup Hope that helps... > Thanks, > > doug Regards Klaus Major klaus at major-k.de www.major-k.de From wouter.abraham at pi.be Sat Jan 24 10:08:06 2004 From: wouter.abraham at pi.be (Wouter) Date: Sat, 24 Jan 2004 16:08:06 +0100 Subject: Chipp's alphatest revisited In-Reply-To: <2421D38E-4E7C-11D8-B189-003065CC999E@pi.be> References: <20040124034518.3B589930057@mail.runrev.com> <2421D38E-4E7C-11D8-B189-003065CC999E@pi.be> Message-ID: <1D277260-4E7F-11D8-B189-003065CC999E@pi.be> Small change in the code produces better results. On 24 Jan 2004, at 15:46, Wouter wrote: > > Hi, > > May be this can be a starter for a possible workaround (until the set > alphaData bug gets solved). > Compute a maskdata from the alphaData of the GoodAlpha image. > It is not perfect because it does not retain the cast shadow set by > the alphadata. > But the cast shadow can be simulated in other ways if it is only to be > used on OS X > > Set the script of the "set alphadata ->" button to: > > on mouseUp set the casesensitive to true > put binaryEncode("C",0) into transparentPixel > ### fiddle with this value put binaryEncode("C",70) into opaquePixel > put the imagedata of img "prep" into iData > put the alphaData of img "prep2" into aData > repeat for each char i in aData > if i > opaquePixel then > put opaquePixel after mData > else > put transparentPixel after mData > end if > end repeat > set the imagedata of img "prep" to iData > set the maskdata of img "prep" to mData > end mouseUp > > (be sure to do the 1 pixel trick or the export to png to retain the > image) > > Greetings, > WA > From 3mcgrath at adelphia.net Sat Jan 24 10:39:05 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 24 Jan 2004 10:39:05 -0500 Subject: stack opening visual effects? In-Reply-To: References: Message-ID: <71876BC6-4E83-11D8-84DA-000A95DA60FA@adelphia.net> I tried the visual effect wipe down go stack "B" in window "A" and got an error: type - go:error in window expression Does it matter that stack "B" is a substack of "A"????? Tom On Jan 24, 2004, at 9:49 AM, David Squance wrote: >> On 1/24/04 2:49 PM, "David Squance" wrote: >> >>>> Are there any nice stack opening/closing visual effects available, >>>> like >>>> zoom >>>> in and zoom out? >>>> >>>> doug >>> >>> Have you looked at "visual effect" in the docs? >> >> I thought that was just for card in a stack. >> >> From the docs: > The visual effect command affects only navigation within a window. If > you > want to create a transition effect when moving between stacks, use the > go...in window form of the go command: > > visual effect wipe down > go stack "Index" in window "Part 2" -- replaces stack on screen > > In other words, if you have a stack "A" and a stack "B" you can > go stack "B" in window "A" > and show some visual effect. > > Dave > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From doug at webcrossing.com Sat Jan 24 10:39:35 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 25 Jan 2004 00:39:35 +0900 Subject: A cross-platform answer file? In-Reply-To: <078F6F3A-4E7F-11D8-99F2-000A27B49A96@major-k.de> Message-ID: Thanks. Very useful! doug On 1/25/04 12:07 AM, "Klaus Major" wrote: > Hi Doug > >> In the docs, the example of an answer file for web graphics is: >> >> answer file myPrompt with filter "Web Graphics,*.jpg;*.gif;*.png" > >> But... this doesn't work for OS X, which seems to require a >> concatenation of >> 4-character Mac types. >> >> What are the types in this case? JPEGGIFFPING? >> >> How would one make a cross-platform version of this answer file prompt? > > on mouseup > if the platform = "MacOS" then > put "JPEGGIFfPNGf" into filterlist > else ##for windows, no idea about *nix... > put "*.jpg;*.gif;*.png" into filterlist > end if > answer file myPrompt with filter filterlist > ## do your stuff here... > end mouseup > > Hope that helps... > >> Thanks, >> >> doug > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Sat Jan 24 10:43:21 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 24 Jan 2004 16:43:21 +0100 Subject: stack opening visual effects? In-Reply-To: <71876BC6-4E83-11D8-84DA-000A95DA60FA@adelphia.net> References: <71876BC6-4E83-11D8-84DA-000A95DA60FA@adelphia.net> Message-ID: <0A19D51F-4E84-11D8-99F2-000A27B49A96@major-k.de> Hi Thomas McGrath III, > I tried the > visual effect wipe down > ##go stack "B" in window "A" ## try this: go stack "B" in window of stack "A" > and got an error: > type - go:error in window expression > > Does it matter that stack "B" is a substack of "A"????? No. Hope that helps... > Tom Regards Klaus Major klaus at major-k.de www.major-k.de From 3mcgrath at adelphia.net Sat Jan 24 10:44:41 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 24 Jan 2004 10:44:41 -0500 Subject: stack opening visual effects? In-Reply-To: References: Message-ID: <39C3B525-4E84-11D8-84DA-000A95DA60FA@adelphia.net> It works with two separate stacks. tom On Jan 24, 2004, at 9:49 AM, David Squance wrote: >> On 1/24/04 2:49 PM, "David Squance" wrote: >> >>>> Are there any nice stack opening/closing visual effects available, >>>> like >>>> zoom >>>> in and zoom out? >>>> >>>> doug >>> >>> Have you looked at "visual effect" in the docs? >> >> I thought that was just for card in a stack. >> >> From the docs: > The visual effect command affects only navigation within a window. If > you > want to create a transition effect when moving between stacks, use the > go...in window form of the go command: > > visual effect wipe down > go stack "Index" in window "Part 2" -- replaces stack on screen > > In other words, if you have a stack "A" and a stack "B" you can > go stack "B" in window "A" > and show some visual effect. > > Dave > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From jacque at hyperactivesw.com Sat Jan 24 10:55:40 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 24 Jan 2004 09:55:40 -0600 Subject: Opening a stack *behind* another stack? (take 2) In-Reply-To: <1a0.1fa58d7c.2d43b1db@aol.com> References: <1a0.1fa58d7c.2d43b1db@aol.com> Message-ID: <4012957C.3020900@hyperactivesw.com> On 1/24/04 5:32 AM, Cubist at aol.com wrote: > sez jacque at hyperactivesw.com > >>The best you can to is open a window invisibly and then show it when it >>is needed, but I don't think this does what you want. > > Not in and of itself, but it does suggest a perhaps-successful variant: > > push this card > open stack "Fred" invisible # (or whatever the syntax is) > pop card > show stack "Fred"# (or whatever the syntax is, again) Problem is, the "show" command puts the stack back on top again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From 3mcgrath at adelphia.net Sat Jan 24 11:00:43 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 24 Jan 2004 11:00:43 -0500 Subject: stack opening visual effects? In-Reply-To: <39C3B525-4E84-11D8-84DA-000A95DA60FA@adelphia.net> References: <39C3B525-4E84-11D8-84DA-000A95DA60FA@adelphia.net> Message-ID: <76B8D609-4E86-11D8-84DA-000A95DA60FA@adelphia.net> The stack I tried it on at first had many substacks and the window type was set to have no borders etc. I assume it is one of the things that sets the window type that caused the error. It would be nice to know what window types this doesn't work in. Tom On Jan 24, 2004, at 10:44 AM, Thomas McGrath III wrote: > It works with two separate stacks. > > tom > On Jan 24, 2004, at 9:49 AM, David Squance wrote: > >>> On 1/24/04 2:49 PM, "David Squance" wrote: >>> >>>>> Are there any nice stack opening/closing visual effects available, >>>>> like >>>>> zoom >>>>> in and zoom out? >>>>> >>>>> doug >>>> >>>> Have you looked at "visual effect" in the docs? >>> >>> I thought that was just for card in a stack. >>> >>> From the docs: >> The visual effect command affects only navigation within a window. If >> you >> want to create a transition effect when moving between stacks, use the >> go...in window form of the go command: >> >> visual effect wipe down >> go stack "Index" in window "Part 2" -- replaces stack on screen >> >> In other words, if you have a stack "A" and a stack "B" you can >> go stack "B" in window "A" >> and show some visual effect. >> >> Dave >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From jacque at hyperactivesw.com Sat Jan 24 11:07:28 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 24 Jan 2004 10:07:28 -0600 Subject: insert script vs start using stack questions In-Reply-To: References: Message-ID: <40129840.9060304@hyperactivesw.com> On 1/24/04 6:43 AM, Doug Lerner wrote: > (1) What is the difference between > insert script of stack "mainstack" > and > start using stack "mainstack" The difference is subtle. When you "start using" a stack, its stack script is inserted into the hierarchy ahead of the home stack. When you "insert script into back" the script is inserted behind (i.e., after) the home stack. In standalones, which have no home stack, the mainstack functions as the home stack. So inserting scripts into the back in a standalone will place them after any scripts in your main stack script. You don't have to insert the script of a mainstack unless you are using separate external stacks. If all your stacks are substacks of a single main stack, they have access to the main stack script automatically. > (2) I added > > insert script of stack "mainstack" > > to the preOpenStack handler for a stack. But a handler call in the stack > caused an error saying it couldn't find the handler. Shouldn't it though? Normally. But I'm guessing that in preOpenStack, there is not yet a stack available so there are no scripts to insert. Try doing your insertions on openStack instead. But note that unless you are using external stacks rather than substacks, you don't need to insert the script of the main stack. > (3) Do repeated "start using" or "insert script" calls mean anything, or are > they like "global" calls that affect all stacks after the call? Every time you do an "insert" or "start using" command, the script that is inserted moves to the front of any others already in use. So repeated "start using" commands will shuffle scripts already in use to the front of the list. If you have only one script in use or inserted, then repeated calls to "insert" or "start using" don't do anything. In practice it is unusual to insert scripts that have duplicate handler names, so usually the order of the scripts in use doesn't make any difference. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From thierry.arbellot at wanadoo.fr Sat Jan 24 11:40:48 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Sat, 24 Jan 2004 17:40:48 +0100 Subject: shutDownRequest being called twice In-Reply-To: Message-ID: <107A816C-4E8C-11D8-9475-000A27E40768@wanadoo.fr> try this local processingShutDown = false on shutDownRequest if processingShutDown = false then answer "Are you sure you want to quit?" with "No" or "Yes" if it is "Yes" then put true into processingShutDown pass shutDownRequest end if end if end shutDownRequest Hope it helps Thierry Le Saturday, 24 Jan 2004, ? 15:25 Europe/Paris, Doug Lerner a ?crit : > I am seeing my "are you sure you want to shut down" twice (the > shutDownRequest handler) prompt twice now. > > I think the reason for this is that I added an > > insert script for stack "mainstack" into back > > so I could make use of the mainstack handlers in all the stacks. > > But the shutDownRequest handler looks like this: > > on shutDownRequest > answer "Are you sure you want to quit?" with "No" or "Yes" > if it is "Yes" then > pass shutDownRequest > end if > end shutDownRequest > > I need to "pass shutDownRequest". I think the "pass shutDownRequest" is > passing it "up" the path and it is re-encountering itself in the > backScripts. > > Any ideas of how to avoid this problem? > > Thanks, > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Sat Jan 24 11:44:48 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 24 Jan 2004 08:44:48 -0800 Subject: A message path question In-Reply-To: Message-ID: Doug Lerner wrote: > I have a stack and a substack > > Stack A (contains a preOpenStack) > Stack B (contains a preOpenStack) > > I have a "pass preOpenStack" as the last line of my preOpenStack handlers. > > It seems that when I open Stack B that *both* of the preOpenStack handlers > run - the one for Stack B and then the one for Stack A. > > Is that because I have the "pass" statement in there? > > It seems like I should remove the pass statement. Any idea why the docs in > their examples include it? It seems like it would only be useful if you also > wanted the main stack's preOpenStack handler to run. Isn't that right? It's often considered good practice to be in the habit of passing system messages, so if you want to modify behavior later you can add a handler farther down the message path without having to go back and revise each script. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Jan 24 11:46:07 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 24 Jan 2004 08:46:07 -0800 Subject: A cross-platform answer file? In-Reply-To: Message-ID: Doug Lerner wrote: > In the docs, the example of an answer file for web graphics is: > > answer file myPrompt with filter "Web Graphics,*.jpg;*.gif;*.png" > > But... this doesn't work for OS X, which seems to require a concatenation of > 4-character Mac types. > > What are the types in this case? JPEGGIFFPING? > > How would one make a cross-platform version of this answer file prompt? That was the subject of #2 and #3 in my Handy Handlers column at revJournal: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rcozens at pon.net Sat Jan 24 11:34:37 2004 From: rcozens at pon.net (Rob Cozens) Date: Sat, 24 Jan 2004 09:34:37 -0700 Subject: "function" Inside Comments Confuses Script Editor Message-ID: Hi All, 1. Open a control script 2. Add a handler shell...eg: function functionName end functionName 3. Add the following three lines to the script: /* function functionName */ 4. Close & reopen the Script Editor: In Rev 2.1.2, the Script Editor now takes noticeably longer to open, and the handler menu shows two instances of functionName. Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From dsc at swcp.com Sat Jan 24 13:02:48 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 24 Jan 2004 11:02:48 -0700 Subject: A message path question In-Reply-To: Message-ID: <84D9DE30-4E97-11D8-9F1C-000A9567A3E6@swcp.com> On Saturday, January 24, 2004, at 09:44 AM, Richard Gaskin wrote: >> Is that because I have the "pass" statement in there? >> >> It seems like I should remove the pass statement. Any idea why the >> docs in >> their examples include it? It seems like it would only be useful if >> you also >> wanted the main stack's preOpenStack handler to run. Isn't that right? > > It's often considered good practice to be in the habit of passing > system > messages, so if you want to modify behavior later you can add a handler > farther down the message path without having to go back and revise each > script. Test for the target in down path stacks. Dar Scott From mwieder at ahsoftware.net Sat Jan 24 13:17:06 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 24 Jan 2004 10:17:06 -0800 Subject: insert script vs start using stack questions In-Reply-To: <40129840.9060304@hyperactivesw.com> References: <40129840.9060304@hyperactivesw.com> Message-ID: <15985695583.20040124101706@ahsoftware.net> Jacque- Thanks. I'm gonna have to read this over a few more times before it sinks in, especially the difference between the standalone and IDE environments. The hierarchy is trickier than it appears. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Sat Jan 24 13:22:54 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 24 Jan 2004 10:22:54 -0800 Subject: insert script vs start using stack questions In-Reply-To: <15985695583.20040124101706@ahsoftware.net> Message-ID: Mark Wieder wrote: > Thanks. I'm gonna have to read this over a few more times before it > sinks in, especially the difference between the standalone and IDE > environments. The hierarchy is trickier than it appears. In most cases it's transparent: the various levels of the home stack, backscripts, and libraries only come into play when you have two handlers with the same name in different scripts. More commonly such things are used as repositories of commonly-used handlers, which will benefit from the same sort of naming conventions commonly used for such things (see libURL, libSMTP, and others), usually preceeding a library handler name with the name of the library or some other distinctive prefix. This makes it easy to identify where the handler definition resides no matter where you come across such calls in your code. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From squance at elkvalley.net Sat Jan 24 13:54:21 2004 From: squance at elkvalley.net (David Squance) Date: Sat, 24 Jan 2004 11:54:21 -0700 Subject: stack opening visual effects? In-Reply-To: <71876BC6-4E83-11D8-84DA-000A95DA60FA@adelphia.net> References: Message-ID: Tom, When I tested it, I made a new stack just for the purpose. A was the mainstack and B a substack. My guess would be that the error came from other complicating factors. The window type may have an effect. I haven't used visual effects myself, except in HC. Dave >I tried the >visual effect wipe down >go stack "B" in window "A" >and got an error: >type - go:error in window expression > >Does it matter that stack "B" is a substack of "A"????? > >Tom > From sanke at hrz.uni-kassel.de Sat Jan 24 13:59:45 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 24 Jan 2004 19:59:45 +0100 Subject: Opening a stack *behind* another stack? (take 2) Message-ID: <4012C0A1.8050509@hrz.uni-kassel.de> On Sat, 24 Jan 2004 08:36:49 +0900 Doug Lerner wrote: > On 1/24/04 1:24 AM, "Ken Ray" wrote: > > >> If I open a stack it always appears at the selected, topmost > >> stack. But what if I want to open it up *behind* another > >> stack. For example, after opening it up I might want it to > >> slide out from behind another stack. > > > > > Check out the "drawer" command. > > > Doesn't that only open to the side - and only for OS X? > > doug You are right, but you could have a look at my "drawers sample stack". We had an exchange of information about this August 28th on this list (Subject: Drawer samples stack). This stack shows how you can open a stack *behind* another stack and slide it out from *any* point of the rect of the frontmost stack, even diagonally and on any platform. You can find the stack in zipped form "Drawers2.zip" at "ftp.hrz.uni-kassel.de/pub/uni-kassel/Zentraler.Medienbereich/Sanke/Metacard/MetacardPractice/" Regards, Wilhelm Sanke From sanke at hrz.uni-kassel.de Sat Jan 24 14:14:58 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 24 Jan 2004 20:14:58 +0100 Subject: stack opening visual effects? Message-ID: <4012C432.7050701@hrz.uni-kassel.de> On Sat, 24 Jan 2004 10:59:44 +0900 Doug Lerner wrote: > Are there any nice stack opening/closing visual effects available, > like zoom > in and zoom out? > > doug One way to do this - maybe there are others - is - in the preopenstack handler set the backdrop to some color or background pattern - navigate - in the preopenstack handler - to a card that has the same background color or pattern - from this initial card navigate to another card with any visual effect you want to have. I have implemented this in my stack "Magic Triangle" which can be found among the stacks of "user contributions" at the RunRev site. Regards, Wilhelm Sanke From squance at elkvalley.net Sat Jan 24 15:22:53 2004 From: squance at elkvalley.net (David Squance) Date: Sat, 24 Jan 2004 13:22:53 -0700 Subject: Cloning oddity In-Reply-To: References: Message-ID: I have a script which stops on one step which involves cloning a card. There's no error message. The same script works fine to a certain point, cloning other cards, but when it reaches a certain one, won't go any further. The standalone (OS X, same as development) works fine. I tried running it in the IDE with suppressing (or is it suspending) the development environment, but I had to force quit Rev. Any suggestions? From 3mcgrath at adelphia.net Sat Jan 24 16:10:55 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 24 Jan 2004 16:10:55 -0500 Subject: Cloning oddity In-Reply-To: References: Message-ID: I had a situation where I cloned 100 stacks into substacks of the main stack. On a certain number the Rev IDE would freeze up. I had to force quit. My situation was that each clone was a number letter combo ie "13i" and "13ii" etc. It so happened that the clone it stopped on was one without any letters in it. ie. "17" no "i" etc. Also, the stack became corrupted/sick and I could not delete the trouble clone. I had to go back to a saved version and try again. I added a letter to it and was able to clone that one and get past that number. All others cloned OK. I assumed that was what it was anyway but it may have been a certain number of clones that it crashed on. Since I just proceeded after that clone and not from the beginning I don't know if a certain number of clones may have been at fault. Tom On Jan 24, 2004, at 3:22 PM, David Squance wrote: > I have a script which stops on one step which involves cloning a card. > There's no error message. The same script works fine to a certain > point, > cloning other cards, but when it reaches a certain one, won't go any > further. The standalone (OS X, same as development) works fine. I > tried > running it in the IDE with suppressing (or is it suspending) the > development environment, but I had to force quit Rev. Any suggestions? > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From ambassador at fourthworld.com Sat Jan 24 16:26:05 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 24 Jan 2004 13:26:05 -0800 Subject: geometry-challenged Message-ID: It seems I'm geometry-challenged today -- I know this should be simple, but I'm stumped: I can draw a line object from the loc of one object to the loc of another. But if I want to draw only in the space _between_ objects rather than intersect them, how do I get the points for the location where a line object would meet the edge of the other objects if drawn all the way to their centers, as indicated by the "X"s below: ----------------- | | | button1 | | \ | ----------X------ \ \ ------X---------- | \ | | button2 | | | ----------------- Hint: the diagram above with drawn with a tool I'm working on to make ASCII diagrams for email. If we solve this I'll finish it next week and put it in RevNet. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Jan 24 16:58:20 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 24 Jan 2004 13:58:20 -0800 Subject: Cloning oddity In-Reply-To: Message-ID: Thomas McGrath III wrote: > On Jan 24, 2004, at 3:22 PM, David Squance wrote: >> I have a script which stops on one step which involves cloning a card. >> There's no error message. The same script works fine to a certain >> point, cloning other cards, but when it reaches a certain one, won't >> go any further. The standalone (OS X, same as development) works fine. >> I tried running it in the IDE with suppressing (or is it suspending) >> the development environment, but I had to force quit Rev. Any suggestions? >> > I had a situation where I cloned 100 stacks into substacks of the main > stack. On a certain number the Rev IDE would freeze up. I had to force > quit. My situation was that each clone was a number letter combo ie "13i" > and "13ii" etc. > It so happened that the clone it stopped on was one without any letters > in it. ie. "17" no "i" etc. > Also, the stack became corrupted/sick and I could not delete the > trouble clone. I had to go back to a saved version and try again. If I recall correctly, no corruption took place: the numeric naming made the file difficult to work with, but Rev did not report the file as corrupted and nothing in the file format was broken. A recipe was provided to change the names back to valid forms without requiring a backup, along with an explanation of what happened and how to avoid it: After years of experiencing corruption in tools like HyperCard and FileMaker I can understand the tendency to apply that label to any unexpected behavior. An explanation of what corruption is and why it's extremely rare in Revolution is at . This distinction about corruption is not about any sort of pride in Rev or saying it's necessarily better or worse than any system more prone to corruption. This distinction is important for diagnosing and solving practical challenges: true corruption exhibits specific behaviors and requires specific, often arduous, remedies. If something unexpected occurs that is not corruption but is labelled as such, the opportunity to identify the true cause of the problem is lost, and the often simpler remedy never discovered. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Sat Jan 24 17:21:01 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 24 Jan 2004 14:21:01 -0800 Subject: geometry-challenged In-Reply-To: Message-ID: On 1/24/04 1:26 PM, "Richard Gaskin" wrote: > It seems I'm geometry-challenged today -- I know this should be simple, but > I'm stumped: > > I can draw a line object from the loc of one object to the loc of another. > But if I want to draw only in the space _between_ objects rather than > intersect them, how do I get the points for the location where a line object > would meet the edge of the other objects if drawn all the way to their > centers The easy way is to put the line behind the objects and make sure the objects are opaque. Not a mathematical solution but... Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From frank at backtalk.com Sat Jan 24 17:43:19 2004 From: frank at backtalk.com (Frank Leahy) Date: Sat, 24 Jan 2004 22:43:19 +0000 Subject: geometry-challenged In-Reply-To: <20040124220013.40A1A930090@mail.runrev.com> Message-ID: If you want to do something quick and dirty for your ascii example, draw the line, but on each stroke, test if it's inside either button's rect (and don't show it if it is). If you want something more complicated you'll have to use trigonometry. For your example with button 1, you want to know the x,y coordinate of the intersection (X). You know y = button 1 y loc - 1/2 the height of button 1), and you can calculate x using a sine or cosine function (I can't remember which off the top of my head, I'd need to dig up a math text). The problem with using trig is that you're going to have lots of cases, depending on which direction button 2 is in relation to button 1 (there are four quadrants you have to worry about) Hope this helps. -- Frank Leahy On Saturday, January 24, 2004, at 10:00 PM, use-revolution-request at lists.runrev.com wrote: > Subject: geometry-challenged > To: Rev Discussion List > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > It seems I'm geometry-challenged today -- I know this should be > simple, but > I'm stumped: > > I can draw a line object from the loc of one object to the loc of > another. > But if I want to draw only in the space _between_ objects rather than > intersect them, how do I get the points for the location where a line > object > would meet the edge of the other objects if drawn all the way to their > centers, as indicated by the "X"s below: > From ambassador at fourthworld.com Sat Jan 24 18:03:14 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 24 Jan 2004 15:03:14 -0800 Subject: geometry-challenged In-Reply-To: Message-ID: Scott Rossi wrote: > On 1/24/04 1:26 PM, "Richard Gaskin" wrote: > >> It seems I'm geometry-challenged today -- I know this should be simple, but >> I'm stumped: >> >> I can draw a line object from the loc of one object to the loc of another. >> But if I want to draw only in the space _between_ objects rather than >> intersect them, how do I get the points for the location where a line object >> would meet the edge of the other objects if drawn all the way to their >> centers > > The easy way is to put the line behind the objects and make sure the objects > are opaque. Not a mathematical solution but... Thanks, but it won't work in this case: I'm doing it to use arrow points. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lists at mangomultimedia.com Sat Jan 24 18:09:15 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 24 Jan 2004 16:09:15 -0700 Subject: geometry-challenged In-Reply-To: References: Message-ID: <549C2D02-4EC2-11D8-BE5D-000A956C462A@mangomultimedia.com> On Jan 24, 2004, at 2:26 PM, Richard Gaskin wrote: > It seems I'm geometry-challenged today -- I know this should be > simple, but > I'm stumped: > > I can draw a line object from the loc of one object to the loc of > another. > But if I want to draw only in the space _between_ objects rather than > intersect them, how do I get the points for the location where a line > object > would meet the edge of the other objects if drawn all the way to their > centers, as indicated by the "X"s below: > > > ----------------- > | | > | button1 | > | \ | > ----------X------ > \ > \ > ------X---------- > | \ | > | button2 | > | | > ----------------- > Try something like this: on mouseUp put item 1 of loc of button 2 - item 1 of loc of button 1 into tDeltaX put item 2 of loc of button 2 - item 2 of loc of button 1 into tDeltaY put atan2(tDeltaY, tDeltaX) into tRadianAngle put tRadianAngle * (180/pi) into tDegreeAngle put tDegreeAngle into field 1 put ((width of button 1/2) * cos(tRadianAngle)) + item 1 of loc of button 1 into tNewX put ((height of button 1/2) * sin(tRadianAngle)) + item 2 of loc of button 1 into tNewY set loc of graphic 1 to tNewX,tNewY put cr & tNewX & ":" & tNewY after field 1 end mouseUp You will need to add a buffer into tNewX and tNewY to get outside the button -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Sat Jan 24 18:22:11 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 24 Jan 2004 16:22:11 -0700 Subject: geometry-challenged In-Reply-To: References: Message-ID: <2344AA37-4EC4-11D8-BE5D-000A956C462A@mangomultimedia.com> On Jan 24, 2004, at 2:26 PM, Richard Gaskin wrote: > It seems I'm geometry-challenged today -- I know this should be > simple, but > I'm stumped: > > I can draw a line object from the loc of one object to the loc of > another. > But if I want to draw only in the space _between_ objects rather than > intersect them, how do I get the points for the location where a line > object > would meet the edge of the other objects if drawn all the way to their > centers, as indicated by the "X"s below: I just posted an example of this at: http://www.mangomultimedia.com/download/revolution/examples/ buttonpoints.zip http://www.mangomultimedia.com/download/revolution/examples/ buttonpoints.sitx -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dsc at swcp.com Sat Jan 24 18:46:22 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 24 Jan 2004 16:46:22 -0700 Subject: geometry-challenged In-Reply-To: <549C2D02-4EC2-11D8-BE5D-000A956C462A@mangomultimedia.com> Message-ID: <83D94990-4EC7-11D8-8492-000A9567A3E6@swcp.com> On Saturday, January 24, 2004, at 04:09 PM, Trevor DeVore wrote: > put item 1 of loc of button 2 - item 1 of loc of button 1 into > tDeltaX > put item 2 of loc of button 2 - item 2 of loc of button 1 into > tDeltaY > put atan2(tDeltaY, tDeltaX) into tRadianAngle > put tRadianAngle * (180/pi) into tDegreeAngle > put tDegreeAngle into field 1 Though this can be done without trig, getting the angle like this has the advantage of avoiding divide-by-zero problems. > put ((width of button 1/2) * cos(tRadianAngle)) + item 1 of loc of > button 1 into tNewX > put ((height of button 1/2) * sin(tRadianAngle)) + item 2 of loc of > button 1 into tNewY > set loc of graphic 1 to tNewX,tNewY This looks fishy to me. I seems to me you have to figure out which side of the box the line will be crossing. Of course, one has to figure out only one end of the problem because the other end is done the same way. Dar Scott From lists at mangomultimedia.com Sat Jan 24 19:05:16 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 24 Jan 2004 17:05:16 -0700 Subject: geometry-challenged In-Reply-To: <83D94990-4EC7-11D8-8492-000A9567A3E6@swcp.com> References: <83D94990-4EC7-11D8-8492-000A9567A3E6@swcp.com> Message-ID: <27DDA3B0-4ECA-11D8-BE5D-000A956C462A@mangomultimedia.com> On Jan 24, 2004, at 4:46 PM, Dar Scott wrote: > On Saturday, January 24, 2004, at 04:09 PM, Trevor DeVore wrote: > >> put item 1 of loc of button 2 - item 1 of loc of button 1 into >> tDeltaX >> put item 2 of loc of button 2 - item 2 of loc of button 1 into >> tDeltaY >> put atan2(tDeltaY, tDeltaX) into tRadianAngle >> put tRadianAngle * (180/pi) into tDegreeAngle >> put tDegreeAngle into field 1 > > Though this can be done without trig, getting the angle like this has > the advantage of avoiding divide-by-zero problems. > >> put ((width of button 1/2) * cos(tRadianAngle)) + item 1 of loc of >> button 1 into tNewX >> put ((height of button 1/2) * sin(tRadianAngle)) + item 2 of loc of >> button 1 into tNewY >> set loc of graphic 1 to tNewX,tNewY > > This looks fishy to me. > > I seems to me you have to figure out which side of the box the line > will be crossing. > > Of course, one has to figure out only one end of the problem because > the other end is done the same way. I use similar calculations for moving objects around circles and they work well. Download the test stack I posted which demonstrates it working with two buttons. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From toeloop at swissonline.ch Sat Jan 24 19:15:59 2004 From: toeloop at swissonline.ch (=?ISO-8859-1?Q?Thomas_B=E4hler?=) Date: Sun, 25 Jan 2004 01:15:59 +0100 Subject: geometry-challenged Message-ID: Hi Richard > I can draw a line object from the loc of one object to the loc of > another. > But if I want to draw only in the space _between_ objects rather than > intersect them, how do I get the points for the location where a line > object > would meet the edge of the other objects if drawn all the way to their > centers, as indicated by the "X"s below: There might be a more ellegant solution to your problem but the one below works. It calculates a list of the rounded locations of every pixel of the connecting line, and checks then the first points of each end that are not within the buttons. Cheers Thomas on mouseUp put the loc of button "Button 1" into LStart put the loc of button "Button 2" into LStop put (item 1 of LStop) - (item 1 of LStart) into DistX put (item 2 of LStop) - (item 2 of LStart) into DistY put round((DistX^2+DistY^2)^0.5) into LLength put DistX/LLength into XStep put DistY/LLength into YStep put 0 into i put empty into PList -- calculated pixel of the whole line repeat LLength times put i + 1 into i put (item 1 of LStart) + round(XStep*i) & comma & (item 2 of LStart) + round(YStep*i) & return after PList end repeat delete last char of PList --search the first Border-Point repeat with i = 1 to the number of lines of PList if within(button "Button 1",line i of PList) then next repeat else put line i of PList into LStart exit repeat end if end repeat --search the second Border-Point repeat with i = (the number of lines of PList) down to 1 if within(button "Button 2",line i of PList) then next repeat else put line i of PList into LStop exit repeat end if end repeat put LStart & comma & LStop into Punkte set the points of graphic "ConnectingLine" to Punkte end mouseUp From livfoss at blueyonder.co.uk Sat Jan 24 19:17:13 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sun, 25 Jan 2004 00:17:13 +0000 Subject: geometry-challenged Message-ID: On wrote: Sat, 24 Jan 2004 13:26:05 -0800, Richard Gaskin wrote: > >It seems I'm geometry-challenged today -- I know this should be simple, but >I'm stumped: > >I can draw a line object from the loc of one object to the loc of another. >But if I want to draw only in the space _between_ objects rather than >intersect them, how do I get the points for the location where a line object >would meet the edge of the other objects if drawn all the way to their >centers, as indicated by the "X"s below: > > > ----------------- > | | > | button1 | > | \ | > ----------X------ > \ > \ > ------X---------- > | \ | > | button2 | > | | > ----------------- > > >Hint: the diagram above with drawn with a tool I'm working on to make ASCII >diagrams for email. If we solve this I'll finish it next week and put it in >RevNet. > So, does your hint mean to say that the buttons in your diagram are always rectangles, or can they be polygons of arbitrary complexity? If only rectangles then I think it can be done fairly simply. To notate your diagram a bit differently: > > ----------------- > | | > | A | > | |\ | > ---------g-h----- > | \ > | \ > --i----j--------- > | | \ | > | B----- C | > | | > ----------------- i.e there's a right angled triangle ABC. You know all the coordinates of A, B and C already, plus we know the rects of the buttons. Thus we know the vertical distance A-g, and we also know the vertical distance A-B: then the proportion between the horizontal distance g-h and the horizontal distance B-C is the same as the (known) proportion A-g to A-B, which means you can find the position of h (the top intersection point) as needed. A similar calculation relating to the the triangle Aij means that you can get at point j. I'm sorry I haven't done this as a script but it's very late here in London... Something similar could be done for circles but it would involve more real trig. HTH - and I hope I'm right! Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From DouglasMackay at blueyonder.co.uk Sat Jan 24 19:27:45 2004 From: DouglasMackay at blueyonder.co.uk (Douglas Mackay) Date: Sun, 25 Jan 2004 00:27:45 -0000 Subject: newbie requires help Message-ID: <000c01c3e2da$0dcc3320$d5bc2952@PATRIOT> I am trying to learn from other people's scrips so I downloaded the age calculator on from the web. It comes p continually with the same "bug" i dont know how to fix. The line in question is put (item 1 of enddate - item 1 of startdate) into diffan and the full script is : ask "Date of Birth? (eg. 23/9/1987)" put it into firstDate ask "Date of Assessment? (eg. 18/3/2001)" put it into secondDate put whichage (firstDate, secondDate) into dateholder if Gbox = 1 then put "year" into field "nameYear" else put "years" into field "nameYear" end if put Gbox into field "year2" if item 2 of dateholder = 1 then put "month" into field "nameMonth" else put "months" into field "nameMonth" end if put item 2 of dateholder into field "month" if item 3 of dateholder = 1 then put "day" into field "nameDay" else put "days" into field "nameDay" end if put item 3 of dateholder into field "day" also a script for : set the centuryCutoff to 35 set useSystemDate to true if param(1) = "" then exit to top put param(1) into startdate put param(2) into enddate set the itemDelimiter to "/" put item 3 of startdate into GsYear put item 3 of enddate into GeYear set the itemDelimiter to comma convert startdate to dateitems convert enddate to dateitems put item 3 of enddate into bbmsg put (item 3 of enddate - item 3 of startdate) into diffjour if diffjour < 0 then add "1" to item 2 of startdate get item 2 of enddate if (it is in "1,3,5,7,8,10") or (it= "12") then put "31" into correction else if (it is in "4,6,9,11") then put "30" into correction else if item 1 of enddate mod 4 = 0 then put "29" into correction else put "28" into correction add correction to item 3 of enddate put (item 3 of enddate - item 3 of startdate) into diffjour end if put (item 2 of enddate - item 2 of startdate) into diffmois if diffmois < 0 then add "1" to item 1 of startdate put (item 2 of enddate) + 12 into item 2 of enddate put (item 2 of enddate - item 2 of startdate) into diffmois add "1" to GsYear end if put (item 1 of enddate - item 1 of startdate) into diffan put (GeYear - GsYear) into Gbox return diffan&","&diffmois&","&diffjour can anyone help ? From squance at elkvalley.net Sat Jan 24 20:53:27 2004 From: squance at elkvalley.net (David Squance) Date: Sat, 24 Jan 2004 18:53:27 -0700 Subject: Cloning oddity In-Reply-To: References: Message-ID: >Thomas McGrath III wrote: > >> On Jan 24, 2004, at 3:22 PM, David Squance wrote: >>> I have a script which stops on one step which involves cloning a card. >>> There's no error message. [snip] >> Also, the stack became corrupted/sick and I could not delete the >> trouble clone. I had to go back to a saved version and try again. > >If I recall correctly, no corruption took place [snip] > Richard Gaskin I'm not saying there's corruption. I'm just looking for any suggestion as to how it might be diagnosed. The debugger is no help, as the script just stops running. The card is cloned--a second copy is in place, but the next line of the script is not executed. That line just increases a variable by 1, which would show in the variable watcher, if it happened. Dave From briany at qldlearning.com Sat Jan 24 21:22:03 2004 From: briany at qldlearning.com (Brian Yennie) Date: Sat, 24 Jan 2004 21:22:03 -0500 Subject: geometry-challenged In-Reply-To: Message-ID: <4370DEC6-4EDD-11D8-AA23-000393AA08D2@qldlearning.com> If we're just intersecting lines with rectangles, trig isn't even necessary here. Just use good ol' slope and intercepts: http://www.delphiforfun.org/Programs/Math_Topics/intersecting_lines.htm A little simple if/then logic can figure out which edge of the rect you want to intersect with on each button. Take the imaginary line between the centers of the objects, and intersect it with the edge being crossed. All you need are the two locs of the objects, and the two corners of each edge you want to point to. function intersect line1, line2 ... end intersect HTH Brian From doug at webcrossing.com Sat Jan 24 22:39:30 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 25 Jan 2004 12:39:30 +0900 Subject: shutDownRequest being called twice In-Reply-To: <107A816C-4E8C-11D8-9475-000A27E40768@wanadoo.fr> Message-ID: Wouldn't you have to make the processingShutDown flag a global to retain its value for something like this? doug On 1/25/04 1:40 AM, "Thierry Arbellot" wrote: > try this > > local processingShutDown = false > > on shutDownRequest > if processingShutDown = false then > answer "Are you sure you want to quit?" with "No" or "Yes" > if it is "Yes" then > put true into processingShutDown > pass shutDownRequest > end if > end if > end shutDownRequest > > Hope it helps > > Thierry > > Le Saturday, 24 Jan 2004, ? 15:25 Europe/Paris, Doug Lerner a ?crit : > >> I am seeing my "are you sure you want to shut down" twice (the >> shutDownRequest handler) prompt twice now. >> >> I think the reason for this is that I added an >> >> insert script for stack "mainstack" into back >> >> so I could make use of the mainstack handlers in all the stacks. >> >> But the shutDownRequest handler looks like this: >> >> on shutDownRequest >> answer "Are you sure you want to quit?" with "No" or "Yes" >> if it is "Yes" then >> pass shutDownRequest >> end if >> end shutDownRequest >> >> I need to "pass shutDownRequest". I think the "pass shutDownRequest" is >> passing it "up" the path and it is re-encountering itself in the >> backScripts. >> >> Any ideas of how to avoid this problem? >> >> Thanks, >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Sat Jan 24 23:45:34 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 24 Jan 2004 20:45:34 -0800 Subject: insert script vs start using stack questions In-Reply-To: References: Message-ID: <12123403184.20040124204534@ahsoftware.net> Richard- Saturday, January 24, 2004, 10:22:54 AM, you wrote: Thanks. I reread Jacque's message and now it all makes sense in light of this. Somehow I read the original message as being about "start using" vs "insert script into front", and the effect depending on whether or not you're in the IDE. Now I see it's about "insert script into back". I shoulda stood in bed. -- -Mark Wieder mwieder at ahsoftware.net From rgould8 at aol.com Sun Jan 25 00:02:56 2004 From: rgould8 at aol.com (rgould8 at aol.com) Date: Sun, 25 Jan 2004 00:02:56 -0500 Subject: Detect Default Browser in OSX Message-ID: <5A03CC6E.047848C0.0018446D@aol.com> A few days ago on this listserve, someone posted this solution to determining the user's default web-browser setting in Mac OS X. Just curious - - - can anyone who's running Panther tell me if this works for them? It appears that my com.apple.LaunchServices data doesn't return anything with "U:http". Lot's of settings for RealNetworks and Quicktime, but I'm not pulling in anything for a Default browser. (Either IE or Safari). the command replaceText(shell("defaults read com.apple.LaunchServices"),"(\(|\))","") lists all defaults app in OS X the block of lines starting with "U:http" gives the default browser. From erikhans08 at yahoo.com Sat Jan 24 17:40:58 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sat, 24 Jan 2004 14:40:58 -0800 (PST) Subject: A cross-platform answer file? In-Reply-To: Message-ID: <20040124224058.82643.qmail@web61108.mail.yahoo.com> --- Richard Gaskin wrote: Char Meaning Example g Global variable t Local ("temporary") variable tMyVar s Script-local var sMyVar p Parameter pMyParam k Constant kMyNumber u User-defined (or custom) properties uMyProp ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From erikhans08 at yahoo.com Sat Jan 24 17:47:57 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sat, 24 Jan 2004 14:47:57 -0800 (PST) Subject: variable naming convention variation In-Reply-To: Message-ID: <20040124224757.45914.qmail@web61103.mail.yahoo.com> --- Richard Gaskin wrote: http://www.revjournal.com/index.php?id=C0_15_1 put (the uMyCustomVariable of this stack) \ into vMyCustomVariable is something i have been trying. the "v" looks something like a "u". i also learned that you can set your own custom constant by reading www.revjournal.com! Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From doug at webcrossing.com Sun Jan 25 01:32:54 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 25 Jan 2004 15:32:54 +0900 Subject: A cross-platform answer file? In-Reply-To: Message-ID: On 1/25/04 1:46 AM, "Richard Gaskin" wrote: > Doug Lerner wrote: > >> In the docs, the example of an answer file for web graphics is: >> >> answer file myPrompt with filter "Web Graphics,*.jpg;*.gif;*.png" >> >> But... this doesn't work for OS X, which seems to require a concatenation of >> 4-character Mac types. >> >> What are the types in this case? JPEGGIFFPING? >> >> How would one make a cross-platform version of this answer file prompt? > > That was the subject of #2 and #3 in my Handy Handlers column at revJournal: > > Very nice site with lots of useful information. I have bookmarked it. Thanks! doug From erikhans08 at yahoo.com Sat Jan 24 20:55:58 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sat, 24 Jan 2004 17:55:58 -0800 (PST) Subject: RAM used with RunRev, Video, MIDI In-Reply-To: Message-ID: <20040125015558.9418.qmail@web61102.mail.yahoo.com> it seems that for development, the mac G4 ibook has the most compatability with video & MIDI. in Revolution, i would like to have little movielets where i now have 32 x 32 pixel icons of dancers ambling around the screen in a scripted fashion. 16 controls with various "iconic" video loops would require some RAM. add even very simple MIDI patches and it adds up. i have no idea how much RAM it takes to operate efficiently. can i get 30 minutes of video in there? anyone have experience running RunRev AND video footage in RAM? thanks, Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From janschenkel at yahoo.com Sun Jan 25 03:11:02 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 25 Jan 2004 00:11:02 -0800 (PST) Subject: Cloning oddity In-Reply-To: Message-ID: <20040125081102.58902.qmail@web60508.mail.yahoo.com> --- David Squance wrote: > I'm not saying there's corruption. I'm just looking > for any suggestion as > to how it might be diagnosed. The debugger is no > help, as the script just > stops running. The card is cloned--a second copy is > in place, but the next > line of the script is not executed. That line just > increases a variable by > 1, which would show in the variable watcher, if it > happened. > Dave > Hi Dave, Sorry to come so lae to the discussion but this reminds me of a problem I had last year : I cloned a stack, and the rest of the script didn't get executed. I narrowed it down to one of the messages in the preOpenStack/openStack/preOpenCard/openCard chain coming to a grinding halt when passed all the way to the engine. However, adding a 'lock messages' didn't solve the problem in the IDE, but it worked perfectly fine in the standalone ; so in the end, I decided to just suspend the IDE whenever I needed to run the script. Maybe I should spend some time putting together a good trouble stack. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From doug at webcrossing.com Sun Jan 25 03:31:16 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 25 Jan 2004 17:31:16 +0900 Subject: Question about imageData and base64encode/decode Message-ID: If you take the imageData of an image and base64encode it, the data is broken up into 72 character lines. Does this mean that the decoded data must be broken into 72 character lines or it won't decode right? I am doing some sending experiments, but the image that arrives is all corrupted. (I want to strip the LFs before sending the data over a socket). Thanks, dougo From erikhans08 at yahoo.com Sun Jan 25 00:40:30 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sat, 24 Jan 2004 21:40:30 -0800 (PST) Subject: A cross-platform answer file? [sorry, a mis-send] In-Reply-To: <20040124224058.82643.qmail@web61108.mail.yahoo.com> Message-ID: <20040125054030.93922.qmail@web61104.mail.yahoo.com> [sorry, a mis-send] --- erik hansen wrote: > --- Richard Gaskin > wrote: > > > > > Char Meaning Example > > g Global variable > > > t Local ("temporary") variable > > tMyVar > s Script-local var > > sMyVar > p Parameter > > pMyParam > k Constant > > kMyNumber > u User-defined (or custom) properties > > uMyProp > > > > ===== > erik at erikhansen.org > http://www.erikhansen.org > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building > tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From doug at webcrossing.com Sun Jan 25 06:19:12 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 25 Jan 2004 20:19:12 +0900 Subject: A bit stuck on creating a new image Message-ID: I am sending the imageData, height, width and name of an imported paint image over a socket. Before sending the data I am using base64encode, and before recreating the image on the other side I am using the base64decode of the data to set the imageData property and also setting the height and width and name properties of the templateImage before creating the image. But the image comes out all scrambled in the top-left corner of the receiving stack in the wrong size. I tried both preserving the lfs in the base64 data and also stripping the linefeeds, but the result is the same in both cases. I've triple-checked the char count of the number of chars of the imageData and the number of chars of the base64 data on both sides, before and after encoding and decoding and everything matches. Are there some other properties I need to be preserving besides the imageData, width and height of the image object in order to get it right? Thanks, doug From jbv.silences at Club-Internet.fr Sun Jan 25 07:38:43 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Sun, 25 Jan 2004 13:38:43 +0100 Subject: A bit stuck on creating a new image References: Message-ID: <4013B8CB.28AA20C7@Club-Internet.fr> Doug, the 1st question that comes to my mind is : why do you feel the need to use base64encode before sending before sending the data over a socket ? I remember doing something similar last year (a client standalone was sending imagedata to a CGI script for realtime update of web pages) and I don't remember encoding the imagedata before sending it... Am I missing something ? Thanks, JB > I am sending the imageData, height, width and name of an imported paint > image over a socket. > > Before sending the data I am using base64encode, and before recreating the > image on the other side I am using the base64decode of the data to set the > imageData property and also setting the height and width and name properties > of the templateImage before creating the image. > > But the image comes out all scrambled in the top-left corner of the > receiving stack in the wrong size. > > I tried both preserving the lfs in the base64 data and also stripping the > linefeeds, but the result is the same in both cases. > > I've triple-checked the char count of the number of chars of the imageData > and the number of chars of the base64 data on both sides, before and after > encoding and decoding and everything matches. > > Are there some other properties I need to be preserving besides the > imageData, width and height of the image object in order to get it right? > > Thanks, > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Sun Jan 25 08:01:05 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 25 Jan 2004 22:01:05 +0900 Subject: A bit stuck on creating a new image In-Reply-To: <4013B8CB.28AA20C7@Club-Internet.fr> Message-ID: Well, I basically want to avoid sending LF characters along the way, which would disrupt my communications system, which depends on LFs to terminate the sending of a batch of data. Except for the line wrap characters that Rev adds every 72 chars, base64 data is guaranteed not to contain linefeed charactgers. doug On 1/25/04 9:38 PM, "jbv" wrote: > > > Doug, > > the 1st question that comes to my mind is : why do you feel the need to use > base64encode before sending before sending the data over a socket ? > > I remember doing something similar last year (a client standalone was sending > imagedata to a CGI script for realtime update of web pages) and I don't > remember encoding the imagedata before sending it... > > Am I missing something ? > > Thanks, > JB > > >> I am sending the imageData, height, width and name of an imported paint >> image over a socket. >> >> Before sending the data I am using base64encode, and before recreating the >> image on the other side I am using the base64decode of the data to set the >> imageData property and also setting the height and width and name properties >> of the templateImage before creating the image. >> >> But the image comes out all scrambled in the top-left corner of the >> receiving stack in the wrong size. > >> >> I tried both preserving the lfs in the base64 data and also stripping the >> linefeeds, but the result is the same in both cases. >> >> I've triple-checked the char count of the number of chars of the imageData >> and the number of chars of the base64 data on both sides, before and after >> encoding and decoding and everything matches. >> >> Are there some other properties I need to be preserving besides the >> imageData, width and height of the image object in order to get it right? >> >> Thanks, >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Sun Jan 25 08:24:41 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 25 Jan 2004 22:24:41 +0900 Subject: A bit stuck on creating a new image In-Reply-To: Message-ID: I think maybe the problem is that I ought to be sending the actual content of the image and it's paitCompression property instead. I'll try that. doug On 1/25/04 8:19 PM, "Doug Lerner" wrote: > I am sending the imageData, height, width and name of an imported paint > image over a socket. > > Before sending the data I am using base64encode, and before recreating the > image on the other side I am using the base64decode of the data to set the > imageData property and also setting the height and width and name properties > of the templateImage before creating the image. > > But the image comes out all scrambled in the top-left corner of the > receiving stack in the wrong size. > > I tried both preserving the lfs in the base64 data and also stripping the > linefeeds, but the result is the same in both cases. > > I've triple-checked the char count of the number of chars of the imageData > and the number of chars of the base64 data on both sides, before and after > encoding and decoding and everything matches. > > Are there some other properties I need to be preserving besides the > imageData, width and height of the image object in order to get it right? > > Thanks, > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Sun Jan 25 09:32:56 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 25 Jan 2004 23:32:56 +0900 Subject: A bit stuck on creating a new image In-Reply-To: Message-ID: Whew! It took forever to figure out, but I finally stumbled across the right combination of image compression, base64 encoding and required properties that need to be communicated over the socket and it seems to be working. I was surprised that I was able to get this to work, though, with just the paintCompression and imageData properties, and that that value of the image itself was not required. That seems a bit counter-intuitive. doug From thierry.arbellot at wanadoo.fr Sun Jan 25 10:04:33 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Sun, 25 Jan 2004 16:04:33 +0100 Subject: shutDownRequest being called twice In-Reply-To: Message-ID: Good question. I never asked myself about it before, I just used local variable to share and retain value within handlers in the same script and it does work. I found this in the documentation : The value of a script local variable is retained between handlers, but is lost when you quit the application, when you close the stack (unless its destroyStack property is false), or when the script is re-compiled. So, if you are in one of those cases, you can use a script local variable. Thierry. Le Sunday, 25 Jan 2004, ? 04:39 Europe/Paris, Doug Lerner a ?crit : > Wouldn't you have to make the processingShutDown flag a global to > retain its > value for something like this? > > doug > > On 1/25/04 1:40 AM, "Thierry Arbellot" > wrote: > >> try this >> >> local processingShutDown = false >> >> on shutDownRequest >> if processingShutDown = false then >> answer "Are you sure you want to quit?" with "No" or "Yes" >> if it is "Yes" then >> put true into processingShutDown >> pass shutDownRequest >> end if >> end if >> end shutDownRequest >> >> Hope it helps >> >> Thierry >> >> Le Saturday, 24 Jan 2004, ? 15:25 Europe/Paris, Doug Lerner a ?crit : >> >>> I am seeing my "are you sure you want to shut down" twice (the >>> shutDownRequest handler) prompt twice now. >>> >>> I think the reason for this is that I added an >>> >>> insert script for stack "mainstack" into back >>> >>> so I could make use of the mainstack handlers in all the stacks. >>> >>> But the shutDownRequest handler looks like this: >>> >>> on shutDownRequest >>> answer "Are you sure you want to quit?" with "No" or "Yes" >>> if it is "Yes" then >>> pass shutDownRequest >>> end if >>> end shutDownRequest >>> >>> I need to "pass shutDownRequest". I think the "pass shutDownRequest" >>> is >>> passing it "up" the path and it is re-encountering itself in the >>> backScripts. >>> >>> Any ideas of how to avoid this problem? >>> >>> Thanks, >>> >>> doug >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Sun Jan 25 10:16:09 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 25 Jan 2004 16:16:09 +0100 Subject: A bit stuck on creating a new image In-Reply-To: References: Message-ID: <6763EAB7-4F49-11D8-A249-000A27B49A96@major-k.de> Hi Doug, > Whew! It took forever to figure out, but I finally stumbled across the > right > combination of image compression, base64 encoding and required > properties > that need to be communicated over the socket and it seems to be > working. > > I was surprised that I was able to get this to work, though, with just > the > paintCompression and imageData properties, and that that value of the > image > itself was not required. That seems a bit counter-intuitive. Have you tried to "compress" (see the index) the imagedata before sending? Instead of base64 encoding... Might reduce filesize/transfertime... Just a thought :-) > doug Regards Klaus Major klaus at major-k.de www.major-k.de From squance at elkvalley.net Sun Jan 25 10:23:46 2004 From: squance at elkvalley.net (David Squance) Date: Sun, 25 Jan 2004 08:23:46 -0700 Subject: Cloning oddity In-Reply-To: <20040125081102.58902.qmail@web60508.mail.yahoo.com> References: Message-ID: >--- David Squance wrote: >> I'm not saying there's corruption. I'm just looking >> for any suggestion as >> to how it might be diagnosed. The debugger is no >> help, as the script just >> stops running. The card is cloned--a second copy is >> in place, but the next >> line of the script is not executed. That line just >> increases a variable by >> 1, which would show in the variable watcher, if it >> happened. >> Dave >> > >Hi Dave, > >Sorry to come so lae to the discussion but this >reminds me of a problem I had last year : I cloned a >stack, and the rest of the script didn't get executed. > >I narrowed it down to one of the messages in the >preOpenStack/openStack/preOpenCard/openCard chain >coming to a grinding halt when passed all the way to >the engine. > >However, adding a 'lock messages' didn't solve the >problem in the IDE, but it worked perfectly fine in >the standalone ; so in the end, I decided to just >suspend the IDE whenever I needed to run the script. > >Maybe I should spend some time putting together a good >trouble stack. > >Jan Schenkel. Thanks for the reply. I thought suspending the IDE would avoid the problem, too, since the standalone works fine. However, it was even worse, as I had to force quit Rev. Dave From doug at webcrossing.com Sun Jan 25 10:54:36 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 26 Jan 2004 00:54:36 +0900 Subject: A bit stuck on creating a new image In-Reply-To: <6763EAB7-4F49-11D8-A249-000A27B49A96@major-k.de> Message-ID: On 1/26/04 12:16 AM, "Klaus Major" wrote: > Hi Doug, > >> Whew! It took forever to figure out, but I finally stumbled across the >> right >> combination of image compression, base64 encoding and required >> properties >> that need to be communicated over the socket and it seems to be >> working. >> >> I was surprised that I was able to get this to work, though, with just >> the >> paintCompression and imageData properties, and that that value of the >> image >> itself was not required. That seems a bit counter-intuitive. > > Have you tried to "compress" (see the index) the imagedata before > sending? > Instead of base64 encoding... > > Might reduce filesize/transfertime... > > Just a thought :-) It seems risky because you can run into crlf's in the data, which I am trying to avoid. doug From jbv.silences at Club-Internet.fr Sun Jan 25 10:59:48 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Sun, 25 Jan 2004 16:59:48 +0100 Subject: A bit stuck on creating a new image References: Message-ID: <4013E7F2.2D545FB8@Club-Internet.fr> Doug, > Well, I basically want to avoid sending LF characters along the way, which > would disrupt my communications system, which depends on LFs to terminate > the sending of a batch of data. > > Except for the line wrap characters that Rev adds every 72 chars, base64 > data is guaranteed not to contain linefeed charactgers. > I'm glad to hear that you finally solved your problem. But still, I'm wondering why you bother with LFs... Why don't you just use a simple & regular POST cmd, with the imagedata, img width & height as simple parameters ? JB From doug at webcrossing.com Sun Jan 25 11:03:05 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 26 Jan 2004 01:03:05 +0900 Subject: A bit stuck on creating a new image In-Reply-To: <4013E7F2.2D545FB8@Club-Internet.fr> Message-ID: On 1/26/04 12:59 AM, "jbv" wrote: > > > Doug, > >> Well, I basically want to avoid sending LF characters along the way, which >> would disrupt my communications system, which depends on LFs to terminate >> the sending of a batch of data. >> >> Except for the line wrap characters that Rev adds every 72 chars, base64 >> data is guaranteed not to contain linefeed charactgers. >> > > I'm glad to hear that you finally solved your problem. > > But still, I'm wondering why you bother with LFs... > Why don't you just use a simple & regular POST cmd, with the > imagedata, img width & height as simple parameters ? It has to do with the server I am posting to. It interprets linefeeds as being the end of the current command. doug From rcozens at pon.net Sun Jan 25 10:21:55 2004 From: rcozens at pon.net (Rob Cozens) Date: Sun, 25 Jan 2004 08:21:55 -0700 Subject: newbie requires help In-Reply-To: <000c01c3e2da$0dcc3320$d5bc2952@PATRIOT> References: <000c01c3e2da$0dcc3320$d5bc2952@PATRIOT> Message-ID: >I downloaded the age calculator on from the web. It comes p >continually with the same "bug" i dont know how to fix. Hi Douglas, I'm too lazy to track through the logic to find the bug; but here's a handler that works for me: on showAge ask "Enter Date of Birth in system date format..." if it is empty then exit showAge put it into firstDate /* I would validate the date using Serendipity Library's validDate function rather than use the line above if validDate(it) then put it into firstDate else beep answer "The birth date you entered is not a valid date!" exit showAge end if */ ask "Enter Date of Assessment in system date format" with the short system date if it is empty then exit showAge put it into secondDate /* I would validate the date using Serendipity Library's validDate function rather than use the line above if validDate(it) then put it into secondDate else beep answer "The assessment date you entered is not a valid date!" exit showAge end if */ convert firstDate to dateItems convert secondDate to dateItems if secondDate < firstDate then beep answer "The subject was born after the assessment date!" exit showAge end if put (item 1 of secondDate)-(item 1 of firstDate) into yearsOld put (item 2 of secondDate)-(item 2 of firstDate) into monthsOld put (item 3 of secondDate)-(item 3 of firstDate) into daysOld if daysOld < 0 then put abs(daysOld) into daysOld subtract 1 from monthsOld end if if monthsOld < 0 then add 12 to monthsOld subtract 1 from yearsOld end if if yearsOld = 1 then put empty into lastYearCharacter else put "s" into lastYearCharacter if monthsOld = 1 then put empty into lastMonthCharacter else put "s" into lastMonthCharacter if daysOld = 1 then put empty into lastDayCharacter else put "s" into lastDayCharacter answer "Subject is"&&yearsOld&&"year"&lastYearCharacter&","&&monthsOld&&"month"&lastMonthCharacter&", and" \ &daysOld&&"day"&lastDayCharacter&&"old." end showAge -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From frank at backtalk.com Sun Jan 25 11:42:50 2004 From: frank at backtalk.com (Frank Leahy) Date: Sun, 25 Jan 2004 16:42:50 +0000 Subject: A bit stuck on creating a new image In-Reply-To: <20040125162442.7A38593007E@mail.runrev.com> Message-ID: <836C0347-4F55-11D8-8F9A-000A9580FCCE@backtalk.com> You might consider changing your server protocol to not use CRLF as the delimiter (I'm assuming you wrote the server portion too?). In HTTP for example, the web server either sends the image size in the http header, or if that's missing, it assumes the image is complete when the connection closes. You might consider having two data types, text and binary, and when you send text it's CRLF delimited, and when it's binary, you send along the size. -- Frank On Sunday, January 25, 2004, at 04:24 PM, use-revolution-request at lists.runrev.com wrote: > It seems risky because you can run into crlf's in the data, which I am > trying to avoid. > > doug From jhurley at infostations.com Sun Jan 25 11:45:56 2004 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 25 Jan 2004 08:45:56 -0800 Subject: geometry-challenged In-Reply-To: <20040124220013.40A1A930090@mail.runrev.com> References: <20040124220013.40A1A930090@mail.runrev.com> Message-ID: > >Message: 10 >Date: Sat, 24 Jan 2004 13:26:05 -0800 >From: Richard Gaskin >Subject: geometry-challenged >To: Rev Discussion List >Message-ID: >Content-Type: text/plain; charset="US-ASCII" > >It seems I'm geometry-challenged today -- I know this should be simple, but >I'm stumped: > >I can draw a line object from the loc of one object to the loc of another. >But if I want to draw only in the space _between_ objects rather than >intersect them, how do I get the points for the location where a line object >would meet the edge of the other objects if drawn all the way to their >centers, as indicated by the "X"s below: > > > ----------------- > | | > | button1 | > | \ | > ----------X------ > \ > \ > ------X---------- > | \ | > | button2 | > | | > ----------------- > > >Hint: the diagram above with drawn with a tool I'm working on to make ASCII >diagrams for email. If we solve this I'll finish it next week and put it in >RevNet. > >-- > Richard Gaskin > Fourth World Media Corporation > Richard, I'm not sure if this helps, but the function "intersection" below will return the intersection of any two lines. The first line is defined by its end points p1 and p2; the second line is defined by its two endpoints pp1, and pp1 (not the best notation.) It is part of my Turtle Geometry tools. (Shameless plug: Indispensable tools for doing heavy graphics. From what I understand from Ro at the Developers' conference, Turtle Graphics may be incorporated in future editions of RR. This intersection function is not a traditional component of TG--so it may be included and it may not. In any event, it stands on its own.) function intersection p1,p2,pp1,pp2 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 pp1 into xp1 put item 2 of pp1 into yp1 put item 1 of pp2 into xp2 put item 2 of pp2 into yp2 if x1 = x2 or xp1 = xp2 then if x1 = x2 then return x1&comma&yp2 + (x1-xp2)*(yp2-yp1)/(xp2-xp1) else return xp2&comma& y2 + (xp1-x2)*(y2-y1)/(x2-x1) end if end if put yp2 - y2 + x2*(y2-y1)/(x2 - x1) - xp2*(yp2 - yp1)/(xp2 - xp1) into numerator put ((y2 - y1)/(x2 - x1) -(yp2 - yp1)/(xp2-xp1)) into denom put numerator / denom into x put y2 + (x-x2) *(y2-y1)/(x2-x1) into y return x & comma & y end intersection Jim From rcozens at pon.net Sun Jan 25 10:56:58 2004 From: rcozens at pon.net (Rob Cozens) Date: Sun, 25 Jan 2004 08:56:58 -0700 Subject: newbie requires help Message-ID: Douglas, << if daysOld < 0 then put abs(daysOld) into daysOld subtract 1 from monthsOld end if >> This worked for the dates I tried; however I see now it is not always correct: someone born on January 31, 2004 would show an age of 29 days on February 2, 2004 instead of 2 days. Let me see what it takes to deal with this... -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rjb at rz.uni-potsdam.de Sun Jan 25 12:30:06 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Sun, 25 Jan 2004 18:30:06 +0100 Subject: shutDownRequest being called twice Message-ID: >I am seeing my "are you sure you want to shut down" twice (the >shutDownRequest handler) prompt twice now. > >I think the reason for this is that I added an > >insert script for stack "mainstack" into back > >so I could make use of the mainstack handlers in all the stacks. > >But the shutDownRequest handler looks like this: > >on shutDownRequest > answer "Are you sure you want to quit?" with "No" or "Yes" > if it is "Yes" then > pass shutDownRequest > end if >end shutDownRequest > >I need to "pass shutDownRequest". I think the "pass shutDownRequest" is >passing it "up" the path and it is re-encountering itself in the >backScripts. > >Any ideas of how to avoid this problem? > >Thanks, > >doug > You can use the control variable to avoid double run as others suggested, but I would re-examine the approach. There is no requirement that handlers you put in the backscript are the stack script. I'd would stick all those needed there into an invisible button and leave as stack scripts only those that really need to be there. You then insert the script of that button into back. The shutdownrequest would go either into the backscripts button (if you want it to be invoked regardless which stack got it) or into stack script (if you want to trap it in that one stack only). In either case, you will have only a single instance. Robert From rcozens at pon.net Sun Jan 25 12:01:58 2004 From: rcozens at pon.net (Rob Cozens) Date: Sun, 25 Jan 2004 10:01:58 -0700 Subject: newbie requires help In-Reply-To: References: Message-ID: >I see now it is not always correct: someone born on January 31, 2004 >would show an age of 29 days on February 2, 2004 instead of 2 days. > >Let me see what it takes to deal with this... Done...I think. Substitute this if statement for the one in my original example: if daysOld < 0 then put item 3 of secondDate into daysOld subtract daysOld from item 3 of secondDate -- set date to last day of previous month add (item 3 of secondDate)-min((item 3 of firstDate),(item 3 of secondDate)) to daysOld subtract 1 from monthsOld end if -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From toeloop at swissonline.ch Sun Jan 25 13:13:53 2004 From: toeloop at swissonline.ch (=?ISO-8859-1?Q?Thomas_B=E4hler?=) Date: Sun, 25 Jan 2004 19:13:53 +0100 Subject: geometry-challenged Message-ID: <3B96CBF3-4F62-11D8-85D7-00306555CAAA@swissonline.ch> My solution a bit refined is fast enough to draw the line while moving the button (Mac G4, 400MHz). Well, this is rather due to the speed of Revolution than to my scripting skills :-) To test it just: - create two buttons - name them "Button 1" and "Button 2". - create a line and name it "ConnectingLine" - copy the script below into one or both buttons Cheers Thomas -- Script for connecting two buttons with a line that starts just outside the button-area ------------------------------------------------------------------------ ----------------------------------------- on mouseDown set the uAllowDrag of me to true end mouseDown on mouseMove x,y if the uAllowDrag of me is false then exit mouseMove set the loc of me to x,y DrawLineBetween (the loc of button "Button 1"),(the loc of button "Button 2") end mouseMove on mouseUp set the uAllowDrag of me to false end mouseUp on mouseRelease mouseUp end mouseRelease on DrawLineBetween Loc1,Loc2 put Loc1 into PunktA put Loc2 into PunktB put (item 1 of PunktB) - (item 1 of PunktA) into DistX put (item 2 of PunktB) - (item 2 of PunktA) into DistY put round((DistX^2+DistY^2)^0.5) into LLength put DistX/LLength into XStep put DistY/LLength into YStep put 0 into i repeat LLength times put i + 1 into i -- Find startpoint put (item 1 of PunktA) + round(XStep*i) & comma & (item 2 of PunktA) + round(YStep*i) into Punkti if (within(button "Button 1",Punkti) is false) and (PunktA = Loc1) then put Punkti into PunktA end if --find endpoint put (item 1 of PunktA) + round(XStep*(LLength-i)) & comma & (item 2 of PunktA) + round(YStep*(LLength-i)) into Punkti if (within(button "Button 2",Punkti)is false) and (PunktB = Loc2) then put Punkti into PunktB end if if (PunktA <> Loc1) and (PunktB <> Loc2) then exit repeat end repeat put PunktA & comma & PunktB into Punkte set the points of graphic "ConnectingLine" to Punkte end DrawLineBetween From yvescoppe at skynet.be Sun Jan 25 13:28:43 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun, 25 Jan 2004 19:28:43 +0100 Subject: filetype question Message-ID: <4E0FF7A3-4F64-11D8-A4DE-000393533246@skynet.be> Hi list On MAC OS X I have a script to set a jpeg binfile readable by photoshop I script : set the fileType to "8BIMJPEG" I'd like to do the same with a .mov or .mpg file to make it readable by quickTime Player which are the filetype for those files for quickTime ?? thank you Greetings. Yves COPPE yvescoppe at skynet.be From klaus at major-k.de Sun Jan 25 13:39:29 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 25 Jan 2004 19:39:29 +0100 Subject: filetype question In-Reply-To: <4E0FF7A3-4F64-11D8-A4DE-000393533246@skynet.be> References: <4E0FF7A3-4F64-11D8-A4DE-000393533246@skynet.be> Message-ID: Am 25.01.2004 um 19:28 schrieb Yves COPPE: > Hi list > > On MAC OS X > > I have a script to set a jpeg binfile readable by photoshop > > I script : > set the fileType to "8BIMJPEG" > > I'd like to do the same with a .mov or .mpg file to make it readable > by quickTime Player > > which are the filetype for those files for quickTime ?? Movies: TVODMooV Mpgs have none most of the time ;-) But saving a Mpg file again in QT Pro results in: TVODMooV :-) Hope that helps... > thank you > > Greetings. > Yves COPPE Regards Klaus Major klaus at major-k.de www.major-k.de From yvescoppe at skynet.be Sun Jan 25 14:27:14 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun, 25 Jan 2004 20:27:14 +0100 Subject: filetype question In-Reply-To: References: <4E0FF7A3-4F64-11D8-A4DE-000393533246@skynet.be> Message-ID: <7AB056BA-4F6C-11D8-B06B-000393533246@skynet.be> Le 25 janv. 2004, ? 19:39, Klaus Major a ?crit : > > Movies: > > TVODMooV > > Mpgs have none most of the time ;-) > > But saving a Mpg file again in QT Pro results in: > > TVODMooV > > :-) > > Hope that helps... > >> Thank you Klaus.. Greetings. Yves COPPE yvescoppe at skynet.be From yvescoppe at skynet.be Sun Jan 25 14:33:13 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun, 25 Jan 2004 20:33:13 +0100 Subject: filetype question In-Reply-To: <7AB056BA-4F6C-11D8-B06B-000393533246@skynet.be> References: <4E0FF7A3-4F64-11D8-A4DE-000393533246@skynet.be> <7AB056BA-4F6C-11D8-B06B-000393533246@skynet.be> Message-ID: <50C260E6-4F6D-11D8-89E6-000393533246@skynet.be> Le 25 janv. 2004, ? 20:27, Yves COPPE a ?crit : > > Le 25 janv. 2004, ? 19:39, Klaus Major a ?crit : > >> >> Movies: >> >> TVODMooV >> >> Mpgs have none most of the time ;-) >> >> But saving a Mpg file again in QT Pro results in: >> >> TVODMooV >> >> :-) >> >> Hope that helps... >> >>> > > Oops Klaus... I cannot open such a file with quickTime player... HELP HELP HELP HELP HELP HELP Thank you Greetings. Yves COPPE yvescoppe at skynet.be From ambassador at fourthworld.com Sun Jan 25 14:50:20 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 25 Jan 2004 11:50:20 -0800 Subject: variable naming convention variation In-Reply-To: <20040124224757.45914.qmail@web61103.mail.yahoo.com> Message-ID: erik hansen wrote: > put (the uMyCustomVariable of this stack) \ > into vMyCustomVariable > > is something i have been trying. > the "v" looks something like a "u". That's why I use "t" for local ("temporary") variables, to better distinguish them. > i also learned that you can set your own > custom constant by reading www.revjournal.com! revJournal is a great resource. Sarah's written some very useful articles there, as has Dan Shafer, and even engine-meister Tuviah himself is scheduled to add some. If you haven't checked out revJournal it's well worth doing so. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sun Jan 25 15:10:26 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 25 Jan 2004 12:10:26 -0800 Subject: filetype question In-Reply-To: <50C260E6-4F6D-11D8-89E6-000393533246@skynet.be> Message-ID: Yves COPPE wrote: > > Le 25 janv. 2004, ? 20:27, Yves COPPE a ?crit : > >> >> Le 25 janv. 2004, ? 19:39, Klaus Major a ?crit : >> >>> >>> Movies: >>> >>> TVODMooV >>> >>> Mpgs have none most of the time ;-) >>> >>> But saving a Mpg file again in QT Pro results in: >>> >>> TVODMooV >>> >>> :-) >>> >>> Hope that helps... >>> >>>> >> >> > > > Oops Klaus... I cannot open such a file with quickTime player... > > > HELP HELP HELP HELP HELP HELP > > Thank you This is a deficiency in the design of OS X as regards backward compatibility with Finder metadata. For background on the topic: -- 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 r.beynon at liv.ac.uk Sun Jan 25 15:25:48 2004 From: r.beynon at liv.ac.uk (Rob Beynon) Date: Sun, 25 Jan 2004 20:25:48 +0000 Subject: Keeping a field scroll at the bottom as lines come in Message-ID: <1955795391.20040125202548@liv.ac.uk> Greetings, My first post, and a naive one, I suspect.. I am using an interactive mode to send a line of text to the end of a field ('after') which is visible. Then, as the field fills, it doesn't scroll to show the last line, it just moves the thumb upwards. I'd really like to see the last line entered, irrespective of the length of the field. Can this be done? Thanks -- All best wishes, Rob ============================================================== Prof. Rob Beynon |+44 151 794 4312 (voice) Dept. Veterinary Preclinical |+44 151 794 4243 (fax) Sciences, University of Liverpool, PO Box 147, Liverpool L69 7ZJ |mailto:r.beynon at liv.ac.uk ============================================================== From janschenkel at yahoo.com Sun Jan 25 15:38:51 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 25 Jan 2004 12:38:51 -0800 (PST) Subject: Keeping a field scroll at the bottom as lines come in In-Reply-To: <1955795391.20040125202548@liv.ac.uk> Message-ID: <20040125203851.9514.qmail@web60502.mail.yahoo.com> --- Rob Beynon wrote: > Greetings, My first post, and a naive one, I > suspect.. > > I am using an interactive mode to send a line of > text to the end of a > field ('after') which is visible. Then, as the field > fills, it doesn't > scroll to show the last line, it just moves the > thumb upwards. > > I'd really like to see the last line entered, > irrespective of the > length of the field. Can this be done? > > Thanks > > > -- > All best wishes, > Rob > Hi Rob, Welcome to the Revolution :-) Your question is not naive, and the solution is not too hard either ; here's what I usually use to make a field scroll to the bottom while appending : -- put return & "Yet another line" after field "Foobar" set the scroll of field "Foobar" to \ the formattedHeight of field "Foobar" -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From dcragg at lacscentre.co.uk Sun Jan 25 15:57:28 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sun, 25 Jan 2004 20:57:28 +0000 Subject: Keeping a field scroll at the bottom as lines come in In-Reply-To: <1955795391.20040125202548@liv.ac.uk> References: <1955795391.20040125202548@liv.ac.uk> Message-ID: At 8:25 pm +0000 25/1/04, Rob Beynon wrote: >Greetings, My first post, and a naive one, I suspect.. > >I am using an interactive mode to send a line of text to the end of a >field ('after') which is visible. Then, as the field fills, it doesn't >scroll to show the last line, it just moves the thumb upwards. > >I'd really like to see the last line entered, irrespective of the >length of the field. Can this be done? put after field "myField" set the scroll of field "myField" to the formattedHeight of field "myField" It's not a very elegant solution, but as the formattedHeight will be always larger than the maximum scroll value, it'll do the job. Dave From dan at clearvisiontech.com Sun Jan 25 16:07:59 2004 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun, 25 Jan 2004 13:07:59 -0800 Subject: Keeping a field scroll at the bottom as lines come in In-Reply-To: <20040125205830.874D593009E@mail.runrev.com> Message-ID: Rob, Let me also welcome you to Revolution! When I add text to list fields, I usually want to hilite the new line of text. So, here's what I do: on addALineOfText someText, fieldName put the number of lines in field fieldName into nLine put someText into line nLine+1 of field fieldName set the hilitedLines of field fieldName to nLine+1 end addALineOfText Setting the hilitedLines of a list field will automatically scroll the field to that line. Hope that helps... -Dan > Greetings, My first post, and a naive one, I suspect.. > > I am using an interactive mode to send a line of text to the end of a > field ('after') which is visible. Then, as the field fills, it doesn't > scroll to show the last line, it just moves the thumb upwards. > > I'd really like to see the last line entered, irrespective of the > length of the field. Can this be done? > > Thanks > > > -- > All best wishes, > Rob From doug at webcrossing.com Sun Jan 25 18:00:59 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 26 Jan 2004 08:00:59 +0900 Subject: A bit stuck on creating a new image In-Reply-To: <836C0347-4F55-11D8-8F9A-000A9580FCCE@backtalk.com> Message-ID: On 1/26/04 1:42 AM, "Frank Leahy" wrote: > You might consider changing your server protocol to not use CRLF as the > delimiter (I'm assuming you wrote the server portion too?). In HTTP > for example, the web server either sends the image size in the http > header, or if that's missing, it assumes the image is complete when the > connection closes. > > You might consider having two data types, text and binary, and when you > send text it's CRLF delimited, and when it's binary, you send along the > size. The latter suggestion sounds like a more reasonable way to go. doug From 3mcgrath at adelphia.net Sun Jan 25 19:18:00 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sun, 25 Jan 2004 19:18:00 -0500 Subject: Cloning oddity In-Reply-To: References: Message-ID: <1957B2C4-4F95-11D8-84DA-000A95DA60FA@adelphia.net> Richard, You are a tuff cookie :-) But Of course you are right. It was not corrupted. However the solution to fix the stack was not successful although the problem was solved and understood. I did have to finally go to the backup file. But I did not have to repeat the problem and the solution was acceptable. Thanks for the correction about the non-corrupt part of my problem. Tom On Jan 24, 2004, at 4:58 PM, Richard Gaskin wrote: > > After years of experiencing corruption in tools like HyperCard and > FileMaker > I can understand the tendency to apply that label to any unexpected > behavior. > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From Cubist at aol.com Sun Jan 25 19:22:13 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Sun, 25 Jan 2004 19:22:13 -0500 Subject: geometry-challenged Message-ID: <0CB9F376.1DEE8A5F.00048C52@aol.com> sez jhurley at infostations.com: > I'm not sure if this helps, but the function "intersection" below > will return the intersection of any two lines. I tried the function on two *non*-intersecting lines, and it gave me a "divide by zero" error. Not good. You need to find the mathematical intersection of the infinite lines defined by the two pairs of endpoints, and *then* decide whether or not that intersection point is within *both* of the line *segments* defined by said points. From briany at qldlearning.com Sun Jan 25 20:02:21 2004 From: briany at qldlearning.com (Brian Yennie) Date: Sun, 25 Jan 2004 20:02:21 -0500 Subject: geometry-challenged In-Reply-To: <0CB9F376.1DEE8A5F.00048C52@aol.com> Message-ID: <4B60F08C-4F9B-11D8-AA23-000393AA08D2@qldlearning.com> For the problem at hand, it should suffice to add a little if-logic to the beginning. A line between two non-overlapping objects will always intersect exactly one of the sides of each object- you just have to pick the right one and _then_ use the intersection function. With that said, an intersection function should probably error gracefully for parallel lines (i.e. non-intersecting). - Brian > I tried the function on two *non*-intersecting lines, and it gave > me a "divide by zero" error. Not good. You need to find the > mathematical intersection of the infinite lines defined by the two > pairs of endpoints, and *then* decide whether or not that intersection > point is within *both* of the line *segments* defined by said points. From mato.kola at wanblizaptan.com Sun Jan 25 21:25:34 2004 From: mato.kola at wanblizaptan.com (Jerry Daniels) Date: Sun, 25 Jan 2004 20:25:34 -0600 Subject: What is Rev doing? In-Reply-To: <015501c3e202$80489c00$6601a8c0@LightningFlash> References: <015501c3e202$80489c00$6601a8c0@LightningFlash> Message-ID: Friends, I believe revScriptEdit is a message that is sent by the Rev IDE so that the IDE can check to see if you have depressed certain modifier keys that will, in turn, bring up a script editor or a property inspector. This involves cpu usage. Is this necessary? Yes and No. This would be TOTALLY unnecessary if the Mac could tell if one or more modifier keys are down via rawKeyDown, but it cannot and therefore the revScriptEdit message is sent for all platforms. I could be wrong, but that's what my look into this issue tells me. Jerry Daniels On Jan 23, 2004, at 4:44 PM, Ken Ray wrote: >> That would be my guess too. Do you get the same thing if you >> suspend the >> IDE? > > It drops to about 5% when the IDE is suspended. The pendingMessgaes > show > a "revScriptEdit" running constantly, though... > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From soapdog at mac.com Sun Jan 25 21:30:29 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 26 Jan 2004 00:30:29 -0200 Subject: Deep Deep Trouble, need help. Message-ID: <9BB54EC4-4FA7-11D8-A52C-0003936D012E@mac.com> Hi Folks, sundenlly all my substacks are shouting that they are password protected. I never password protected any stack, I didn't knew how to do it... never typed "set the password of stack something to something" never... and yet, I am receiving errors of that kind... can someone help? This way I just lost all my code to the next generation of revHTTPd project. cheers -- Andre Alves Garzia - Soap Dog Studios - BRAZIL http://studios.soapdog.org From doug at webcrossing.com Sun Jan 25 22:58:00 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 26 Jan 2004 12:58:00 +0900 Subject: image transfer not working again... Message-ID: I got it to work at least once last night, and now I am getting scrambled images again. A couple of questions, the answer to which might clear up my problem: 1. I think my problem is that I am sending "the imageData of image myImage", which is the 4-byte-per-pixel visible format of the raw data. The raw data is actually just "image myImage". Is that correct? Should I be sending the raw data instead? 2. Before creating the new image from the received data, I want to set the appropriate templateImage properties. But what is the property containing the raw image? It appears to be "the value" of the image, but that doesn't seem to be settable directly. I am left with using "put into" after the image is created? Any advice would be great. Thanks, doug From doug at webcrossing.com Sun Jan 25 23:16:53 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 26 Jan 2004 13:16:53 +0900 Subject: image transfer not working again... In-Reply-To: Message-ID: And now it is working again. What I am doing is NOT sending "the imageData" and instead sending the raw image instead. On the receiving side I am: 1. Setting what templateImage parameters I can, such as "location". 2. Setting the global paintCompression property. 3. Creating the image. 4. Finally using "put into" to change the raw contents. That seems to work. For now. Is that what everybody else does when they need to do something like this? doug On 1/26/04 12:58 PM, "Doug Lerner" wrote: > I got it to work at least once last night, and now I am getting scrambled > images again. > > A couple of questions, the answer to which might clear up my problem: > > 1. I think my problem is that I am sending "the imageData of image myImage", > which is the 4-byte-per-pixel visible format of the raw data. The raw data > is actually just "image myImage". Is that correct? Should I be sending the > raw data instead? > > 2. Before creating the new image from the received data, I want to set the > appropriate templateImage properties. But what is the property containing > the raw image? It appears to be "the value" of the image, but that doesn't > seem to be settable directly. I am left with using "put into" after the > image is created? > > Any advice would be great. > > Thanks, > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Sun Jan 25 23:31:37 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 26 Jan 2004 13:31:37 +0900 Subject: technical question about Rev's base64decode Message-ID: When base64encode is used, Rev wraps at 72 character lines. I notice if you remove these lines and base64decode you get back the same original results. In other words, the linefeeds are ignored. Looking at the RFC for base 64 encoding, they say that lines should not be more than 76 characters but that "robust applications" may support longer lines. Does Rev, in general, support any sized strings for base 64 decoding? Thanks, doug From doug at webcrossing.com Mon Jan 26 00:06:31 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 26 Jan 2004 14:06:31 +0900 Subject: Question about icons Message-ID: Is there an easy way to use the icons in the Rev standard toolbar in my stacks. Is that acceptable practice? I notice, for example, that the id of the "line" icon is 200020. But it doesn't show up in the icon library. Do I need to import it or something? Thanks, doug From gcanyon at inspiredlogic.com Mon Jan 26 01:27:04 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun, 25 Jan 2004 22:27:04 -0800 Subject: ReportsPro [was] Hypercard to Rev Question In-Reply-To: <7118A0E9-4C57-11D8-8F9A-000A9580FCCE@backtalk.com> References: <7118A0E9-4C57-11D8-8F9A-000A9580FCCE@backtalk.com> Message-ID: Sorry I didn't see this sooner. For the record, I read the list and I sometimes qualify as "someone at RunRev" ;-) If he wants to email me, I'd be happy to offer any help I can. regards, Geoff Canyon gcanyon at inspiredlogic.com On Jan 21, 2004, at 1:19 PM, Frank Leahy wrote: > Does anyone from RunRev read this list? If so, I'm good friends with > the guy who bought the rights to Reports and ReportsPro and he would > LOVE to talk to someone at RunRev about making it work with > Revolution. Please reply directly to me and I'll pass on your info to > him. From gcanyon at inspiredlogic.com Mon Jan 26 01:42:58 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun, 25 Jan 2004 22:42:58 -0800 Subject: Keeping a field scroll at the bottom as lines come in In-Reply-To: <1955795391.20040125202548@liv.ac.uk> References: <1955795391.20040125202548@liv.ac.uk> Message-ID: I usually just pick an arbitrarily large number and set the scroll to that. 999999 works for most purposes. regards, Geoff Canyon gcanyon at inspiredlogic.com On Jan 25, 2004, at 12:25 PM, Rob Beynon wrote: > I am using an interactive mode to send a line of text to the end of a > field ('after') which is visible. Then, as the field fills, it doesn't > scroll to show the last line, it just moves the thumb upwards. > > I'd really like to see the last line entered, irrespective of the > length of the field. Can this be done? From kray at sonsothunder.com Mon Jan 26 01:59:48 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 26 Jan 2004 00:59:48 -0600 Subject: Deep Deep Trouble, need help. In-Reply-To: <9BB54EC4-4FA7-11D8-A52C-0003936D012E@mac.com> Message-ID: <018c01c3e3da$00621730$6601a8c0@LightningFlash> > sundenlly all my substacks are shouting that they are password > protected. I never password protected any stack, I didn't knew how to > do it... never typed "set the password of stack something to > something" never... and yet, I am receiving errors of that > kind... can > someone help? You say your substacks are saying they're protected... is the mainstack protected too? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From doug at webcrossing.com Mon Jan 26 02:02:08 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 26 Jan 2004 16:02:08 +0900 Subject: A cross-platform answer file? In-Reply-To: <078F6F3A-4E7F-11D8-99F2-000A27B49A96@major-k.de> Message-ID: On 1/25/04 12:07 AM, "Klaus Major" wrote: > Hi Doug > >> In the docs, the example of an answer file for web graphics is: >> >> answer file myPrompt with filter "Web Graphics,*.jpg;*.gif;*.png" > >> But... this doesn't work for OS X, which seems to require a >> concatenation of >> 4-character Mac types. >> >> What are the types in this case? JPEGGIFFPING? >> >> How would one make a cross-platform version of this answer file prompt? > > on mouseup > if the platform = "MacOS" then > put "JPEGGIFfPNGf" into filterlist > else ##for windows, no idea about *nix... > put "*.jpg;*.gif;*.png" into filterlist > end if > answer file myPrompt with filter filterlist > ## do your stuff here... > end mouseup > I notice this only works on OS X with files created on a Mac. Other JPEGs and GIFs don't have the write JPEG and GIFf thing set unless you open them up first and save them with a Mac app. Any workaround for that? doug From gcanyon at inspiredlogic.com Mon Jan 26 02:05:11 2004 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun, 25 Jan 2004 23:05:11 -0800 Subject: What is Rev doing? In-Reply-To: References: <015501c3e202$80489c00$6601a8c0@LightningFlash> Message-ID: I get anywhere from 3 to 6 percent on a PB G3 400. Not bad, but many other apps show 0%. FileMaker Pro 5.5, on the other hand, consistently registers 10% or higher. revScriptEdit is the message that allows you to option-command hover over any control and thereby edit the script of it. Canceling this message drops my usage to anywhere from 0% up to about 3%. How many people use this method for editing scripts? I used to a lot, but not so much anymore. Would it be as useful if it were something like command-option-space instead? regards, Geoff Canyon gcanyon at inspiredlogic.com On Jan 25, 2004, at 6:25 PM, Jerry Daniels wrote: > I believe revScriptEdit is a message that is sent by the Rev IDE so > that the IDE can check to see if you have depressed certain modifier > keys that will, in turn, bring up a script editor or a property > inspector. This involves cpu usage. From ambassador at fourthworld.com Mon Jan 26 02:12:11 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 25 Jan 2004 23:12:11 -0800 Subject: A cross-platform answer file? In-Reply-To: Message-ID: Doug Lerner wrote: >>> How would one make a cross-platform version of this answer file prompt? >> >> on mouseup >> if the platform = "MacOS" then >> put "JPEGGIFfPNGf" into filterlist >> else ##for windows, no idea about *nix... >> put "*.jpg;*.gif;*.png" into filterlist >> end if >> answer file myPrompt with filter filterlist >> ## do your stuff here... >> end mouseup > > I notice this only works on OS X with files created on a Mac. Other JPEGs > and GIFs don't have the write JPEG and GIFf thing set unless you open them > up first and save them with a Mac app. This is a deficiency in the design of OS X as regards backward compatibility with Finder metadata. For background on the topic: -- Richard Gaskin Fourth World Media Corporation Software Design and Development for Mac, Windows, Linux, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From xbury.cs at clearstream.com Mon Jan 26 02:15:22 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 26 Jan 2004 08:15:22 +0100 Subject: What is Rev doing? Message-ID: a simple click event like good old times would do... I use it all the time... But it's true RR is a hog on the cpu and it's way abnormal... Maybe the price to pay for speedy scripts... ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 Geoff Canyon Sent by: use-revolution-bounces at lists.runrev.com 26/01/04 08:05 Please respond to How to use Revolution To: How to use Revolution cc: Subject: Re: What is Rev doing? . I get anywhere from 3 to 6 percent on a PB G3 400. Not bad, but many other apps show 0%. FileMaker Pro 5.5, on the other hand, consistently registers 10% or higher. revScriptEdit is the message that allows you to option-command hover over any control and thereby edit the script of it. Canceling this message drops my usage to anywhere from 0% up to about 3%. How many people use this method for editing scripts? I used to a lot, but not so much anymore. Would it be as useful if it were something like command-option-space instead? regards, Geoff Canyon gcanyon at inspiredlogic.com On Jan 25, 2004, at 6:25 PM, Jerry Daniels wrote: > I believe revScriptEdit is a message that is sent by the Rev IDE so > that the IDE can check to see if you have depressed certain modifier > keys that will, in turn, bring up a script editor or a property > inspector. This involves cpu usage. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From chipp at chipp.com Mon Jan 26 02:10:54 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 26 Jan 2004 01:10:54 -0600 Subject: Chipp's alphatest revisited In-Reply-To: <2421D38E-4E7C-11D8-B189-003065CC999E@pi.be> Message-ID: Unfortunately, maskImage is only 1 bit deep, whereas alphadata is 8 bits. As such, it won't work with any of my existing image manipulation libraries... I pretty much need Tuviah to fix this (or post a work-around). > Hi, > > May be this can be a starter for a possible workaround (until the set > alphaData bug gets solved). > Compute a maskdata from the alphaData of the GoodAlpha image. > It is not perfect because it does not retain the cast shadow set by the > alphadata. > But the cast shadow can be simulated in other ways if it is only to be > used on OS X > > Set the script of the "set alphadata ->" button to: > > on mouseUp > put binaryEncode("C",0) into transparentPixel > ### fiddle with this value > put binaryEncode("C",100) into opaquePixel > put the imagedata of img "prep" into iData > put the alphaData of img "prep2" into aData > repeat for each char i in aData > if i > opaquePixel then > put opaquePixel after mData > else > put transparentPixel after mData > end if > end repeat > set the imagedata of img "prep" to iData > set the maskdata of img "prep" to mData > end mouseUp > > (be sure to do the 1 pixel trick or the export to png to retain the > image) > > Greetings, > WA > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Mon Jan 26 02:26:57 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 26 Jan 2004 01:26:57 -0600 Subject: What is Rev doing? In-Reply-To: Message-ID: <019301c3e3dd$cfd75860$6601a8c0@LightningFlash> > revScriptEdit is the message that allows you to option-command hover > over any control and thereby edit the script of it. Canceling this > message drops my usage to anywhere from 0% up to about 3%. > > How many people use this method for editing scripts? I used to a lot, > but not so much anymore. Would it be as useful if it were something > like command-option-space instead? How about command-option-click? That way you get the event and don't have to waste cycles "looking"... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From doug at webcrossing.com Mon Jan 26 02:46:23 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 26 Jan 2004 16:46:23 +0900 Subject: socket write limits? Message-ID: Are there limits on how many data can be sent in one write socket command? From opus.species at wanadoo.fr Mon Jan 26 02:57:18 2004 From: opus.species at wanadoo.fr (opus.species at wanadoo.fr) Date: Mon, 26 Jan 2004 08:57:18 +0100 Subject: Revolution and Windows : questions and answers In-Reply-To: <20040126064119.3C804930060@mail.runrev.com> References: <20040126064119.3C804930060@mail.runrev.com> Message-ID: QUESTION : HOW TO INSTALL FONTS IN REVOLUTION ? Few years ago xworld released the EXT.dll from Diskotek. This DLL has a command "loadfont" to install font in a stack. Apparently this dll is no more supported by Runrev. I gave a try and by me it works well with Revolution 212/Windows XP. Does anybody have a good or a bad experience of this dll with revolution ? It is reliable ? QUESTION : HOW TO DISPLAY VIDEO IN REVOLUTION/WINDOWS I asked this question few weeks ago and received no answer so i had to study that by myself. 1) Quicktime player : that's the basic solution when Quicktime is avalaible. But on lot of computers Quicktime is not avalaible and the end-user is not allowed to install it. 2) According to the rev doc, if Quicktime is not installed, it is possible to display AVI movies in the player. I tried but never successed. Was someone happier than me ? 3) MCISendString. Few years ago i shared on the metacard list a MPEG player for metacard based on MCISendString. This is old technology, but it still works. The MCISendString() function is still in Revolution and Microsoft released in 2003 a new documentation for MCI at the adress MSDN Home > MSDN Library > Windows Multimedia > MCI. 4) A good (the best ?) solution. Altuit released "altBrowser.dll" what allows to display a web page in Revolution/Windows. But a web page can embedd multimedia activeX. I tried to display html pages embedding Flash movies and it works very well. It means than it is possible to display digital video (encoded with flash), vector animation, panned sounds, full styled html text with tables, CSS, javascript... The big advantage is that Internet Explorer and Flash Player are on all Windows computer since Win98. Claude Lemmel From scott at tactilemedia.com Mon Jan 26 03:37:41 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 26 Jan 2004 00:37:41 -0800 Subject: What is Rev doing? In-Reply-To: Message-ID: >> How many people use this method for editing scripts? I used to a lot, >> but not so much anymore. Would it be as useful if it were something >> like command-option-space instead? > a simple click event like good old times would do... I don't know if there's already a key/click option to edit scripts in Rev, but at the risk of beating, flogging or otherwise maiming a dead horse, I place the following in the stack script of almost everything I do since I also work in MetaCard's IDE: on editScript? if the optionKey is "down" then edit script of the target exit to top end if end editScript? In each object whose script I need to access, I add "editScript?" at the top of a mouseUp or mouseDown handler. This way I can edit object scripts without switching to the pointer tool, even in palette/modal/etc windows. When I want to disable this method of editing, I simply comment out the handler's 4 lines in the stack script. Other folks have created tools that allow you to do the same (I believe Geoff Canyon's Navigator is one), but this is another option, FWIW... Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From mcdomi at free.fr Mon Jan 26 04:24:51 2004 From: mcdomi at free.fr (Dom) Date: Mon, 26 Jan 2004 10:24:51 +0100 Subject: What is Rev doing? In-Reply-To: Message-ID: <1g85yyq.1s4y8xh16nkpfvM%mcdomi@free.fr> Jerry Daniels wrote: > I believe revScriptEdit is a message that is sent by the Rev IDE so > that the IDE can check to see if you have depressed certain modifier > keys that will, in turn, bring up a script editor or a property > inspector. This involves cpu usage. I tried the trick me too... it is between 3% and 14%, raw 10%... I disabled the "opt-cmd" checkbox in Preferences: it drops down to 0% - 10 % raw 7%... Don't complain, though: I tried a funny thing named "Konfabulator" (a java engine for various applets) which eated up to 50% CPU time -- and eventually broked my 10.2.4 system ;-> (I had only to restart) -- Digital photos (nature, garden) : http://cooldomi.free.fr/ Scripting : http://domiscript.free.fr/ From klaus at major-k.de Mon Jan 26 05:39:32 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 26 Jan 2004 11:39:32 +0100 Subject: A cross-platform answer file? In-Reply-To: References: Message-ID: Hi Doug, >>> ... >>> How would one make a cross-platform version of this answer file >>> prompt? >> >> on mouseup >> if the platform = "MacOS" then >> put "JPEGGIFfPNGf" into filterlist >> else ##for windows, no idea about *nix... >> put "*.jpg;*.gif;*.png" into filterlist >> end if >> answer file myPrompt with filter filterlist >> ## do your stuff here... >> end mouseup > > I notice this only works on OS X with files created on a Mac. Other > JPEGs > and GIFs don't have the write JPEG and GIFf thing set unless you open > them > up first and save them with a Mac app. > > Any workaround for that? Not really, i work around this by letting the user choose ANY file, and check and tell AFTERWARDS if it is not a valid image-file or something... > doug Regards Klaus Major klaus at major-k.de www.major-k.de From jimlyons at earthlink.net Mon Jan 26 06:57:50 2004 From: jimlyons at earthlink.net (Jim Lyons) Date: Mon, 26 Jan 2004 06:57:50 -0500 Subject: geometry-challenged Message-ID: Jim Hurley wrote in part: > I'm not sure if this helps, but the function "intersection" below > will return the intersection of any two lines. > ... > > function intersection p1,p2,pp1,pp2 > ... > > return x & comma & y > end intersection Someone already pointed out that this function as written still allows one divide by zero case. But I noticed in this function, and in your Scripters Scrapbook, that you still use the old HC form of returning a point. There's probably not much difference execution-wise, but I like the elegant Transcript comma operator, which lets us just write return x,y Happy Transcripting, Jim Lyons From jimlyons at earthlink.net Mon Jan 26 07:16:36 2004 From: jimlyons at earthlink.net (Jim Lyons) Date: Mon, 26 Jan 2004 07:16:36 -0500 Subject: Transcript handling of OR and AND expressions Message-ID: <7C9DD51D-4FF9-11D8-BEAE-000A95893982@earthlink.net> The docs don't say AFAIK, but I always wondered, so just now I tested this. It's a good thing to know about sometimes. If the engine is working on a statement like: if switchA or switchB then doSomething and switchA evaluates to true, then switchB is not evaluated; this can be important if switchB is an expression that has side effects, or if it contains an expression that wouldn't be valid if switchA is true. For example, if x1= x2 or (y1-y2)/(x1-x2)=z then doSomething Similarly, if you have: if switchA and switchB then doSomething and switchA evaluates to false, then switchB will not be evaluated. Hope this is helpful to someone. Jim Lyons From frank at backtalk.com Mon Jan 26 07:33:33 2004 From: frank at backtalk.com (Frank Leahy) Date: Mon, 26 Jan 2004 12:33:33 +0000 Subject: Aligning text and an image Message-ID: Hi, I have a photo album list, and I've successfully place a mini-thumbnail to the left of each album name (using imageSource). The problem is that the text is aligned to the bottom of the image. Is there a way to align the image (up/down), or the text (also up/down), or preferably both? Thanks in advance, -- Frank Leahy From doug at webcrossing.com Mon Jan 26 08:04:51 2004 From: doug at webcrossing.com (Doug Lerner) Date: Mon, 26 Jan 2004 22:04:51 +0900 Subject: A cross-platform answer file? In-Reply-To: Message-ID: On 1/26/04 7:39 PM, "Klaus Major" wrote: > Hi Doug, > >>>> ... >>>> How would one make a cross-platform version of this answer file >>>> prompt? >>> >>> on mouseup >>> if the platform = "MacOS" then >>> put "JPEGGIFfPNGf" into filterlist >>> else ##for windows, no idea about *nix... >>> put "*.jpg;*.gif;*.png" into filterlist >>> end if >>> answer file myPrompt with filter filterlist >>> ## do your stuff here... >>> end mouseup >> >> I notice this only works on OS X with files created on a Mac. Other >> JPEGs >> and GIFs don't have the write JPEG and GIFf thing set unless you open >> them >> up first and save them with a Mac app. >> >> Any workaround for that? > > Not really, i work around this by letting the user choose ANY file, and > check and tell > AFTERWARDS if it is not a valid image-file or something... I was thinking I might have to do that. Thanks. I wonder why Rev can't allow extension-like filters for OS X though... doug From jhurley at infostations.com Mon Jan 26 08:38:59 2004 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 26 Jan 2004 05:38:59 -0800 Subject: geometry-challenged In-Reply-To: <20040126064118.AAC8D93005F@mail.runrev.com> References: <20040126064118.AAC8D93005F@mail.runrev.com> Message-ID: > >Message: 4 >Date: Sun, 25 Jan 2004 19:22:13 -0500 >From: Cubist at aol.com >Subject: Re: geometry-challenged >To: use-revolution at lists.runrev.com >Message-ID: <0CB9F376.1DEE8A5F.00048C52 at aol.com> >Content-Type: text/plain; charset=iso-8859-1 > >sez jhurley at infostations.com: >> I'm not sure if this helps, but the function "intersection" below >> will return the intersection of any two lines. > I tried the function on two *non*-intersecting lines, and it gave >me a "divide by zero" error. Not good. You need to find the >mathematical intersection of the infinite lines defined by the two >pairs of endpoints, and *then* decide whether or not that >intersection point is within *both* of the line *segments* defined >by said points. > >------------------------------ > >Message: 5 >Date: Sun, 25 Jan 2004 20:02:21 -0500 >From: Brian Yennie >Subject: Re: geometry-challenged >To: How to use Revolution >Message-ID: <4B60F08C-4F9B-11D8-AA23-000393AA08D2 at qldlearning.com> >Content-Type: text/plain; charset=US-ASCII; format=flowed > >For the problem at hand, it should suffice to add a little if-logic to >the beginning. > >A line between two non-overlapping objects will always intersect >exactly one of the sides of each object- you just have to pick the >right one and _then_ use the intersection function. > >With that said, an intersection function should probably error >gracefully for parallel lines (i.e. non-intersecting). > >- Brian The function should yield the point of intersection of the two infinite lines defined by the line segments. It may or may not lie within the end points of either line segment. Could you send me the points which gave you the error message.? (Notice that the values returned are not rounded. I you want to insert them as graphic points you may want to return round(x) & comma & round(y).) Thanks, Jim. P.S. The following function helps to deal with the problem of parallel lines. function intersection p1,p2,pp1,pp2 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 pp1 into xp1 put item 2 of pp1 into yp1 put item 1 of pp2 into xp2 put item 2 of pp2 into yp2 if x1 = x2 or xp1 = xp2 then if x1 = x2 then return x1&comma&yp2 + (x1-xp2)*(yp2-yp1)/(xp2-xp1) else return xp2&comma& y2 + (xp1-x2)*(y2-y1)/(x2-x1) end if end if if (y2-y1)/(x2-x1) = (yp2-yp1)/(xp2-xp1) then add .0000001 to y2--if lines are parallel -- This produces a VERY large x or y coordinate. Parallel for all practical purposes. put yp2 - y2 + x2*(y2-y1)/(x2 - x1) - xp2*(yp2 - yp1)/(xp2 - xp1) into numerator put ((y2 - y1)/(x2 - x1) -(yp2 - yp1)/(xp2-xp1)) into denom put numerator / denom into x put y2 + (x-x2) *(y2-y1)/(x2-x1) into y return x & comma & y end intersection From 3mcgrath at adelphia.net Mon Jan 26 09:26:31 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 26 Jan 2004 09:26:31 -0500 Subject: What is Rev doing? In-Reply-To: <019301c3e3dd$cfd75860$6601a8c0@LightningFlash> References: <019301c3e3dd$cfd75860$6601a8c0@LightningFlash> Message-ID: I agree 100% Since command option Hover does not always work anyway, I tend to not trust it and am slipping from using it. But a command option click would be both logical and would probably work all the time because of the click event. I noticed someone on the list put an editScript or something in every object that had scripts in it. I have started to use the same approach since the hover is not that reliable. Tom On Jan 26, 2004, at 2:26 AM, Ken Ray wrote: >> revScriptEdit is the message that allows you to option-command hover >> over any control and thereby edit the script of it. Canceling this >> message drops my usage to anywhere from 0% up to about 3%. >> >> How many people use this method for editing scripts? I used to a lot, >> but not so much anymore. Would it be as useful if it were something >> like command-option-space instead? > > How about command-option-click? That way you get the event and don't > have to waste cycles "looking"... > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From bvlahos at mac.com Mon Jan 26 10:16:02 2004 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 26 Jan 2004 07:16:02 -0800 Subject: What is Rev doing? In-Reply-To: References: <015501c3e202$80489c00$6601a8c0@LightningFlash> Message-ID: <8DC657DC-5012-11D8-A3A3-0003936A2C42@mac.com> Yes. The hover method is unreliable anyway. Bill Vlahos On Jan 25, 2004, at 11:05 PM, Geoff Canyon wrote: > How many people use this method for editing scripts? I used to a lot, > but not so much anymore. Would it be as useful if it were something > like command-option-space instead? From mato.kola at wanblizaptan.com Mon Jan 26 10:36:50 2004 From: mato.kola at wanblizaptan.com (Jerry Daniels) Date: Mon, 26 Jan 2004 09:36:50 -0600 Subject: What is Rev doing? In-Reply-To: References: <015501c3e202$80489c00$6601a8c0@LightningFlash> Message-ID: <75790AD1-5015-11D8-B92B-000A95B300EC@wanblizaptan.com> I use this method a bunch, but I have written my own version of it to be used with Script Gadget, a plugin. I have actually expanded scope a bit, also. I made it so I can turn it on and off. So I like it and use it. It doesn't seem to interfere with development unless I get more than 500 objects on a card. If you decide to get rid of this "feature", then I can offer my plugin to those who still want to "hover" with mod keys in order to inspect props or scripts. This certainly wouldn't hurt MY feelings . Best, Jerry On Jan 26, 2004, at 1:05 AM, Geoff Canyon wrote: > I get anywhere from 3 to 6 percent on a PB G3 400. Not bad, but many > other apps show 0%. FileMaker Pro 5.5, on the other hand, consistently > registers 10% or higher. > > revScriptEdit is the message that allows you to option-command hover > over any control and thereby edit the script of it. Canceling this > message drops my usage to anywhere from 0% up to about 3%. > > How many people use this method for editing scripts? I used to a lot, > but not so much anymore. Would it be as useful if it were something > like command-option-space instead? > > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com > > On Jan 25, 2004, at 6:25 PM, Jerry Daniels wrote: > >> I believe revScriptEdit is a message that is sent by the Rev IDE so >> that the IDE can check to see if you have depressed certain modifier >> keys that will, in turn, bring up a script editor or a property >> inspector. This involves cpu usage. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mato.kola at wanblizaptan.com Mon Jan 26 10:41:11 2004 From: mato.kola at wanblizaptan.com (Jerry Daniels) Date: Mon, 26 Jan 2004 09:41:11 -0600 Subject: What is Rev doing? In-Reply-To: <8DC657DC-5012-11D8-A3A3-0003936A2C42@mac.com> References: <015501c3e202$80489c00$6601a8c0@LightningFlash> <8DC657DC-5012-11D8-A3A3-0003936A2C42@mac.com> Message-ID: <11316154-5016-11D8-B92B-000A95B300EC@wanblizaptan.com> With the way I'm doing Script Gadget and the "hover" mechanism, I have no reliability problems, so, again, if people want to hover to edit, I can provide a means of doing this with no reliability issues and with an ON/OFF switch. -JD On Jan 26, 2004, at 9:16 AM, Bill Vlahos wrote: > Yes. The hover method is unreliable anyway. > > Bill Vlahos > > On Jan 25, 2004, at 11:05 PM, Geoff Canyon wrote: > >> How many people use this method for editing scripts? I used to a lot, >> but not so much anymore. Would it be as useful if it were something >> like command-option-space instead? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kevin at runrev.com Mon Jan 26 12:02:22 2004 From: kevin at runrev.com (Kevin Miller) Date: Mon, 26 Jan 2004 17:02:22 +0000 Subject: Graphic artist needed Message-ID: Hi Everyone, Is there anyone here who would be interested in doing a small amount of graphic design work for us? We need someone with immediate availability who can do some illustration and who is also familiar with designing computer software. If you are interested, please contact mjhill at runrev.com directly, with details of your rates, availability and past projects / portfolio. Thanks, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From pevensen at siboneylg.com Mon Jan 26 11:59:35 2004 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 26 Jan 2004 10:59:35 -0600 Subject: moveStopped? Message-ID: <6.0.1.1.2.20040126105546.01c9e140@SLG_PDC> There must be something simple I'm overlooking. I have the following in an object's script: on mouseUp move me to 300, 400 in 10 sec end mouseUp on moveStopped beep set the loc of me to 10, 10 end moveStopped moveStopped is never sent to the object. I've tried this with a group and with a circle graphic. No beep. I even put a breakpoint in the on moveStopped, it never breaks. Is there something I'm doing wrong? I have tried specifying the object by name in the move, instead of saying "me" but that didn't work either. Peter T. Evensen http://www.PetersRoadToHealth.com From ambassador at fourthworld.com Mon Jan 26 12:11:13 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 26 Jan 2004 09:11:13 -0800 Subject: What is Rev doing? In-Reply-To: Message-ID: On Jan 26, 2004, at 2:26 AM, Ken Ray wrote: > >> revScriptEdit is the message that allows you to option-command hover >> over any control and thereby edit the script of it. Canceling this >> message drops my usage to anywhere from 0% up to about 3%. >> >> How many people use this method for editing scripts? I used to a lot, >> but not so much anymore. Would it be as useful if it were something >> like command-option-space instead? > > How about command-option-click? That way you get the event and don't > have to waste cycles "looking"... Curious: doesn't HyperCard require a Command-Option-Click? I think the only other IDE that uses hover is SuperCard. I wonder why the decision was made to honor SC's more resource-intensive method over HC's event-driven one.... Yes, I'd cast my vote for the more popular of the two. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Jan 26 12:12:17 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 26 Jan 2004 09:12:17 -0800 Subject: A cross-platform answer file? In-Reply-To: Message-ID: Doug Lerner wrote: > I wonder why Rev can't allow extension-like filters for OS X though... It seems my message from yesterday may not have gotten through: ---------------- This is a deficiency in the design of OS X as regards backward compatibility with Finder metadata. For background on the topic: ---------------- -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mato.kola at wanblizaptan.com Mon Jan 26 12:19:03 2004 From: mato.kola at wanblizaptan.com (Jerry Daniels) Date: Mon, 26 Jan 2004 11:19:03 -0600 Subject: What is Rev doing? In-Reply-To: <019301c3e3dd$cfd75860$6601a8c0@LightningFlash> References: <019301c3e3dd$cfd75860$6601a8c0@LightningFlash> Message-ID: Lotsa folks probably use the command-option click in their apps. I prefer to hover, myself. That way there's no conflict. How does everyone else feel about it? -JD On Jan 26, 2004, at 1:26 AM, Ken Ray wrote: >> revScriptEdit is the message that allows you to option-command hover >> over any control and thereby edit the script of it. Canceling this >> message drops my usage to anywhere from 0% up to about 3%. >> >> How many people use this method for editing scripts? I used to a lot, >> but not so much anymore. Would it be as useful if it were something >> like command-option-space instead? > > How about command-option-click? That way you get the event and don't > have to waste cycles "looking"... > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dcragg at lacscentre.co.uk Mon Jan 26 12:21:46 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 26 Jan 2004 17:21:46 +0000 Subject: moveStopped? In-Reply-To: <6.0.1.1.2.20040126105546.01c9e140@SLG_PDC> References: <6.0.1.1.2.20040126105546.01c9e140@SLG_PDC> Message-ID: At 10:59 am -0600 26/1/04, Peter T. Evensen wrote: >There must be something simple I'm overlooking. I have the >following in an object's script: > >on mouseUp > move me to 300, 400 in 10 sec >end mouseUp > >on moveStopped > beep > set the loc of me to 10, 10 >end moveStopped > >moveStopped is never sent to the object. I've tried this with a >group and with a circle graphic. No beep. I even put a breakpoint >in the on moveStopped, it never breaks. Try this: on mouseUp move me to 300, 400 in 10 sec without waiting end mouseUp on moveStopped beep set the loc of me to 10, 10 end moveStopped or this: on mouseUp move me to 300, 400 in 10 sec beep set the loc of me to 10, 10 end mouseUp The moveStopped message is only sent when "without waiting" is used. The dictionary entry under moveStopped doesn't make this clear, but it's decribed under the "move" entry. Which to use depends largely on whether you want the script to continue while the move is taking place. Cheers Dave From bvlahos at mac.com Mon Jan 26 12:22:46 2004 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 26 Jan 2004 09:22:46 -0800 Subject: Keeping a field scroll at the bottom as lines come in In-Reply-To: References: <1955795391.20040125202548@liv.ac.uk> Message-ID: <41EFDAA7-5024-11D8-9395-000393C44AE0@mac.com> This should always work even if the field is very full. set the vScroll of field "Field Name" to the formattedHeight of field "Field Name" Bill Vlahos On Jan 25, 2004, at 10:42 PM, Geoff Canyon wrote: > I usually just pick an arbitrarily large number and set the scroll to > that. 999999 works for most purposes. > > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com > > On Jan 25, 2004, at 12:25 PM, Rob Beynon wrote: > >> I am using an interactive mode to send a line of text to the end of a >> field ('after') which is visible. Then, as the field fills, it doesn't >> scroll to show the last line, it just moves the thumb upwards. >> >> I'd really like to see the last line entered, irrespective of the >> length of the field. Can this be done? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Mon Jan 26 12:30:23 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 26 Jan 2004 09:30:23 -0800 Subject: Transcript handling of OR and AND expressions In-Reply-To: <7C9DD51D-4FF9-11D8-BEAE-000A95893982@earthlink.net> References: <7C9DD51D-4FF9-11D8-BEAE-000A95893982@earthlink.net> Message-ID: <176997033.20040126093023@ahsoftware.net> Jim- Monday, January 26, 2004, 4:16:36 AM, you wrote: JL> The docs don't say AFAIK, but I always wondered, so just now I tested JL> this. It's a good thing to know about sometimes. Well, it is indeed good to know about, but I'd be *very* wary about relying on behavior that isn't documented. You run a good chance of your code breaking for no apparent reason in a future rev release. OTOH, I *like* this behavior a lot, and it would be good to get a ruling from runrev on whether this is by design (and therefore destined to be in the docs). -- -Mark Wieder mwieder at ahsoftware.net From jhurley at infostations.com Mon Jan 26 12:47:46 2004 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 26 Jan 2004 09:47:46 -0800 Subject: geometry-challenged In-Reply-To: <20040126170015.03F5D930066@mail.runrev.com> References: <20040126170015.03F5D930066@mail.runrev.com> Message-ID: >-- > >Message: 2 >Date: Mon, 26 Jan 2004 06:57:50 -0500 >From: Jim Lyons >Subject: Re: geometry-challenged >To: use-revolution at lists.runrev.com >Message-ID: >Content-Type: text/plain; charset=US-ASCII; format=flowed > >Jim Hurley wrote in part: > >> I'm not sure if this helps, but the function "intersection" below >> will return the intersection of any two lines. >> ... >> >> function intersection p1,p2,pp1,pp2 >> ... >> >> return x & comma & y >> end intersection > >Someone already pointed out that this function as written still allows >one divide by zero case. Jim Check. I think the following handler takes care of the infinity. One practical way to deal with the parallel lines case is to make them converge to a point at a very great distance--see below. Or, of course, you could return a "Lines parallel" message. function intersection p1,p2,pp1,pp2 get the paramcount if it is 1 then put item 4 of p1 into pp2 put item 3 of p1 into pp1 put item 2 of p1 into p2 put item 1 of p1 into p1 end if 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 pp1 into xp1 put item 2 of pp1 into yp1 put item 1 of pp2 into xp2 put item 2 of pp2 into yp2 --Check if the lines are parallel and deal with it somehow if (y2-y1)*(xp2-xp1) = (yp2-yp1)*(x2-x1) then add .0000001 to x2 if x1 = x2 or xp1 = xp2 then if x2 = x1 then return x1&comma&yp2 + (x1-xp2)*(yp2-yp1)/(xp2-xp1) else return xp2&comma& y2 + (xp1-x2)*(y2-y1)/(x2-x1) end if end if put yp2 - y2 + x2*(y2-y1)/(x2 - x1) - xp2*(yp2 - yp1)/(xp2 - xp1) into numerator put ((y2 - y1)/(x2 - x1) -(yp2 - yp1)/(xp2-xp1)) into denom put numerator / denom into x put y2 + (x-x2) *(y2-y1)/(x2-x1) into y return x & comma & y end intersection Jim From FlexibleLearning at aol.com Mon Jan 26 12:47:36 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon, 26 Jan 2004 12:47:36 EST Subject: geometry-challenged & Scripters Scrapbook Message-ID: <12e.3a3af749.2d46acb8@aol.com> >Someone already pointed out that this function as written still allows >one divide by zero case. But I noticed in this function, and in your >Scripters Scrapbook, that you still use the old HC form of returning a >point. Just for the record, the Scripters Scrapbook is from flexibleLearning.com... The content is your own. And not to pre-empt anything, but the next version is due out with facilities for links to people, places and resources, as well as multi-platform, -language and -classification searching, colorization, memos, embedded file attachments and plugins. So... if you use the Scripters Scrapbook and have any requests, now might be a good time to let ssBk at FlexibleLearning.com know! /H From dsc at swcp.com Mon Jan 26 12:51:31 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 26 Jan 2004 10:51:31 -0700 Subject: geometry-challenged In-Reply-To: Message-ID: <4623A6CE-5028-11D8-9F95-000A9567A3E6@swcp.com> On Monday, January 26, 2004, at 10:47 AM, Jim Hurley wrote: > One practical way to deal with the parallel lines case is to make them > converge to a point at a very great distance--see below. Or, of > course, you could return a "Lines parallel" message. In the original problem, testing whether two line _segments_ intersect would be handy. Getting the intersection point along the way could be a byproduct of such a function. Dar Scott From ambassador at fourthworld.com Mon Jan 26 12:58:23 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 26 Jan 2004 09:58:23 -0800 Subject: What is Rev doing? In-Reply-To: Message-ID: Jerry Daniels wrote: > Lotsa folks probably use the command-option click in their apps. That's a lot of keys for any app aimed at the general public. I wonder how many folks use that, and if there might be a more user-friendly alternative for those apps? > I prefer to hover, myself. That way there's no conflict. A well-crafted frontscript could avoid conflict by checking the environment, and of course always passing the mousedown system message. Much of the Rev IDE lives in backscripts instead of frontscripts, making messages like selectedObjectChanged dependent on the dilligent goodwill of all scripts ahead of them. Messages the IDE needs could be moved to a frontscript, and the Suspend IDE feature would allow the relatively small subset of users who need Command-Option-Click to test that shortcut. Actions triggered by such a combination are likely shortcuts to functionality also available through a visual elememnt (menu or button), so it wouldn't seriously hamper testing for the relative few who need it. And as a preference it's even better, so folks could use the SC method or the HC method as they like. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Jan 26 13:02:57 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 26 Jan 2004 10:02:57 -0800 Subject: Transcript handling of OR and AND expressions In-Reply-To: <176997033.20040126093023@ahsoftware.net> Message-ID: Mark Wieder wrote: > Monday, January 26, 2004, 4:16:36 AM, you wrote: > > JL> The docs don't say AFAIK, but I always wondered, so just now I tested > JL> this. It's a good thing to know about sometimes. > > Well, it is indeed good to know about, but I'd be *very* wary about > relying on behavior that isn't documented. You run a good chance of > your code breaking for no apparent reason in a future rev release. > > OTOH, I *like* this behavior a lot, and it would be good to get a > ruling from runrev on whether this is by design (and therefore > destined to be in the docs). According to Dr. Raney himself in a discussion on the MetaCard list some years ago, this is a feature. He noted the efficiency it affords, since you can often do only one evaluation and rule out the need for the others. FWIW, his documentation doesn't mention it either. :) Jeanne usually does a great job of expanding discussion of tokens beyond the old MC docs, but after 3,000+ pages on everything else it seems this one is merely on par. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pevensen at siboneylg.com Mon Jan 26 13:35:16 2004 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 26 Jan 2004 12:35:16 -0600 Subject: moveStopped? In-Reply-To: References: <6.0.1.1.2.20040126105546.01c9e140@SLG_PDC> Message-ID: <6.0.1.1.2.20040126123352.01ca2d30@SLG_PDC> Thanks! That was it! I knew it must have been something simple. I guess I assumed with the "in 10 sec" it automatically did a "without waiting". You are correct, the documentation on moveStopped isn't clear on that point, and somehow I missed that point under move, or forgot it. Thanks! At 11:21 AM 1/26/2004, you wrote: >At 10:59 am -0600 26/1/04, Peter T. Evensen wrote: >>There must be something simple I'm overlooking. I have the >>following in an object's script: >> >>on mouseUp >> move me to 300, 400 in 10 sec >>end mouseUp >> >>on moveStopped >> beep >> set the loc of me to 10, 10 >>end moveStopped >> >>moveStopped is never sent to the object. I've tried this with a >>group and with a circle graphic. No beep. I even put a breakpoint >>in the on moveStopped, it never breaks. > >Try this: > >on mouseUp > move me to 300, 400 in 10 sec without waiting >end mouseUp > >on moveStopped > beep > set the loc of me to 10, 10 >end moveStopped > >or this: > >on mouseUp > move me to 300, 400 in 10 sec > beep > set the loc of me to 10, 10 >end mouseUp > >The moveStopped message is only sent when "without waiting" is used. The >dictionary entry under moveStopped doesn't make this clear, but it's >decribed under the "move" entry. > >Which to use depends largely on whether you want the script to continue >while the move is taking place. > >Cheers >Dave > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com From lists at mangomultimedia.com Mon Jan 26 13:47:19 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 26 Jan 2004 11:47:19 -0700 Subject: geometry-challenged In-Reply-To: <4623A6CE-5028-11D8-9F95-000A9567A3E6@swcp.com> References: <4623A6CE-5028-11D8-9F95-000A9567A3E6@swcp.com> Message-ID: <120A93A8-5030-11D8-85AA-000A956C462A@mangomultimedia.com> On Jan 26, 2004, at 10:51 AM, Dar Scott wrote: > > On Monday, January 26, 2004, at 10:47 AM, Jim Hurley wrote: > >> One practical way to deal with the parallel lines case is to make >> them converge to a point at a very great distance--see below. Or, of >> course, you could return a "Lines parallel" message. > > In the original problem, testing whether two line _segments_ intersect > would be handy. Getting the intersection point along the way could be > a byproduct of such a function. I played around with this a bit yesterday after Dar mentioned that part of the first handler I sent looked fishy and seeing Jim's example. It was since the intersect points were not correct with some button shapes. This function will check if two lines intersect and return the x,y coordinates if they do. If not it returns empty. I *think* it covers all divide by zero errors which could occur. The possible errors I thought of were 1) both lines are vertical, 2) both lines are horizontal or 3) one line is vertical/horizontal. I used an if statement to catch cases 1 and 2 and the try/catch approach to catch for the 3rd case. Just another version for people to play with. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com function libPlot_IntersectAtPoint p1Start, p1End, p2Start, p2End local x1, y1, x2, y2 local xx1, yy1, xx2, yy2 local m1, m2, b1, b2 local intersectX, intersectY local theIntersect put item 1 of p1Start into x1 put item 2 of p1Start into y1 put item 1 of p1End into x2 put item 2 of p1End into y2 put item 1 of p2Start into xx1 put item 2 of p2Start into yy1 put item 1 of p2End into xx2 put item 2 of p2End into yy2 ## Check for two parallel or two vertical lines if ((x1= x2 AND xx1 = xx2) OR (y1 = y2 AND yy1 = yy2)) then return empty ## Calculate slope for line 1 try put (y2-y1) / (x2-x1) into m1 ## solve for intercept b = y - mx put y1 - (m1*x1) into b1 catch tError ## Vertical line return x1, round( yy2 + (x1-xx2) *(yy2-yy1)/(xx2-xx1) ) end try ## Calculate slope for line 2 try put (yy2-yy1) / (xx2-xx1) into m2 put yy1 - (m2*xx1) into b2 catch tError return xx2, round( y2 + (xx1-x2) *(y2-y1)/(x2-x1) ) end try ## If slopes match then lines are parallel if (m1 = m2) then return empty ## solve for y = (b1 * m2 - b2 * m1) / (m2 - m1) put round( ((b1 * m2) - (b2 * m1)) / (m2 - m1) ) into intersectY ## solve for x put round( (intersectY - b2) / m2 ) into intersectX return intersectX, intersectY end libPlot_IntersectAtPoint From rcs at rcsprogramming.com Fri Jan 16 07:39:21 2004 From: rcs at rcsprogramming.com (RCS) Date: Fri, 16 Jan 2004 04:39:21 -0800 Subject: MC-REV Event similar to AppleEvent? References: <20040115170005.626DB9303EE@mail.runrev.com> Message-ID: <000b01c3dc2d$c5934d30$7c01000a@rcsserver> Is there a master 'Event' that we can use to tell what handler is being called (similar to the 'AppleEvent')? Rather than trapping 20 (or more) handlers in my window for events passed to it, I would like to 'discern' from a generic handler what message is being sent...and any data that was involved. Thanks, John From themacguy at themacguy.info Mon Jan 19 15:09:56 2004 From: themacguy at themacguy.info (Barry Levine) Date: Mon, 19 Jan 2004 13:09:56 -0700 Subject: Burning a disc of files Message-ID: <73A18A2A-4ABB-11D8-98EC-000A95763ABC@themacguy.info> I've searched through my archive of messages but didn't find anything specific about the following: Given a list of files that a user specifies in my Rev app, how can I burn them to a CD? The answers "use applescript" "call Terminal code" is not adequate. If someone can point me to the specific script (a URL, perhaps?) and the Transcript syntax, -that- would be an answer. This is an old topic that really has never been properly addressed. I spoke with Tuviah and Frederic at MacExpo about this. If we expect folks to "sign on" with Revolution, there needs to be an easily utilized plugin or, perhaps, a sample stack that does it -and- shows the specifics in the Transcript code. Furthermore, the entire process (from the developer's standpoint) needs to be done in Transcript. Something like this: on mouseUp -- do whatever Transcript is necessary to gather the list of files into myFileListVar. -- do whatever Transcript error-checking is necessary to verify -- the size is under 690MB. burn myFileListVar -- the above line of code does whatever is necessary to call the -- AppleScript or Terminal code that is in the plugin or stack. end mouseUp Obviously, the "gather the list" and "error-check the total size" is easily accomplished directly in Transcript. It's the "burn myFileListVar" line that Transcript needs. If you want to get fancy, you could add "as HFS+" or "as ISO". Personally, I'd love to see an example stack with radio buttons for CD format, a button with Transcript code to fill a field with filepaths and sizes and, in the stack script, the syntax for taking this info and accomplishing the burn. If Applescript is the best external method, then so be it. Provide the Applescript along with the example stack. Once this is done, ANY Rev developer may include disc burning in his/her app and there's one less thing that Rev CAN'T do. TIA, Barry From dsc at swcp.com Mon Jan 26 14:37:57 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 26 Jan 2004 12:37:57 -0700 Subject: missing mail Message-ID: <24B408D6-5037-11D8-9F95-000A9567A3E6@swcp.com> Lately, I have been missing about a third of my use-revolution mail with no known pattern. I checked by mail sorting and server-side spam filter and I do not see the missing mail. Has anybody else been seeing this? Dar Scott From b.xavier at internet.lu Mon Jan 26 15:03:42 2004 From: b.xavier at internet.lu (MisterX) Date: Mon, 26 Jan 2004 21:03:42 +0100 Subject: Known feature? In-Reply-To: <11316154-5016-11D8-B92B-000A95B300EC@wanblizaptan.com> Message-ID: once upon a time in a field... Has anyone noticed that field with foreground color set to green (select the field, set its color to green via text menu) doesn't give you the same hilite color as selected text set to color green (Select the text and set it green via text menu) I've tried playing with the fields' hilite and foreground colors but was fruityless to get a same consistent results... Anyone solved this or should I file a bugz? Xavier -- http://Monsieurx.com Only for those with optimized fun in mind -- From b.xavier at internet.lu Mon Jan 26 15:03:43 2004 From: b.xavier at internet.lu (MisterX) Date: Mon, 26 Jan 2004 21:03:43 +0100 Subject: Execution Context In-Reply-To: <11316154-5016-11D8-B92B-000A95B300EC@wanblizaptan.com> Message-ID: Hi everyone, In my joyous mood to set the best possible quality in the next Script Editor X. My personal full featured editor template (of many to come). Lately we talked about filtering the variables (GUI already impletented!) in the Var. Watcher. In MC the variable watcher has a companion stack called the "Execution Context". This stack was integrated into the GUI of RR's Variable Watcher. I've done the integration as well in my VWx for MC but before attacking the RR integration, I wanted to elucidate the mistery of execution contexts. I've searched both documentations but there is NO entry regarding it... Anyone have tips to on what it's suppose to do or how use it? TIA... -- "Computer was a bad name for it. It might just as well have been called an Oogabooga Box. That way, at least, we could get the fear out in the open and laugh at it." - Ted Nelson From gizmotron at earthlink.net Mon Jan 26 15:14:09 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon, 26 Jan 2004 12:14:09 -0800 Subject: missing mail In-Reply-To: <24B408D6-5037-11D8-9F95-000A9567A3E6@swcp.com> Message-ID: <33599887-503C-11D8-B1D3-000A95859272@earthlink.net> On Monday, January 26, 2004, at 11:37 AM, Dar Scott wrote: > Lately, I have been missing about a third of my use-revolution mail > with no known pattern. I checked by mail sorting and server-side spam > filter and I do not see the missing mail. > > Has anybody else been seeing this? > > Dar Scott Have you tried following any threads by doing a search at http://mindlube.com/cgi-bin/search-use-rev.cgi Perhaps you can verify missing messages turning up there. Sometime I wonder if all the mail goes through. Mark From rjb at rz.uni-potsdam.de Mon Jan 26 15:23:06 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon, 26 Jan 2004 21:23:06 +0100 Subject: What is Rev doing? Message-ID: > >And as a preference it's even better, so folks could use the SC method or >the HC method as they like. > >-- > Richard Gaskin > Fourth World Media Corporation I second that. I doubt that we can reach a clear consensus and having both to choose either approach will make both the ex-hypercarders and ex-supercarders happy. And as Richard's analysis proves, having both is not that complicated. Personally, I never got into hovering. Robert From rjb at rz.uni-potsdam.de Mon Jan 26 15:23:04 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon, 26 Jan 2004 21:23:04 +0100 Subject: A cross-platform answer file? In-Reply-To: References: Message-ID: Doug Lerner wrote: > I wonder why Rev can't allow extension-like filters for OS X though... It seems that this is a recognized bug (see bug 605 in Bugzilla) but it is marked for resolution later, whatever that means. May be because it has only 6 votes. I like the proposed there and/or syntax for filters/types. Robert From ambassador at fourthworld.com Mon Jan 26 15:51:55 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 26 Jan 2004 12:51:55 -0800 Subject: A cross-platform answer file? In-Reply-To: Message-ID: Robert Brenstein wrote: > Doug Lerner wrote: > >> I wonder why Rev can't allow extension-like filters for OS X though... > > > It seems that this is a recognized bug (see bug 605 in Bugzilla) but > it is marked for resolution later, whatever that means. May be > because it has only 6 votes. I like the proposed there and/or syntax > for filters/types. Tuviah's willingness to compensate for Apple's shortcomings is commendable, but I can't help but wonder how many thousands of programmer hours worldwide would be saved if Apple addressed the issue at the source. OS X bundles contain all the info Apple would need to allow the SFGet dialog calls to automatically filter by file name extension as well as the older Finder file type code. Apple's recommended solution is for every programmer to write a custom filter proc when calling the Nav Services GetFile dialog. To handle all possible combinations, Tuviah's task is to create a universal filter proc which does this on the fly. My question is: If Apple expects Tuviah to do this, why can't we expect Apple to do it? I'd much rather see Tuviah and all other Mac developers spend their time making cool features that really show off what OS X has to offer rather than spending time reinventing forgotten wheels. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rjb at rz.uni-potsdam.de Mon Jan 26 15:48:48 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon, 26 Jan 2004 21:48:48 +0100 Subject: missing mail In-Reply-To: <24B408D6-5037-11D8-9F95-000A9567A3E6@swcp.com> References: <24B408D6-5037-11D8-9F95-000A9567A3E6@swcp.com> Message-ID: >Lately, I have been missing about a third of my use-revolution mail >with no known pattern. I checked by mail sorting and server-side >spam filter and I do not see the missing mail. > >Has anybody else been seeing this? > >Dar Scott > If you are referring to your posts to the list, you might not have noticed that the listmaster changed the list behavior and by the default the reply goes only to the poster not to the list now (for a while it was set to go to both). One must to explicitely address a reply to the list to see it there. Robert Brenstein From jacque at hyperactivesw.com Mon Jan 26 15:57:09 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 26 Jan 2004 14:57:09 -0600 Subject: missing mail In-Reply-To: References: <24B408D6-5037-11D8-9F95-000A9567A3E6@swcp.com> Message-ID: <40157F25.7060106@hyperactivesw.com> On 1/26/04 2:48 PM, Robert Brenstein wrote: > If you are referring to your posts to the list, you might not have > noticed that the listmaster changed the list behavior and by the default > the reply goes only to the poster not to the list now (for a while it > was set to go to both). One must to explicitely address a reply to the > list to see it there. I don't get this behavior. I just now hit "reply" and it was addressed to the entire list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From erik.lips at zonnet.nl Mon Jan 26 16:00:12 2004 From: erik.lips at zonnet.nl (Erik Lips) Date: Mon, 26 Jan 2004 22:00:12 +0100 Subject: set BottomLeft coords do not coincide with property inspector's coords Message-ID: <5.2.0.9.0.20040126215541.01e8b898@pop3.zonnet.nl> Hi, Something that puzzles me (or I did not read the transcript language dictionary well) is that when I set a field's co-ordinates with set BottomLeft .. that the actual BottomLeft co-ordinates of the field placed, when checked with the Property inspector, are different. What can be the cause of this? Many thanks in advance! Erik. From ambassador at fourthworld.com Mon Jan 26 16:03:10 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 26 Jan 2004 13:03:10 -0800 Subject: set BottomLeft coords do not coincide with property inspector's coords In-Reply-To: <5.2.0.9.0.20040126215541.01e8b898@pop3.zonnet.nl> Message-ID: Erik Lips wrote: > Something that puzzles me (or I did not read the transcript language > dictionary well) is that when I set a field's co-ordinates with set > BottomLeft .. that the actual BottomLeft co-ordinates of the field placed, > when checked with the Property inspector, are different. > What can be the cause of this? Which is correct? And if you have it handy, what does 4W Props show? (It's in RevNet) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From soapdog at mac.com Mon Jan 26 16:18:34 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 26 Jan 2004 19:18:34 -0200 Subject: missing mail In-Reply-To: <24B408D6-5037-11D8-9F95-000A9567A3E6@swcp.com> References: <24B408D6-5037-11D8-9F95-000A9567A3E6@swcp.com> Message-ID: <33259B01-5045-11D8-A52C-0003936D012E@mac.com> On Jan 26, 2004, at 5:37 PM, Dar Scott wrote: > Lately, I have been missing about a third of my use-revolution mail > with no known pattern. I checked by mail sorting and server-side spam > filter and I do not see the missing mail. > > Has anybody else been seeing this? > > Dar Scott I am missing mail too... for a long time now, couple months... I thought it was a isolated problem, I only noticed because I lost some email I sent. well guess it's not... We should have a QWK-like solution built with Rev... that would be fun... sorry, fell bbs-nostalgic today, found my old fido code. Cheers Andre > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia - Soap Dog Studios - BRAZIL http://studios.soapdog.org From rgmiller at pacbell.net Mon Jan 26 16:19:52 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Mon, 26 Jan 2004 13:19:52 -0800 Subject: OT the spirit of Spirit References: <20040126180022.277D9930075@mail.runrev.com> Message-ID: <40158478.6050004@pacbell.net> Revers, Anyone really know the OS of the Mars Rovers? The NOVA special a couple of weeks ago hinted that the command structure was in JAVA or Java script: can this be true? Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From francois.cuneo at cuk.ch Mon Jan 26 16:32:01 2004 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Mon, 26 Jan 2004 22:32:01 +0100 Subject: Player and relative path for the source In-Reply-To: Message-ID: Hello everybody! I have a question:-) So, I have player on a card. I want to give to the player a movie. In the Source properties, in the Inspector, I can give the path for a file. But the path is from the root's disc! I want to give the path from the directory where my stack is. Is it possible to give the relative path in the inspector? Thank you Amicalement Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From dsc at swcp.com Mon Jan 26 16:45:34 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 26 Jan 2004 14:45:34 -0700 Subject: missing mail In-Reply-To: <40157F25.7060106@hyperactivesw.com> Message-ID: On Monday, January 26, 2004, at 01:57 PM, J. Landman Gay wrote: > On 1/26/04 2:48 PM, Robert Brenstein wrote: > >> If you are referring to your posts to the list, you might not have >> noticed that the listmaster changed the list behavior and by the >> default the reply goes only to the poster not to the list now (for a >> while it was set to go to both). One must to explicitely address a >> reply to the list to see it there. > > I don't get this behavior. I just now hit "reply" and it was addressed > to the entire list. I didn't see Robert's mail. I did see mine. When I hit return I got both Jacqueline's and the list's address. (This seems dependent on the sender.) The reply-to includes both on that mail, but it does not on most list mail. Digests? Setting? I better go look at my settings. Dar Scott From klaus at major-k.de Mon Jan 26 16:46:19 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 26 Jan 2004 22:46:19 +0100 Subject: Player and relative path for the source In-Reply-To: References: Message-ID: <13549989-5049-11D8-B442-000A27B49A96@major-k.de> Bon soir Fran?ois, > Hello everybody! > > I have a question:-) > > So, I have player on a card. > > I want to give to the player a movie. > > In the Source properties, in the Inspector, I can give the path for a > file. > But the path is from the root's disc! I want to give the path from the > directory where my stack is. > > Is it possible to give the relative path in the inspector? Mais oui! Either enter the relative path manually or select the complete path and just delete the "non-relative" part of it ;-) That's the way i do it... > Thank you > > Amicalement > Fran?ois Au revoir... Regards Klaus Major klaus at major-k.de www.major-k.de From gizmotron at earthlink.net Mon Jan 26 16:54:20 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon, 26 Jan 2004 13:54:20 -0800 Subject: OT the spirit of Spirit In-Reply-To: <40158478.6050004@pacbell.net> Message-ID: <3201B716-504A-11D8-BAFB-000A95859272@earthlink.net> On Monday, January 26, 2004, at 01:19 PM, Ray G. Miller wrote: > Revers, > Anyone really know the OS of the Mars Rovers? The NOVA special a > couple of weeks ago hinted that the command structure was in JAVA or > Java script: can this be true? If that's true this definitely gives new meaning to "write once run anywhere." mb From lists at mangomultimedia.com Mon Jan 26 16:57:40 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 26 Jan 2004 14:57:40 -0700 Subject: OT the spirit of Spirit In-Reply-To: <40158478.6050004@pacbell.net> References: <20040126180022.277D9930075@mail.runrev.com> <40158478.6050004@pacbell.net> Message-ID: On Jan 26, 2004, at 2:19 PM, Ray G. Miller wrote: > Revers, > Anyone really know the OS of the Mars Rovers? The NOVA special a > couple of weeks ago hinted that the command structure was in JAVA or > Java script: can this be true? The program Maestro which allows you to see the data that the robots are sending back is written in Java. I don't know what the robot has but perhaps this is what they were talking about? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From ian at azurevision.co.uk Mon Jan 26 17:00:53 2004 From: ian at azurevision.co.uk (Ian Wood) Date: Mon, 26 Jan 2004 22:00:53 +0000 Subject: QTVR in player uses 100% CPU? Message-ID: <1C2C0FC6-504B-11D8-AEE2-0003935A2896@azurevision.co.uk> Hi all, Has anyone else noticed the awful CPU performance when placing a QTVR file in a QT player? CPU usage on OS X immediately leaps to 100%, whether in the IDE or in a standalone, with buffer set to true or false, whether or not there are other objects or scripts on the card. This is with Rev 2.1.2 on OS X 10.3.0, with a non-wired pano, even when you are not pannin or zooming, just with the pano visible. Nothing in Bugzilla as far as I can see. Ian Wood Panoramic photography, from web to billboard, sunrise to moonrise http://www.azurevision.co.uk From francois.cuneo at cuk.ch Mon Jan 26 17:03:57 2004 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Mon, 26 Jan 2004 23:03:57 +0100 Subject: Player and relative path for the source In-Reply-To: <13549989-5049-11D8-B442-000A27B49A96@major-k.de> Message-ID: Bonsoir Klaus! Ok, thank you but? hem? Here is the complete path /Users/franoisc/Documents/Revolution Exemples Cuk/Cuk Calcul Oral X/Data/Films/pourjouer.mov The stack is in the folder "Cuk Calclul Oral X If I give in the inspector the source /Data/Films/pourjouer.mov Or Data/Films/pourjouer.mov I have nothing. What's wrong? Thank you more! Amicalement Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Klaus Major > R?pondre ??: How to use Revolution > Date?: Mon, 26 Jan 2004 22:46:19 +0100 > ??: How to use Revolution > Objet?: Re: Player and relative path for the source > > Bon soir Fran?ois, > >> Hello everybody! >> >> I have a question:-) >> >> So, I have player on a card. >> >> I want to give to the player a movie. >> >> In the Source properties, in the Inspector, I can give the path for a >> file. >> But the path is from the root's disc! I want to give the path from the >> directory where my stack is. >> >> Is it possible to give the relative path in the inspector? > > Mais oui! > > Either enter the relative path manually or select the complete path > and just delete the "non-relative" part of it ;-) > > That's the way i do it... > >> Thank you >> >> Amicalement >> Fran?ois > > Au revoir... > > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From klaus at major-k.de Mon Jan 26 17:14:06 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 26 Jan 2004 23:14:06 +0100 Subject: Player and relative path for the source In-Reply-To: References: Message-ID: Bon soir Fran?ois, > Bonsoir Klaus! > Ok, thank you but? hem? > > Here is the complete path > > /Users/franoisc/Documents/Revolution Exemples Cuk/Cuk Calcul Oral > X/Data/Films/pourjouer.mov > > The stack is in the folder "Cuk Calclul Oral X > If I give in the inspector the source > /Data/Films/pourjouer.mov > Or > Data/Films/pourjouer.mov > I have nothing. Yeah, very sad, and Bill Gates has everything 8-) > What's wrong? Ah, sorry, looks like i misunderstood you... Well, fact is: relative paths are always (and only) relative to "the directory". So your example will only work when "the directory" = /Users/franoisc/Documents/Revolution Exemples Cuk/Cuk Calcul Oral X/ Sorry... I always set the directory to my current projects folder... (hint, hint) > Thank you more! You're even more welcome :-) > Amicalement > Fran?ois Regards Klaus Major klaus at major-k.de www.major-k.de From dsc at swcp.com Mon Jan 26 17:17:32 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 26 Jan 2004 15:17:32 -0700 Subject: missing mail In-Reply-To: Message-ID: <6F8F6106-504D-11D8-9F95-000A9567A3E6@swcp.com> On Monday, January 26, 2004, at 02:45 PM, Dar Scott wrote: > I better go look at my settings. I wasn't able to find the right place by browsing about. I got here. http://lists.runrev.com/mailman/listinfo/use-revolution That didn't work but this did: http://lists.runrev.com/mailman/options/use-revolution This all looked OK, but I changed "Avoid duplicate copies?" to no, just in case that is not working. (Maybe this is why some comments seem to be sent to me directly and not to the list.) I did see I have a bounce score of 1 (recent bounces). I didn't get Mark Brownell's mail to the list on this subject. Dar From lists at mangomultimedia.com Mon Jan 26 17:26:14 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 26 Jan 2004 15:26:14 -0700 Subject: QTVR in player uses 100% CPU? In-Reply-To: <1C2C0FC6-504B-11D8-AEE2-0003935A2896@azurevision.co.uk> References: <1C2C0FC6-504B-11D8-AEE2-0003935A2896@azurevision.co.uk> Message-ID: On Jan 26, 2004, at 3:00 PM, Ian Wood wrote: > Has anyone else noticed the awful CPU performance when placing a QTVR > file in a QT player? > > CPU usage on OS X immediately leaps to 100%, whether in the IDE or in > a standalone, with buffer set to true or false, whether or not there > are other objects or scripts on the card. > > This is with Rev 2.1.2 on OS X 10.3.0, with a non-wired pano, even > when you are not pannin or zooming, just with the pano visible. > > Nothing in Bugzilla as far as I can see. I just opened Activity Monitor and an app I have with QTVR. With the main program window open the User idle % is around 12. Once I open a window with a QTVR in it it jumps up to 65%. It stays the same whether I am panning or not. Running Rev 2.1.2 on OS X 10.3.2. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From rodney at infiny.co.nz Mon Jan 26 17:27:46 2004 From: rodney at infiny.co.nz (rodney tamblyn) Date: Tue, 27 Jan 2004 11:27:46 +1300 Subject: LibCGI 1.0 [ANN] Message-ID: Monte Guilding and I are pleased to announce the availability of our LibCGI package, as demonstrated by Jacqueline at the Revolution conference recently. We are releasing this to the Revolution community as freeware. LibCGI is now available for download from: http://www.sweattechnologies.com/rev/ http://www.infiny.co.nz/developer/LibCGI%201.0.zip The LibCGI home page is located at http://rodney.weblogs.com/libcgi Please post any questions, comments or bugs to the discussion forum on this page. LibCGI simplifies CGI scripting in Revolution (and Metacard). It provides a standard way to process data from users, whether submitted via web page forms or URL parameters. Scripting your own CGIs is very simple with LibCGI. After configuration on your web server, all you need to do is create a Revolution stack containing an "on libraryStack" handler. All data from the user is stored in an array. This will be called when the web server calls a function in the stack. A simple example of calling a libCGI function is illustrated in the following URL and response: http://yourdomain.com/cgi-bin/form.cgi?stack=hello&cmd=hello In the Hello.rev stack you would place the following handler global gRequestA on libraryStack put gRequestA["address"] into tAddress switch gRequestA["cmd"] case "hello" libCGI_Response "hello world" break default libCGI_Response "command not understood"&& gRequestA["cmd"] break end switch end libraryStack Calling the URL returns "Hello World" State information can be handled through LibCGI support for getting and setting cookies on the remote client's web browser. To simplify development, LibCGI features several useful error reporting features. When a script in a CGI stack fails LibCGI can generate a result page containing the error, submitted information from user, and Revolution variables. Errors can also be logged to the system log. To assist in debugging you can watch CGI scripts dynamically as they execute in the web server, by placing libCGI console logging messages in your scripts. These can be viewed in a console window, for example using the OSX Console application. CGI stacks may call other stacks. One of the supplied example CGI stacks demonstrates sending an email reply to a request using the libSMTP stack. When file and file permissions are correctly configured, LibCGi scripts can also read and write files on the server. The documentation explains how advanced users can configure Apache to support server side includes, allowing generation of dynamic web pages where portions of the page have been generated by Revolution CGI calls. Documentation and several examples stacks are included in the download. Known Issues: (i) sending messages to console is not entirely reliable at this point. Will be fixed in the next release. -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From 3mcgrath at adelphia.net Mon Jan 26 17:32:36 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 26 Jan 2004 17:32:36 -0500 Subject: QTVR in player uses 100% CPU? In-Reply-To: <1C2C0FC6-504B-11D8-AEE2-0003935A2896@azurevision.co.uk> References: <1C2C0FC6-504B-11D8-AEE2-0003935A2896@azurevision.co.uk> Message-ID: <8A77A570-504F-11D8-8C39-000A95DA60FA@adelphia.net> OSX often spikes to 99%/100% during different functions. I watch the CPU usage always and often see it do that. I think it is normal. Tom On Jan 26, 2004, at 5:00 PM, Ian Wood wrote: > Hi all, > > Has anyone else noticed the awful CPU performance when placing a QTVR > file in a QT player? > > CPU usage on OS X immediately leaps to 100%, whether in the IDE or in > a standalone, with buffer set to true or false, whether or not there > are other objects or scripts on the card. > > This is with Rev 2.1.2 on OS X 10.3.0, with a non-wired pano, even > when you are not pannin or zooming, just with the pano visible. > > Nothing in Bugzilla as far as I can see. > > Ian Wood > Panoramic photography, from web to billboard, sunrise to moonrise > http://www.azurevision.co.uk > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From frank at backtalk.com Mon Jan 26 17:49:49 2004 From: frank at backtalk.com (Frank Leahy) Date: Mon, 26 Jan 2004 22:49:49 +0000 Subject: A cross-platform answer file? In-Reply-To: <20040126215836.2FAE393007A@mail.runrev.com> Message-ID: On Monday, January 26, 2004, at 09:58 PM, use-revolution-request at lists.runrev.com wrote: > My question is: If Apple expects Tuviah to do this, why can't we > expect > Apple to do it? > > I'd much rather see Tuviah and all other Mac developers spend their > time > making cool features that really show off what OS X has to offer > rather than > spending time reinventing forgotten wheels. To answer the specific question of why extension filtering isn't built into the Mac's StandardFile dialog -- that's because it wasn't needed. Remember that there were no file extensions on the original Mac, and there also weren't any when the Nav Services version was written. As for the more general eternal question -- why hasn't Apple done A, B or C? I worked at Apple for 7 1/2 years, in the late 80's and early 90's, and there were always too many things to do and not enough people to do them. When we didn't have time to write things ourselves, or when we couldn't figure out which of the dozens of options people might want we would leave hooks in place so that they could do it themselves -- ergo the Standard File FilterProc. But the bottomline is this, even if Apple did fix file filtering (unlikely) there will be compatibility issues for older systems, and if RunRev wants to support those systems they will have to write a filter proc anyway. So they might as well just bite the bullet and fix the bug. I guess if this feature is that important we should all be voting for it, right? (How does one do that?) Best, -- Frank Leahy From doug at webcrossing.com Mon Jan 26 17:50:53 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 27 Jan 2004 07:50:53 +0900 Subject: speeding up interaction during a big loop Message-ID: If I am just waiting for a socket read, interaction is fine as long as I use the "with message" form of the read. When there is no socket data coming in all the other events like text input, etc., work just fine. But if I am doing something like a 1MB file transfer over a socket, even if I break up the file into small chunks and send it in a loop with read/write checks in the loop the handling of other events slows down to a crawl. Is there some standard way of dealing with this - like inserting something into the loop to intentionally "stop and listen for other messages" or something like that? Thanks, doug From briany at qldlearning.com Mon Jan 26 17:58:49 2004 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 26 Jan 2004 17:58:49 -0500 Subject: speeding up interaction during a big loop In-Reply-To: Message-ID: <344033E6-5053-11D8-AA23-000393AA08D2@qldlearning.com> Check out "wait ... with messages" to give up processing time inside of a loop. HTH - Brian > Is there some standard way of dealing with this - like inserting > something > into the loop to intentionally "stop and listen for other messages" or > something like that? From doug at webcrossing.com Mon Jan 26 18:13:17 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 27 Jan 2004 08:13:17 +0900 Subject: A cross-platform answer file? In-Reply-To: Message-ID: Oh, your message got through all right. I just didn't read your references yet. :) I'll take a look before commenting again. It just seemed to me that Rev ought to be able to look at filenames on OS X too, since it is Unix. doug On 1/27/04 2:12 AM, "Richard Gaskin" wrote: > Doug Lerner wrote: > >> I wonder why Rev can't allow extension-like filters for OS X though... > > It seems my message from yesterday may not have gotten through: > > ---------------- > > This is a deficiency in the design of OS X as regards backward compatibility > with Finder metadata. For background on the topic: > > > > > > > > ---------------- > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From themacguy at macosx.com Mon Jan 26 18:23:08 2004 From: themacguy at macosx.com (Barry Levine) Date: Mon, 26 Jan 2004 16:23:08 -0700 Subject: Burning a disc of files In-Reply-To: <20040126202857.72C3293006C@mail.runrev.com> References: <20040126202857.72C3293006C@mail.runrev.com> Message-ID: <99C82870-5056-11D8-AA7C-000A95763ABC@macosx.com> This was an old message that was addressed by others. I don't know how it appeared again. Please ignore it. Barry On Jan 26, 2004, at 1:28 PM, use-revolution-request at lists.runrev.com wrote: > Message: 5 > Date: Mon, 19 Jan 2004 13:09:56 -0700 > From: Barry Levine > Subject: Burning a disc of files > To: use-revolution at lists.runrev.com > Cc: tuviah at runrev.com > Message-ID: <73A18A2A-4ABB-11D8-98EC-000A95763ABC at themacguy.info> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > I've searched through my archive of messages but didn't find anything > specific about the following: .......(snip)..... From ian at azurevision.co.uk Mon Jan 26 18:34:03 2004 From: ian at azurevision.co.uk (Ian Wood) Date: Mon, 26 Jan 2004 23:34:03 +0000 Subject: QTVR in player uses 100% CPU? In-Reply-To: <8A77A570-504F-11D8-8C39-000A95DA60FA@adelphia.net> References: <1C2C0FC6-504B-11D8-AEE2-0003935A2896@azurevision.co.uk> <8A77A570-504F-11D8-8C39-000A95DA60FA@adelphia.net> Message-ID: <201266F2-5058-11D8-AEE2-0003935A2896@azurevision.co.uk> I don't mean just when adding the QTVR, I mean all the time that there is one in present! Here is a bog-standard QTVR file so you can see for yourself: www.ianjameswood.co.uk/rev/qtvr.zip Ian > OSX often spikes to 99%/100% during different functions. I watch the > CPU usage always and often see it do that. I think it is normal. > > Tom > > On Jan 26, 2004, at 5:00 PM, Ian Wood wrote: > >> Hi all, >> >> Has anyone else noticed the awful CPU performance when placing a QTVR >> file in a QT player? >> >> CPU usage on OS X immediately leaps to 100%, whether in the IDE or in >> a standalone, with buffer set to true or false, whether or not there >> are other objects or scripts on the card. >> >> This is with Rev 2.1.2 on OS X 10.3.0, with a non-wired pano, even >> when you are not pannin or zooming, just with the pano visible. >> >> Nothing in Bugzilla as far as I can see. >> >> Ian From livfoss at blueyonder.co.uk Mon Jan 26 18:44:44 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon, 26 Jan 2004 23:44:44 +0000 Subject: What graphic rotations are available? Message-ID: The TD says that you can set the angle of a regular polygon in order to rotate it >Regular polygons are geometric shapes whose sides are all the same >length, such as squares, equilateral triangles, hexagons, and so on. >(You set the number of sides with the polySides property.) If your regular poly is a graphic rather than a paint (bitmap) object, you can distort it until the sides are definitely NOT the same length and it still rotates. Can anyone explain what is magic about a regular polygon and if there is a way of rotating other 'draw' (vector graphics) objects at all efficiently? Can't find anything in the docs. TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From capellan2000 at yahoo.com Mon Jan 26 18:58:13 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 26 Jan 2004 15:58:13 -0800 (PST) Subject: ReportsPro [was] Hypercard to Rev Question In-Reply-To: <20040126064118.AAC8D93005F@mail.runrev.com> Message-ID: <20040126235813.79367.qmail@web40501.mail.yahoo.com> on Sun, 25 Jan 2004 Geoff Canyon wrote: >Sorry I didn't see this sooner. >For the record, I read the list and I >sometimes qualify as "someone at RunRev" ;-) I feel curiosity about ReportsPro. How different is this program from the Report stack created by Scott Raney? You could download this stack from the tools.metacard.com stack within the MetaCard development environment. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From capellan2000 at yahoo.com Mon Jan 26 19:34:40 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 26 Jan 2004 16:34:40 -0800 (PST) Subject: geometry-challenged In-Reply-To: <20040126202857.72C3293006C@mail.runrev.com> Message-ID: <20040127003440.48524.qmail@web40506.mail.yahoo.com> on Mon, 26 Jan 2004 Trevor DeVore wrote: > function libPlot_IntersectAtPoint p1Start, p1End, > p2Start, p2End [snip] Excellent, Trevor!!! This function is very useful. How could you adapt this function to get all the intersection points of two organic shaped vector poligonal graphics? This could be similar to the filter Union in drawing packages. From 2 or more shapes you create only one figure made with borders of all them. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From doug at webcrossing.com Mon Jan 26 19:59:45 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 27 Jan 2004 09:59:45 +0900 Subject: Sudden slowdown... Message-ID: All of a sudden my Rev IDE (OS X) with this app I'm making has started running slowly. Even something simple like typing in a field, hitting enter and sending the chars in that field to another field have gone from instant to a noticeable pause. I quit Rev and restarted it, and made sure there were no extra unneeded stacks floating about. Anything else I can check? Thanks, doug From soapdog at mac.com Mon Jan 26 20:00:46 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 26 Jan 2004 23:00:46 -0200 Subject: Some tidbits on revHTTPd and LibCGI 1.0 In-Reply-To: References: Message-ID: <3D8A1112-5064-11D8-A52C-0003936D012E@mac.com> On Jan 26, 2004, at 8:27 PM, rodney tamblyn wrote: > Monte Guilding and I are pleased to announce the availability of our > LibCGI package, as demonstrated by Jacqueline at the Revolution > conference recently. We are releasing this to the Revolution > community as freeware. Rodney and Monte, Congratulations on your marvelous stack!!!! It's really quick and easy to use libCGI. Since I am doing similar job in revHTTPd, I want express how impressed I was when I inspected your code today. It's so simple and so powerfull, I really think that if one is considering a CGI solution that LibCGI can be used! I am very happy to be able to learn from your code, after seeing how you both handled some issues that where troubling my mind I decided to patch revHTTPd (third major rewrite), I'll sumarize the changes below. * New ways to access server data. In previous version, revHTTPd would match field names to the field names acquired from POST or GET Methods, thus if you used a form with a field named email or a url like http://yourhost/yourStack?email=soapdog at mac.com it would get the email value and fill the email field of the desired stack with it. Now you also have the option to access it in a nice global array called gDataA (This is inspired by LibCGI, thats how it handles), this way, you can access non expected fields and also you will be able to access the data without creating fields for everything. * Cookies! After seeing the code from libCGI, I finally understood how HTTP handles cookies (it's not covered with HTTP Made Easy - my main learning book), so I put cookie support with a function called "http_flush_with_cookies" that will flush a response and also set cookies based on a array parameter. The current browser cookies will be inside gDataA array. * New packaging! :D revHTTPd was first a stack, then a button, now... now it still a button, but since I learned much from message primer by Mr Dar Scott and from message path article at Fourth World Embassy, I figured out that inserting button "httpd" into back would be very good, this way we can guarantee that it always receive the message and that the handlers are available everywhere. * Brand new and improved and over-powerfull template engine. We created Inform2, our new template engine. This is a frontscript that overdrive normal http_flush, this way, besides the normal template tags %BODY%, %STACKNAME%, %TITLE%, we've got some ubercool tags like: Inform-field tag: This one will insert a field from any card or stack, to be used like [inform-field: passwordField stack: User Database card: andre garzia] this would insert the content of field "passwordField" of card "andre garzia" of stack "User Database". You can omit the card: parameter and it will act on current card. Inform-property tag: the same as above but insert a custom property. Used like [inform-property: cHits stack: serverworkz card: 1] where card parameter is optional. Inform-throw tag: will send a message thru message path, like [inform-throw: closeStack stack: about], when inform2 engine find this tag it sends a message, this is good for using static html to send messages and stuff. For example, inform-field is proccessed before inform-throw, so you can make voodoo things like [inform-throw: [inform-field: messageField stack: messageSelector] stack: messageDestination], can you guess what this one will do... that's evil!!! :D Must say that it was after seeing WebMerge from Fourth World that I thought of custom tags thru Regular Expressions, I thought: "They did that with metacard, so there must be a way". After couple minutes search I found matchText command and a primer on Regular Expressions on the net. This code will be released as freeware too at the end of the week for we're still working on this: * Session management. Automatic session management thru cookies. (in test, currently not working well...) * Compatibility layer for LibCGI. This is to be able to serve libCGI stacks using revHTTPd server. It should be easy, but it's not done yet. The server will come bundled with the framework source code and some demos of creative ways to use it. The current demos are: * Chat app - A full featured, revZeroConf enabled chat app for two persons to talk to each other. 80% of the code are windowshape stuff and ZeroConf code! :D * PayPal IPN + Authorized Download Stack - This is huge, it's a server that conforms to a PayPal Instant Payment Notification CGI (more info at http://www.paypal.com/pdn), this way when someone buy something from you thru paypal system, your stack/server will get notified, it will store buyer email in a database and when buyer access the server it will allow/forbid his access to downloads. The only current issue is the lack of SSL. For using in a secure enviroment SSL is needed. But new Rev version will settle that. * Tribe, simple blog system - simple blog server app, it will manage and serve a blog. * revPasteboard - networked pasteboard for the masses. This are the demos in production, they will show creative and simple ways to use revHTTPd to power the network functions of your app. Everything should be ready by the end of the week. While the release date does not come, you can help me stress test the server, it's running in my home machine at http://home.soapdog.org:8081/ it's a 256k cable modem full of firewalls placed from my ISP, so it's a bit slow sometimes. Come take a look and send me mail if you like it. Cheers -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From doug at webcrossing.com Mon Jan 26 20:07:10 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 27 Jan 2004 10:07:10 +0900 Subject: Sudden slowdown... In-Reply-To: Message-ID: Something has bloated the stack way up. It was like 100K in size this morning, and now the stack itself is 3.6MB! I have been doing experiments with importing large images. But I don't see any of those images in any of the stacks in the inspector. And they shouldn't have been saved anyway, because the images were in separate stacks that were not main substacks. doug On 1/27/04 9:59 AM, "Doug Lerner" wrote: > All of a sudden my Rev IDE (OS X) with this app I'm making has started > running slowly. Even something simple like typing in a field, hitting enter > and sending the chars in that field to another field have gone from instant > to a noticeable pause. > > I quit Rev and restarted it, and made sure there were no extra unneeded > stacks floating about. > > Anything else I can check? > > Thanks, > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Mon Jan 26 20:12:08 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 26 Jan 2004 18:12:08 -0700 Subject: missing mail In-Reply-To: <6F8F6106-504D-11D8-9F95-000A9567A3E6@swcp.com> Message-ID: Sorry for contributing to the ambient confusion levels. My ISP is having trouble. Dar Scott From doug at webcrossing.com Mon Jan 26 20:13:31 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 27 Jan 2004 10:13:31 +0900 Subject: Sudden slowdown... - solved - but why? In-Reply-To: Message-ID: I figured out the cause. I had been logging stuff into a field in a particular substack and had been saving that substack too. I cleared out the field and it sped up again. But...why would the presence of a field with a few million characters in it slow down the interaction of the entire application? doug On 1/27/04 10:07 AM, "Doug Lerner" wrote: > Something has bloated the stack way up. It was like 100K in size this > morning, and now the stack itself is 3.6MB! > > I have been doing experiments with importing large images. But I don't see > any of those images in any of the stacks in the inspector. And they > shouldn't have been saved anyway, because the images were in separate stacks > that were not main substacks. > > doug > > On 1/27/04 9:59 AM, "Doug Lerner" wrote: > >> All of a sudden my Rev IDE (OS X) with this app I'm making has started >> running slowly. Even something simple like typing in a field, hitting enter >> and sending the chars in that field to another field have gone from instant >> to a noticeable pause. >> >> I quit Rev and restarted it, and made sure there were no extra unneeded >> stacks floating about. >> >> Anything else I can check? >> >> Thanks, >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at mindlube.com Mon Jan 26 20:26:39 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 26 Jan 2004 18:26:39 -0700 Subject: Sudden slowdown... - solved - but why? In-Reply-To: References: Message-ID: On Jan 26, 2004, at 6:13 PM, Doug Lerner wrote: > I figured out the cause. I had been logging stuff into a field in a > particular substack and had been saving that substack too. I cleared > out the > field and it sped up again. > > But...why would the presence of a field with a few million characters > in it > slow down the interaction of the entire application? Just a guess: is it possible that field is getting the keyboard focus ever? nonetheless, field access is slow compared to variables, arrays and custom properties. Maybe use a custom property and put into the fld only when display is required. -- Alex Rice | Mindlube Software | http://mindlube.com From mwieder at ahsoftware.net Mon Jan 26 20:27:19 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 26 Jan 2004 17:27:19 -0800 Subject: OT the spirit of Spirit In-Reply-To: References: <20040126180022.277D9930075@mail.runrev.com> <40158478.6050004@pacbell.net> Message-ID: <19729612450.20040126172719@ahsoftware.net> Trevor- Monday, January 26, 2004, 1:57:40 PM, you wrote: TD> The program Maestro which allows you to TD> see the data that the robots are sending back is written in Java. I TD> don't know what the robot has but perhaps this is what they were TD> talking about? AFAIK that's the only part of any of this that's written in java. Buggy and s-l-o-w, to boot. I believe Spirit's OS was done by Wind River Systems. -- -Mark Wieder mwieder at ahsoftware.net From doug at webcrossing.com Mon Jan 26 20:39:58 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 27 Jan 2004 10:39:58 +0900 Subject: Sudden slowdown... - solved - but why? In-Reply-To: Message-ID: On 1/27/04 10:26 AM, "Alex Rice" wrote: > > On Jan 26, 2004, at 6:13 PM, Doug Lerner wrote: > >> I figured out the cause. I had been logging stuff into a field in a >> particular substack and had been saving that substack too. I cleared >> out the >> field and it sped up again. >> >> But...why would the presence of a field with a few million characters >> in it >> slow down the interaction of the entire application? > > Just a guess: is it possible that field is getting the keyboard focus > ever? No. Never. > > nonetheless, field access is slow compared to variables, arrays and > custom properties. Maybe use a custom property and put into the fld > only when display is required. Good idea. I'll try that if it comes up again. In the meantime, I'm just logging a lot less stuff there! :) doug From doug at webcrossing.com Mon Jan 26 20:40:43 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 27 Jan 2004 10:40:43 +0900 Subject: OT the spirit of Spirit In-Reply-To: <19729612450.20040126172719@ahsoftware.net> Message-ID: On 1/27/04 10:27 AM, "Mark Wieder" wrote: > Trevor- > > Monday, January 26, 2004, 1:57:40 PM, you wrote: > > TD> The program Maestro which allows you to > TD> see the data that the robots are sending back is written in Java. I > TD> don't know what the robot has but perhaps this is what they were > TD> talking about? > > AFAIK that's the only part of any of this that's written in java. > Buggy and s-l-o-w, to boot. I believe Spirit's OS was done by Wind > River Systems. > This is from a co-worker of mine: ----- No, it's not Java - it's Wind River's proprietary OS for embedded system. See: http://www.windriver.com/ and check out the very clever graphic and tagline at the top of the page. There's more detail at: http://www.windriver.com/marsrover/index.html I know this because Wind River Systems was our next-door neighbor when we had our office in Alameda and I've always noticed Wind River's name when it's mention in space projects. ----- doug From frank at backtalk.com Mon Jan 26 20:48:18 2004 From: frank at backtalk.com (Frank Leahy) Date: Tue, 27 Jan 2004 01:48:18 +0000 Subject: Sudden slowdown... - solved - but why? In-Reply-To: <20040127012711.7D0CE930088@mail.runrev.com> Message-ID: On Tuesday, January 27, 2004, at 01:27 AM, use-revolution-request at lists.runrev.com wrote: > But...why would the presence of a field with a few million characters > in it > slow down the interaction of the entire application? 1) Every time you add a line to a field Rev has to create a new block of memory big enough, copy the old data, then concatenate your text. Asking for a multi-megabyte block can be quite slow, and if there's memory fragmentation there could also be virtual memory disk activity slowing things down too. 2) The time required to copy from one multi-megabyte block to another multi-megabyte block is non-zero, and is obviously 1000's of times slower than copying a small 1000 byte block. and 3) There may be significant additional field overhead that we don't know about. For example, to speed up field searches, RunRev probably calculates an index on the field each time the data changes (HyperCard used to do that, so I'm assuming RunRev does something similar). This could be quite expensive in terms of both time and memory. -- Frank Leahy From kray at sonsothunder.com Mon Jan 26 21:30:54 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 26 Jan 2004 20:30:54 -0600 Subject: newbie requires help In-Reply-To: <000c01c3e2da$0dcc3320$d5bc2952@PATRIOT> Message-ID: <027901c3e47d$9a766080$6601a8c0@LightningFlash> What's the bug, Doug? :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Douglas Mackay > Sent: Saturday, January 24, 2004 6:28 PM > To: use-revolution at lists.runrev.com > Subject: newbie requires help > > > I am trying to learn from other people's scrips so I > downloaded the age calculator on from the web. It comes p > continually with the same "bug" i dont know how to fix. The > line in question is > put (item 1 of enddate - item 1 of startdate) into diffan and > the full script is : > > ask "Date of Birth? (eg. 23/9/1987)" > > put it into firstDate > > ask "Date of Assessment? (eg. 18/3/2001)" > > put it into secondDate > > put whichage (firstDate, secondDate) into dateholder > > if Gbox = 1 > > then put "year" into field "nameYear" > > else > > put "years" into field "nameYear" > > end if > > put Gbox into field "year2" > > if item 2 of dateholder = 1 > > then put "month" into field "nameMonth" > > else > > put "months" into field "nameMonth" > > end if > > put item 2 of dateholder into field "month" > > if item 3 of dateholder = 1 > > then put "day" into field "nameDay" > > else > > put "days" into field "nameDay" > > end if > > put item 3 of dateholder into field "day" > > also a script for : > > set the centuryCutoff to 35 > > set useSystemDate to true > > if param(1) = "" then exit to top > > put param(1) into startdate > > put param(2) into enddate > > set the itemDelimiter to "/" > > put item 3 of startdate into GsYear > > put item 3 of enddate into GeYear > > set the itemDelimiter to comma > > convert startdate to dateitems > > convert enddate to dateitems > > put item 3 of enddate into bbmsg > > put (item 3 of enddate - item 3 of startdate) into diffjour > > if diffjour < 0 then > > add "1" to item 2 of startdate > > get item 2 of enddate > > if (it is in "1,3,5,7,8,10") or (it= "12") then put "31" into > correction > > else if (it is in "4,6,9,11") then put "30" into correction > > else if item 1 of enddate mod 4 = 0 then put "29" into correction > > else put "28" into correction > > add correction to item 3 of enddate > > put (item 3 of enddate - item 3 of startdate) into diffjour > > end if > > put (item 2 of enddate - item 2 of startdate) into diffmois > > if diffmois < 0 then > > add "1" to item 1 of startdate > > put (item 2 of enddate) + 12 into item 2 of enddate > > put (item 2 of enddate - item 2 of startdate) into diffmois > > add "1" to GsYear > > end if > > put (item 1 of enddate - item 1 of startdate) into diffan > > put (GeYear - GsYear) into Gbox > > return diffan&","&diffmois&","&diffjour > > can anyone help ? > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From doug at webcrossing.com Mon Jan 26 21:57:16 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 27 Jan 2004 11:57:16 +0900 Subject: speeding up interaction during a big loop In-Reply-To: <344033E6-5053-11D8-AA23-000393AA08D2@qldlearning.com> Message-ID: On 1/27/04 7:58 AM, "Brian Yennie" wrote: > Check out "wait ... with messages" to give up processing time inside of > a loop. > Is my interpretation of the following two commands correct? 1. wait for messages Will pause the current handler and wait for messages until the cows come home. Any message will do - even a mouse move. 2. wait for 30 ticks with messages Just like (1) but will continue after 30 ticks regardless of whether or not there were messages. doug From info at just4mac.com Mon Jan 26 22:10:09 2004 From: info at just4mac.com (Rick Williams) Date: Mon, 26 Jan 2004 21:10:09 -0600 Subject: speeding up interaction during a big loop In-Reply-To: References: Message-ID: <5048F45A-5076-11D8-A6E6-000A27967F18@just4mac.com> On Jan 26, 2004, at 8:57 PM, Doug Lerner wrote: > Is my interpretation of the following two commands correct? From the built-in docs... If the wait..with messages form is used, Revolution continues normal processing during the wait. The current handler is frozen, but the user can start other handlers and perform other actions such as switching cards. Rick From sarahr at genesearch.com.au Mon Jan 26 22:33:53 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 27 Jan 2004 13:33:53 +1000 Subject: Opening a stack *behind* another stack? (take 2) In-Reply-To: References: Message-ID: How about a preOpenStack handler in the stack you are about to open that goes to the stack you want to keep on top. If this can vary, use a custom property to tell the new stack which stack to go to. Sarah On 24 Jan 2004, at 11:39 am, Doug Lerner wrote: > That *almost* works. The only problem is that even though I do the lock > screen before cloning the new stack, the new stack appears for a > flicker of > a moment on top anyway anyway. > > doug > > On 1/23/04 9:50 PM, "Cubist at aol.com" wrote: > >> Okay, I hit the SEND key prematurely the first time I was replying to >> Doug's query... >> >> sez doug: >>> How would I specify that the newly opened stack is behind another >>> stack? >> I'm not sure why you'd *want* a newly-opened stack to open up >> *behind* >> another stack, but the answer is: Fake it. >> >> lock screen >> push this card >> open stack "Fred" >> pop card >> unlock screen >> >> If you have more than one stack open, and you want to guarantee that >> the >> new stack will open up behind *all* of them, something like this >> might work... >> >> lock screen >> put the stacks into George >> open stack "Fred" >> repeat with K1 = 1 to the number of lines in George >> go stack (line K1 of George) >> end repeat >> unlock screen >> >> This latter snippet offers the possibility of controlling exactly >> where >> the newly-opened stack fits into the z-order of the stacks that are >> already >> opened -- move the "open stack Fred" line into the loop, bracketed by >> "if K1 = >> DerNumber then" and "end if". I have no idea why you'd want to do >> that, but >> since >> I also have no idea why you want to open a stack *behind* another >> stack, I >> thot it might be worth noting anyway. >> >> Hope this helps... >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarahr at genesearch.com.au Mon Jan 26 22:37:51 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 27 Jan 2004 13:37:51 +1000 Subject: Detect Default Browser in OSX In-Reply-To: <5A03CC6E.047848C0.0018446D@aol.com> References: <5A03CC6E.047848C0.0018446D@aol.com> Message-ID: <2F45FA9E-507A-11D8-A2C1-0003937A97B8@genesearch.com.au> OS X 10.3.2, I get this: "U:http" = { LSBundleIdentifier = "com.apple.safari"; Cheers, Sarah On 25 Jan 2004, at 4:03 pm, rgould8 at aol.com wrote: > A few days ago on this listserve, someone posted this solution to > determining the user's default web-browser setting in Mac OS X. Just > curious - - - can anyone who's running Panther tell me if this works > for them? It appears that my com.apple.LaunchServices data doesn't > return anything with "U:http". Lot's of settings for RealNetworks and > Quicktime, but I'm not pulling in anything for a Default browser. > (Either IE or Safari). > > > > the command replaceText(shell("defaults read > com.apple.LaunchServices"),"(\(|\))","") lists all defaults app in OS X > the block of lines starting with "U:http" gives the default browser. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarahr at genesearch.com.au Mon Jan 26 22:59:58 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 27 Jan 2004 13:59:58 +1000 Subject: filetype question In-Reply-To: <4E0FF7A3-4F64-11D8-A4DE-000393533246@skynet.be> References: <4E0FF7A3-4F64-11D8-A4DE-000393533246@skynet.be> Message-ID: <46411DCE-507D-11D8-A2C1-0003937A97B8@genesearch.com.au> If the file has an extension, like .mov or .mpg and you set it's filetype to empty, OS X will just use whatever default program matches the file extension and give it the appropriate icon. Apart from that, I have found using the long files to get the file type rather variable, sometimes it just gives ????????, but here is an AppleScript to do it. Put this into the AppleScript Script Editor and click the Run button. Choose a file that is already opening with the correct application and it's filetype will be shown. Then you will know what to set your new files to. tell application "Finder" set tFile to choose file set tType to the file type of tFile set tCreator to creator type of tFile display dialog tType & tCreator end tell Cheers, Sarah On 26 Jan 2004, at 4:31 am, Yves COPPE wrote: > Hi list > > On MAC OS X > > I have a script to set a jpeg binfile readable by photoshop > > I script : > set the fileType to "8BIMJPEG" > > I'd like to do the same with a .mov or .mpg file to make it readable > by quickTime Player > > which are the filetype for those files for quickTime ?? > > thank you > > > Greetings. > Yves COPPE > > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From lists at mangomultimedia.com Mon Jan 26 23:14:28 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 26 Jan 2004 21:14:28 -0700 Subject: OT the spirit of Spirit In-Reply-To: <19729612450.20040126172719@ahsoftware.net> References: <20040126180022.277D9930075@mail.runrev.com> <40158478.6050004@pacbell.net> <19729612450.20040126172719@ahsoftware.net> Message-ID: <4CEF510C-507F-11D8-A072-000A956C462A@mangomultimedia.com> On Jan 26, 2004, at 6:27 PM, Mark Wieder wrote: > Trevor- > > Monday, January 26, 2004, 1:57:40 PM, you wrote: > > TD> The program Maestro which allows > you to > TD> see the data that the robots are sending back is written in Java. > I > TD> don't know what the robot has but perhaps this is what they were > TD> talking about? > > AFAIK that's the only part of any of this that's written in java. > Buggy and s-l-o-w, to boot. I believe Spirit's OS was done by Wind > River Systems. Maestro is incredibly slow. It really makes you appreciate Revolution though :-) -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From cal at eazy.net Mon Jan 26 23:12:55 2004 From: cal at eazy.net (Cal Campbell) Date: Mon, 26 Jan 2004 21:12:55 -0700 Subject: ReportsPro [was] Hypercard to Rev Question In-Reply-To: References: <94EA8924-5039-11D8-8443-0003938F519C@eazy.net> Message-ID: <1502E0D0-507F-11D8-9FCC-0003938F519C@eazy.net> You need to go back to the discussion group to find out who presently owns ReportsPro. They went under the name of rpControl. The Telephone number is presently disconnected. They are still selling the product, but they are very difficult to contact. If you want to know what it does, I have a copy. If you want a beta tester, I know how to do that. On Jan 26, 2004, at 9:04 PM, Geoff Canyon wrote: > Well, Richard's arguments make a fair amount of sense, but of course, > I can't reasonably assess how much work it would be to port ReportsPro > to OS X/Rev. If I remember correctly, you said you know the current > owner. What is it Rev can do to assist in this? > > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com > > On Jan 26, 2004, at 11:55 AM, Cal Campbell wrote: > >> OK! I asked the original question. Here it is. >> >> "I have an extensive Hypercard database I would like to move to >> another environment. It make extensive use of ReportsPro which is a >> third party report writer. I have several clients who are used to >> used ReportsPro to design their own reports and queries. Does >> Revolution have this capability?" >> >> Here is added information. Right now I have 10-12 States on a >> Hypercard/ReportsPro environment that operate the two as a DBMS very >> successfully. It is basically a data base that handles line drawings >> (cattle brands) done in Hypercard and text data that pertains to the >> owner of the drawing. The drawing are printed in a book about every >> five years. The rest of the time the managing office checks to make >> sure the brands are unique. One province in Canada even handles all >> their financial reports through ReportsPro. >> >> They all need to convert to something else. Hypercard is apparently >> dead. Most of them have people that are very sharp in writing their >> own reports at this time. They like the environment provided by >> ReportsPro are are very comfortable with the product. They are going >> to need a similar report writer to replace it. >> >> I have extensive experience in DBMS design. I used >> Hypercard/ReportPro as a prototype tool for years. I am now retired >> and I still keep one OS9 around just to run Hypercard/ReportPro data >> bases. I guess I'm a little strange, but I have never found any >> other product which does the job quite as well. >> >> I hope you can help. >> >> >> >> >> On Sunday, January 25, 2004, at 11:27 PM, Geoff Canyon wrote: >> >>> Sorry I didn't see this sooner. For the record, I read the list and >>> I sometimes qualify as "someone at RunRev" ;-) >>> >>> If he wants to email me, I'd be happy to offer any help I can. >>> >>> regards, >>> >>> Geoff Canyon >>> gcanyon at inspiredlogic.com >>> >>> On Jan 21, 2004, at 1:19 PM, Frank Leahy wrote: >>> >>>> Does anyone from RunRev read this list? If so, I'm good friends >>>> with the guy who bought the rights to Reports and ReportsPro and he >>>> would LOVE to talk to someone at RunRev about making it work with >>>> Revolution. Please reply directly to me and I'll pass on your info >>>> to him. >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> Calvin Campbell >> Castle Rock, CO >> >> www/d4bp.com/ >> > > Calvin Campbell Castle Rock, CO www/d4bp.com/ From lists at mangomultimedia.com Mon Jan 26 23:57:32 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 26 Jan 2004 21:57:32 -0700 Subject: geometry-challenged In-Reply-To: <20040127003440.48524.qmail@web40506.mail.yahoo.com> References: <20040127003440.48524.qmail@web40506.mail.yahoo.com> Message-ID: <50E97184-5085-11D8-A072-000A956C462A@mangomultimedia.com> On Jan 26, 2004, at 5:34 PM, Alejandro Tejada wrote: > on Mon, 26 Jan 2004 > Trevor DeVore wrote: > >> function libPlot_IntersectAtPoint p1Start, p1End, >> p2Start, p2End > [snip] > > Excellent, Trevor!!! > This function is very useful. > > How could you adapt this function to get all the > intersection points of two organic shaped > vector poligonal graphics? > > This could be similar to the filter Union in > drawing packages. From 2 or more shapes you > create only one figure made with borders of > all them. I'm not sure how you would go about this. Are you looking for something that has functionality similar to this library: ? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From DVGlasgow at aol.com Mon Jan 26 23:58:13 2004 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Mon, 26 Jan 2004 23:58:13 EST Subject: cross platform ide Message-ID: <1ab.1f93992a.2d4749e5@aol.com> Sorry folks, I don't have time to read through posts to see whether this has already been noted. Apologies if it has. http://www.eiffel.com/products/studio52/ Just chanced upon this and thought it might be keeping an eye on. This is *NOT* an endorsement or promotion. Its just that revolutionaries must always keep an eye on the competition. Best wishes, David Glasgow Forensic Psychology Software and Services i-Psych From tariel at mac.com Tue Jan 27 00:06:41 2004 From: tariel at mac.com (Tariel Gogoberidze) Date: Tue, 27 Jan 2004 00:06:41 -0500 Subject: What is Rev doing? In-Reply-To: <20040126180022.60E2E930076@mail.runrev.com> Message-ID: Mon, 26 Jan 2004 11:19:03 -0600 Jerry Daniels wrote > Lotsa folks probably use the command-option click in their apps. I > prefer to hover, myself. That way there's no conflict. How does > everyone else feel about it? Command-Option Click !!. For every new version of MC in the past and Rev in the present I have to dig into the IDE scripts to rewrite object editing shortcut to command-Option click. Tariel Gogoberidze From 3mcgrath at adelphia.net Tue Jan 27 00:35:47 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 27 Jan 2004 00:35:47 -0500 Subject: cross platform ide In-Reply-To: <1ab.1f93992a.2d4749e5@aol.com> References: <1ab.1f93992a.2d4749e5@aol.com> Message-ID: For $4,799.00 this is a joke. I'll stick with Revolution...... Tom On Jan 26, 2004, at 11:58 PM, DVGlasgow at aol.com wrote: > Sorry folks, I don't have time to read through posts to see whether > this has > already been noted. Apologies if it has. > > http://www.eiffel.com/products/studio52/ > > Just chanced upon this and thought it might be keeping an eye on. > This is > *NOT* an endorsement or promotion. Its just that revolutionaries must > always > keep an eye on the competition. > > > Best wishes, > > David Glasgow > > Forensic Psychology Software and Services HREF="http://members.aol.com/dvglasgow/i-psych/i_Psych.htm">i-Psych > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From alex at mindlube.com Tue Jan 27 00:50:52 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 26 Jan 2004 22:50:52 -0700 Subject: cross platform ide In-Reply-To: <1ab.1f93992a.2d4749e5@aol.com> References: <1ab.1f93992a.2d4749e5@aol.com> Message-ID: On Jan 26, 2004, at 9:58 PM, DVGlasgow at aol.com wrote: > > http://www.eiffel.com/products/studio52/ > > Just chanced upon this and thought it might be keeping an eye on. > This is > *NOT* an endorsement or promotion. Its just that revolutionaries must > always > keep an eye on the competition. Eiffel is at the extreme opposite end of the spectrum from xtalk languages both in cost and in language purpose. Instead of ad-hoc message passing and script evaluation found in xtalks, Eiffel code is meticulously crafted with strictly typed objects that can only connect with other particular objects and call certain functions; "design by contract" they call it. What you would build with Eiffel is more like a banking system or database system - where transactional integrity is the most important aspect. However if anyone is interested in a good book on object oriented software development there is a book by Bertrand Meyer (Eiffel creator) that is very good but tough reading. title _Object Oriented Software Construction_ -- Alex Rice | Mindlube Software | http://mindlube.com From alex at mindlube.com Tue Jan 27 01:19:14 2004 From: alex at mindlube.com (Alex Rice) Date: Mon, 26 Jan 2004 23:19:14 -0700 Subject: ReportsPro [was] Hypercard to Rev Question In-Reply-To: <20040126235813.79367.qmail@web40501.mail.yahoo.com> References: <20040126235813.79367.qmail@web40501.mail.yahoo.com> Message-ID: On Jan 26, 2004, at 4:58 PM, Alejandro Tejada wrote: > I feel curiosity about ReportsPro. > > How different is this program from the Report > stack created by Scott Raney? > > You could download this stack from the > tools.metacard.com stack within the > MetaCard development environment. Which can be viewed from Runrev also (I was happy to discover) go stack URL "http://metacard.com/stacks/tools.mc" The Report Generator stack has a mysterious GUI and will take some studying of the code to figure out how to use it. -- Alex Rice | Mindlube Software | http://mindlube.com From mwieder at ahsoftware.net Tue Jan 27 02:15:11 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 26 Jan 2004 23:15:11 -0800 Subject: OT the spirit of Spirit In-Reply-To: References: Message-ID: <15250485273.20040126231511@ahsoftware.net> Doug- My favorite story concerning the Mars projects involves Wind River's OS and debugging. NASA has a policy of "test what you fly and fly what you test", which involves, among other things, leaving your debugging code in place. There's a lesson to be learned here: http://www.kohala.com/start/papers.others/pathfinder.html "VxWorks contains a C language interpreter intended to allow developers to type in C expressions and functions to be executed on the fly during system debugging. The JPL engineers fortuitously decided to launch the spacecraft with this feature still enabled. By coding convention, the initialization parameter for the mutex in question (and those for two others which could have caused the same problem) were stored in global variables, whose addresses were in symbol tables also included in the launch software, and available to the C interpreter. A short C program was uploaded to the spacecraft, which when interpreted, changed the values of these variables from FALSE to TRUE. No more system resets occurred." -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Tue Jan 27 02:30:12 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 27 Jan 2004 01:30:12 -0600 Subject: Cross-Post from MC List: Unicode support in Menus, etc.? Message-ID: <02db01c3e4a7$69a63f00$6601a8c0@LightningFlash> This post was sent to the MC list by a person investigating whether or not to use Revolution to port SC projects over: ---------------- I wrote your company several times requesting information for Text Direction in UNICODE. My first email was returned by the mailing list administrator. I then subscribed anew with your mailing list, but could not get live response to my email. Here is my question: Can you get Text Direction in Runtime Revolution. That is Right-to-Left? Does it work via script or is it embedded in the menus? Your reply is most urgent and important, as I am making plans to purchase your software to convert SC projects. Best regards ------------------ Can anyone provide this person direction on his questions? He's obviously frustrated with the support he's been getting... BTW: I, too, am interested to know just how other languages are handled in menus. For example, suppose someone wanted to make a program that allowed the user to switch between English and Farsi on command... once the language was chosen from the Mac's language menu, would the fields in Rev just "adapt"? What about changing menu item names and menu titles to a chosen language? How would that be implemented? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mcdomi at free.fr Tue Jan 27 02:34:25 2004 From: mcdomi at free.fr (Dom) Date: Tue, 27 Jan 2004 08:34:25 +0100 Subject: A cross-platform answer file? In-Reply-To: Message-ID: <1g87of8.guw0vy18xtfzsM%mcdomi@free.fr> Richard Gaskin wrote: > I'd much rather see Tuviah and all other Mac developers spend their time > making cool features that really show off what OS X has to offer rather than > spending time reinventing forgotten wheels. I second this ;-) Crossposted on the two Revolution lists :-) -- Je pr?f?rerais voir Tuviah et les autres d?veloppeurs Mac passer leur temps ? nous concocter des "cool features" pour nous montrer ce que OS X a dans le ventre plut?t que de perdre leur temps ? r?inventer la roue [traduction libre] Bien d'accord ! Crosspost? sur les deux listes Revolution From mcdomi at free.fr Tue Jan 27 02:34:26 2004 From: mcdomi at free.fr (Dom) Date: Tue, 27 Jan 2004 08:34:26 +0100 Subject: Bug votation (Was: Re: A cross-platform answer file?) In-Reply-To: Message-ID: <1g87oic.hmvjoep1gg3kM%mcdomi@free.fr> Frank Leahy wrote: > I guess if this feature is that important we should all be voting for > it, right? (How does one do that?) Who is permitted to vote? I went two or three times on Bugzilla (with Revzilla or directly) and saw each time that I was given 0 (zero) vote authorization ;-)) crossposted on the two Revolution lists -- Je suppose que cette fonction [choix des fichiers par extension ou par type] est assez importante pour que nous allions tous voter [dans Bugzilla] (Comment est-ce qu'on fait ?) Qui a le droit de voter ? Les deux ou trois fois o? j'y suis all? (? l'aide de Revzilla ou directement) j'ai vu que j'avais 0 (z?ro) droit de vote ;-)) Crosspost? sur les deux listes Revolution From kray at sonsothunder.com Tue Jan 27 02:30:59 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 27 Jan 2004 01:30:59 -0600 Subject: MC-REV Event similar to AppleEvent? In-Reply-To: <000b01c3dc2d$c5934d30$7c01000a@rcsserver> Message-ID: <02dc01c3e4a7$86152570$6601a8c0@LightningFlash> Sorry, John... there isn't. There are only specific event messages sent for specific events. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of RCS > Sent: Friday, January 16, 2004 6:39 AM > To: metacard at lists.runrev.com; use-revolution at lists.runrev.com > Subject: MC-REV Event similar to AppleEvent? > > > Is there a master 'Event' that we can use to tell what > handler is being called (similar to the 'AppleEvent')? Rather > than trapping 20 (or more) handlers in my window for events > passed to it, I would like to 'discern' from a generic > handler what message is being sent...and any data that was involved. > > Thanks, John > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From mazzapaolo at libero.it Tue Jan 27 02:50:18 2004 From: mazzapaolo at libero.it (Paolo Mazza) Date: Tue, 27 Jan 2004 08:50:18 +0100 Subject: Unix linebreaks and permissions In-Reply-To: Message-ID: <734D0A4D-509D-11D8-8121-000393680A94@libero.it> I have to put a field of my stack into a text file posted on a remote Linux server. I can use "put field XXX into URL "http://myserver" . But.... how can I set Unix linebreaks? how can i set perpissions? Ciao Paolo From tuviah at runrev.com Mon Jan 26 06:14:27 2004 From: tuviah at runrev.com (tuviah snyder) Date: Mon, 26 Jan 2004 03:14:27 -0800 Subject: Subject: Cross-Post from MC List: Unicode support in Menus, etc.? References: <20040127073609.38E4D9300A6@mail.runrev.com> Message-ID: <019101c3e3fd$90e343b0$1602a8c0@USER> >Can anyone provide this person direction on his questions? He's >obviously frustrated with the support he's been getting... >Right-to-Left? Yes but you will have the set the textalign property of the field to "right".Revolution at this time only allows you to set the textalign of the entire field and not at a line or block level. >BTW: I, too, am interested to know just how other languages are handled >in menus. For example, suppose someone wanted to make a program that >allowed the user to switch between English and Farsi on command... once >the language was chosen from the Mac's language menu, would the fields >in Rev just "adapt"? No. I could have the engine send a message when this happens as was suggested. >What about changing menu item names and menu titles >to a chosen language? How would that be implemented? It is being worked on. Tuviah From ambassador at fourthworld.com Tue Jan 27 02:57:22 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 26 Jan 2004 23:57:22 -0800 Subject: ReportsPro [was] Hypercard to Rev Question In-Reply-To: Message-ID: Alex Rice wrote: >> I feel curiosity about ReportsPro. >> >> How different is this program from the Report >> stack created by Scott Raney? >> >> You could download this stack from the >> tools.metacard.com stack within the >> MetaCard development environment. > > Which can be viewed from Runrev also (I was happy to discover) It's also available in RevNet as well, in the stack listed as tools.metacard.com -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jan.decroos at groepvanroey.be Tue Jan 27 03:44:39 2004 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Tue, 27 Jan 2004 09:44:39 +0100 Subject: tehe ExecutionContexts In-Reply-To: <20040126202858.A66C693006E@mail.runrev.com> References: <20040126202858.A66C693006E@mail.runrev.com> Message-ID: "MisterX" writes: >Hi everyone, > >In my joyous mood to set the best possible quality in the >next Script Editor X. My personal full featured editor >template (of many to come). Lately we talked about filtering >the variables (GUI already impletented!) in the Var. Watcher. > >In MC the variable watcher has a companion stack called the >"Execution Context". > >This stack was integrated into the GUI of RR's Variable Watcher. > >I've done the integration as well in my VWx for MC but before >attacking the RR integration, I wanted to elucidate the mistery >of execution contexts. I've searched both documentations but >there is NO entry regarding it... > >Anyone have tips to on what it's suppose to do or how use it? >TIA... > Here's a small example (I made as _test_ for getting local properties from calling handlers) on mouseUp set the numberformat to "0.###" myHandler1 end mouseUp on myHandler1 myHandler2 end myHandler1 on myHandler2 set the caseSensitive to true myHandler3 end myHandler2 on myHandler3 get getLocalPropertyFromCallingHandler("numberformat") if it <> empty then set the numberformat to it answer 1*5.111111 -- tells "5.111" get getLocalPropertyFromCallingHandler("caseSensitive") if it <> empty then set the caseSensitive to it answer "a" = "A" -- tells false end myHandler3 function getLocalPropertyFromCallingHandler pPropertyName if pPropertyName is not among the lines of the propertyNames then StopWithMessage "getLocalPropertyFromCallingHandler: invalid property name:"&&pPropertyName put the executionContexts into lCallingHandlers put the number of lines of lCallingHandlers -1 into lNumCallingHandlers repeat with i = lNumCallingHandlers down to 1 put line i of lCallingHandlers into lHandler put item 3 of lHandler - 1 into lLnr do "put the script of "&(item 1 of lHandler)&" into lScript" repeat with j = lLnr down to 1 put line j of lScript into lLine if word 1 of lLine is among the items of "on,function" then exit repeat if (word 1 of lLine = "set") and (word 2 of lLine = "the") and (word 3 of lLine = pPropertyName) then repeat with k = 4 to the number of words of lLine if word k of lLine = "to" then return the value of word k+1 to -1 of lLine end repeat end if end repeat end repeat return empty end getLocalPropertyFromCallingHandler on StopWithMessage pMess answer error pMess exit to top end StopWithMessage Regards, Jan From chrism at luminus.com Tue Jan 27 04:04:57 2004 From: chrism at luminus.com (Christopher Mitchell) Date: Tue, 27 Jan 2004 03:04:57 -0600 Subject: New to Rev, smooth animation in Builder but Jumpy animation in app/browse . well, cheers then! In-Reply-To: <95E04966-4790-11D8-A830-000393B64EDC@luminus.com> References: <95E04966-4790-11D8-A830-000393B64EDC@luminus.com> Message-ID: I suppose not. I am dismayed that in the 974 messages in my Revolution users list folder posted since I asked this simple question that nobody has responded. Hopefully the issue will fix itself in some future build and I will be back. On Jan 15, 2004, at 1:25 PM, Christopher Mitchell wrote: > Is anybody around to read this beside our friendly autoresponder? > > chris > > > On Jan 14, 2004, at 10:47 PM, Sannyasin Sivakatirswami wrote: > >> Namaskara and Aloha, > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Tue Jan 27 04:26:10 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 27 Jan 2004 01:26:10 -0800 (PST) Subject: New to Rev, smooth animation in Builder but Jumpy animation in app/browse . well, cheers then! In-Reply-To: Message-ID: <20040127092610.8920.qmail@web60508.mail.yahoo.com> --- Christopher Mitchell wrote: > I suppose not. I am dismayed that in the 974 > messages in my Revolution > users list folder posted since I asked this simple > question that nobody > has responded. Hopefully the issue will fix itself > in some future > build and I will be back. > Hi Christopher, I hope this reaches you before you unsubscribe from the mailing list. There's no rerason to drop Revolution completely because one corner of the application did not respond as you had expected, and the mailing list failed to answer your call. This mailing list is filled with individuals who are kind enough to respiond to questions they can answer, in their free time. When people answer questions, it's usually because they have encountered this question before, and have found an answer. Very rarely do questions fall through the cracks on this list, but yours was one of them, probably because nobody had an answer ; not even the multimedia buffs. My personal experience is oriented towards databases ; I have never used the Animation Builder, and leave the multimedia questions to the guys that are good at that. Nevertheless, I'll see what I can come up with : - are you running any 'on idle' handlers ? - have you tried to set the 'alwaysBuffer' property of the stack to true ? - have you included the animation library in the standalone build (IIRC, this library contains some optimised code) ? - if none of these helps, could you post your stack to a website, so we can have a look at it ? Hope this brings you closer to a solution, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From janschenkel at yahoo.com Tue Jan 27 04:42:10 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 27 Jan 2004 01:42:10 -0800 (PST) Subject: Unix linebreaks and permissions In-Reply-To: <734D0A4D-509D-11D8-8121-000393680A94@libero.it> Message-ID: <20040127094210.73079.qmail@web60505.mail.yahoo.com> --- Paolo Mazza wrote: > I have to put a field of my stack into a text file > posted on a remote > Linux server. > > I can use "put field XXX into URL "http://myserver" > . > > But.... > > how can I set Unix linebreaks? > > how can i set perpissions? > > Ciao Paolo > Hi Paolo, You can use the 'replace' command just before uploading the field : -- put field "Foobar" into tText replace return with numtochar(10) in tText put tText into URL tURL -- However, I don't think you'll have to do this, as Revolution internally uses LineFeed as the line delimiter, just like Unix. As for setting the permissions : check out the entry for the 'libURLFTPCommand' function in the Transcript Dictionary. It's probably a better idea to upload your files through FTP than HTTP anyway, as more servers support it. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From janschenkel at yahoo.com Tue Jan 27 04:53:29 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 27 Jan 2004 01:53:29 -0800 (PST) Subject: Bug in handling Help menu items? In-Reply-To: Message-ID: <20040127095329.15207.qmail@web60508.mail.yahoo.com> --- Frank Leahy wrote: > Has anyone else had problems getting the menuPick > message sent from > items in the Help menu in the MacOSX menubar? > > I have two items in the Help menu, "Open Help > Window", followed by a -, > followed by "About Photo Album" as the docs > describe. The "About Photo > Album" gets moved to the Application menu as it's > supposed to (as does > Preferences from the Edit menu), and the only item > left in the Help > menu is "Open Help Window". > > All my other menu choices come through the stack > menuPick handler, > except for these two Help menu items -- "About Photo > Album" and "Open > Help Window". There is definitely no intervening > menuPick handler that > might be hiding the choices, and it doesn't matter > if I add a menuPick > to the Help button, menu bar, etc.. > > Has anyone else seen this behavior? (I'm running > 2.1.2) > > Thanks in advance, > -- Frank Leahy > Hi Frank, Did you get this to work properly ? It didn't give me any problems when I tried to simulate your problem. If not, have you tried to add a breakpoint to see if the menuPick is sent and what the content of its parameter is ? Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From janschenkel at yahoo.com Tue Jan 27 05:01:48 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 27 Jan 2004 02:01:48 -0800 (PST) Subject: How to list tables in an SQL database In-Reply-To: <000001c3e004$9dfc1420$061cfea9@UltraSolve1> Message-ID: <20040127100148.79320.qmail@web60510.mail.yahoo.com> --- Roger Kingston wrote: > Thanks again Jan, I very much appreciate your > in-depth knowledge of the > secrets of Rev! > > My tests, which I performed on ODBC connections both > local (MS Access) > and over the Internet (MS SQL), show that the > revdb_tablenames() > function does exist (i.e. no error message when > called), but the > response is always empty. This is strange, because > I can manipulate the > connected databases very successfully with all the > other revdb funtions > and commands, so I'm not sure what is going wrong > here. I tried the > exact example you mailed me and the response was > empty. Perhaps this is > why the function isn't documented, maybe it's not > properly supported? > > The only other clue I have is that when using the > Automatic DB Query > form, it too fails to list the database tables. > Could it be connected > with something in my local setup or do others > experience the same > problem? > > Regards > > Roger Kingston > Hi Roger, It is strange indeed that you can get access to the data inside, but niot see a list of the tables ; perhaps this is one of the grey areas in ODBC, that may or may not work for a database. Perhaps you can send a specific SQL query yourself, to fetch this information ? You'll have to look it up in the manual of the database, but for MySQL you can do : SHOW tables And in Oracle, you can use : SELECT * FROM tab If you happoen to find one that works, don't hesitate to post it to the list :-) Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From shedrup at ms9.hinet.net Tue Jan 27 05:36:10 2004 From: shedrup at ms9.hinet.net (Friedrich F. Grohmann) Date: Tue, 27 Jan 2004 18:36:10 +0800 Subject: Rev fails to recognize Chinese Message-ID: <200401271034.SAA22619@msr42.hinet.net> I've been working with Macs for a number of years under systems ranging from 7.5 to 9.2. Much of my data is in Chinese and I've made extensive use of HC in the past. Since I just got one PowerBook G4 with Panther installed, I finally decided to begin migrating to Revolution. To my utter astonishment, however, I can't get Rev to find Chinese in a text field if the text has been copied into the field. It will duly recognize newly typed text but does not react if it has been pasted. Since this happens in the case of both OS 9 and OS X files and since AppleWorks 6 does not have the same problem I can not imagine that this has anything to do with fonts (which are anyway all Apple fonts). Why does pasted Chinese escape Revolution? I will be enormously grateful if one of the gurus on the list could enlighten me about the cause for this behaviour and graciously point out a solution. Fritz From frank at backtalk.com Tue Jan 27 05:57:10 2004 From: frank at backtalk.com (Frank Leahy) Date: Tue, 27 Jan 2004 10:57:10 +0000 Subject: Bug in handling Help menu items? In-Reply-To: <20040127100252.EB5A39300A0@mail.runrev.com> Message-ID: <8E8C7988-50B7-11D8-80EC-000A9580FCCE@backtalk.com> On Tuesday, January 27, 2004, at 10:02 AM, use-revolution-request at lists.runrev.com wrote: > Message: 10 > Date: Tue, 27 Jan 2004 01:53:29 -0800 (PST) > From: Jan Schenkel > Subject: Re: Bug in handling Help menu items? > To: How to use Revolution > Message-ID: <20040127095329.15207.qmail at web60508.mail.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > --- Frank Leahy wrote: >> Has anyone else had problems getting the menuPick >> message sent from >> items in the Help menu in the MacOSX menubar? >> [snip] >> > > Hi Frank, > > Did you get this to work properly ? It didn't give me > any problems when I tried to simulate your problem. > If not, have you tried to add a breakpoint to see if > the menuPick is sent and what the content of its > parameter is ? > > Hope this helped, > > Jan Schenkel. Yes Jan I did, thank you. The problem was that I had the Help menu disabled by mistake in MenuBuilder, and there's a bug with how RunRev handles disabled menus that had me scratching my head for awhile. When a whole menu is disabled (as opposed to the individual items in the menu) not only are all the items supposed to be greyed out, but the menu in the menu bar is also supposed to be greyed out. It wasn't, and neither were the menu items. Try disabling the Help menu in Menu Builder. You'll see that the "About Your App" is not greyed out in the App menu, nor are any of the remaining menu items in the Help menu greyed out. In other words the Help menus items are still selectable, but no menuPick messages come through. This is probably the result of the menu item moving that's being done on OSX with the Preference and About This App menu items. But still a bug :-) -- Frank From livfoss at blueyonder.co.uk Tue Jan 27 06:21:50 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue, 27 Jan 2004 11:21:50 +0000 Subject: geometry-challenged Message-ID: Just out of curiosity, can Richard G say which (if any) of the solutions offered to the 'intersection' problem he actually adopted, and if it did what he wanted - sorry if you've already said and I missed it. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Tue Jan 27 06:28:15 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue, 27 Jan 2004 11:28:15 +0000 Subject: A cross-platform answer file? Message-ID: People might like to know that there's an interesting footnote to this discussion in the latest version of Tidbits It's an interview with Bruce Horn by Adam Engst. Bruce H wrote the original Finder and has some observations on the way OSX handles file associations. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From rjb at rz.uni-potsdam.de Tue Jan 27 07:37:53 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue, 27 Jan 2004 13:37:53 +0100 Subject: Bug votation (Was: Re: A cross-platform answer file?) In-Reply-To: <1g87oic.hmvjoep1gg3kM%mcdomi@free.fr> References: <1g87oic.hmvjoep1gg3kM%mcdomi@free.fr> Message-ID: >Frank Leahy wrote: > >> I guess if this feature is that important we should all be voting for >> it, right? (How does one do that?) > >Who is permitted to vote? > >I went two or three times on Bugzilla (with Revzilla or directly) and >saw each time that I was given 0 (zero) vote authorization ;-)) > You need to have a login account (any rev developer can add it). Then you will get 100 votes to distribute. Admittedly, the bugzilla interface is quite clumsy and it is not always clear how to add votes. You need to be logged in to see those extra options and display the bug you want to vote for. Then somewhere on that page is a link allowing you to add your votes. Robert From rjb at rz.uni-potsdam.de Tue Jan 27 07:34:37 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue, 27 Jan 2004 13:34:37 +0100 Subject: A cross-platform answer file? In-Reply-To: <1g87of8.guw0vy18xtfzsM%mcdomi@free.fr> References: <1g87of8.guw0vy18xtfzsM%mcdomi@free.fr> Message-ID: >Richard Gaskin wrote: > >> I'd much rather see Tuviah and all other Mac developers spend their time >> making cool features that really show off what OS X has to offer rather than >> spending time reinventing forgotten wheels. > >I second this ;-) > Well, I feel I should oppose. Being able to open selected files by us and users of our programs is an important feature. Even under Classic OS, the stdfile proc allowed to insert custom filtering since standard was often not enough. Yes, Apple could possibly support both type and suffix as filter options in system, but Revolution still needs to provide a syntax for to pass the specification providing functionality requested by Rev users (cf. discussion of bug 605). In other words, much of the work has to be done anyway. At this level, I don't care whether Rev uses procs supplied by Apple or make their own. This is between them an Apple (or Microsoft or else). Robert From jhurley at infostations.com Tue Jan 27 07:48:23 2004 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 27 Jan 2004 04:48:23 -0800 Subject: geometry-challenged In-Reply-To: <20040127012711.7D0CE930088@mail.runrev.com> References: <20040127012711.7D0CE930088@mail.runrev.com> Message-ID: > >Message: 5 >Date: Mon, 26 Jan 2004 16:34:40 -0800 (PST) >From: Alejandro Tejada >Subject: Re: geometry-challenged >To: use-revolution at lists.runrev.com >Message-ID: <20040127003440.48524.qmail at web40506.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > >on Mon, 26 Jan 2004 >Trevor DeVore wrote: > >> function libPlot_IntersectAtPoint p1Start, p1End, >> p2Start, p2End >[snip] > >Excellent, Trevor!!! >This function is very useful. > >How could you adapt this function to get all the >intersection points of two organic shaped >vector poligonal graphics? Al, I put up an application using the "intersection" function which does something quite similar to this on my web site some time ago. It was a response to a question on the list about colliding polygons. You can drag or propel one polygon to/at another. They beep or bounce off one another when any line of one polygon intersect any line of the other. See "Colliding Polygons" at http://home.infostations.net/jhurley/ From martin at harbourtown.co.uk Tue Jan 27 07:49:54 2004 From: martin at harbourtown.co.uk (Martin Baxter) Date: Tue, 27 Jan 2004 13:49:54 +0100 Subject: What is Rev doing? Message-ID: >How many people use this method for editing scripts? I used to a lot, >but not so much anymore. Would it be as useful if it were something >like command-option-space instead? I prefer to right-click and select from the contextual menu. However, I do still have a Hypercard reflex left over that I can't quite rid myself of, namely Shift-Doubleclick In Hypercard this would open the clicked object's script. (Doubleclick without the modifier opened the info/properties dialog) Every time I do this in Revolution I am still momentarily fazed by the fact that nothing happens as a result. I expect the script editor to pop open instantly. I never did use Command-option-click even in HC and I'm probably mostly re-programmed to the right-click method now. Martin From DouglasMackay at blueyonder.co.uk Tue Jan 27 08:04:46 2004 From: DouglasMackay at blueyonder.co.uk (Douglas Mackay) Date: Tue, 27 Jan 2004 13:04:46 -0000 Subject: newbie requires help Message-ID: <004e01c3e4d6$23de6ea0$8ebc2952@PATRIOT> Rod the debugger keeps on comming up with : . There was an Execution Error at 1:02:50 PM Error description: Function: error in function handler Object: button id 1003 of card id 1002 of stack "C:/Program Files/Revolution 1.1.1/Sample Stacks/Age Calculator.rev/Age Calculator.rev" -------------------- put whichage (firstDate, secondDate) into dateholder -------------------- Value: whichage error hapens after entering assesment date cheers Douglas From DouglasMackay at blueyonder.co.uk Tue Jan 27 08:09:27 2004 From: DouglasMackay at blueyonder.co.uk (Douglas Mackay) Date: Tue, 27 Jan 2004 13:09:27 -0000 Subject: tried this "data and error occured " Message-ID: <005701c3e4d6$cb3f3f80$8ebc2952@PATRIOT> date of birth 8/2/1961 and assesment date the days date thats when an err occurrs From rcozens at pon.net Tue Jan 27 09:19:41 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 27 Jan 2004 07:19:41 -0700 Subject: MC-REV Event similar to AppleEvent? In-Reply-To: <000b01c3dc2d$c5934d30$7c01000a@rcsserver> References: <20040115170005.626DB9303EE@mail.runrev.com> <000b01c3dc2d$c5934d30$7c01000a@rcsserver> Message-ID: >Is there a master 'Event' that we can use to tell what handler is being >called (similar to the 'AppleEvent')? Rather than trapping 20 (or more) >handlers in my window for events passed to it, I would like to 'discern' >from a generic handler what message is being sent...and any data that was >involved. Hi John, AS others have posted, there is nothing built in to the Rev engine to accomplish this. However libIPC, authored by Jan Schenkel for the revolution_ipc group, , processes generic "IPC_Events" just as yoy describe. All SDB client/server messages are formatted and processed as IPC_Events. Hopefully, a future version of libIPC will support AppleEvent communication protocol in addition to TCP/IP. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From ambassador at fourthworld.com Tue Jan 27 10:39:06 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Jan 2004 07:39:06 -0800 Subject: geometry-challenged In-Reply-To: Message-ID: Graham Samuel wrote: > Just out of curiosity, can Richard G say which (if any) of the > solutions offered to the 'intersection' problem he actually adopted, > and if it did what he wanted - sorry if you've already said and I > missed it. He can't quite yet because he hasn't sorted through the various alternatives in a way that he can apply to the problem at hand quite yet. Hopefully soon (gotta finish a client project first)... -- 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 ambassador at fourthworld.com Tue Jan 27 10:53:24 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Jan 2004 07:53:24 -0800 Subject: A cross-platform answer file? In-Reply-To: Message-ID: Robert Brenstein wrote: >> Richard Gaskin wrote: >> >>> I'd much rather see Tuviah and all other Mac developers spend their time >>> making cool features that really show off what OS X has to offer rather than >>> spending time reinventing forgotten wheels. >> >> I second this ;-) >> > > Well, I feel I should oppose. Being able to open selected files by us > and users of our programs is an important feature. Even under Classic > OS, the stdfile proc allowed to insert custom filtering since > standard was often not enough. Yes, Apple could possibly support both > type and suffix as filter options in system, but Revolution still > needs to provide a syntax for to pass the specification providing > functionality requested by Rev users (cf. discussion of bug 605). In > other words, much of the work has to be done anyway. At this level, I > don't care whether Rev uses procs supplied by Apple or make their > own. This is between them an Apple (or Microsoft or else). I agree with both: While my dream of Apple taking care of backward compatibility issues they introduce would be more beneficial for the Mac community as a whole, it is just that, a dream. A suboptimal solution that exists is far superior to an optimal ideal that doesn't. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From soapdog at mac.com Tue Jan 27 11:19:59 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 27 Jan 2004 14:19:59 -0200 Subject: newbie requires help In-Reply-To: <004e01c3e4d6$23de6ea0$8ebc2952@PATRIOT> References: <004e01c3e4d6$23de6ea0$8ebc2952@PATRIOT> Message-ID: On Jan 27, 2004, at 11:04 AM, Douglas Mackay wrote: > Rod the debugger keeps on comming up with : > . There was an Execution Error at 1:02:50 PM > Error description: Function: error in function handler > Object: button id 1003 of card id 1002 of stack "C:/Program > Files/Revolution 1.1.1/Sample Stacks/Age Calculator.rev/Age > Calculator.rev" > -------------------- > put whichage (firstDate, secondDate) into dateholder > -------------------- > Value: whichage > error hapens after entering assesment date > > cheers > Douglas Douglas, where you define whichage? Cheers Andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia - Soap Dog Studios - BRAZIL http://studios.soapdog.org From jacque at hyperactivesw.com Tue Jan 27 12:07:04 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 27 Jan 2004 11:07:04 -0600 Subject: Bug in handling Help menu items? In-Reply-To: <8E8C7988-50B7-11D8-80EC-000A9580FCCE@backtalk.com> References: <8E8C7988-50B7-11D8-80EC-000A9580FCCE@backtalk.com> Message-ID: <40169AB8.8010405@hyperactivesw.com> On 1/27/04 4:57 AM, Frank Leahy wrote: > Try disabling the Help menu in Menu Builder. You'll see that the "About > Your App" is not greyed out in the App menu, nor are any of the > remaining menu items in the Help menu greyed out. In other words the > Help menus items are still selectable, but no menuPick messages come > through. > > This is probably the result of the menu item moving that's being done on > OSX with the Preference and About This App menu items. But still a bug :-) I don't think it is under Rev's control. Apple forbids making either of those menus disabled. The OS just won't do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Tue Jan 27 12:12:52 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 27 Jan 2004 10:12:52 -0700 Subject: technical question about Rev's base64decode In-Reply-To: Message-ID: <0A4FB48B-50EC-11D8-BBE1-000A9567A3E6@swcp.com> On Sunday, January 25, 2004, at 09:31 PM, Doug Lerner wrote: > Does Rev, in general, support any sized strings for base 64 decoding? That has been my experience. IIRC, Rev will ignore all the chars it should in decoding. Revolution will use line ends outside of the base64 standard, but those can be converted as needed and often are converted in any conversions just before communication. I think this is reasonable. Big chunks of data put into fields should be broken into lines. Dar Scott From capellan2000 at yahoo.com Tue Jan 27 12:37:25 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Tue, 27 Jan 2004 09:37:25 -0800 (PST) Subject: geometry-challenged In-Reply-To: <20040127154105.8D3C79300B6@mail.runrev.com> Message-ID: <20040127173725.57525.qmail@web40507.mail.yahoo.com> on Tue, 27 Jan 2004 04:48:23 -0800 Jim Hurley wrote: > I put up an application using the "intersection" > function which does something quite similar to > this on my web site some time ago. It was > a response to a question on the list about colliding > polygons. You can drag or propel one polygon > to/at another. They beep or bounce off > one another when any line of one polygon intersect > any line of the other. > > See "Colliding Polygons" at > http://home.infostations.net/jhurley/ Thanks a lot Jim! I bookmarked your website. I'll look closely a this function. Did you noticed that some files does not have an extension like: .rev or .mc or .txt? In this page, you have your excellent work with Turtle graphics. Do you have plans for an electronic edition of your book on Turtle graphics? You can do it all within Rev. Lessons and exercises. Keep Up your good work! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From emibullen999 at yahoo.co.uk Tue Jan 27 12:39:02 2004 From: emibullen999 at yahoo.co.uk (=?iso-8859-1?q?emerson=20bullen?=) Date: Tue, 27 Jan 2004 17:39:02 +0000 (GMT) Subject: technical question about Rev's base64decode In-Reply-To: <0A4FB48B-50EC-11D8-BBE1-000A9567A3E6@swcp.com> Message-ID: <20040127173902.27319.qmail@web25101.mail.ukl.yahoo.com> stop sending me these emails i don't no who you are or worse what your talkiong about. Dar Scott wrote: On Sunday, January 25, 2004, at 09:31 PM, Doug Lerner wrote: > Does Rev, in general, support any sized strings for base 64 decoding? That has been my experience. IIRC, Rev will ignore all the chars it should in decoding. Revolution will use line ends outside of the base64 standard, but those can be converted as needed and often are converted in any conversions just before communication. I think this is reasonable. Big chunks of data put into fields should be broken into lines. Dar Scott _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --------------------------------- BT Yahoo! Broadband - Free modem offer, sign up online today and save ?80 From emibullen999 at yahoo.co.uk Tue Jan 27 12:41:15 2004 From: emibullen999 at yahoo.co.uk (=?iso-8859-1?q?emerson=20bullen?=) Date: Tue, 27 Jan 2004 17:41:15 +0000 (GMT) Subject: geometry-challenged In-Reply-To: <20040127173725.57525.qmail@web40507.mail.yahoo.com> Message-ID: <20040127174115.19648.qmail@web25102.mail.ukl.yahoo.com> stop sending me these emails i dont no who you are or what your talking about. Alejandro Tejada wrote: on Tue, 27 Jan 2004 04:48:23 -0800 Jim Hurley wrote: > I put up an application using the "intersection" > function which does something quite similar to > this on my web site some time ago. It was > a response to a question on the list about colliding > polygons. You can drag or propel one polygon > to/at another. They beep or bounce off > one another when any line of one polygon intersect > any line of the other. > > See "Colliding Polygons" at > http://home.infostations.net/jhurley/ Thanks a lot Jim! I bookmarked your website. I'll look closely a this function. Did you noticed that some files does not have an extension like: .rev or .mc or .txt? In this page, you have your excellent work with Turtle graphics. Do you have plans for an electronic edition of your book on Turtle graphics? You can do it all within Rev. Lessons and exercises. Keep Up your good work! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --------------------------------- BT Yahoo! Broadband - Free modem offer, sign up online today and save ?80 From emibullen999 at yahoo.co.uk Tue Jan 27 12:43:48 2004 From: emibullen999 at yahoo.co.uk (=?iso-8859-1?q?emerson=20bullen?=) Date: Tue, 27 Jan 2004 17:43:48 +0000 (GMT) Subject: Bug in handling Help menu items? In-Reply-To: <40169AB8.8010405@hyperactivesw.com> Message-ID: <20040127174348.20162.qmail@web25102.mail.ukl.yahoo.com> stop sending me this shit i dont no who you are or what your talking "J. Landman Gay" wrote:On 1/27/04 4:57 AM, Frank Leahy wrote: > Try disabling the Help menu in Menu Builder. You'll see that the "About > Your App" is not greyed out in the App menu, nor are any of the > remaining menu items in the Help menu greyed out. In other words the > Help menus items are still selectable, but no menuPick messages come > through. > > This is probably the result of the menu item moving that's being done on > OSX with the Preference and About This App menu items. But still a bug :-) I don't think it is under Rev's control. Apple forbids making either of those menus disabled. The OS just won't do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --------------------------------- BT Yahoo! Broadband - Free modem offer, sign up online today and save ?80 From emibullen999 at yahoo.co.uk Tue Jan 27 12:45:08 2004 From: emibullen999 at yahoo.co.uk (=?iso-8859-1?q?emerson=20bullen?=) Date: Tue, 27 Jan 2004 17:45:08 +0000 (GMT) Subject: newbie requires help In-Reply-To: Message-ID: <20040127174508.81526.qmail@web25104.mail.ukl.yahoo.com> stop sending me these emails i dont no what yourt talking about Andre Garzia wrote: On Jan 27, 2004, at 11:04 AM, Douglas Mackay wrote: > Rod the debugger keeps on comming up with : > . There was an Execution Error at 1:02:50 PM > Error description: Function: error in function handler > Object: button id 1003 of card id 1002 of stack "C:/Program > Files/Revolution 1.1.1/Sample Stacks/Age Calculator.rev/Age > Calculator.rev" > -------------------- > put whichage (firstDate, secondDate) into dateholder > -------------------- > Value: whichage > error hapens after entering assesment date > > cheers > Douglas Douglas, where you define whichage? Cheers Andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia - Soap Dog Studios - BRAZIL http://studios.soapdog.org _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --------------------------------- BT Yahoo! Broadband - Free modem offer, sign up online today and save ?80 From emibullen999 at yahoo.co.uk Tue Jan 27 12:46:31 2004 From: emibullen999 at yahoo.co.uk (=?iso-8859-1?q?emerson=20bullen?=) Date: Tue, 27 Jan 2004 17:46:31 +0000 (GMT) Subject: geometry-challenged In-Reply-To: Message-ID: <20040127174631.81931.qmail@web25104.mail.ukl.yahoo.com> stop sending me these emails i dont no who you are or what your talking about Richard Gaskin wrote:Graham Samuel wrote: > Just out of curiosity, can Richard G say which (if any) of the > solutions offered to the 'intersection' problem he actually adopted, > and if it did what he wanted - sorry if you've already said and I > missed it. He can't quite yet because he hasn't sorted through the various alternatives in a way that he can apply to the problem at hand quite yet. Hopefully soon (gotta finish a client project first)... -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --------------------------------- BT Yahoo! Broadband - Free modem offer, sign up online today and save ?80 From emibullen999 at yahoo.co.uk Tue Jan 27 12:47:49 2004 From: emibullen999 at yahoo.co.uk (=?iso-8859-1?q?emerson=20bullen?=) Date: Tue, 27 Jan 2004 17:47:49 +0000 (GMT) Subject: MC-REV Event similar to AppleEvent? In-Reply-To: Message-ID: <20040127174749.72936.qmail@web25109.mail.ukl.yahoo.com> same again stop sending me this shit i dont no who you are>? Rob Cozens wrote:>Is there a master 'Event' that we can use to tell what handler is being >called (similar to the 'AppleEvent')? Rather than trapping 20 (or more) >handlers in my window for events passed to it, I would like to 'discern' >from a generic handler what message is being sent...and any data that was >involved. Hi John, AS others have posted, there is nothing built in to the Rev engine to accomplish this. However libIPC, authored by Jan Schenkel for the revolution_ipc group, , processes generic "IPC_Events" just as yoy describe. All SDB client/server messages are formatted and processed as IPC_Events. Hopefully, a future version of libIPC will support AppleEvent communication protocol in addition to TCP/IP. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --------------------------------- BT Yahoo! Broadband - Free modem offer, sign up online today and save ?80 From dsc at swcp.com Tue Jan 27 12:50:33 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 27 Jan 2004 10:50:33 -0700 Subject: image transfer not working again... In-Reply-To: Message-ID: <4E5BDDE2-50F1-11D8-BBE1-000A9567A3E6@swcp.com> On Sunday, January 25, 2004, at 08:58 PM, Doug Lerner wrote: > 1. I think my problem is that I am sending "the imageData of image > myImage", > which is the 4-byte-per-pixel visible format of the raw data. This does not include any shape info or transparency info. If you send 16 pixels, is that 4X4 or 1X16? If all images are some fixed size and and both ends know that, that is less of a problem. Dar Scott From klaus at major-k.de Tue Jan 27 12:51:14 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 27 Jan 2004 18:51:14 +0100 Subject: Bug in handling Help menu items? In-Reply-To: <20040127174348.20162.qmail@web25102.mail.ukl.yahoo.com> References: <20040127174348.20162.qmail@web25102.mail.ukl.yahoo.com> Message-ID: <66A34E0B-50F1-11D8-818C-000A27B49A96@major-k.de> Hi Emerson, Am 27.01.2004 um 18:43 schrieb emerson bullen: > stop sending me this shit i dont no who you are or what your talking Dr. No??? Could you possibly consider to explain (and maybe even change) your "head"-line, i am afraid i don't understand this joke... Thanks. Regards Klaus Major klaus at major-k.de www.major-k.de From ambassador at fourthworld.com Tue Jan 27 13:12:29 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Jan 2004 10:12:29 -0800 Subject: libURL issues? Message-ID: Is anyone else seeing issues with the load command in libURL today? "get url" works, but load almost always initiates, but then the socket closes too quickly for the resource to be loaded. Checking this out in RevNet I find mixed results: the forms stacks ("Feedback" and "Add Resource") consistently work well, but most others work only rarely today. Could the forms work because they're small enough to come over in a single packet? I've not changed RevNet since it was last working, yesterday myself and many others were using it without difficulty. Could this be related to the traffic spike caused by the worm? Any workarounds? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Tue Jan 27 13:17:15 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 27 Jan 2004 11:17:15 -0700 Subject: Burning a disc of files In-Reply-To: <73A18A2A-4ABB-11D8-98EC-000A95763ABC@themacguy.info> Message-ID: <08F7297C-50F5-11D8-BBE1-000A9567A3E6@swcp.com> On Monday, January 19, 2004, at 01:09 PM, Barry Levine wrote: > Personally, I'd love to see an example stack with radio buttons for CD > format, a button with Transcript code to fill a field with filepaths > and sizes and, in the stack script, the syntax for taking this info > and accomplishing the burn. If Applescript is the best external > method, then so be it. Provide the Applescript along with the example > stack. With 'do', the AppleScript is in the stack. Some experiments: Try using Rev to copy files to a CD and see what happens. Try using AppleScript to Finder to copy files to a Cd and see what happens. I looked at the AppleEvent Dictionary for Finder and did not see Burn. There is a menu item and it has a ... on it. Dar Scott From klaus at major-k.de Tue Jan 27 13:22:20 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 27 Jan 2004 19:22:20 +0100 Subject: geometry-challenged In-Reply-To: <20040127174631.81931.qmail@web25104.mail.ukl.yahoo.com> References: <20040127174631.81931.qmail@web25104.mail.ukl.yahoo.com> Message-ID: Hi listers, Am 27.01.2004 um 18:46 schrieb emerson bullen: ????? > stop sending me these emails i dont no who you are or what your > talking about am i the only one who notices this strange phenomenon??? Mail are coming in here from the list with emibullen999 at yahoo.co.uk as the sender, but the posts are apparently not from him... Any hints??? Clueless Klaus Major klaus at major-k.de www.major-k.de From yvescoppe at skynet.be Tue Jan 27 13:44:16 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 27 Jan 2004 19:44:16 +0100 Subject: filetype question In-Reply-To: <46411DCE-507D-11D8-A2C1-0003937A97B8@genesearch.com.au> References: <4E0FF7A3-4F64-11D8-A4DE-000393533246@skynet.be> <46411DCE-507D-11D8-A2C1-0003937A97B8@genesearch.com.au> Message-ID: Le 27 janv. 04, ? 04:59, Sarah Reichelt a ?crit : > If the file has an extension, like .mov or .mpg and you set it's > filetype to empty, OS X will just use whatever default program matches > the file extension and give it the appropriate icon. > > Apart from that, I have found using the long files to get the file > type rather variable, sometimes it just gives ????????, but here is an > AppleScript to do it. Put this into the AppleScript Script Editor and > click the Run button. Choose a file that is already opening with the > correct application and it's filetype will be shown. Then you will > know what to set your new files to. > > tell application "Finder" > set tFile to choose file > set tType to the file type of tFile > set tCreator to creator type of tFile > display dialog tType & tCreator > end tell > > Cheers, > Sarah > > Thank you for your help ! Greetings. Yves COPPE yvescoppe at skynet.be From mwieder at ahsoftware.net Tue Jan 27 14:06:40 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 27 Jan 2004 11:06:40 -0800 Subject: How to list tables in an SQL database In-Reply-To: <20040127100148.79320.qmail@web60510.mail.yahoo.com> References: <20040127100148.79320.qmail@web60510.mail.yahoo.com> Message-ID: <12593173967.20040127110640@ahsoftware.net> Jan- Tuesday, January 27, 2004, 2:01:48 AM, you wrote: The only way I know of to get a list of tables from MSAccess with a direct SQL statement is: SELECT * from MSysObjects where type=6; -- -Mark Wieder mwieder at ahsoftware.net From rgmiller at pacbell.net Tue Jan 27 14:49:25 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Tue, 27 Jan 2004 11:49:25 -0800 Subject: OT the spirit of Spirit References: <20040127040104.D48C293008A@mail.runrev.com> Message-ID: <4016C0C5.9020105@pacbell.net> > > >From: Mark Wieder >Subject: Re: OT the spirit of Spirit > >TD> The program Maestro which allows you to >TD> see the data that the robots are sending back is written in Java. I >TD> don't know what the robot has but perhaps this is what they were >TD> talking about? > >AFAIK that's the only part of any of this that's written in java. >Buggy and s-l-o-w, to boot. I believe Spirit's OS was done by Wind >River Systems. > > > On top of that, it probably running WIN 98! Or, better yet, CP/M.... I can't believe they'd use Java or Java script. I've seen it choke on "Hello, World" ;-) -- Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From themacguy at macosx.com Tue Jan 27 15:11:19 2004 From: themacguy at macosx.com (Barry Levine) Date: Tue, 27 Jan 2004 13:11:19 -0700 Subject: parsing through pathnames Message-ID: Given a pathname such as "/Volumes/120GB/Applications/Appleworks\ 6" (I'm using shell for my commands hence the backslash preceding the space), is there an easy way of returning the last part of the path? ("/Appleworks\ 6" in this case) TIA, Barry From rgmiller at pacbell.net Tue Jan 27 15:12:05 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Tue, 27 Jan 2004 12:12:05 -0800 Subject: What is Rev doing? References: <20040127073608.F38959300A3@mail.runrev.com> Message-ID: <4016C615.5050509@pacbell.net> Lotsa folks probably use the command-option click in their apps. I > prefer to hover, myself. That way there's no conflict. How does > everyone else feel about it? Command-Option Click gets my vote. I reaaaaaly hate re-training my fingers to do an old (known) task... Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From janschenkel at yahoo.com Tue Jan 27 15:16:49 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 27 Jan 2004 12:16:49 -0800 (PST) Subject: parsing through pathnames In-Reply-To: Message-ID: <20040127201649.52321.qmail@web60504.mail.yahoo.com> --- Barry Levine wrote: > Given a pathname such as > "/Volumes/120GB/Applications/Appleworks\ 6" > (I'm using shell for my commands hence the backslash > preceding the > space), is there an easy way of returning the last > part of the path? > ("/Appleworks\ 6" in this case) > > TIA, > Barry > Hi Barry, The shortest way I can think of is : -- set the itemDelimiter to "/" put "/" & item -1 of tPath into tLastPart -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From ambassador at fourthworld.com Tue Jan 27 15:16:33 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Jan 2004 12:16:33 -0800 Subject: geometry-challenged In-Reply-To: Message-ID: Klaus Major wrote: > Am 27.01.2004 um 18:46 schrieb emerson bullen: ????? >> stop sending me these emails i dont no who you are or what your >> talking about > > am i the only one who notices this strange phenomenon??? > > Mail are coming in here from the list with > > emibullen999 at yahoo.co.uk > > as the sender, but the posts are apparently not from him... > > Any hints??? It seems related to the MyDoom worm: Worm authors are a good argument for labor camps; make 'em work one hour for every affected user. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rgmiller at pacbell.net Tue Jan 27 15:22:23 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Tue, 27 Jan 2004 12:22:23 -0800 Subject: ReportsPro References: <20040127073608.F38959300A3@mail.runrev.com> Message-ID: <4016C87F.2080200@pacbell.net> From: Alex Rice >> I feel curiosity about ReportsPro. >> >> How different is this program from the Report >> stack created by Scott Raney? >> >> You could download this stack from the >> tools.metacard.com stack within the >> MetaCard development environment. > > > The Report Generator stack has a mysterious GUI and will take some > studying of the code to figure out how to use it. Remember WindowScript? It was *almost* MetaCard, but a lot slower. It had an excellent report generator, altho the "script" was rather arcane. The creator of WS had two to four ways of doing the same task. He's (or was) the prof of a computer dept at Utah State, I think. The report generator was quasi-postscript: Very fast and reliable. Meebee he would be interested. Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From janschenkel at yahoo.com Tue Jan 27 15:27:23 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 27 Jan 2004 12:27:23 -0800 (PST) Subject: How to list tables in an SQL database In-Reply-To: <12593173967.20040127110640@ahsoftware.net> Message-ID: <20040127202723.56808.qmail@web60504.mail.yahoo.com> --- Mark Wieder wrote: > Jan- > > Tuesday, January 27, 2004, 2:01:48 AM, you wrote: > > The only way I know of to get a list of tables from > MSAccess with a > direct SQL statement is: > > SELECT * from MSysObjects where type=6; > > -- > -Mark Wieder > Thanks Mark -- if anyone else knows similar SQL statements for other databases than MySQL, Oracle, Valentina and now Access : don't hesitate to post them to the list or email them to me directly :-) Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From themacguy at macosx.com Tue Jan 27 15:33:10 2004 From: themacguy at macosx.com (Barry Levine) Date: Tue, 27 Jan 2004 13:33:10 -0700 Subject: parsed pathname - answer found Message-ID: <0580782B-5108-11D8-838C-000A95763ABC@macosx.com> As is usually the case, posting a question to the list prompts me to re-double my efforts. My question was how to find the last part of a pathname (after the last "/") given the entire path. Here's what I came up with: on mouseUp put field "folderList" into vMyPath -- (the path was stored in that field) repeat with i = the number of chars in vMyPath down to 1 if char i of vMyPath = "/" then exit repeat put char i of vMyPath before vParsedPath end repeat answer vParsedPath -- (or do anything else now that we have it) end mouseUp Seems to work pretty well though I'm sure there's a more elegant method. Ciao! Barry From davis.phil at comcast.net Tue Jan 27 15:42:08 2004 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 27 Jan 2004 12:42:08 -0800 Subject: parsed pathname - answer found In-Reply-To: <0580782B-5108-11D8-838C-000A95763ABC@macosx.com> Message-ID: Here is a simpler way: set the itemDelimiter to "/" put "/" & last item of vMyPath into vParsedPath Phil Davis > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Barry > Levine > Sent: Tuesday, January 27, 2004 12:33 PM > To: use-revolution at lists.runrev.com > Subject: parsed pathname - answer found > > > As is usually the case, posting a question to the list prompts me to > re-double my efforts. My question was how to find the last part of a > pathname (after the last "/") given the entire path. Here's what I came > up with: > > on mouseUp > put field "folderList" into vMyPath -- (the path was stored in that > field) > repeat with i = the number of chars in vMyPath down to 1 > if char i of vMyPath = "/" then exit repeat > put char i of vMyPath before vParsedPath > end repeat > answer vParsedPath -- (or do anything else now that we have it) > end mouseUp > > Seems to work pretty well though I'm sure there's a more elegant method. > > Ciao! > > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Tue Jan 27 15:46:53 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 27 Jan 2004 12:46:53 -0800 Subject: parsed pathname - answer found In-Reply-To: <0580782B-5108-11D8-838C-000A95763ABC@macosx.com> Message-ID: Recently, "Barry Levine" wrote: > As is usually the case, posting a question to the list prompts me to > re-double my efforts. My question was how to find the last part of a > pathname (after the last "/") given the entire path. Here's what I came > up with: > > on mouseUp > put field "folderList" into vMyPath -- (the path was stored in that > field) > repeat with i = the number of chars in vMyPath down to 1 > if char i of vMyPath = "/" then exit repeat > put char i of vMyPath before vParsedPath > end repeat > answer vParsedPath -- (or do anything else now that we have it) > end mouseUp > > Seems to work pretty well though I'm sure there's a more elegant method. You could try this: on mouseUp set itemDel to "/" answer last item of fld "folderList" end mouseUp Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From gizmotron at earthlink.net Tue Jan 27 15:49:26 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 27 Jan 2004 12:49:26 -0800 Subject: parsing through pathnames In-Reply-To: Message-ID: <4BA8C0F8-510A-11D8-8573-000A95859272@earthlink.net> On Tuesday, January 27, 2004, at 12:11 PM, Barry Levine wrote: > "/Appleworks\ 6" is the last item of > "/Volumes/120GB/Applications/Appleworks\ 6" Just change the itemDelimiter to "\" to parse this last item after you get it from the full path. if lastItemFullPath = "/Volumes/120GB/Applications/Appleworks\ 6" then set itemDelimiter to "\" put item last of lastItemFullPath into zippityDoDahDay end if mb From jhurley at infostations.com Tue Jan 27 16:06:13 2004 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 27 Jan 2004 13:06:13 -0800 Subject: geometry-challenged In-Reply-To: <20040127181501.CAD9F9300DC@mail.runrev.com> References: <20040127181501.CAD9F9300DC@mail.runrev.com> Message-ID: > >on Tue, 27 Jan 2004 04:48:23 -0800 >Jim Hurley wrote: > >> I put up an application using the "intersection" >> function which does something quite similar to >> this on my web site some time ago. It was >> a response to a question on the list about colliding >> polygons. You can drag or propel one polygon >> to/at another. They beep or bounce off >> one another when any line of one polygon intersect >> any line of the other. >> >> See "Colliding Polygons" at >> http://home.infostations.net/jhurley/ > >Thanks a lot Jim! I bookmarked your website. > >I'll look closely a this function. > >Did you noticed that some files does not have >an extension like: .rev or .mc or .txt? > >In this page, you have your excellent work with >Turtle graphics. >Do you have plans for an electronic edition of >your book on Turtle graphics? >You can do it all within Rev. Lessons and exercises. > >Keep Up your good work! > >al Al, Thank you for the kind words. Promoting TG can be lonely work. I keep forgetting the PC world. I presume these suffixes are a necessity there. I have added the appropriate appendages. I also updated the Colliding Polygons. No end of difficulties there. I want to be able to include the possibility of the (colliding) graphic objects being rectangles. In this case it is a challenge finding the intersection of all those parallel lines :-) (I fake it by altering slightly the coordinates. This allows for the detection of two parallel line segments when they are touching. It is only in this feature that my "intersection" function differs from that of Trevor. His function returns "empty" for parallel lines. Certainly his function is easier to read and understand and can easily be modified to deal with rectangles.) I gave a (electronic) copy of my Turtle Graphics book to RR. It really isn't what they are looking for in an introduction to programming. Their objective is programming for programmers; mine is programming for science students. I'm not sure what you mean by "You can do it all within Rev. Lessons and exercises." I have a (popular) physics book coming out dealing with the second law of thermodynamics and the time-asymmetry paradox. I am doing some work constructing stacks to put on the book's web site. They will be interactive illustrations of some of the physics discussed in the book. I am enjoying the challenge. And thank God for RR. Impossible with this incredible tool. (Also--shameless plug--impossible with the TG addendum to Transcript. Although TG is perceived simply as an educational tool, it is also an indispensable graphics tool.) Jim From sarahr at genesearch.com.au Tue Jan 27 17:21:20 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 28 Jan 2004 08:21:20 +1000 Subject: What is Rev doing? In-Reply-To: References: Message-ID: <21EF7689-5117-11D8-A2C1-0003937A97B8@genesearch.com.au> I get the same with usage dropping to about 6% if I either suspend the development environment or turn off messages. Interestingly, when I tried the same thing with a standalone, I got about 10% usage with it too, unless it had a throbbing button in which case it used about 60%. Sarah On 24 Jan 2004, at 7:54 am, Richard Gaskin wrote: > Try this: > > 1. In OS X, open Terminal and run top > 2. Launch Rev > 3. Wait for Rev's launch to complete so it's idle > 4. Bring Terminal to the front -- it shows Rev consuming roughly 10% > of CPU > time, even though it's idle without even a throbbing default button. > > What is Rev doing at idle? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From erikhans08 at yahoo.com Tue Jan 27 17:25:32 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Tue, 27 Jan 2004 14:25:32 -0800 (PST) Subject: (Obscure Topic) more RunRev/MIDI In-Reply-To: <201266F2-5058-11D8-AEE2-0003935A2896@azurevision.co.uk> Message-ID: <20040127222532.32698.qmail@web61109.mail.yahoo.com> RunRev/MIDI Resources (public domain) UDI "Will I help you...?" http://homepage.mac.com/udi/stack/makeSMF131.hqx HyperActive ShakoBox Kurt Kaufman (author of the RunRev bundled MIDI app) "if you are not going to have QT available on the host platform, test, test, test!" as most computers run Windows, we need to sort out what happens on which computer & OS. i will be contacting willing local dealers to explore how RunRev/MIDI runs in various configurations. if anyone out there would like to hear how their setup behaves, please post the result! thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From chipp at chipp.com Tue Jan 27 17:38:04 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 27 Jan 2004 16:38:04 -0600 Subject: libURL issues? In-Reply-To: Message-ID: Richard, I mentioned this at the conference. libURL thinks it's got the file, but it's not *the* file. Just a small bit of nodata it thinks is the file. IMO, it has to do with latency. My DAD has this problem with his ISP: starband.net (bigtime latency). In all my libURL downloads, I always test to make sure the file I *got* is greater than some small amount (1000bytes) or else I repeat the download. I try it pNumTrys times (a customProperty which is user settable). put the altNumTry of stack "revAltLib" into tNumTrys put pFilePath & ".1" into tPath repeat tNumTrys times put URL pURL into URL ("binfile:"& tPath) if there is a file tPath then put true into tSuccessDL --> CHECK THE SIZE OF A FILE --> SOMETIMES IT WILL DOWNLOAD A FILE BUT IT WILL BE TOO SMALL if altFileSize(tPath) > 500 then blinkLight false go inv stack "answer Dialog" set the loc of stack "answer Dialog" to the screenloc show stack "answer Dialog" answer information " altPlugin successfully downloaded to:" &cr& pFilePath put URL ("binfile:" & tPath) into URL ("binfile:" & pFilePath) delete file tPath go inv stack "answer Dialog" set the loc of stack "answer Dialog" to the screenloc show stack "answer Dialog" answer information "Please Quit RunRev and relaunch to see changes." revert exit to top else --> DELETE THE 'TOO SMALL' FILE delete file tPath end if end if altDebug "Could not Download Application...Try:" && tNumTrys end repeat function altFileSize pPath if there is a file pPath then put the defaultFolder into tOldDF if pPath contains "/" then --need to set the defaultFolder get matchText(pPath,"(.*\/)",tFolderPath) -- gets the folderpath get matchText(pPath,".*\/(.*?)$",pPath) -- gets the file name set the defaultFolder to tFolderPath end if put the detailed files into tList set the defaultFolder to tOldDF put lineOffset(cr&pPath&",",cr&tList) into tLineNum return (item 2 of line tLineNum of tList) else return "Error: File does not exist: " & pPath end if end altFileSize best, Chipp > -----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, January 27, 2004 12:12 PM > To: Rev Discussion List > Subject: libURL issues? > > > Is anyone else seeing issues with the load command in libURL today? > > "get url" works, but load almost always initiates, but then the socket > closes too quickly for the resource to be loaded. > > Checking this out in RevNet I find mixed results: the forms stacks > ("Feedback" and "Add Resource") consistently work well, but most > others work > only rarely today. Could the forms work because they're small enough to > come over in a single packet? > > I've not changed RevNet since it was last working, yesterday > myself and many > others were using it without difficulty. > > Could this be related to the traffic spike caused by the worm? > Any workarounds? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From erikhans08 at yahoo.com Tue Jan 27 17:46:18 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Tue, 27 Jan 2004 14:46:18 -0800 (PST) Subject: OT the spirit of Spirit In-Reply-To: <15250485273.20040126231511@ahsoftware.net> Message-ID: <20040127224618.96778.qmail@web61110.mail.yahoo.com> --- Mark Wieder wrote: > My favorite story concerning the Mars projects > involves Wind River's > OS and debugging. NASA has a policy of "test > what you fly and fly what > you test", which involves, among other things, > leaving your debugging > code in place. There's a lesson to be learned > here: > > http://www.kohala.com/start/papers.others/pathfinder.html > > "VxWorks contains a C language interpreter > intended to allow > developers to type in C expressions and > functions to be executed on > the fly during system debugging. The JPL > engineers fortuitously > decided to launch the spacecraft with this > feature still enabled. By > coding convention, the initialization parameter > for the mutex in > question (and those for two others which could > have caused the same > problem) were stored in global variables, whose > addresses were in > symbol tables also included in the launch > software, and available to > the C interpreter. A short C program was > uploaded to the spacecraft, > which when interpreted, changed the values of > these variables from > FALSE to TRUE. No more system resets occurred." using the Message Box will never be the same! Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From dcragg at lacscentre.co.uk Tue Jan 27 17:55:24 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 27 Jan 2004 22:55:24 +0000 Subject: libURL issues? In-Reply-To: References: Message-ID: At 10:12 am -0800 27/1/04, Richard Gaskin wrote: >Is anyone else seeing issues with the load command in libURL today? > >"get url" works, but load almost always initiates, but then the socket >closes too quickly for the resource to be loaded. I couldn't load the stacks listed in the Stacks list. But it didn't seem to be a socket closing issue. I poked around inside RevNet. Inside one of the backscripts (button id 1006 of card id 1002 of stack "....../Go_RevNet.rev"), look in the revnetGoStack handler. There is an "unload url pUrl" line in the handler a few lines before "load url pUrl". I think this is the culprit. When I comment out this line, it works OK. I don't think there is any need for the unload as the handler has already checked the cachedUrls. I don't know for sure why the unload is causing a problem, but it may be to do with the way script locals are reset in libUrl. It seems as if the locals may not get deleted immediately, and this interferes with the load of the same url. I'll check it out and see if I can find a fix. By the way, I find I have to click many times on the link at the top of the stackInfo field before the linkClicked message gets sent. This is in OS X. Do you have the same problem? Cheers Dave From frank at backtalk.com Tue Jan 27 17:56:51 2004 From: frank at backtalk.com (Frank Leahy) Date: Tue, 27 Jan 2004 22:56:51 +0000 Subject: use-revolution Digest, Vol 4, Issue 181 In-Reply-To: <20040127181501.CAD9F9300DC@mail.runrev.com> Message-ID: <180DA91C-511C-11D8-80EC-000A9580FCCE@backtalk.com> On Tuesday, January 27, 2004, at 06:15 PM, use-revolution-request at lists.runrev.com wrote: > > I don't think it is under Rev's control. Apple forbids making either of > those menus disabled. The OS just won't do it. The problem was that when I selected *enabled* menu items (i.e. they weren't greyed out), no menuPick message was being passed to my code. Seems like a bug in RunRev. And if what you're saying is true, then the right solution should probably be that MenuBuilder shouldn't allow me to select the "disabled" checkbox on the Help menu. -- Frank From dsc at swcp.com Tue Jan 27 12:53:46 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 27 Jan 2004 10:53:46 -0700 Subject: image transfer not working again... In-Reply-To: Message-ID: On Sunday, January 25, 2004, at 09:16 PM, Doug Lerner wrote: > What I am doing is NOT sending "the imageData" and instead sending the > raw > image instead. You can get the raw image from 'image x' or 'the text of image x', but I sometimes get empty. On my setup on OS X, I find that export to a variable as PNG is more reliable. > > 2. Setting the global paintCompression property. I haven't been doing this. Maybe that is a cause of some of my troubles. Does this have to be set to the source image type before the text of the image is set? Dar Scott From ambassador at fourthworld.com Tue Jan 27 18:12:32 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Jan 2004 15:12:32 -0800 Subject: libURL issues? In-Reply-To: Message-ID: Dave Cragg wrote: > At 10:12 am -0800 27/1/04, Richard Gaskin wrote: >> Is anyone else seeing issues with the load command in libURL today? >> >> "get url" works, but load almost always initiates, but then the socket >> closes too quickly for the resource to be loaded. > > > I couldn't load the stacks listed in the Stacks list. But it didn't > seem to be a socket closing issue. > > I poked around inside RevNet. Inside one of the backscripts (button > id 1006 of card id 1002 of stack "....../Go_RevNet.rev"), look in the > revnetGoStack handler. There is an "unload url pUrl" line in the > handler a few lines before "load url pUrl". I think this is the > culprit. When I comment out this line, it works OK. I don't think > there is any need for the unload as the handler has already checked > the cachedUrls. > > I don't know for sure why the unload is causing a problem, but it may > be to do with the way script locals are reset in libUrl. It seems as > if the locals may not get deleted immediately, and this interferes > with the load of the same url. I'll check it out and see if I can > find a fix. > > By the way, I find I have to click many times on the link at the top > of the stackInfo field before the linkClicked message gets sent. This > is in OS X. Do you have the same problem? Yes, but like the other Rev issues only recently. :\ No reports like this have come in through the previous year since that code was written. Is the latest engine a little more finicky about hit testing? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ian at azurevision.co.uk Tue Jan 27 18:17:00 2004 From: ian at azurevision.co.uk (Ian Wood) Date: Tue, 27 Jan 2004 23:17:00 +0000 Subject: parsed pathname - answer found In-Reply-To: References: Message-ID: >> on mouseUp >> put field "folderList" into vMyPath -- (the path was stored in that >> field) >> repeat with i = the number of chars in vMyPath down to 1 >> if char i of vMyPath = "/" then exit repeat >> put char i of vMyPath before vParsedPath >> end repeat >> answer vParsedPath -- (or do anything else now that we have it) >> end mouseUp >> >> Seems to work pretty well though I'm sure there's a more elegant >> method. > > You could try this: > > on mouseUp > set itemDel to "/" > answer last item of fld "folderList" > end mouseUp > > Regards, > > Scott Rossi > Don't forget to reset the item delimiter: on mouseUp put itemDel into defaultDel set itemDel to "/" answer last item of fld "folderList" put defaultDel into itemDel end mouseUp Ian Wood Panoramic photography, from web to billboard, sunrise to moonrise http://www.azurevision.co.uk From ambassador at fourthworld.com Tue Jan 27 18:21:07 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Jan 2004 15:21:07 -0800 Subject: parsed pathname - answer found In-Reply-To: Message-ID: Ian Wood wrote: > > Don't forget to reset the item delimiter: > > on mouseUp > put itemDel into defaultDel > set itemDel to "/" > answer last item of fld "folderList" > put defaultDel into itemDel > end mouseUp Not needed. In HyperCard and SuperCard the itemdelimiter is a global property, but in Rev it's local so you never have to worry about restoring it before exiting. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Tue Jan 27 18:31:13 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 27 Jan 2004 15:31:13 -0800 Subject: parsed pathname - answer found In-Reply-To: Message-ID: Recently, "Ian Wood" wrote: >> on mouseUp >> set itemDel to "/" >> answer last item of fld "folderList" >> end mouseUp >> >> Regards, >> >> Scott Rossi >> > > Don't forget to reset the item delimiter: > > on mouseUp > put itemDel into defaultDel > set itemDel to "/" > answer last item of fld "folderList" > put defaultDel into itemDel > end mouseUp No need here. As stated in the docs, the itemDelimiter is automatically reset at the end of the current handler, and only affects the current handler. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dcragg at lacscentre.co.uk Tue Jan 27 18:27:20 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 27 Jan 2004 23:27:20 +0000 Subject: libURL issues? In-Reply-To: References: Message-ID: At 4:38 pm -0600 27/1/04, Chipp Walters wrote: >Richard, > >I mentioned this at the conference. I knew there was a reason I should have had my fare paid. :) >libURL thinks it's got the file, but it's not *the* file. Just a small bit >of nodata it thinks is the file. IMO, it has to do with latency. My DAD has >this problem with his ISP: starband.net (bigtime latency). I don't know if this was the problem Richard was having, but I just recently got a report of something similar. But only when downloading from IIS ftp server, and only with the Win32 engine. Does that match your experience? (There had been other similar problems with engine versions prior to 2.4.3, but most seem to have been cleared up.) The problem seems to occur with very fast transmissions such as when the server is on the same machine as the client, or over very fast networks. But from what I found, the socketClosed message was sent prior to the final dribble of data being read from the socket. And this only occurred when the final chunk of data was fairly small (and even then it didn't always happen). So most of the file has been collected, which doesn't match your "small bit of nodata". Unfortunately, with ftp, the socket closing on the data transfer connection is the signal that the transfer has completed. So libUrl is trusting the socketClosed message. If something similar happens with http, libUrl will return an error that the socket closed prematurely. (Unless the server doesn't include a Content-length header or doesn't use the "chunked" transfer method. Again, IIS can be a problem here, especially with some CGI scripts if the script doesn't add a Content-length header. Apache in these cases will use the "chunked" transfer encoding which lets the client know it has got all the data.) Cheers Dave From dcragg at lacscentre.co.uk Tue Jan 27 18:32:41 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 27 Jan 2004 23:32:41 +0000 Subject: libURL issues? In-Reply-To: References: Message-ID: At 3:12 pm -0800 27/1/04, Richard Gaskin wrote: >No reports like this have come in through the previous year since that code >was written. > >Is the latest engine a little more finicky about hit testing? The problem I had occurred with Rev 2.1.2 and MC 2.5, so I don't think it's a recent engine issue. What version of libUrl were you using when you encountered the problem? I notice the one linked to in RevNet is a little old. The latest is 1.0.13. You can get it here: Cheers Dave From herz at ucsd.edu Tue Jan 27 18:49:34 2004 From: herz at ucsd.edu (Richard K. Herz) Date: Tue, 27 Jan 2004 15:49:34 -0800 Subject: libURL issues? References: <20040127225833.AC1C79300E9@mail.runrev.com> Message-ID: <006b01c3e530$3798d660$58bfef84@maerkhpc1> Chipp Walters wrote: > libURL thinks it's got the file, but it's not *the* file. Just a small bit > of nodata it thinks is the file. IMO, it has to do with latency. My DAD > has this problem with his ISP: starband.net (bigtime latency). > > In all my libURL downloads, I always test to make sure the file I *got* is > greater than some small amount (1000bytes) or else I repeat the download. > I try it pNumTrys times (a customProperty which is user settable). I've been encountering similar problems with downloading files, and these problems seem have appeared within the last few months (maybe a slowdown at my ISP?). I have been repeating "get url" if "it" returned is empty. Max of three repeats seems to work most of the time. Chipp - what have you been using for your number of repeats? Rich Herz herz at ucsd.edu www.reactorlab.net From ambassador at fourthworld.com Tue Jan 27 18:50:09 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Jan 2004 15:50:09 -0800 Subject: libURL issues? In-Reply-To: Message-ID: Dave Cragg wrote: > At 3:12 pm -0800 27/1/04, Richard Gaskin wrote: > >> No reports like this have come in through the previous year since that code >> was written. >> >> Is the latest engine a little more finicky about hit testing? > > The problem I had occurred with Rev 2.1.2 and MC 2.5, so I don't > think it's a recent engine issue. What version of libUrl were you > using when you encountered the problem? I notice the one linked to in > RevNet is a little old. The latest is 1.0.13. You can get it here: > > html> I'm using that one since yesterday. -- 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 lists at mangomultimedia.com Tue Jan 27 18:53:57 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 27 Jan 2004 16:53:57 -0700 Subject: MacWorld article on Revolution Message-ID: <1237C0EC-5124-11D8-A072-000A956C462A@mangomultimedia.com> -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From 3mcgrath at adelphia.net Tue Jan 27 19:16:15 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 27 Jan 2004 19:16:15 -0500 Subject: Rev fails to recognize Chinese In-Reply-To: <200401271034.SAA22619@msr42.hinet.net> References: <200401271034.SAA22619@msr42.hinet.net> Message-ID: <2FC64062-5127-11D8-8C39-000A95DA60FA@adelphia.net> I'm not a guru, but I think it is broke. :-) I have never tried this with Chinese, but have seen pasting differences with plain english text files. I am sorry that I have no solution. Tom On Jan 27, 2004, at 5:36 AM, Friedrich F. Grohmann wrote: > I've been working with Macs for a number of years under systems ranging > from 7.5 to 9.2. Much of my data is in Chinese and I've made extensive > use of HC in the past. Since I just got one PowerBook G4 with Panther > installed, I finally decided to begin migrating to Revolution. > > To my utter astonishment, however, I can't get Rev to find Chinese in a > text field if the text has been copied into the field. It will duly > recognize newly typed text but does not react if it has been pasted. > Since this happens in the case of both OS 9 and OS X files and since > AppleWorks 6 does not have the same problem I can not imagine that this > has anything to do with fonts (which are anyway all Apple fonts). > > Why does pasted Chinese escape Revolution? I will be enormously > grateful > if one of the gurus on the list could enlighten me about the cause for > this behaviour and graciously point out a solution. > > Fritz > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From themacguy at macosx.com Tue Jan 27 19:51:32 2004 From: themacguy at macosx.com (Barry Levine) Date: Tue, 27 Jan 2004 17:51:32 -0700 Subject: parsing pathnames - thanks In-Reply-To: <20040127225834.2DEC59300EF@mail.runrev.com> References: <20040127225834.2DEC59300EF@mail.runrev.com> Message-ID: <1D677E88-512C-11D8-9562-000A95763ABC@macosx.com> Thanks to those who replied with essentially the same answer that, indeed, was more elegant and accomplished the task in two lines of code rather than the five my solution used. Barry From ian at azurevision.co.uk Tue Jan 27 20:01:48 2004 From: ian at azurevision.co.uk (Ian Wood) Date: Wed, 28 Jan 2004 01:01:48 +0000 Subject: parsed pathname - answer found In-Reply-To: References: Message-ID: <8CBB6C9C-512D-11D8-AEE2-0003935A2896@azurevision.co.uk> >> Don't forget to reset the item delimiter: > No need here. As stated in the docs, the itemDelimiter is > automatically > reset at the end of the current handler, and only affects the current > handler. > > Regards, > > Scott Rossi > Aah! That'll be my AppleScript experience making assumptions. Thanks, Ian From soapdog at mac.com Tue Jan 27 20:26:23 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 27 Jan 2004 23:26:23 -0200 Subject: newbie requires help In-Reply-To: <20040127174508.81526.qmail@web25104.mail.ukl.yahoo.com> References: <20040127174508.81526.qmail@web25104.mail.ukl.yahoo.com> Message-ID: On Jan 27, 2004, at 3:45 PM, emerson bullen wrote: > stop sending me these emails i dont no what yourt talking about Oh boy, I was trying to help... and I sent only one email... -- Andre Alves Garzia - Soap Dog Studios - BRAZIL http://studios.soapdog.org From soapdog at mac.com Tue Jan 27 20:49:38 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 27 Jan 2004 23:49:38 -0200 Subject: Rev fails to recognize Chinese In-Reply-To: <2FC64062-5127-11D8-8C39-000A95DA60FA@adelphia.net> References: <200401271034.SAA22619@msr42.hinet.net> <2FC64062-5127-11D8-8C39-000A95DA60FA@adelphia.net> Message-ID: <3BB9EC57-5134-11D8-A52C-0003936D012E@mac.com> I ain't no guru!!! but have you tried reading from file instead of pasting... I know you want to paste but as they say, if the door is locked, break the window (well it sounded like that). If you just want to have your text on a field, you can copy from HC, paste to SimpleText, save and read, right? I know this is a lousy solution, but until a revGuru point you in the right direction, this might help. Cheers Andre On Jan 27, 2004, at 10:16 PM, Thomas McGrath III wrote: > >> I've been working with Macs for a number of years under systems >> ranging >> from 7.5 to 9.2. Much of my data is in Chinese and I've made extensive >> use of HC in the past. Since I just got one PowerBook G4 with Panther >> installed, I finally decided to begin migrating to Revolution. >> >> To my utter astonishment, however, I can't get Rev to find Chinese in >> a >> text field if the text has been copied into the field. It will duly >> recognize newly typed text but does not react if it has been pasted. >> Since this happens in the case of both OS 9 and OS X files and since >> AppleWorks 6 does not have the same problem I can not imagine that >> this >> has anything to do with fonts (which are anyway all Apple fonts). >> >> Why does pasted Chinese escape Revolution? I will be enormously >> grateful >> if one of the gurus on the list could enlighten me about the cause for >> this behaviour and graciously point out a solution. >> >> Fritz >> -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From rbarber at yhb.att.ne.jp Tue Jan 27 20:57:20 2004 From: rbarber at yhb.att.ne.jp (ron barber) Date: Wed, 28 Jan 2004 10:57:20 +0900 Subject: Rev fails to recognize Chinese In-Reply-To: <200401271034.SAA22619@msr42.hinet.net> References: <200401271034.SAA22619@msr42.hinet.net> Message-ID: <4F057683-5135-11D8-836D-000A95DAEEF0@yhb.att.ne.jp> Hi Fritz How are you pasting the Chinese? Do you set the text of the fld to unicode? Do you set the textfont of the field before pasting? uniencode(field "chinesetext",chinese) into fld "chinesefld" set the textfont of fld "chinesefld" to "Hei,chinese" Ron On Jan 27, 2004, at 7:36 PM, Friedrich F. Grohmann wrote: > I've been working with Macs for a number of years under systems ranging > from 7.5 to 9.2. Much of my data is in Chinese and I've made extensive > use of HC in the past. Since I just got one PowerBook G4 with Panther > installed, I finally decided to begin migrating to Revolution. > > To my utter astonishment, however, I can't get Rev to find Chinese in a > text field if the text has been copied into the field. It will duly > recognize newly typed text but does not react if it has been pasted. > Since this happens in the case of both OS 9 and OS X files and since > AppleWorks 6 does not have the same problem I can not imagine that this > has anything to do with fonts (which are anyway all Apple fonts). > > Why does pasted Chinese escape Revolution? I will be enormously > grateful > if one of the gurus on the list could enlighten me about the cause for > this behaviour and graciously point out a solution. > > Fritz > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Tue Jan 27 21:40:53 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 27 Jan 2004 20:40:53 -0600 Subject: libURL issues? In-Reply-To: <006b01c3e530$3798d660$58bfef84@maerkhpc1> Message-ID: I use 5, but rarely has it ever gone past 3...I log all trys. BTW, this is also a good way to 'punch' through some of the simpler proxy servers... More on proxy servers later Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Richard K. > Herz > Sent: Tuesday, January 27, 2004 5:50 PM > To: use-revolution at lists.runrev.com > Subject: RE: libURL issues? > > > Chipp Walters wrote: > > > libURL thinks it's got the file, but it's not *the* file. Just > a small bit > > of nodata it thinks is the file. IMO, it has to do with latency. My DAD > > has this problem with his ISP: starband.net (bigtime latency). > > > > In all my libURL downloads, I always test to make sure the file > I *got* is > > greater than some small amount (1000bytes) or else I repeat the > download. > > I try it pNumTrys times (a customProperty which is user settable). > > I've been encountering similar problems with downloading files, and these > problems seem have appeared within the last few months (maybe a > slowdown at > my ISP?). I have been repeating "get url" if "it" returned is > empty. Max of > three repeats seems to work most of the time. > > Chipp - what have you been using for your number of repeats? > > Rich Herz > herz at ucsd.edu > www.reactorlab.net > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Erik.Lips at klm.com Wed Jan 28 01:22:40 2004 From: Erik.Lips at klm.com (Lips, E.G.R. - SPLZD) Date: Wed, 28 Jan 2004 07:22:40 +0100 Subject: set BottomLeft coords do not coincide with property inspector's coords Message-ID: set bottomleft of a field did not get the result wanted; the field is placed on a different location. Also 4W Props gives other co-ordinates than set with set bottomleft. Using set rect instead of set bottomleft seems to work fine so for the moment this is a workaround. Erik. ********************************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. ********************************************************************** From ambassador at fourthworld.com Wed Jan 28 01:26:58 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Jan 2004 22:26:58 -0800 Subject: set BottomLeft coords do not coincide with property inspector's coords In-Reply-To: Message-ID: Lips, E.G.R. - SPLZD wrote: > set bottomleft of a field did not get the result wanted; the field is placed > on a different location. > Also 4W Props gives other co-ordinates than set with set bottomleft. > > Using set rect instead of set bottomleft seems to work fine so for the > moment this is a workaround. Hmmm.... 4W Prop is merely calling "get the rect of ". Could you be experiencing a side effect of the Geometry Manager? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Jan 28 01:46:52 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Jan 2004 22:46:52 -0800 Subject: [OY] PAD generators Message-ID: I'm having trouble with my PAD files reported by some sites as being in an invalid format. Hand-editing something that changes so often doesn't seem an efficient solution, and clearly my current PAD generator (PADMaker) isn't up to snuff. Any of you have a favorite PAD generator? Someone write one in Rev yet? For details on PAD: http://www.asp-shareware.org/pad/ -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From briany at qldlearning.com Wed Jan 28 03:15:32 2004 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 28 Jan 2004 03:15:32 -0500 Subject: [OY] PAD generators In-Reply-To: Message-ID: <2458E8C6-516A-11D8-AA23-000393AA08D2@qldlearning.com> Richard, Is there a Mac PAD generator floating around? I've been keeping an eye out for (relatively) easy projects that I could cook up and would get Rev noticed at least a few times, and PAD seems pretty easy. With that said, I've never seen a PAD generator and the only link I saw was a Windoze generator. - Brian > I'm having trouble with my PAD files reported by some sites as being > in an > invalid format. Hand-editing something that changes so often doesn't > seem > an efficient solution, and clearly my current PAD generator (PADMaker) > isn't > up to snuff. > > Any of you have a favorite PAD generator? > > Someone write one in Rev yet? > > For details on PAD: > http://www.asp-shareware.org/pad/ > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From eric.chatonet at wanadoo.fr Wed Jan 28 04:22:18 2004 From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=) Date: Wed, 28 Jan 2004 10:22:18 +0100 Subject: Filtering with more than 4 types (OSX) In-Reply-To: <20040126215836.AE11793007B@mail.runrev.com> References: <20040126215836.AE11793007B@mail.runrev.com> Message-ID: <77E9A755-5173-11D8-AF0F-0003930A9F94@wanadoo.fr> Bonjour ? tous les Reveurs, OSX 10.3 Rev 2.1.2 I want to display a dialog allowing the user to choose only pictures i.e BMP,MooV, JPEG, PNG, GIF and TIFF (cross platform app). Only the four first types are considered: answer file tPrompt with filter "MooVJPEGPNGfGIFfTIFFBMP " -- filters correctly MooV,JPEG,PNG and GIF while TIFF and BMP files are disabled answer file tPrompt with filter "PNGfGIFfTIFFBMP MooVJPEG" -- filters correctly PNG, GIF, TIF and BMP while MooV and JPEG files are disabled Any idea to by-pass this apparent limitation? Mille mercis par avance ! Eric Chatonet From stephenREVOLUTION at barncard.com Wed Jan 28 04:28:22 2004 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Wed, 28 Jan 2004 01:28:22 -0800 Subject: Windowscript Message-ID: With all due respect, Ray, I think you must be thinking of something else. I used Windowscript for years but it had no report generator. Windowscript was a GUI layer that ran on top of Hypercard...brilliantly I might add. Using Windowscript, Compilit, Printreport and a few others, one could make a real double clickable app completely in Hypercard....yes I used Hyperbasic as well... sqb > > >Remember WindowScript? It was *almost* MetaCard, but a lot slower. > >It had an excellent report generator, altho the "script" was rather >arcane. The creator of WS had two to four ways of doing the same >task. He's (or was) the prof of a computer dept at Utah State, I >think. > >The report generator was quasi-postscript: Very fast and reliable. > >Meebee he would be interested. > >Ray G. Miller From thierry.arbellot at wanadoo.fr Wed Jan 28 05:04:23 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Wed, 28 Jan 2004 11:04:23 +0100 Subject: Filtering with more than 4 types (OSX) In-Reply-To: <77E9A755-5173-11D8-AF0F-0003930A9F94@wanadoo.fr> Message-ID: <5915B05A-5179-11D8-A5FC-000A27E40768@wanadoo.fr> Hi dreamer, Just for information, if I remember well, MacOS limits the filtering up to 4 types. A custom proc filter is needed to filter more than 4 types. But sorry, I don't know how to do simply in Rev. The only idea I have is to write an external that will call the MacOS file selector with a custom file proc according to your need. Regards. Thierry. Le Wednesday, 28 Jan 2004, ? 10:22 Europe/Paris, ?ric Chatonet a ?crit : > Bonjour ? tous les Reveurs, > > OSX 10.3 > Rev 2.1.2 > > I want to display a dialog allowing the user to choose only pictures > i.e BMP,MooV, JPEG, PNG, GIF and TIFF (cross platform app). > Only the four first types are considered: > > answer file tPrompt with filter "MooVJPEGPNGfGIFfTIFFBMP " -- filters > correctly MooV,JPEG,PNG and GIF while TIFF and BMP files are disabled > answer file tPrompt with filter "PNGfGIFfTIFFBMP MooVJPEG" -- filters > correctly PNG, GIF, TIF and BMP while MooV and JPEG files are disabled > > Any idea to by-pass this apparent limitation? > > Mille mercis par avance ! > > Eric Chatonet > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ian at azurevision.co.uk Wed Jan 28 06:00:22 2004 From: ian at azurevision.co.uk (Ian Wood) Date: Wed, 28 Jan 2004 11:00:22 +0000 Subject: Can't hilite buttons on Mac? Message-ID: <2B56BA87-5181-11D8-AEE2-0003935A2896@azurevision.co.uk> Another sort-of-newbie question. Once upon a time on a series of buttons... on mouseUp focus on me answer -- add feedback text in here end mouseUp on focusIn set hilite of me to true end focusIn on focusOut set hilite of me to false end focusOut on tabKey focus on button --wherever you want to move to in here end tabKey on returnKey send "mouseUp" to me end returnKey It all works, and with Look & Feel set to Windows or Linux it's fine, but set to Mac Appearance Manager or Mac Emulated none of the buttons show a hilite, which makes it useless as you have no feedback which button you are about to activate with the Return key. OS X 10.3.0, Rev 2.1.2 This is a brand new test stack with nothing but three buttons tabbing in a loop, none of the Basic Properties seems to make a difference. I've found Bug#: 918 which seems to be the opposite, showing a hilite even when it is set to false. Is this likely to be the same bug, and does anyone have a workaround? Ian From ian at azurevision.co.uk Wed Jan 28 06:25:37 2004 From: ian at azurevision.co.uk (Ian Wood) Date: Wed, 28 Jan 2004 11:25:37 +0000 Subject: Can't hilite buttons on Mac? In-Reply-To: <2B56BA87-5181-11D8-AEE2-0003935A2896@azurevision.co.uk> References: <2B56BA87-5181-11D8-AEE2-0003935A2896@azurevision.co.uk> Message-ID: On further investigation, it is the focusin & focusout handlers that are not getting triggered when using Mac OS Appearance Manager or Mac OS Emulated views. Nothing in bugzilla, so it's time to sit down & write out some bug reports. : ( Ian On 28 Jan 2004, at 11:00, Ian Wood wrote: > Another sort-of-newbie question. > > Once upon a time on a series of buttons... > > on mouseUp > focus on me > answer -- add feedback text in here > end mouseUp > > on focusIn > set hilite of me to true > end focusIn > > on focusOut > set hilite of me to false > end focusOut > > on tabKey > focus on button --wherever you want to move to in here > end tabKey > > on returnKey > send "mouseUp" to me > end returnKey > > > It all works, and with Look & Feel set to Windows or Linux it's fine, > but set to Mac Appearance Manager or Mac Emulated none of the buttons > show a hilite, which makes it useless as you have no feedback which > button you are about to activate with the Return key. > > OS X 10.3.0, Rev 2.1.2 > > This is a brand new test stack with nothing but three buttons tabbing > in a loop, none of the Basic Properties seems to make a difference. > I've found Bug#: 918 which seems to be the opposite, showing a hilite > even when it is set to false. Is this likely to be the same bug, and > does anyone have a workaround? > > Ian > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Wed Jan 28 06:44:30 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 28 Jan 2004 03:44:30 -0800 (PST) Subject: Can't hilite buttons on Mac? In-Reply-To: Message-ID: <20040128114430.28913.qmail@web60501.mail.yahoo.com> --- Ian Wood wrote: > On further investigation, it is the focusin & > focusout handlers that > are not getting triggered when using Mac OS > Appearance Manager or Mac > OS Emulated views. Nothing in bugzilla, so it's > time to sit down & > write out some bug reports. : ( > > Ian > Hi Ian, The Macintosh Interface Guidelines do not mention focusing on buttons without mouse action. Revolution is kind enough to emulate that behaviour while you're in the Windows or Unix themes. So you shouldn't bugreport it as such ; what you _can_ report as a bug, is that Revolution on MacOS X doesn't respect the setting in the System Preferences \ Keyboard panel \ Keyboard Access tab. Best regards, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From jan.decroos at groepvanroey.be Wed Jan 28 08:18:29 2004 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Wed, 28 Jan 2004 14:18:29 +0100 Subject: Filtering with more than 4 types (OSX) In-Reply-To: <20040128100530.3E5679300E2@mail.runrev.com> References: <20040128100530.3E5679300E2@mail.runrev.com> Message-ID: >From: Thierry Arbellot >Subject: Re: Filtering with more than 4 types (OSX) >To: How to use Revolution >Message-ID: <5915B05A-5179-11D8-A5FC-000A27E40768 at wanadoo.fr> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >Hi dreamer, > >Just for information, if I remember well, MacOS limits the filtering up >to 4 types. >A custom proc filter is needed to filter more than 4 types. > >But sorry, I don't know how to do simply in Rev. >The only idea I have is to write an external that will call the MacOS >file selector with a custom file proc according to your need. > >Regards. >Thierry. Couldn't you solve this by : - create (before the answer file ...) a temporary invisible directory (starting with a '.', like ".myTmpDir"), - move all files you don't want to see to that directory, - show the answer, - restore the files from that hidden directory back and - remove the hidden directory ? It's not nice, but this should work. Regards, Jan From thierry.arbellot at wanadoo.fr Wed Jan 28 08:31:43 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Wed, 28 Jan 2004 14:31:43 +0100 Subject: Filtering with more than 4 types (OSX) In-Reply-To: Message-ID: <50139E3F-5196-11D8-A5FC-000A27E40768@wanadoo.fr> Smart workaround, but what if the user want to navigate to another directory within the file selector ? Thierry. Le Wednesday, 28 Jan 2004, ? 14:18 Europe/Paris, Jan Decroos a ?crit : >> From: Thierry Arbellot >> Subject: Re: Filtering with more than 4 types (OSX) >> To: How to use Revolution >> Message-ID: <5915B05A-5179-11D8-A5FC-000A27E40768 at wanadoo.fr> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Hi dreamer, >> >> Just for information, if I remember well, MacOS limits the filtering >> up >> to 4 types. >> A custom proc filter is needed to filter more than 4 types. >> >> But sorry, I don't know how to do simply in Rev. >> The only idea I have is to write an external that will call the MacOS >> file selector with a custom file proc according to your need. >> >> Regards. >> Thierry. > > Couldn't you solve this by : > - create (before the answer file ...) a temporary invisible directory > (starting > with a '.', like ".myTmpDir"), > - move all files you don't want to see to that directory, > - show the answer, > - restore the files from that hidden directory back and > - remove the hidden directory ? > > It's not nice, but this should work. > > Regards, > Jan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mcdomi at free.fr Wed Jan 28 08:46:06 2004 From: mcdomi at free.fr (Dom) Date: Wed, 28 Jan 2004 14:46:06 +0100 Subject: Bug votation In-Reply-To: Message-ID: <1g89nsu.1hpnbps1m723xgM%mcdomi@free.fr> Robert Brenstein wrote: > You need to have a login account (any rev developer can add it). You mean that I can't since I am only a "Express Edition" user? > You need to be logged in to see those extra options and display the bug > you want to vote for. Is this another 'login'? I already have to log in, in order to make a "bug proposal"... (i think I made two proposals in the past) -- Digital photos (nature, garden) : http://cooldomi.free.fr/ Scripting : http://domiscript.free.fr/ From mcdomi at free.fr Wed Jan 28 08:46:08 2004 From: mcdomi at free.fr (Dom) Date: Wed, 28 Jan 2004 14:46:08 +0100 Subject: "directory" ("defaultFolder") question... Message-ID: <1g89zur.lng56n13rmjm1M%mcdomi@free.fr> A came across an odd problem with "the directory" global... I am writing an utility to gather the scripts of a stack under text files, parsed in folders according to cards, groups... I am using extensively the "set the directory to thePath" command in order to achieve this. With "card 1", all is OK. Directory set to the folder containing the text files. Another folder within the first one, for card 1 scripts. Directory set for this folder. Another folder within card 1 scripts folder, to accommodate group 1 scripts. Directory set for this folder. Back to the first folder, set the directory. Go card 2. Set the directory for the folder with card 2 scripts: doesn't work! After peeking the doc, the reason seems to be 'error on setting the directory, folder doesn't exist!' After verifyind ad re-verifying, I moved the "set the directory" command AFTER the "go card 2" command... and that works! Question: how, going from card 1 to card 2, this can interfere with "the directory" ??? In fact, the directory seems to be reset to the folder containing the stack being parsed... (the default stack being placed on this stack, not the utility) -- Digital photos (nature, garden) : http://cooldomi.free.fr/ Scripting : http://domiscript.free.fr/ From bvg at mac.com Wed Jan 28 08:55:45 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 28 Jan 2004 14:55:45 +0100 Subject: XMLlib does not parse Message-ID: I am new to XML and try to use rev to read a PAD file. I have a problem where the revCreateXMLTree function does generate this error: xmlerr, can't parse xml Unsupported encoding windows-1252 however every xml I looked at had that encoding, so it seems to be quite often used, why then does rev not know it? From rjb at rz.uni-potsdam.de Wed Jan 28 09:16:10 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed, 28 Jan 2004 15:16:10 +0100 Subject: Bug votation In-Reply-To: <1g89nsu.1hpnbps1m723xgM%mcdomi@free.fr> References: <1g89nsu.1hpnbps1m723xgM%mcdomi@free.fr> Message-ID: >Robert Brenstein wrote: > >> You need to have a login account (any rev developer can add it). > >You mean that I can't since I am only a "Express Edition" user? As far as I know, it does not matter which version you have. > > You need to be logged in to see those extra options and display the bug >> you want to vote for. > >Is this another 'login'? No. >I already have to log in, in order to make a "bug proposal"... > >(i think I made two proposals in the past) Oh, so you already have an account. Then after you connect to bugzilla and log in, you should be able to vote. If you want to see your current votes, there is a link in your private area on the bottom. Robert From shedrup at ms9.hinet.net Wed Jan 28 10:25:45 2004 From: shedrup at ms9.hinet.net (Friedrich F. Grohmann) Date: Wed, 28 Jan 2004 23:25:45 +0800 Subject: Rev fails to recognize Chinese Message-ID: <200401281524.XAA16339@msr60.hinet.net> My gratitude for all contributions dealing with the problem I mentioned. Tom hinted to "pasting differences with plain english text files". Well, the text I pasted was copied from a Nisus file which is basically a text file, as far as I understand. I checked with English text copied from Nisus and Rev has no difficulty in finding things therein. Andre suggested "reading from file". Unfortunately, the text thus read still cannot be searched. Ron wondered whether I had set the text of the fld to unicode and/or set the textfont of the field before pasting. Regarding the font, I did specify it by way of object inspector > text formatting. However, I had failed to pay attention to explicitly stating "Chinese" and tried now to remedy the situation. The result is quite unexpected: I created two fields, "oldText" with "Apple LiSung Light" and "newText" with "Apple LiSung Light,Chinese". Chinese text pasted from Nisus into "oldText" displays properly. But when I executed put fld "oldText" into fld "newText" via the message box, the transferred text displayed as *Korean* garbage! How the specification "Chinese" leads to this mixup is beyond me. (Out of curiosity I tested this command with text directly typed into field "oldText". It displays properly in field "newText" and both fields are searchable. Very nice, but doesn't solve my problem.) So finally the suggestion to take care of uniEncode. Dealing with the just described test scenario, the command put uniEncode(fld "oldText","Chinese") into fld "newText" works wonders! The Chinese is not only retained but can also be searched. In principle, this marvelous trick seems to solve my problem and once more I would like to thank everyone who shared his suggestions. The thing is that a new problem raises its head -the original text contains one actually quite common character (yang3, "to rear") which not only disappears in fld "newText" but leads to a line break. What is happening here? Fritz From soapdog at mac.com Wed Jan 28 10:35:04 2004 From: soapdog at mac.com (Andre Garzia) Date: Wed, 28 Jan 2004 13:35:04 -0200 Subject: [OY] PAD generators In-Reply-To: <2458E8C6-516A-11D8-AA23-000393AA08D2@qldlearning.com> References: <2458E8C6-516A-11D8-AA23-000393AA08D2@qldlearning.com> Message-ID: <8B045BCD-51A7-11D8-9B70-0003936D012E@mac.com> On Jan 28, 2004, at 6:15 AM, Brian Yennie wrote: > Richard, > > Is there a Mac PAD generator floating around? > I've been keeping an eye out for (relatively) easy projects that I > could cook up and would get Rev noticed at least a few times, and PAD > seems pretty easy. > With that said, I've never seen a PAD generator and the only link I > saw was a Windoze generator. > > Folks, I've done some little research on PAD files, there are two "standards", there's the one windows uses that is generated by for example, padmaker, and there's the one MacShareware.net and others are trying to push to the mac community. The mac one is based on plist files which are very easy to generate, you can use plist editor from XCode/devtools or they make available a nice cocoa plist editor customized for MacPAD files... so you got this scenario: Windows PAD files --- generated by padmaker and others, used by lots of download sites. MacPAD files - plist files not compatible with windows PAD generated by hand or by cocoa MacPAD utility. They also provide a nice "framework" for cocoa apps to read and check their own version based on those plist files, pretty cool. MacPAD --- FileMaked based utility that generate Windows PAD Files uh!? yes... there are two things named MacPAD, and they are not the same. There is only one site (that I know) accepting MacPAD files, thats MacShareware.net, and they are talking about the plist one. There are lot of sites accepting Windows PAD Files, but I think they do not distribute mac programs... guess what.... URLS: MacPAD that generate Windows PAD Files made by Chicken Girl. http://www.chickengirl.com MacPAD plist sdk, assembled by MacShareware.net http://macshareware.net/sdk.html Cheers, hope it helps -- Andre Alves Garzia - Soap Dog Studios - BRAZIL http://studios.soapdog.org From jan.decroos at groepvanroey.be Wed Jan 28 10:54:49 2004 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Wed, 28 Jan 2004 16:54:49 +0100 Subject: Filtering with more than 4 types (OSX) In-Reply-To: <20040128100530.3E5679300E2@mail.runrev.com> References: <20040128100530.3E5679300E2@mail.runrev.com> Message-ID: >Smart workaround, but what if the user want to navigate to another >directory within the file selector ? > >Thierry. and by using Applescript ? (do ... as AppleScript) choose file with prompt "Give file:" of type {"MooV", "JPEG", "PNGf", "GIFf", "TIFF", "BMP "} Regards, Jan From jacque at hyperactivesw.com Wed Jan 28 11:41:52 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 28 Jan 2004 10:41:52 -0600 Subject: Can't hilite buttons on Mac? In-Reply-To: References: <2B56BA87-5181-11D8-AEE2-0003935A2896@azurevision.co.uk> Message-ID: <4017E650.6070405@hyperactivesw.com> On 1/28/04 5:25 AM, Ian Wood wrote: > On further investigation, it is the focusin & focusout handlers that are > not getting triggered when using Mac OS Appearance Manager or Mac OS > Emulated views. Nothing in bugzilla, so it's time to sit down & write > out some bug reports. : ( I believe this is correct behavior for a Mac. Macs do not have focus behavior on buttons, only on fields. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at yahoo.com Wed Jan 28 12:08:55 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 28 Jan 2004 09:08:55 -0800 (PST) Subject: What graphic rotations are available? In-Reply-To: <20040127012711.7D0CE930088@mail.runrev.com> Message-ID: <20040128170855.3384.qmail@web40511.mail.yahoo.com> on Mon, 26 Jan 2004 23:44:44 +0000 Graham Samuel wrote: > The TD says that you can set the angle of a regular > polygon in order to rotate it > > Regular polygons are geometric shapes whose sides > are all the same length, such as squares, > equilateral triangles, hexagons, and so on. > >(You set the number of sides with the polySides > property.) > > If your regular poly is a graphic rather than a > paint (bitmap) > object, you can distort it until the sides are > definitely NOT the > same length and it still rotates. Can anyone explain > what is magic > about a regular polygon and if there is a way of > rotating other > 'draw' (vector graphics) objects at all efficiently? > Can't find > anything in the docs. Hi Graham, Different programmers has posted to this list (and Metacard list) handlers to rotate poligon graphics. In my website (look the direction at the the foot of this post) you could find a stack named graphic transformations, that shows the use of matrices to scale, rotate and skew poligon graphics. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From themacguy at macosx.com Wed Jan 28 12:20:46 2004 From: themacguy at macosx.com (Barry Levine) Date: Wed, 28 Jan 2004 10:20:46 -0700 Subject: Filtering with more than 4 types (OSX) - AppleScript Question In-Reply-To: <20040128170015.F366E9300FC@mail.runrev.com> References: <20040128170015.F366E9300FC@mail.runrev.com> Message-ID: <4F49168F-51B6-11D8-A4B9-000A95763ABC@macosx.com> Jan, Would you mind providing the exact line(s) of Transcript one would use to accomplish that AppleScript task? TIA, Barry On Jan 28, 2004, at 10:00 AM, Jan wrote: > Date: Wed, 28 Jan 2004 16:54:49 +0100 > From: "Jan Decroos" > Subject: Re: Filtering with more than 4 types (OSX) > >> Smart workaround, but what if the user want to navigate to another >> directory within the file selector ? >> >> Thierry. > > > and by using Applescript ? > > (do ... as AppleScript) > > choose file with prompt "Give file:" of type {"MooV", "JPEG", "PNGf", > "GIFf", > "TIFF", "BMP "} > > > Regards, > Jan From soapdog at mac.com Wed Jan 28 12:26:53 2004 From: soapdog at mac.com (Andre Garzia) Date: Wed, 28 Jan 2004 15:26:53 -0200 Subject: about embeding images in fields... Message-ID: <29DD1B6A-51B7-11D8-9B70-0003936D012E@mac.com> Hi folks, Is there a way to put images inside fields? I want the user to be able to drag & drop images to a text field inside the app, is this difficult, or possible? Cheers -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From ambassador at fourthworld.com Wed Jan 28 12:36:27 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 28 Jan 2004 09:36:27 -0800 Subject: about embeding images in fields... In-Reply-To: <29DD1B6A-51B7-11D8-9B70-0003936D012E@mac.com> Message-ID: Andre Garzia wrote: > Is there a way to put images inside fields? I want the user to be able > to drag & drop images to a text field inside the app, is this > difficult, or possible? You can set it up to receive drops and then add a character in the current selection, setting the imageSource of that character to the path provided in the dragData. -- 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 gizmotron at earthlink.net Wed Jan 28 13:19:02 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 28 Jan 2004 10:19:02 -0800 Subject: [off-list] PAD generators In-Reply-To: Message-ID: <7350F8E1-51BE-11D8-B903-000A95859272@earthlink.net> On Tuesday, January 27, 2004, at 10:46 PM, Richard Gaskin wrote: > I'm having trouble with my PAD files reported by some sites as being > in an > invalid format. Hand-editing something that changes so often doesn't > seem > an efficient solution, and clearly my current PAD generator (PADMaker) > isn't > up to snuff. > > Any of you have a favorite PAD generator? Hi Richard, I've spent all morning looking into this. I have a few questions after looking at this: http://cvs.sourceforge.net/viewcvs.py/macpad/documents/ and http://cvs.sourceforge.net/viewcvs.py/macpad/ I don't have Word for Mac X (and never will I hope) so the original download was worthless to me. Luckily I found these HTML versions (above). My big question is on the kind of document type is expected by MacShareware.net? Is this a text doc? ------- Ref: http://www.techtv.com/screensavers/macintosh/story/ 0,24330,3392248,00.html You can edit or examine a .plist with any text editor (BBEdit Lite is a good choice), but be careful how you change it. Any mistakes can render the associated program, or even the operating system, unusable. ------- I know I will probably find this soon after reading the full docs but if it is a .plist file located at my web site then I would love to blow out a pull-parser version of a proper file creation tool for Rev developers. This looks like what it might need at the top: I guess the file type should be "TEXT" Is that correct? Thanks for turning us all on to this. I think I've seen PAD mentioned before on this list but I've learned quite al lot in the past six months, so this looks easy to do now (I hope... ). Mark Brownell From mcdomi at free.fr Wed Jan 28 13:28:33 2004 From: mcdomi at free.fr (Dom) Date: Wed, 28 Jan 2004 19:28:33 +0100 Subject: MacWorld article on Revolution In-Reply-To: <1237C0EC-5124-11D8-A072-000A956C462A@mangomultimedia.com> Message-ID: <1g8a47x.1o0fjrv1hlw8jyM%mcdomi@free.fr> Trevor DeVore wrote: > and a superb TROLL: ==== Just don't imagine that you'll be able to build the ambitious programs you can turn out with RealBasic and Xcode. ==== -- Digital photos (nature, garden) : http://cooldomi.free.fr/ Scripting : http://domiscript.free.fr/ From janschenkel at yahoo.com Wed Jan 28 13:32:46 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 28 Jan 2004 10:32:46 -0800 (PST) Subject: MacWorld article on Revolution In-Reply-To: <1g8a47x.1o0fjrv1hlw8jyM%mcdomi@free.fr> Message-ID: <20040128183246.57514.qmail@web60507.mail.yahoo.com> --- Dom wrote: > Trevor DeVore wrote: > > > > > > and a superb TROLL: > > ==== > Just don't imagine that you'll be able to build the > ambitious programs > you can turn out with RealBasic and Xcode. > ==== > I have to say, that was the one remark I didn't like ; granted, there are a few things that are harder to accomplish (such as MacDraw-style applications) ; but the apps produced using Revolutuion are in no way inferior to other applications, and were probably built far more quickly. That's the one downside of the HyperCard inheritance : that people think you can't make _real_ apps. But I'm preaching to the choir here ;-) Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From gizmotron at earthlink.net Wed Jan 28 13:39:37 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 28 Jan 2004 10:39:37 -0800 Subject: [off-list] PAD generators In-Reply-To: <7350F8E1-51BE-11D8-B903-000A95859272@earthlink.net> Message-ID: <536ECBA0-51C1-11D8-B903-000A95859272@earthlink.net> On Wednesday, January 28, 2004, at 10:19 AM, Mark Brownell wrote: > Subject: Re: [off-list] PAD generators Oops! I meant: "Subject: Re: [OY] PAD generators." From klaus at major-k.de Wed Jan 28 13:45:58 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 28 Jan 2004 19:45:58 +0100 Subject: MacWorld article on Revolution In-Reply-To: <20040128183246.57514.qmail@web60507.mail.yahoo.com> References: <20040128183246.57514.qmail@web60507.mail.yahoo.com> Message-ID: <363F1258-51C2-11D8-B43A-000A27B49A96@major-k.de> Hi Jan, >> Trevor DeVore wrote: > >> and a superb TROLL: Yo :-) >> ==== >> Just don't imagine that you'll be able to build the >> ambitious programs you can turn out with RealBasic and Xcode. >> ==== > I have to say, that was the one remark I didn't like ; ...AND especially his "drawbacks": > Naturally, there are drawbacks. The stand-alone apps you build in > Revolution > run more slowly than comparable RealBasic or AppleScript Studio > projects, > and they take up a lot more space. RR slower than VB??? More space??? Outer space??? > Also, Transcript is a proprietary language, so, unlike BASIC or > AppleScript, > you can't use it to program in another environment. This one is extremely funny :-D Basic is an "allround" language? Geeeeeeeez... And what really shoots me: > And while Revolution is considerably more powerful than HyperCard, > it lacks the flexibility of a conventional software-development > environment. No comment... > ...But I'm preaching to the choir here ;-) Amen, brother, amen! > Jan Schenkel. Regards Klaus Major klaus at major-k.de www.major-k.de From ambassador at fourthworld.com Wed Jan 28 13:51:19 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 28 Jan 2004 10:51:19 -0800 Subject: MacWorld article on Revolution In-Reply-To: <1g8a47x.1o0fjrv1hlw8jyM%mcdomi@free.fr> Message-ID: Dom wrote: > Trevor DeVore wrote: > >> > > and a superb TROLL: > > ==== > Just don't imagine that you'll be able to build the ambitious programs > you can turn out with RealBASIC and Xcode. > ==== Andy's generally a very good reviewer, but he's been working with lower-level tools for so long he may have lost sight of how costly they can be to his productivity. Writing usually doesn't pay very well, certainly not enough to do the sort of detailed analysis and benchmarking that would have given him a better understanding of what Transcript's highly-optimized C-based engine can do. With four stars and limited exposure to the product, his review's not bad. Challenge for the community: get your professional products listed in the Rev gallery at: . Better than words are real-world examples of quality applications built with Rev. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lists at mangomultimedia.com Wed Jan 28 13:53:16 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 28 Jan 2004 11:53:16 -0700 Subject: MacWorld article on Revolution In-Reply-To: <20040128183246.57514.qmail@web60507.mail.yahoo.com> References: <20040128183246.57514.qmail@web60507.mail.yahoo.com> Message-ID: <3B769159-51C3-11D8-8A8A-000A956C462A@mangomultimedia.com> On Jan 28, 2004, at 11:32 AM, Jan Schenkel wrote: > --- Dom wrote: >> >> and a superb TROLL: >> >> ==== >> Just don't imagine that you'll be able to build the >> ambitious programs >> you can turn out with RealBasic and Xcode. >> ==== > > I have to say, that was the one remark I didn't like ; > granted, there are a few things that are harder to > accomplish (such as MacDraw-style applications) ; but > the apps produced using Revolutuion are in no way > inferior to other applications, and were probably > built far more quickly. > That's the one downside of the HyperCard inheritance : > that people think you can't make _real_ apps. But I'm > preaching to the choir here ;-) After reading the article I wondered if the author had even used all of the programs. I have a few projects that I might categorize as "ambitious" and Rev seems to handle them without much problem :-) -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From ambassador at fourthworld.com Wed Jan 28 14:00:58 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 28 Jan 2004 11:00:58 -0800 Subject: MacWorld article on Revolution In-Reply-To: <363F1258-51C2-11D8-B43A-000A27B49A96@major-k.de> Message-ID: Klaus Major wrote: >> Naturally, there are drawbacks. The stand-alone apps you build in >> Revolution run more slowly than comparable RealBASIC or AppleScript >> Studio projects, and they take up a lot more space. > > RR slower than VB??? > More space??? > Outer space??? The latter. :) Actual performance benchmarks show otherwise for many common tasks, and productivity measurements favor Rev nearly across the board. >> Also, Transcript is a proprietary language, so, unlike BASIC or >> AppleScript, you can't use it to program in another environment. > > This one is extremely funny :-D > Basic is an "allround" language? It's especially odd that a writer in a Mac magazine considers something an open standard by virtue of Microsoft's illegal ubiquity. All popular implementations of BASIC today depart radically from the original standard, and all are proprietary, as is Apple's AppleScript. And if not for Microsoft's pushing it (often with arm-twisting of a sort that would get me sued in a heartbeat if I shared what I've heard from insiders), BASIC would be no more popular than Cobal today. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rgmiller at pacbell.net Wed Jan 28 14:40:56 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Wed, 28 Jan 2004 11:40:56 -0800 Subject: OT the spirit of Spirit References: <20040127225834.03EE39300EE@mail.runrev.com> Message-ID: <40181048.9080603@pacbell.net> Revers, One final word on the MER Rovers: Rand Simberg sez: >>I'm pretty sure that "flash" in this context is the same as the "flash" >>memory that stores your computer's BIOS (Basic Input-Output System--the >>hard-wired program that allows the computer to boot when you turn on the >>power), or like that used in digital cameras. Most of the time, flash >>memory is read-only (hence, ROM-BIOS). But when the appropriate voltages >>are applied to the appropriate pins, the "ROM" (read-only memory) becomes >>writeable, and a new version of the "ROM" code can be installed without >>having to swap chips. Most Intel-compatible motherboards these days have >>"flashable" ROM BIOSes, and the manufacturers will provide BIOS flash >>utilities and updated BIOS programs on their web sites, just like >>manufacturers of various peripheral devices will provide updated driver >>programs. It makes a great deal of sense to have most, if not all, of the >>rover's software in non-volatile memory of some sort (provided, of course, >>there isn't a critical bug buried somewhere in the code...). > > >>Yes, the Spirit was willing, but the flash was weak... > > > Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From rgmiller at pacbell.net Wed Jan 28 15:24:41 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Wed, 28 Jan 2004 12:24:41 -0800 Subject: Windowscript References: <20040128100528.0F65C9300DF@mail.runrev.com> Message-ID: <40181A89.6050606@pacbell.net> From: Stephen Quinn Barncard Stephen said: > With all due respect, Ray, I think you must be thinking of something > else. I used Windowscript for years but it had no report generator. > Windowscript was a GUI layer that ran on top of > Hypercard...brilliantly I might add. Using Windowscript, Compilit, > Printreport and a few others, one could make a real double clickable > app completely in Hypercard....yes I used Hyperbasic as well... My confusion... I used Windowscript, Compilit, and PrintReport as a "unit" with HC. Users never saw the HyperCard itself. PrintReport was written by John A. Nairn. I talked with John a number of times about expanding PrintReport to the PC world. He would, he said, if there was a "usuable" HC there to receive it. Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From pixelbird at interisland.net Wed Jan 28 15:27:49 2004 From: pixelbird at interisland.net (Ken Norris) Date: Wed, 28 Jan 2004 12:27:49 -0800 Subject: MacWorld article on Revolution In-Reply-To: <20040128190312.EF95B930120@mail.runrev.com> Message-ID: Hi Richard, > Date: Wed, 28 Jan 2004 10:51:19 -0800 > From: Richard Gaskin > Subject: Re: MacWorld article on Revolution > Challenge for the community: get your professional products listed in the > Rev gallery at: > . > > Better than words are real-world examples of quality applications built with > Rev. ------------ I'd second that. Indeed, show us your professional-wares. Seems like we hardly ever get to see what Rev can really do, probably because so much is custom in-house stuff. Still, I think CGIScripter and Vocabulary Builder might be good examples. I wonder if those were reviewed. Ken N. From stephenREVOLUTION at barncard.com Wed Jan 28 15:37:12 2004 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Wed, 28 Jan 2004 12:37:12 -0800 Subject: Windowscript Message-ID: I'd be happier if he'd bring Printreport to the OSX world, otherwise I'd still be using his XCMDs... actually for some stacks to difficult to convert right now, I do and use it every day in Classic. Even better would be to develop a library for Rev, then everybody would be happy. It got to the point that Hypercard was an ideal interface and glue; but the XCMDs did most of the work. I would often have over 50 in a project and still have thousands of them on a CD. Too bad they can't run in X. It's still PPC code resource - but calls the old APIs... damn.. But Compilit! - Whoa, Tom Pittman, what a genius...maybe he could make a cross platform XCMD generator that runs Transcript... > >My confusion... I used Windowscript, Compilit, and PrintReport as a >"unit" with HC. Users never saw the HyperCard itself. >PrintReport was written by John A. Nairn. I talked with John a >number of times about expanding PrintReport to the PC world. He >would, he said, if there was a "usuable" HC there to receive it. > >Ray G. Miller From erik.lips at zonnet.nl Wed Jan 28 15:48:29 2004 From: erik.lips at zonnet.nl (Erik Lips) Date: Wed, 28 Jan 2004 21:48:29 +0100 Subject: set BottomLeft coords do not coincide with property inspector's coords Message-ID: <5.2.0.9.0.20040128214441.01f5c448@pop3.zonnet.nl> Hi Richard. Something strange is going on.... just ran the very same code again to see if it had to do with the geometry manager..... and guess what, my field is placed at the correct location now! Just to be sure I checked if I really used the very same code and I did. I do not have any explanation for it. But as long as set rect works for my purposes I will be careful using the set bottomleft. Thanks for your help. Erik. From rodneyta at telpacific.com.au Wed Jan 28 17:28:19 2004 From: rodneyta at telpacific.com.au (Rodney Tamblyn) Date: Thu, 29 Jan 2004 11:28:19 +1300 Subject: there is a window Message-ID: <465845B1-51E1-11D8-BA06-003065F97100@telpacific.com.au> If I open a sub-stack "history", then type: there is a window "history" -> true If I close window "history", then type: there is a window "history" -> true But - windows() does not contain "history" eg, (destroystack on close set to true) put windows() contains "history" I had assumed that "there is a window" would be the same as checking the window existed in windows(), but apparently not... ~ Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From sarahr at genesearch.com.au Wed Jan 28 17:37:24 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 29 Jan 2004 08:37:24 +1000 Subject: there is a window In-Reply-To: <465845B1-51E1-11D8-BA06-003065F97100@telpacific.com.au> References: <465845B1-51E1-11D8-BA06-003065F97100@telpacific.com.au> Message-ID: <8B100714-51E2-11D8-A2C1-0003937A97B8@genesearch.com.au> I use: if the openStacks contains "history" Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On 29 Jan 2004, at 8:28 am, Rodney Tamblyn wrote: > If I open a sub-stack "history", then type: > > there is a window "history" -> true > > If I close window "history", then type: > > there is a window "history" -> true > > But - windows() does not contain "history" > eg, (destroystack on close set to true) > put windows() contains "history" > > I had assumed that "there is a window" would be the same as checking > the window existed in windows(), but apparently not... > > ~ Rodney > > -- > Rodney Tamblyn > 44 Melville Street > Dunedin > New Zealand > +64 3 4778606 > http://rodney.weblogs.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From jackass at bestweb.net Wed Jan 28 17:40:53 2004 From: jackass at bestweb.net (michael) Date: Wed, 28 Jan 2004 17:40:53 -0500 Subject: Control Rev App from web? Message-ID: <40183A75.3050901@bestweb.net> Hi, I just discovered Revolution and am in the midst of learning all about it. I have a project being planned out and I think Rev might be perfect for it. I know you can display web or ftp contentm and I did see a web browser stack somewhere out there that would use the end-users default browser or a specified one... I need to have an integrated web browser in my app. So this leads me to my question. Can controls be embedded in a web page to command an apps stacks/cards to launch? I am assuming yes, and will continue to research.. An example would be, prompting a media file linked on web to play in the apps own player. Or would I need to pull the links to the media file located either on remote server or local.... using a card field or some other relevent approach? Thanks!! Babble_Out- I am a php/perl/javascript/html guy and this is my first venture into making apps other than stuff in Flash and Director. My apps must work on all possible platforms, which led me to find Revolution. Not only does it do this, which I think is incredible since there are a plethora of authoring/programming software out there that cannot do this. I was going to dive into C++ but dont necessarily have the time or patience to do that right now. Rev, I am hoping, is my solution. From sarahr at genesearch.com.au Wed Jan 28 17:48:51 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 29 Jan 2004 08:48:51 +1000 Subject: Filtering with more than 4 types (OSX) - AppleScript Question In-Reply-To: <4F49168F-51B6-11D8-A4B9-000A95763ABC@macosx.com> References: <20040128170015.F366E9300FC@mail.runrev.com> <4F49168F-51B6-11D8-A4B9-000A95763ABC@macosx.com> Message-ID: <2493CFA4-51E4-11D8-A2C1-0003937A97B8@genesearch.com.au> On 29 Jan 2004, at 6:51 am, Barry Levine wrote: > Jan, > > Would you mind providing the exact line(s) of Transcript one would use > to accomplish that AppleScript task? > > TIA, > Barry Try this: (watch out for line wraps) on mouseUp put "MooV,JPEG,PNGf,GIFf,TIFF,BMP" into tFilters put "Select a Quicktime file:" into tPrompt put getFilePath(tFilters, tPrompt) into tFile answer tFile end mouseUp function getFilePath pFilters, pPrompt -- change comma-delimited list of filters to AppleScript list -- force each file type to 4 characters put "{" into tASfilters repeat for each item i in pFilters put quote & char 1 to 4 of (i & " ") & quote & comma after tASfilters end repeat put "}" into last char of tASfilters -- do the AppleScript which calls the file selector put "choose file with prompt " & quote & pPrompt & quote & \ " of type " & tASfilters into tScript do tScript as AppleScript put the result into tFile if tFile is empty then return empty -- no file chosen -- format from Mac file path to Rev file path delete word 1 of tFile -- get rid of the word alias replace quote with "" in tFile -- get rid of the quotes put revUnixFromMacPath(tFile) into tFile return tFile end getFilePath Cheers, Sarah From herz at ucsd.edu Wed Jan 28 18:29:16 2004 From: herz at ucsd.edu (Richard K. Herz) Date: Wed, 28 Jan 2004 15:29:16 -0800 Subject: server load with Rev "net" apps Message-ID: <010201c3e5f6$8c850830$58bfef84@maerkhpc1> I have Rev apps on clients communicating with Rev/MC (last MC engine) CGI scripts on a Linux/Apache server at an ISP. The ISP is complaining that the scripts are causing high CPU usage. Question: does a separate instance of the Rev/MC engine open whenever a new post comes in? If so, is there an alternative CGI option that can handle high hit rates? Thanks Rich Herz From tsalagi at elohigadugi.org Wed Jan 28 18:57:21 2004 From: tsalagi at elohigadugi.org (duane poncy) Date: Wed, 28 Jan 2004 15:57:21 -0800 Subject: Using Valentina databases In-Reply-To: <20040128190312.EF95B930120@mail.runrev.com> References: <20040128190312.EF95B930120@mail.runrev.com> Message-ID: <20040128155721293862.GyazMail.tsalagi@elohigadugi.org> I want to explore using a Valentina database for a dictionary project, but I can find no documentation on using Valentina with Revolution. Does anyone know where I can find some resource materials? Thanks. Duane Poncy visit elohi gadugi: poetry, software, Cherokee culture and Native American rights. http://elohigadugi.org/ -------------------------------------------------------- Another world is not only possible, she is on her way. On a quiet day, I can hear her breathing. - Arundhati Roy --------------------------------------------------------- From gizmotron at earthlink.net Wed Jan 28 19:02:54 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 28 Jan 2004 16:02:54 -0800 Subject: Using Valentina databases In-Reply-To: <20040128155721293862.GyazMail.tsalagi@elohigadugi.org> Message-ID: <7C7E3A9C-51EE-11D8-B6A3-000A95859272@earthlink.net> On Wednesday, January 28, 2004, at 03:57 PM, duane poncy wrote: > I want to explore using a Valentina database for a dictionary project, > but I can find no documentation on using Valentina with Revolution. > Does anyone know where I can find some resource materials? Thanks. > > Duane Poncy Have you tried the docs that come with the Valentina download. Check their web site for more. Mark From ops at myesa.com Wed Jan 28 19:56:51 2004 From: ops at myesa.com (Ops) Date: Wed, 28 Jan 2004 18:56:51 -0600 Subject: Find screen pixel color without screenMouseLoc Message-ID: <40185A53.60507@myesa.com> I've searched, and cannot find an answer to this question. Can I find the color of a particular pixel of a (windows) screen without having to change the screenMouseLoc (and then using mouseColor). Doing it that way is annoying and confusing to my users when the pointer moves "for no reason" (according to their perception).. Thanks!! From davethebrv at crystalpiersw.com Wed Jan 28 20:27:26 2004 From: davethebrv at crystalpiersw.com (Dave Beck) Date: Wed, 28 Jan 2004 17:27:26 -0800 Subject: non-blocking way to open word files? In-Reply-To: <20040129000243.20F7F93010A@mail.runrev.com> Message-ID: Hey, I'm writing a Windows app with Rev and need a way to open .rtf files with MS Word from a script in my app. I've been using the shell command and specifiying the long path name of the file, which works well except that it is blocking. My Rev stack does not respond to mouse clicks etc. until the user quits the Word instance that was launched from my script! Is there a way around this?? It seems like there must be a non-blocking way to launch applications. Any help would be greatly appreciated. Thanks! Dave From ambassador at fourthworld.com Wed Jan 28 21:46:24 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 28 Jan 2004 18:46:24 -0800 Subject: Handy Handler #5: Pack / Unpack Message-ID: revJournal editor-in-chief Alan Golub just wrote to tell me he's put my latest Handy Handlers article online: For those of you've been exploring ways to compress and protect data for Internet transmission, you might find this one, well, handy. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From doug at webcrossing.com Wed Jan 28 21:48:48 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 29 Jan 2004 11:48:48 +0900 Subject: Opening a Rev app from a browser? Message-ID: Any good hints out there about: 1. Opening a Rev app from a browser (including cross-platform issues)... 2. Passing parameters from a browser link to a Rev app when opening... Thanks, doug From dsc at swcp.com Wed Jan 28 21:54:12 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 28 Jan 2004 19:54:12 -0700 Subject: Find screen pixel color without screenMouseLoc In-Reply-To: <40185A53.60507@myesa.com> Message-ID: <6B21E28A-5206-11D8-B4F7-000A9567A3E6@swcp.com> On Wednesday, January 28, 2004, at 05:56 PM, Ops wrote: > I've searched, and cannot find an answer to this question. Can I find > the color of a particular pixel of a (windows) screen without having > to change the screenMouseLoc (and then using mouseColor). Doing it > that way is annoying and confusing to my users when the pointer moves > "for no reason" (according to their perception).. export the screen to an invisible image (or to a variable and then to image). Get the imageData. Get the pixel. Dar Scott From chipp at chipp.com Wed Jan 28 22:22:22 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 28 Jan 2004 21:22:22 -0600 Subject: Handy Handler #5: Pack / Unpack In-Reply-To: Message-ID: Richard, Just a thank-you for a great, well-written article on GPGE (Gaskin's Pretty Good Encryption;-) One of the great things about your articles, is there's always something of interest for every level of RR developer! best, Chipp From jackass at bestweb.net Wed Jan 28 23:53:34 2004 From: jackass at bestweb.net (michael) Date: Wed, 28 Jan 2004 23:53:34 -0500 Subject: self-destructing files Message-ID: <401891CE.9070704@bestweb.net> Has anyone ever tried making an executable self-delete after x opens or x time or using any other parameters? From rodney at infiny.co.nz Thu Jan 29 00:06:24 2004 From: rodney at infiny.co.nz (rodney tamblyn) Date: Thu, 29 Jan 2004 18:06:24 +1300 Subject: Using Valentina databases In-Reply-To: <20040128155721293862.GyazMail.tsalagi@elohigadugi.org> References: <20040128190312.EF95B930120@mail.runrev.com> <20040128155721293862.GyazMail.tsalagi@elohigadugi.org> Message-ID: Duane, There are several people here on this list (including myself) who have lots of experience using Valentina with Revolution. You can also post to the Valentina email list (see the web site). For basic usage, just use the Revolution built-in database support. If you have any specific questions please feel free to contact me either here or off list. Regards, Rodney On 29/01/2004, at 12:57 PM, duane poncy wrote: > I want to explore using a Valentina database for a dictionary project, > but I can find no documentation on using Valentina with Revolution. > Does anyone know where I can find some resource materials? Thanks. > > Duane Poncy > > > visit elohi gadugi: poetry, software, > Cherokee culture and Native American rights. > http://elohigadugi.org/ > > -------------------------------------------------------- > Another world is not only possible, she is on her way. > On a quiet day, I can hear her breathing. - Arundhati Roy > --------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From ambassador at fourthworld.com Thu Jan 29 00:31:10 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 28 Jan 2004 21:31:10 -0800 Subject: self-destructing files In-Reply-To: <401891CE.9070704@bestweb.net> Message-ID: michael wrote: > Has anyone ever tried making an executable self-delete after x opens or > x time or using any other parameters? > Is that really the behavior you want? If its part of a sales incentive consider that having to re-download the app to buy is a disincentive. To answer the question, while EXEs cannot modify themselves youcan externalize critical script components and delete those to cripple it next time it's run. -- 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 capellan2000 at yahoo.com Thu Jan 29 01:09:50 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 28 Jan 2004 22:09:50 -0800 (PST) Subject: Games and learning Message-ID: <20040129060950.73108.qmail@web40512.mail.yahoo.com> Hi Developers, I want to share with you this link about learning and games: I believe that Rev and MC have a clear edge when you join both areas. Enjoy the readings. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From ambassador at fourthworld.com Thu Jan 29 01:27:09 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 28 Jan 2004 22:27:09 -0800 Subject: [OY] PAD generators In-Reply-To: <8B045BCD-51A7-11D8-9B70-0003936D012E@mac.com> Message-ID: Andre Garzia wrote: > I've done some little research on PAD files, there are two "standards", > there's the one windows uses that is generated by for example, > padmaker, and there's the one MacShareware.net and others are trying to > push to the mac community. The mac one is based on plist files which > are very easy to generate, you can use plist editor from XCode/devtools > or they make available a nice cocoa plist editor customized for MacPAD > files... so you got this scenario: > > Windows PAD files --- generated by padmaker and others, used by lots > of download sites. > MacPAD files - plist files not compatible with windows PAD generated by > hand or by cocoa MacPAD utility. They also provide a nice "framework" > for cocoa apps to read and check their own version based on those plist > files, pretty cool. > MacPAD --- FileMaked based utility that generate Windows PAD Files > > uh!? yes... there are two things named MacPAD, and they are not the > same. There is only one site (that I know) accepting MacPAD files, > thats MacShareware.net, and they are talking about the plist one. There > are lot of sites accepting Windows PAD Files, but I think they do not > distribute mac programs... > > guess what.... > > URLS: > > MacPAD that generate Windows PAD Files made by Chicken Girl. > http://www.chickengirl.com > > MacPAD plist sdk, assembled by MacShareware.net > http://macshareware.net/sdk.html I would hesitate to use anything othe than the original specification from . If a handful of Mac enthusiasts feel inclined to fragment the standard to better conform to an unrelated spec (plist) my concern is that the result will only further marginalize Mac software from mainstream download sites. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lists at mangomultimedia.com Thu Jan 29 01:42:24 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 28 Jan 2004 23:42:24 -0700 Subject: Control Rev App from web? In-Reply-To: <40183A75.3050901@bestweb.net> References: <40183A75.3050901@bestweb.net> Message-ID: <4C045299-5226-11D8-8804-000A956C462A@mangomultimedia.com> On Jan 28, 2004, at 3:40 PM, michael wrote: > Hi, I just discovered Revolution and am in the midst of learning all > about it. I have a project being planned out and I think Rev might be > perfect for it. > > I know you can display web or ftp contentm and I did see a web browser > stack somewhere out there that would use the end-users default browser > or a specified one... I need to have an integrated web browser in my > app. So this leads me to my question. > Can controls be embedded in a web page to command an apps > stacks/cards to launch? I am assuming yes, and will continue to > research.. An example would be, prompting a media file linked on web > to play in the apps own player. Or would I need to pull the links to > the media file located either on remote server or local.... using a > card field or some other relevent approach? > Thanks!! Hi michael. AFAIK you can only embed a browser in a Windows Revolution stack using the DLL from . I don't know all of the features of the DLL but if there isn't a direct method of communication between the DLL and Revolution you could try embedding links in the web pages that make requests to "127.0.0.1:YourFavoritePort?command=media&filename=blah.mov". Revolution can "listen" to ports on the computer and could process requests that way. I haven't tried this but it may work. Perhaps someone else has some other ideas. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From ambassador at fourthworld.com Thu Jan 29 01:55:46 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 28 Jan 2004 22:55:46 -0800 Subject: Handy Handler #5: Pack / Unpack In-Reply-To: Message-ID: Chipp Walters wrote: > Just a thank-you for a great, well-written article on GPGE (Gaskin's Pretty > Good Encryption;-) > > One of the great things about your articles, is there's always something of > interest for every level of RR developer! That's very kind of you Chipp and much appreciated, but I feel compelled to remind folks that the algorithm presented there is not even close to the level of security that more serious crypto-hobbyists like Dar Scott and Mark "Transcript Blowfish" Brownell could (and in Mark's case has) come up with. But if only lightweight encryption will suffice and speed is appreciated, the "MDX" algorithm described in that article benchmarks at about 300k/second to pack and 200k/second to unpack on a slow 500MHz Mac (can't wait until the new machine arrives). Most of all, it's simple, easy to use, and fun. So maybe it's better characterized as "Gaskin's Pretty Fun Encryption". :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From capellan2000 at yahoo.com Thu Jan 29 02:36:28 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 28 Jan 2004 23:36:28 -0800 (PST) Subject: Points in a circular area In-Reply-To: <20040129064322.1B4D893011C@mail.runrev.com> Message-ID: <20040129073628.38580.qmail@web40513.mail.yahoo.com> Hi Developers, I'm working with geometric stuff now, and before reinvent the wheel, i feel compeled to ask: Do you have a function that returns all the points or coordinates within an arc of a circle? Notice for a rectangular area this is fairly easy, but an area with the shape of an slice is another thing. Imagine how to get all the points within a larger version of this arc shape >. Ideas or suggestions are welcome! Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From xbury.cs at clearstream.com Thu Jan 29 03:00:30 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 29 Jan 2004 09:00:30 +0100 Subject: Points in a circular area Message-ID: something like algebra 101... x1= r * cos(x) and y1=r * sin(y)? OFF THE TOP OF MY HEAD... Could be that r = d r = radius and x y are the coordinates on the axis and x1 y1 are the points in the arc... ;) a su servicio! ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 Alejandro Tejada Sent by: use-revolution-bounces at lists.runrev.com 29/01/04 08:36 Please respond to How to use Revolution To: use-revolution at lists.runrev.com cc: Subject: Points in a circular area . Hi Developers, I'm working with geometric stuff now, and before reinvent the wheel, i feel compeled to ask: Do you have a function that returns all the points or coordinates within an arc of a circle? Notice for a rectangular area this is fairly easy, but an area with the shape of an slice is another thing. Imagine how to get all the points within a larger version of this arc shape >. Ideas or suggestions are welcome! Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From rbarber at yhb.att.ne.jp Thu Jan 29 03:18:41 2004 From: rbarber at yhb.att.ne.jp (ron barber) Date: Thu, 29 Jan 2004 17:18:41 +0900 Subject: Rev fails to recognize Chinese In-Reply-To: <200401281524.XAA16339@msr60.hinet.net> References: <200401281524.XAA16339@msr60.hinet.net> Message-ID: Hi Fritz On Jan 29, 2004, at 12:25 AM, Friedrich F. Grohmann wrote: > > The thing is that a new problem raises its head -the original text > contains one actually quite common character (yang3, "to rear") which > not > only disappears in fld "newText" but leads to a line break. What is > happening here? I do not know specifically what is happening in these cases but there is a known issue with some Japanese characters that lead to a similar result. You can search bugzilla for "japanese" and "unicode" to find out more about this and related bugs. The best thing to do is report it in bugzilla and include a sample file for Tuviah to look at. He is good about fixing when there is a sample included. Ron From eric.chatonet at wanadoo.fr Thu Jan 29 03:23:06 2004 From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=) Date: Thu, 29 Jan 2004 09:23:06 +0100 Subject: Filtering with more than 4 types (OSX) - AppleScript In-Reply-To: <20040129000243.5F3CD93010C@mail.runrev.com> References: <20040129000243.5F3CD93010C@mail.runrev.com> Message-ID: <5D4D40DE-5234-11D8-AF0F-0003930A9F94@wanadoo.fr> Your script for filtering with more than 4 types (OSX) with AppleScript (Vol 4, Issue 189) works fine :-) Many thanks. When "MooV" is among the filters, then all types recognized by QuickTime are displayed : moovies, images and sounds as well! I do regret this! Due to system and QT? Rev 2.1.2 OS 10.3.2 QT 6.5 From jan.decroos at groepvanroey.be Thu Jan 29 03:38:17 2004 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Thu, 29 Jan 2004 09:38:17 +0100 Subject: Filtering with more than 4 types (OSX) - AppleScript Question In-Reply-To: <20040129000243.5F3CD93010C@mail.runrev.com> References: <20040129000243.5F3CD93010C@mail.runrev.com> Message-ID: Barry Levine wrote: >> Jan, >> >> Would you mind providing the exact line(s) of Transcript one would use >> to accomplish that AppleScript task? >> >> TIA, >> Barry Sarah Reichelt wrote: >Try this: (watch out for line wraps) > >on mouseUp > put "MooV,JPEG,PNGf,GIFf,TIFF,BMP" into tFilters > put "Select a Quicktime file:" into tPrompt > > put getFilePath(tFilters, tPrompt) into tFile > answer tFile >end mouseUp > > >function getFilePath pFilters, pPrompt > -- change comma-delimited list of filters to AppleScript list > -- force each file type to 4 characters > put "{" into tASfilters > repeat for each item i in pFilters > put quote & char 1 to 4 of (i & " ") & quote & comma after >tASfilters > end repeat > put "}" into last char of tASfilters > > -- do the AppleScript which calls the file selector > put "choose file with prompt " & quote & pPrompt & quote & \ > " of type " & tASfilters into tScript > do tScript as AppleScript > put the result into tFile > if tFile is empty then return empty -- no file chosen > > -- format from Mac file path to Rev file path > delete word 1 of tFile -- get rid of the word alias > replace quote with "" in tFile -- get rid of the quotes > put revUnixFromMacPath(tFile) into tFile > return tFile >end getFilePath > >Cheers, >Sarah Thanks, Sarah. The result of the "do tScript as Applescript" can be empty, but also "execution error" (if you click on the cancel button for instance). So, I believe the test : if tFile is empty then return empty -- no file chosen > should be if (tFile is empty) or (tFile is "execution error") then return empty -- no file chosen Regards, Jan > > From ops at myesa.com Thu Jan 29 04:07:20 2004 From: ops at myesa.com (Ops) Date: Thu, 29 Jan 2004 03:07:20 -0600 Subject: Find screen pixel color without screenMouseLoc In-Reply-To: <6B21E28A-5206-11D8-B4F7-000A9567A3E6@swcp.com> References: <6B21E28A-5206-11D8-B4F7-000A9567A3E6@swcp.com> Message-ID: <4018CD48.4030809@myesa.com> Got it working, thank you Sir. My desktop icons flicker and it is quite slow...I have read in the archives about icons "winking" out...this is happening to me too. I'll have to evaluate the impact on my app, but thank you for the answer Dar!! Dar Scott wrote: > > On Wednesday, January 28, 2004, at 05:56 PM, Ops wrote: > >> I've searched, and cannot find an answer to this question. Can I find >> the color of a particular pixel of a (windows) screen without having >> to change the screenMouseLoc (and then using mouseColor). Doing it >> that way is annoying and confusing to my users when the pointer moves >> "for no reason" (according to their perception).. > > > export the screen to an invisible image (or to a variable and then to > image). Get the imageData. Get the pixel. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dcragg at lacscentre.co.uk Thu Jan 29 04:39:04 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 29 Jan 2004 09:39:04 +0000 Subject: XMLlib does not parse In-Reply-To: References: Message-ID: At 2:55 pm +0100 28/1/04, Bj?rnke von Gierke wrote: >I am new to XML and try to use rev to read a PAD file. I have a >problem where the revCreateXMLTree function does generate this error: >xmlerr, can't parse xml >Unsupported encoding windows-1252 > >however every xml I looked at had that encoding, so it seems to be >quite often used, why then does rev not know it? I don't think Rev's xml parser is the only one that doesn't handle Windows-1252 encoding. But you're right that it should support it. As a temporary workaround (until support is addded) you could try changing the encoding to ISO-8859-1 before using revCreateXMLTree. The two encodings are not identical, but they might be close enough for many uses. For example (assuming the xml data is in the tXML variable): replace "Windows-1252" with "ISO-8859-1" in tXML get revCreateXMLTree(tXML,false,true,false) Note that this is a crude example for illustration. Apart from the encodings not being identical (Windows-1252 has additional characters to ISO-8859-1), the above script assumes that the text being replaced only occurs at the top of the xml data. A more "robust" replace function is probably necessary for serious application. Cheers Dave From doug at webcrossing.com Thu Jan 29 04:58:13 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 29 Jan 2004 18:58:13 +0900 Subject: Some strange Rev parsing problem? Message-ID: Rev can't seem to find the object referred to in this statement: set the textStyle of word 1 to 2 of the last line of field "chatField" of stack "chat550" to bold But just: word 1 to 2 of the last line of field "chatField" of stack "chat550" displays just fine. Did the complexity of the statement create some sort of ambiguity that confused the parser? doug From frank at backtalk.com Thu Jan 29 05:00:19 2004 From: frank at backtalk.com (Frank Leahy) Date: Thu, 29 Jan 2004 10:00:19 +0000 Subject: Checklist for getting an app ready for distribution? Message-ID: Hi, Does anyone have a handy list of things they do before they get a product ready for distribution? Or maybe even a little stack that checks a bunch of stuff automatically? For example, check that fields don't have a font and font size set by mistake. That the stack has a font and font size set. Get a list of which items have colors set (could have been set mistakenly for example). Those types of little things as well as any bigger things one should be aware of (such as cross-platform issues). Thanks in advance, -- Frank From xbury.cs at clearstream.com Thu Jan 29 05:04:31 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 29 Jan 2004 11:04:31 +0100 Subject: Some strange Rev parsing problem? Message-ID: try to put some parenthesis on your reference to the field or use the ID of the field for a more direct reference... I haven't had trouble with this before... On 29/01/2004 10:58:13 use-revolution-bounces wrote: >Rev can't seem to find the object referred to in this statement: > >set the textStyle of word 1 to 2 of the last line of field "chatField" of >stack "chat550" to bold > >But just: > >word 1 to 2 of the last line of field "chatField" of stack "chat550" > >displays just fine. > >Did the complexity of the statement create some sort of ambiguity that >confused the parser? > >doug > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From jbv.silences at Club-Internet.fr Thu Jan 29 05:08:00 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 29 Jan 2004 11:08:00 +0100 Subject: Some strange Rev parsing problem? References: Message-ID: <4018DB7A.939AD503@Club-Internet.fr> Doug, > Rev can't seem to find the object referred to in this statement: > > set the textStyle of word 1 to 2 of the last line of field "chatField" of > stack "chat550" to bold > > But just: > > word 1 to 2 of the last line of field "chatField" of stack "chat550" > > displays just fine. > > Did the complexity of the statement create some sort of ambiguity that > confused the parser? I don't know if it's relevant, but several times I've had the same problem with long expressions, and solved it by putting parts of the expression into brackets, for instance : set the textStyle of (word 1 to 2 of the last line of field "chatField" of stack "chat550") to bold Another problem might be that "word 1 to 2" can't be used when setting props, only for retrieving data (get word 1 to 2 of...). In your example, I would rather use : repeat with i=1 to 2 set the textStyle of word i of the last line of field "chatField" of \ stack "chat550" to bold end repeat JB From xbury.cs at clearstream.com Thu Jan 29 05:11:45 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 29 Jan 2004 11:11:45 +0100 Subject: Checklist for getting an app ready for distribution? Message-ID: I use the explicit variables in MC which find probably 80% of all bugs due to misnamed variables, send messages not formated correctly... Again, this is a great feature I praise for solid scripts... Check every menu feature from left to right... Or from feature priority down... Up to you... Then I give my stack to my mom and she'll do the weirdest things a user can do trying to figure it out and show me about another 50% of errors or unclear features.... ;)) Another way is to write down the feature list before doing the stack and then checking each one after... Keep a log and check continually. Most important is to recheck after the stack is finished to make sure any last mod doesnt affect previously working scripts... This is lengthier but it's very solid... On 29/01/2004 11:00:19 use-revolution-bounces wrote: >Hi, > >Does anyone have a handy list of things they do before they get a >product ready for distribution? Or maybe even a little stack that >checks a bunch of stuff automatically? For example, check that fields >don't have a font and font size set by mistake. That the stack has a >font and font size set. Get a list of which items have colors set >(could have been set mistakenly for example). Those types of little >things as well as any bigger things one should be aware of (such as >cross-platform issues). > >Thanks in advance, >-- Frank > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From rjb at rz.uni-potsdam.de Thu Jan 29 05:18:30 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu, 29 Jan 2004 11:18:30 +0100 Subject: Filtering with more than 4 types (OSX) In-Reply-To: <5915B05A-5179-11D8-A5FC-000A27E40768@wanadoo.fr> References: <5915B05A-5179-11D8-A5FC-000A27E40768@wanadoo.fr> Message-ID: Since the issue of filtering has been discussed lately and it is pending to be fixed/improved, someone (Eric?) should amend the discussion of bug 605 to include support for more than 4 types (and also vote for this bug). The fact that the default OS procs support only 4 should not limit us. After all, in most other development environments, one simply writes own filterproc. We would not want that such silly restrictions stopped users from using Revolution, wouldn't we? Rev may need to write a custom proc to support types and extensions anyway. Robert >Hi dreamer, > >Just for information, if I remember well, MacOS >limits the filtering up to 4 types. >A custom proc filter is needed to filter more than 4 types. > >But sorry, I don't know how to do simply in Rev. >The only idea I have is to write an external >that will call the MacOS file selector with a >custom file proc according to your need. > >Regards. >Thierry. > >Le Wednesday, 28 Jan 2004, ? 10:22 Europe/Paris, ?ric Chatonet a ?crit : > >>Bonjour ? tous les Reveurs, >> >>OSX 10.3 >>Rev 2.1.2 >> >>I want to display a dialog allowing the user to >>choose only pictures i.e BMP,MooV, JPEG, PNG, >>GIF and TIFF (cross platform app). >>Only the four first types are considered: >> >>answer file tPrompt with filter >>"MooVJPEGPNGfGIFfTIFFBMP " -- filters correctly >>MooV,JPEG,PNG and GIF while TIFF and BMP files >>are disabled >>answer file tPrompt with filter >>"PNGfGIFfTIFFBMP MooVJPEG" -- filters correctly >>PNG, GIF, TIF and BMP while MooV and JPEG files >>are disabled >> >>Any idea to by-pass this apparent limitation? >> >>Mille mercis par avance ! >> >>Eric Chatonet >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-revolution >> > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Thu Jan 29 05:53:38 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 29 Jan 2004 19:53:38 +0900 Subject: Some strange Rev parsing problem? Message-ID: Bracketing doesn't help. I've narrowed it down to an even simpler example: set the textStyle of word 1 of the last line of field "chatField" to bold does not work even though set the textStyle of the last line of field "chatField" to bold does work. I think setting a single word chunk's textStyle was supposed to work... doug From livfoss at blueyonder.co.uk Thu Jan 29 06:39:29 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu, 29 Jan 2004 11:39:29 +0000 Subject: Porting PrintReport (was: Re: Windowscript) Message-ID: On Wed, 28 Jan 2004 12:37:12 -0800, Stephen Quinn Barncard > >I'd be happier if he'd bring Printreport to the OSX world, otherwise >I'd still be using his XCMDs... actually for some stacks to difficult >to convert right now, I do and use it every day in Classic. > >Even better would be to develop a library for Rev, then everybody >would be happy. > >It got to the point that Hypercard was an ideal interface and glue; >but the XCMDs did most of the work. I would often have over 50 in a >project and still have thousands of them on a CD. Too bad they can't >run in X. It's still PPC code resource - but calls the old APIs... >damn.. > >But Compilit! - Whoa, Tom Pittman, what a genius...maybe he could >make a cross platform XCMD generator that runs Transcript... From what I remember of PrintReport, (I used it with SuperCard a few years ago now), pretty well all of the functionality could be repeated in Transcript, thus making it truly cross-platform. It would also be possible to produce a less hard-to-use interface, IMO - I would not personally consider trying to reproduce the interface itself, which is more in the style of a special language executed by a home-grown interpreter rather than a set of functions and parameters. I guess the interpreter could be written on top of the Transcript version for compatibility reasons, but I very much doubt if there would be enough customers to make it worthwhile A limitation in the Transcript version if written today would be a pesky problem that has long worried me - RunRev doesn't give the scripter access to printer parameters, particularly the maximum printable area on a page; this means that it's impossible to produce a sensible routine for handling margins in any kind of reporting or printout function. When last I grumbled about this I didn't get much support from other listers, but it seems to me an essential function, and one which it must be feasible to provide for at least the Mac and PC platforms, judging by the various apps out there that exploit this information (MS Word for PC and LemkeSoft's Graphic Converter for Mac are two that I usually mention). Others have pointed out that this would probably not be a commercial success even as shareware, but I think it may be worth further study - no doubt the devil is in the details, and I still have my PrintReport manual. I will see if I can look at this more closely and tell the list what I've found in a few weeks from now. Unless someone's done all this already? Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From doug at webcrossing.com Thu Jan 29 07:15:47 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 29 Jan 2004 21:15:47 +0900 Subject: Some strange Rev parsing problem? Message-ID: It seems you just can't set the textStyle of a single word of a line. But I was able to accomplish what I needed by using HTML and setting the htmlText of the whole line instead. doug From rjb at rz.uni-potsdam.de Thu Jan 29 07:02:24 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu, 29 Jan 2004 13:02:24 +0100 Subject: Using Valentina databases Message-ID: Duane, You will probably have more questions about Valentina than Revolution for your projects, so I would recommended joining the Valentina support list. I know from discussions on that list that a number of people produced various dictionaries with Valentina (although not with Rev), so just searching the list archives may turn out something useful. Robert On 29/01/2004, at 12:57 PM, duane poncy wrote: >I want to explore using a Valentina database for a dictionary project, >but I can find no documentation on using Valentina with Revolution. >Does anyone know where I can find some resource materials? Thanks. > >Duane Poncy > From xbury.cs at clearstream.com Thu Jan 29 07:29:34 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 29 Jan 2004 13:29:34 +0100 Subject: Some strange Rev parsing problem? Message-ID: set the textstyle of word 2 of line 7 of fld "source" to "bold" works great... Although... the definition of a word is buggy... Name="description" is apparently one word... Q: So how do you define a word in RR? A: A new revolution! On 29/01/2004 13:15:47 use-revolution-bounces wrote: >It seems you just can't set the textStyle of a single word of a line. But I >was able to accomplish what I needed by using HTML and setting the htmlText >of the whole line instead. > >doug > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From yvescoppe at skynet.be Thu Jan 29 07:37:20 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu, 29 Jan 2004 13:37:20 +0100 Subject: Porting PrintReport (was: Re: Windowscript) In-Reply-To: References: Message-ID: Hi list, i was a registred user of Printreport with HC i found it fantastic and it would be so nice to find it again in Rev... I cross my fingers... Greetings. Yves COPPE yvescoppe at skynet.be From doug at webcrossing.com Thu Jan 29 07:47:14 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 29 Jan 2004 21:47:14 +0900 Subject: Some strange Rev parsing problem? In-Reply-To: Message-ID: I get "Chunk: can't find object" errors if I try: set the textStyle of word 1 of the last line of field "chatField" to bold But since you said yours worked I tried: set the textStyle of word 1 of line 4 of field "chatField" to bold and that did work. So it seems there is a Rev parsing bug involving "the last line" in my first attempt. I guess the workaround is either to use htmlText like I ended up doing or finding the number of lines first, as in: put the number of lines of field "chatField" into nLines set the textStyle of word 1 of line nLines of field "chatField" to bold doug On 1/29/04 9:29 PM, "xbury.cs at clearstream.com" wrote: > set the textstyle of word 2 of line 7 of fld "source" to "bold" > > works great... Although... the definition of a word is buggy... > > Name="description" is apparently one word... > > Q: So how do you define a word in RR? > > A: A new revolution! > > > > On 29/01/2004 13:15:47 use-revolution-bounces wrote: >> It seems you just can't set the textStyle of a single word of a line. But > I >> was able to accomplish what I needed by using HTML and setting the > htmlText >> of the whole line instead. >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream International > does not accept legal responsibility for the contents of this message. > > The information contained in this e-mail is confidential and may be legally > privileged. It is intended solely for the addressee. If you are not the > intended recipient, any disclosure, copying, distribution or any action taken > or omitted to be taken in reliance on it, is prohibited and may be unlawful. > Any views expressed in this e-mail are those of the individual sender, except > where the sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Thu Jan 29 07:54:17 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 29 Jan 2004 13:54:17 +0100 Subject: Some strange Rev parsing problem? Message-ID: Make sure the last line is not empty (IOWs, the last char of the field is a return character...) On 29/01/2004 13:47:14 use-revolution-bounces wrote: >I get "Chunk: can't find object" errors if I try: > >set the textStyle of word 1 of the last line of field "chatField" to bold > >But since you said yours worked I tried: > >set the textStyle of word 1 of line 4 of field "chatField" to bold > >and that did work. > >So it seems there is a Rev parsing bug involving "the last line" in my first >attempt. > >I guess the workaround is either to use htmlText like I ended up doing or >finding the number of lines first, as in: > >put the number of lines of field "chatField" into nLines >set the textStyle of word 1 of line nLines of field "chatField" to bold > >doug > > >On 1/29/04 9:29 PM, "xbury.cs at clearstream.com" >wrote: > >> set the textstyle of word 2 of line 7 of fld "source" to "bold" >> >> works great... Although... the definition of a word is buggy... >> >> Name="description" is apparently one word... >> >> Q: So how do you define a word in RR? >> >> A: A new revolution! >> >> >> >> On 29/01/2004 13:15:47 use-revolution-bounces wrote: >>> It seems you just can't set the textStyle of a single word of a line. But >> I >>> was able to accomplish what I needed by using HTML and setting the >> htmlText >>> of the whole line instead. >>> >>> doug >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> Visit us at http://www.clearstream.com >> >> IMPORTANT MESSAGE >> >> Internet communications are not secure and therefore Clearstream International >> does not accept legal responsibility for the contents of this message. >> >> The information contained in this e-mail is confidential and may be legally >> privileged. It is intended solely for the addressee. If you are not the >> intended recipient, any disclosure, copying, distribution or any action taken >> or omitted to be taken in reliance on it, is prohibited and may be unlawful. >> Any views expressed in this e-mail are those of the individual sender, except >> where the sender specifically states them to be the views of Clearstream >> International or of any of its affiliates or subsidiaries. >> >> END OF DISCLAIMER >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From FlexibleLearning at aol.com Thu Jan 29 07:59:18 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 29 Jan 2004 07:59:18 EST Subject: Some strange Rev parsing problem? Message-ID: <1d1.18a3d372.2d4a5da6@aol.com> >It seems you just can't set the textStyle of a single word of a line. But I was >able to accomplish what I needed by using HTML and setting the htmlText >of the whole line instead. > >doug Sounds like a bug to me. It has always been possible to do this before. If mc2.5.1 can do it, so should rev 2.1. /H From doug at webcrossing.com Thu Jan 29 08:00:01 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 29 Jan 2004 22:00:01 +0900 Subject: Some strange Rev parsing problem? In-Reply-To: Message-ID: It was definitely not empty. I could do: put word 1 of the last line of field "chatField" into the message box and see it. doug On 1/29/04 9:54 PM, "xbury.cs at clearstream.com" wrote: > Make sure the last line is not empty (IOWs, the last char of the field is > a return character...) > > On 29/01/2004 13:47:14 use-revolution-bounces wrote: >> I get "Chunk: can't find object" errors if I try: >> >> set the textStyle of word 1 of the last line of field "chatField" to bold >> >> But since you said yours worked I tried: >> >> set the textStyle of word 1 of line 4 of field "chatField" to bold >> >> and that did work. >> >> So it seems there is a Rev parsing bug involving "the last line" in my > first >> attempt. >> >> I guess the workaround is either to use htmlText like I ended up doing or >> finding the number of lines first, as in: >> >> put the number of lines of field "chatField" into nLines >> set the textStyle of word 1 of line nLines of field "chatField" to bold >> >> doug >> >> >> On 1/29/04 9:29 PM, "xbury.cs at clearstream.com" >> wrote: >> >>> set the textstyle of word 2 of line 7 of fld "source" to "bold" >>> >>> works great... Although... the definition of a word is buggy... >>> >>> Name="description" is apparently one word... >>> >>> Q: So how do you define a word in RR? >>> >>> A: A new revolution! >>> >>> >>> >>> On 29/01/2004 13:15:47 use-revolution-bounces wrote: >>>> It seems you just can't set the textStyle of a single word of a line. > But >>> I >>>> was able to accomplish what I needed by using HTML and setting the >>> htmlText >>>> of the whole line instead. >>>> >>>> doug >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> Visit us at http://www.clearstream.com >>> >>> IMPORTANT MESSAGE >>> >>> Internet communications are not secure and therefore Clearstream > International >>> does not accept legal responsibility for the contents of this message. >>> >>> The information contained in this e-mail is confidential and may be > legally >>> privileged. It is intended solely for the addressee. If you are not the >>> intended recipient, any disclosure, copying, distribution or any action > taken >>> or omitted to be taken in reliance on it, is prohibited and may be > unlawful. >>> Any views expressed in this e-mail are those of the individual sender, > except >>> where the sender specifically states them to be the views of > Clearstream >>> International or of any of its affiliates or subsidiaries. >>> >>> END OF DISCLAIMER >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From P.Jimmieson at csc.liv.ac.uk Thu Jan 29 08:08:52 2004 From: P.Jimmieson at csc.liv.ac.uk (Phil Jimmieson) Date: Thu, 29 Jan 2004 13:08:52 +0000 Subject: Some strange Rev parsing problem? In-Reply-To: References: Message-ID: >set the textstyle of word 2 of line 7 of fld "source" to "bold" > >works great... Although... the definition of a word is buggy... > > Name="description" is apparently one word... and don't forget that all text inside double-quotes is treated as a single word. -- Phil Jimmieson phil at csc.liv.ac.uk (UK) 0151 794 3689 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Chadwick Building, Peach Street Liverpool L69 7ZF http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From jhurley at infostations.com Thu Jan 29 08:20:04 2004 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 29 Jan 2004 05:20:04 -0800 Subject: Points in a circular area In-Reply-To: <20040129100537.86D4293012E@mail.runrev.com> References: <20040129100537.86D4293012E@mail.runrev.com> Message-ID: > >Message: 2 >Date: Wed, 28 Jan 2004 23:36:28 -0800 (PST) >From: Alejandro Tejada >Subject: Points in a circular area >To: use-revolution at lists.runrev.com >Message-ID: <20040129073628.38580.qmail at web40513.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > >Hi Developers, > >I'm working with geometric stuff now, and before >reinvent the wheel, i feel compeled to ask: > >Do you have a function that returns all >the points or coordinates within an arc of >a circle? > >Notice for a rectangular area this is >fairly easy, but an area with the shape of an >slice is another thing. Imagine how to get all the >points within a larger version of this arc shape >. > >Ideas or suggestions are welcome! > >Thanks in advance. > >al Al, I presume you mean all integer coordinates within the arc. And the arc is a slice of pie? This is crude, but possibly viable. A little Turtle Graphics (with radial coordinates) might help--of course :-) If the arc is a piece of pie: Use polar coordinates. Set the origin at the apex of the arc. Test for all x-y integer coordinates within a square of side R (radius of the arc) for their radial coordinates. Accept those for which r is less than R and theta is between the arc angles. Is this clear without a figure? Jim From Cubist at aol.com Thu Jan 29 08:49:24 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Thu, 29 Jan 2004 08:49:24 EST Subject: Some strange Rev parsing problem? Message-ID: sez doug at webcrossing.com >So it seems there is a Rev parsing bug involving "the last line" in my >first attempt. > >I guess the workaround is either to use htmlText like I ended up doing >or finding the number of lines first, as in: > >put the number of lines of field "chatField" into nLines >set the textStyle of word 1 of line nLines of field "chatField" to bold Or you could do that in one command (mind the line-wrap!): set the textStyle of word 1 of line (the number of lines of field "chatField") of field "chatField" to bold The two-line version is clearly preferable if you *also* do *other* things with the last line of the field; otherwise, which way to go is a matter of taste. From janschenkel at yahoo.com Thu Jan 29 09:05:02 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 29 Jan 2004 06:05:02 -0800 (PST) Subject: Some strange Rev parsing problem? In-Reply-To: Message-ID: <20040129140502.18727.qmail@web60504.mail.yahoo.com> --- Doug Lerner wrote: > [snip] > > I guess the workaround is either to use htmlText > like I ended up doing or > finding the number of lines first, as in: > > put the number of lines of field "chatField" into > nLines > set the textStyle of word 1 of line nLines of field > "chatField" to bold > > doug > Hi Doug, Have you tried the alternative syntax for "last line", which is to count back ? set the textstyle of word 1 to 2 of line -1 \ of field "chatField" to bold Hope this works, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From mcdomi at free.fr Thu Jan 29 09:26:56 2004 From: mcdomi at free.fr (Dom) Date: Thu, 29 Jan 2004 15:26:56 +0100 Subject: Bug votation In-Reply-To: Message-ID: <1g8bxf9.uk9tgk1uzf1zgM%mcdomi@free.fr> Robert Brenstein wrote: > Oh, so you already have an account. Then after you connect to > bugzilla and log in, you should be able to vote. If you want to see > your current votes, there is a link in your private area on the > bottom. Thanks, I found it :-) -- Digital photos (nature, garden) : http://cooldomi.free.fr/ Scripting : http://domiscript.free.fr/ From rcozens at pon.net Thu Jan 29 08:59:45 2004 From: rcozens at pon.net (Rob Cozens) Date: Thu, 29 Jan 2004 06:59:45 -0700 Subject: Positioning Animations in a Resizeable Stack Message-ID: Hi All, Simple question: How does one change the position of an animation so the animation is always centered in the window regardless of the current window size? TIA, Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From xbury.cs at clearstream.com Thu Jan 29 10:38:52 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 29 Jan 2004 16:38:52 +0100 Subject: Some strange Rev parsing problem? Message-ID: On 29/01/2004 14:08:52 use-revolution-bounces wrote: >>set the textstyle of word 2 of line 7 of fld "source" to "bold" >> >>works great... Although... the definition of a word is buggy... >> >> Name="description" is apparently one word... > >and don't forget that all text inside double-quotes is treated as a >single word. Even if that's the case, an equal sign is not really a wordy character... Neither is a quote as far as any dictionary is concerned. This means that you have to control the parse of any word just in case which is a big overhead even for a word count function - RR will get it wrong again... I've complained about this to Scott long ago... I can't remember how HC handled it but when you call a word a word and a line a line, the least you can do is respect the language's usage... For logic and user's sanity sake we dont need a new revolution in language... And the same goes with HTMLtext display... I'll just say that what is not ignored (a tag for example) affects the rest of the display (links wont display after a ) and you have to dance on your head stripping the tags and/or their parameters to get HTMLText to display normally... A new definition for the word 1g"n0r=3 I guess... ;) Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From rcozens at pon.net Thu Jan 29 10:05:38 2004 From: rcozens at pon.net (Rob Cozens) Date: Thu, 29 Jan 2004 08:05:38 -0700 Subject: Some strange Rev parsing problem? In-Reply-To: References: Message-ID: >I can't remember how HC handled it but when you call a word a word Buzz! Sorry, X-Man: HyperCard Script Language Guide (p120): "Words are composed of any characters, including punctuation, delimited by spaces and return characters..." In HyperTalk, on testWord wordNumber get quote&"All My Children""e&&"is a soap opera." put word wordNumber of it end testWord puts (quote&"All My Children""e) when wordNumber is 1 and "is" when wordNumber is 2. You knew that! -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From scott at tactilemedia.com Thu Jan 29 13:13:18 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 29 Jan 2004 10:13:18 -0800 Subject: Opening a stack *behind* another stack? (take 2) In-Reply-To: Message-ID: > How would I specify that the newly opened stack is behind another stack? I'm not sure what the desired outcome was in this case, but here is a small example demonstrating the opening of one stack behind another (uses a palette stack as the main stack). In your message box type: go url "http://www.tactilemedia.com/download/slider.rev" The "drawer" stack should always open and remain behind the main stack, but a palette style foreground stack may not be appropriate for the original problem. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From rcozens at pon.net Thu Jan 29 12:18:32 2004 From: rcozens at pon.net (Rob Cozens) Date: Thu, 29 Jan 2004 10:18:32 -0700 Subject: A Positioning Mystery Message-ID: I've about exhausted all ideas of how to figure out what is going on here...anyone want to be detective of the day? Actually, I just discovered a clue while writing this... Scenario: 1. A group on one card of a resizeable stack, consisting of several images, buttons with icons, and a field. Clue: One of the images is moved by an animation. 2. A resizeStack handler which changes the loc of the group, but does not address any controls in the group. 3. A closeStack handler that resizes the stack to it's original size. Mystery: Each time I open and close the stack, the position of the animated image changes relative to the other controls in the group. My guess now is that the animation, which changes the size and position of the image, changes the relative positioning of the image in relation to other grouped controls as well. Should be easy enough to test by removing the image from the group and positioning the group relative to the image...so I will. But if I am correct, it seems to me this is an issue of Revolution features that work fine individually but start stepping on each other's toes when applied together. Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From dsc at swcp.com Thu Jan 29 13:48:01 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 29 Jan 2004 11:48:01 -0700 Subject: Points in a circular area In-Reply-To: <20040129073628.38580.qmail@web40513.mail.yahoo.com> Message-ID: On Thursday, January 29, 2004, at 12:36 AM, Alejandro Tejada wrote: > I'm working with geometric stuff now, and before > reinvent the wheel, i feel compeled to ask: > > Do you have a function that returns all > the points or coordinates within an arc of > a circle? Some years ago I designed a model and library for working with abstractions of drawings and paintings in a functional (that is f() manner) way. In that model the plane could be partitioned by a line or by a circle and other shapes. A pie shape is the union (ANDing) of two line partitions and a circle partition. For this particular case, it might be easier for you to arctan2 points relative to the center to see if they are in the right angle range and then check the distance to see if that is small enough. In rendering (or creating point lists) I am trying to use interval arithmetic and am putting that off until some performance changes in Revolution. This method allows tests to work on whole zones of pixels in one calculation. The line tests will be faster than the arctan2 tests for this method, because of the ignorance involved in interval arithmetic. Those who have never heard of interval arithmetic can safely skip this paragraph. In the mean time you might try testing each pixel (I assume you mean pixels) in the bounding rect of the circle of which the arc is part. I worry about whether coordinates are between pixels or in the middle, but I might be the only one here that does. Dar Scott From ambassador at fourthworld.com Thu Jan 29 14:07:31 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 29 Jan 2004 11:07:31 -0800 Subject: RevNet fixed Message-ID: Thanks to asistance from libURL meister Dave Cragg, RevNet is back in full operation. There's nothing you need to update - the changes were handled in the downloaded RevNet stack. Just choose Development->Plugins->GoRevNet as always, and you should be good to go. If you experience any issues with RevNet please drop me an email and let me know. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From janschenkel at yahoo.com Thu Jan 29 14:10:10 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 29 Jan 2004 11:10:10 -0800 (PST) Subject: A Positioning Mystery In-Reply-To: Message-ID: <20040129191010.98535.qmail@web60501.mail.yahoo.com> --- Rob Cozens wrote: > I've about exhausted all ideas of how to figure out > what is going on > here...anyone want to be detective of the day? > > Actually, I just discovered a clue while writing > this... > > Scenario: > > 1. A group on one card of a resizeable stack, > consisting of several > images, buttons with icons, and a field. Clue: One > of the images is > moved by an animation. > > 2. A resizeStack handler which changes the loc of > the group, but does > not address any controls in the group. > > 3. A closeStack handler that resizes the stack to > it's original size. > > Mystery: Each time I open and close the stack, the > position of the > animated image changes relative to the other > controls in the group. > > My guess now is that the animation, which changes > the size and > position of the image, changes the relative > positioning of the image > in relation to other grouped controls as well. > > Should be easy enough to test by removing the image > from the group > and positioning the group relative to the image...so > I will. > > But if I am correct, it seems to me this is an issue > of Revolution > features that work fine individually but start > stepping on each > other's toes when applied together. > > Rob Cozens > Hi Rob, Whie I'm not planning on playing detective inside the Animation Builder, the one thing that crosse my mind is : of those items are grouped, when you move one around there's a pretty good chance that you're moving them in positions that force the group to scroll, causing the coordinates to change. I would just not group any of the animated controls. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From rcozens at pon.net Thu Jan 29 13:22:03 2004 From: rcozens at pon.net (Rob Cozens) Date: Thu, 29 Jan 2004 11:22:03 -0700 Subject: A Positioning Mystery Message-ID: >2. A resizeStack handler which changes the loc of the group, but >does not address any controls in the group. Clue 2: The rect (and therefore the loc) of a group changes every time the visible property of a group control with part of its rect outside that of any other group control is changed. In other words: Open a stack with grouped controls in the Application Browser. Click on a group name in the AB, and check its rect & loc. Change the visibility of a group control whose left, top, right, or bottom coordinate lies outside the bounds of all other group controls Click on a group name in the AB, and check its rect & loc...they WILL have changed. I understand the justification of this...as far as mouse events are concerned, the mouse should be considered outside the group when outside its visible controls; however, until one understands what's going on, it seems counterintuitive that changing the visibility of a control should change the loc of the group of which it is a part. Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rgmiller at pacbell.net Thu Jan 29 14:28:29 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Thu, 29 Jan 2004 11:28:29 -0800 Subject: Windowscript References: <20040129000242.EFE50930102@mail.runrev.com> Message-ID: <40195EDD.902@pacbell.net> > > >From: Stephen Quinn Barncard > > >But Compilit! - Whoa, Tom Pittman, what a genius...maybe he could >make a cross platform XCMD generator that runs Transcript... > > > Tom is out the loop. He's realy bitter about Apple and HC. He even offered CompileIt! to the hyperCard team but they snubbed him.The last time I talked with him, he said that he was finished with all xTalks. Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From rcozens at pon.net Thu Jan 29 13:48:38 2004 From: rcozens at pon.net (Rob Cozens) Date: Thu, 29 Jan 2004 11:48:38 -0700 Subject: A Positioning Mystery In-Reply-To: References: Message-ID: >The rect (and therefore the loc) of a group changes every time the >visible property of a group control with part of its rect outside >that of any other group control is changed. Eureka! If I ... lock screen show [a control whose rect encompasses all other controls in the group] set the loc of [the group] hide [a control whose rect encompasses all other controls in the group] [rest of resize statements] unlock screen all is well. However, I'm pretty sure the animation played a part too, as the animated image (after animation) has the same rect as the button shown & hidden above; so I'm classifying this as a double mystery: 1. The animation caused a change in the position of the animated image relative to the other controls in the same group. 2. When the animated image was removed from the group, the second bug bit. ...solved [or explained: I see the workaround and group locs changing with control visibility changes as "Mickey Mouse"] with a little help from my friends. :{`) -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From b.xavier at internet.lu Thu Jan 29 15:01:39 2004 From: b.xavier at internet.lu (MisterX) Date: Thu, 29 Jan 2004 21:01:39 +0100 Subject: Some strange Rev parsing problem? In-Reply-To: Message-ID: sorry for my ranting, im having parsing problems! Fixing things over and over for new problems is not fun. Im currently stalled in bringing a lot of new tools for Rev and while these pose no problem to develop and debug in MC, RR is not as fun. And while the GUI is definitely nicer in Rev, it's tempting to develop on the nicer platform. Im just not getting the part where the development part of a development system prevents clean development. My roulette game went easy, the stupid browser was 2 times harder, buggier due to the debugger, the variable watcher the replacetext, etc... Go figure! ;) Note: FruityLoops is the king (like HC) of music making, its GUI is 99% perfect and it's a pleasure to abuse... But their patch panel channel IDE is so crappy - but it's a beauty!!!! http://www.flstudio.com - sorry couldn't find a picture of the channel dashboard editor but hit the plug-ins link and you'll get the picture of the "objects"! I got 33 controls to create for my uc-33 (www.evolution.co.uk), Assigning a control from the box is as simple as moving the control on the box you need assigned! But you can't select more than one control at a time, you can't copy-paste or cmd-d clone, align, etc... it's a horror! But it's sweet once made!!! If RR did midi like fruity, it could be the one and only vst plug-in to have ;) > -----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, January 29, 2004 16:39 > To: How to use Revolution > Subject: Re: Some strange Rev parsing problem? > > > On 29/01/2004 14:08:52 use-revolution-bounces wrote: > >>set the textstyle of word 2 of line 7 of fld "source" to "bold" > >> > >>works great... Although... the definition of a word is buggy... > >> > >> Name="description" is apparently one word... > > > >and don't forget that all text inside double-quotes is treated as a > >single word. > > Even if that's the case, an equal sign is not really a wordy character... > Neither is a quote as far as any dictionary is concerned. > > This means that you have to control the parse of any word just in case > which is a big overhead even for a word count function - RR will get it > wrong again... > > I've complained about this to Scott long ago... > > I can't remember how HC handled it but when you call a word a word > and a line a line, the least you can do is respect the language's usage... > > For logic and user's sanity sake we dont need a new revolution in > language... > > And the same goes with HTMLtext display... > I'll just say that what is not ignored (a tag for example) affects > the rest of > the display (links wont display after a ) and you have to dance on > your > head stripping the tags and/or their parameters to get HTMLText > to display > normally... > > A new definition for the word 1g"n0r=3 I guess... ;) > > > > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the > contents of this message. > > The information contained in this e-mail is confidential and may > be legally privileged. It is intended solely for the addressee. > If you are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in > reliance on it, is prohibited and may be unlawful. Any views > expressed in this e-mail are those of the individual sender, > except where the sender specifically states them to be the views > of Clearstream International or of any of its affiliates or subsidiaries > > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Thu Jan 29 14:53:25 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 29 Jan 2004 13:53:25 -0600 Subject: Some strange Rev parsing problem? In-Reply-To: References: Message-ID: <401964B5.2050005@hyperactivesw.com> On 1/29/04 6:15 AM, Doug Lerner wrote: > It seems you just can't set the textStyle of a single word of a line. It works fine here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rcozens at pon.net Thu Jan 29 13:53:42 2004 From: rcozens at pon.net (Rob Cozens) Date: Thu, 29 Jan 2004 11:53:42 -0700 Subject: Windowscript In-Reply-To: <40195EDD.902@pacbell.net> References: <20040129000242.EFE50930102@mail.runrev.com> <40195EDD.902@pacbell.net> Message-ID: >>But Compilit! - Whoa, Tom Pittman, what a genius...maybe he could >>make a cross platform XCMD generator that runs Transcript... >> >> >Tom is out the loop. He's realy bitter about Apple and HC. He even >offered CompileIt! to the hyperCard team but they snubbed him.The >last time I talked with him, he said that he was finished with all >xTalks. My recollection from AHUG gossip was when Tom went to write a PPC version of CompileIt!, he asked Apple for specific information he need and/or guarantees that the internal PPC architecture would not change, and whatever he needed was not given to him. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From jacque at hyperactivesw.com Thu Jan 29 14:55:43 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 29 Jan 2004 13:55:43 -0600 Subject: Some strange Rev parsing problem? In-Reply-To: References: Message-ID: <4019653F.4050405@hyperactivesw.com> On 1/29/04 6:47 AM, Doug Lerner wrote: > I get "Chunk: can't find object" errors if I try: > > set the textStyle of word 1 of the last line of field "chatField" to bold > > But since you said yours worked I tried: > > set the textStyle of word 1 of line 4 of field "chatField" to bold > > and that did work. > > So it seems there is a Rev parsing bug involving "the last line" in my first > attempt. Don't think so, because that also works fine for me here. You might want to make sure that the last line of your field doesn't contain invisible or non-printing characters (such as option-space or tabs). When bolded, those won't show up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jan 29 15:07:23 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 29 Jan 2004 14:07:23 -0600 Subject: server load with Rev "net" apps In-Reply-To: <010201c3e5f6$8c850830$58bfef84@maerkhpc1> References: <010201c3e5f6$8c850830$58bfef84@maerkhpc1> Message-ID: <401967FB.6070009@hyperactivesw.com> On 1/28/04 5:29 PM, Richard K. Herz wrote: > I have Rev apps on clients communicating with Rev/MC (last MC engine) CGI > scripts on a Linux/Apache server at an ISP. The ISP is complaining that the > scripts are causing high CPU usage. Question: does a separate instance of > the Rev/MC engine open whenever a new post comes in? If so, is there an > alternative CGI option that can handle high hit rates? As I understand it, yes, a separate instance will open with each hit. I think Pierre Sahores figured out a way to keep the engine running so this wouldn't happen, but I don't know how he did it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gbojsza at mac.com Thu Jan 29 15:14:36 2004 From: gbojsza at mac.com (Bojsza) Date: Thu, 29 Jan 2004 14:14:36 -0600 Subject: Scroll Bar Problem Message-ID: I have 10 lines being continually placed "into" a field every second. When I use the horizontal scroll bar it does not stay in the position I set it to...on every update it starts back in its default state (to the far left). Is there a way I can have it stay where ever I place it while the field is being updated? Also, is there a quick way to sum the second word for the field? thanks, Glen From frank at backtalk.com Thu Jan 29 15:26:10 2004 From: frank at backtalk.com (Frank Leahy) Date: Thu, 29 Jan 2004 20:26:10 +0000 Subject: A Positioning Mystery In-Reply-To: <20040129195458.F1534930146@mail.runrev.com> Message-ID: <5FEB0446-5299-11D8-A8C6-000A9580FCCE@backtalk.com> Rob, When you move an object in a group, the bounding rect of the group will change, which is what may be affecting you. If you have geometry on for any of the items in the group, I highly recommend you turn them off and do the resizing yourself. It won't take much code to write it yourself, and you won't have any funny side-effects. Go through each item and make sure the geometry is off by clicking both the "scale selected object" and "position selected object" buttons, and then go back and it again, because I've seen them stay on even when you set them off. I did this, and I've been happier ever since. Personally I don't trust the geometry at all, unless it's position by, or a line that's scaling horizontally. For groups, forget it. Good luck, -- Frank On Thursday, January 29, 2004, at 07:54 PM, use-revolution-request at lists.runrev.com wrote: > But if I am correct, it seems to me this is an issue of Revolution > features that work fine individually but start stepping on each > other's toes when applied together. > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.net/who.htm > From revlist at cableone.net Thu Jan 29 15:45:33 2004 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 29 Jan 2004 13:45:33 -0700 Subject: multiple instances of standalone under Windows Message-ID: <000601c3e6a8$d7beb640$64fea8c0@chris1> Does anyone have a way to check if another instance of a standalone is already running, and if so close the one that was just opened? I have an application running under Windows and need to keep the user from opening multiple instances of it. Is there a way to do this? I've tried using 'if there is a process "ProcessName"', but that doesn't seem to be working. Maybe I'm just using it incorrectly? Any ideas would be appreciated. Chris Sheffield Software Development Read Naturally --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.572 / Virus Database: 362 - Release Date: 1/27/2004 From chipp at chipp.com Thu Jan 29 15:47:10 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 29 Jan 2004 14:47:10 -0600 Subject: A Positioning Mystery In-Reply-To: <5FEB0446-5299-11D8-A8C6-000A9580FCCE@backtalk.com> Message-ID: Rob, Sorry for coming into this a bit late. And I'm sure you already know that setting the lockloc of the grp to true keeps the group from resizing on the card. If I'm way off base regarding the problem, sorry ;-) best, Chipp From ambassador at fourthworld.com Thu Jan 29 15:48:08 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 29 Jan 2004 12:48:08 -0800 Subject: A Positioning Mystery In-Reply-To: <5FEB0446-5299-11D8-A8C6-000A9580FCCE@backtalk.com> Message-ID: Frank Leahy wrote: > If you have geometry on for any of the items in the group, I highly > recommend you turn them off and do the resizing yourself. It won't > take much code to write it yourself, and you won't have any funny > side-effects. A handy handler for assisting resizing, allowing you one line per object: on ObjRect pObj local r,i put the rect of pObj into r repeat with i = 2 to 5 get param(i) if it is not empty then put it into item (i-1) of r end repeat set the rect of pObj to r end ObjRect on resizeStack x,y ObjRect the long id of fld 1, "","",x-200,y-20 ObjRect the long id of fld 2, the left of fld 1,"",x-20,y-20 pass resizeStack end resizeStack -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From chipp at chipp.com Thu Jan 29 15:58:53 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 29 Jan 2004 14:58:53 -0600 Subject: multiple instances of standalone under Windows In-Reply-To: <000601c3e6a8$d7beb640$64fea8c0@chris1> Message-ID: Hi Chris, Not sure if this will help, but you might check out: http://www.sysinternals.com/ntw2k/utilities.shtml there are a number of process utilities there. We've had some discussions on this list before, and the short answer is "not easily." You can do things like write a file when you open and delete it when you close --then check to see if it is there when it launches again, but this has obvious problems. Another idea was some sort of intra-application communication. Embed a small server on your app and ping to see if it's around when it opens -- if true, then you know somehthings there --still a headache. Good luck, best, Chipp > Does anyone have a way to check if another instance of a standalone is > already running, and if so close the one that was just opened? I have an > application running under Windows and need to keep the user from opening > multiple instances of it. Is there a way to do this? > > I've tried using 'if there is a process "ProcessName"', but that doesn't > seem to be working. Maybe I'm just using it incorrectly? Any ideas would > be appreciated. > > Chris Sheffield > Software Development > Read Naturally From ambassador at fourthworld.com Thu Jan 29 16:08:09 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 29 Jan 2004 13:08:09 -0800 Subject: multiple instances of standalone under Windows In-Reply-To: Message-ID: Chipp Walters wrote: > We've had some discussions on this list before, and the short answer is "not > easily." You can do things like write a file when you open and delete it > when you close --then check to see if it is there when it launches again, > but this has obvious problems. Polling a directory for a file, while suboptimal, is pretty fast and would seem to get the job done, no? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at mindlube.com Thu Jan 29 16:12:27 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 29 Jan 2004 14:12:27 -0700 Subject: server load with Rev "net" apps In-Reply-To: <401967FB.6070009@hyperactivesw.com> References: <010201c3e5f6$8c850830$58bfef84@maerkhpc1> <401967FB.6070009@hyperactivesw.com> Message-ID: On Jan 29, 2004, at 1:07 PM, J. Landman Gay wrote: > As I understand it, yes, a separate instance will open with each hit. > I think Pierre Sahores figured out a way to keep the engine running so > this wouldn't happen, but I don't know how he did it. It is just the nature of CGI programming in general. AFAIK Rev is no different than other languages like Perl, Python, TCL, etc. in this respect. Solution 1- Switch to an ISP than has more leniency for heavily used CGI apps. Solution 2- Stop using the CGI interface and switch to an application server environment, which generally run in persistently in memory. This would mean throwing out Rev and rewriting in another language. A modified CGI environment might be able to run Rev scripts, but most ISPs don't offer such services as FastCGI or PCGI. modified CGI environment: FastCGI, PCGI apache DSOs: PHP, Perl, Python, Ruby, etc. application servers: ASP (.NET?), Java Servlets, Coldfusion, ZOPE. Hope this helps, -- Alex Rice | Mindlube Software | http://mindlube.com From lists at mangomultimedia.com Thu Jan 29 16:16:32 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 29 Jan 2004 14:16:32 -0700 Subject: multiple instances of standalone under Windows In-Reply-To: References: Message-ID: <69430DB0-52A0-11D8-8804-000A956C462A@mangomultimedia.com> On Jan 29, 2004, at 2:08 PM, Richard Gaskin wrote: > Chipp Walters wrote: > >> We've had some discussions on this list before, and the short answer >> is "not >> easily." You can do things like write a file when you open and delete >> it >> when you close --then check to see if it is there when it launches >> again, >> but this has obvious problems. > > Polling a directory for a file, while suboptimal, is pretty fast and > would > seem to get the job done, no? Could you run into problems if your app crashed and wasn't able to clean up after itself? The next time your app launched the file would still be there and your app would shut itself down. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From rcozens at pon.net Thu Jan 29 15:01:14 2004 From: rcozens at pon.net (Rob Cozens) Date: Thu, 29 Jan 2004 13:01:14 -0700 Subject: A Positioning Mystery In-Reply-To: <5FEB0446-5299-11D8-A8C6-000A9580FCCE@backtalk.com> References: <5FEB0446-5299-11D8-A8C6-000A9580FCCE@backtalk.com> Message-ID: >If you have geometry on for any of the items in the group, I highly >recommend you turn them off and do the resizing yourself. Thanks for the suggestion, Frank. As a matter of fact, I do script resizeStack handlers rather than use the GM. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Thu Jan 29 15:06:55 2004 From: rcozens at pon.net (Rob Cozens) Date: Thu, 29 Jan 2004 13:06:55 -0700 Subject: A Positioning Mystery In-Reply-To: References: Message-ID: >I'm sure you already know that >setting the lockloc of the grp to true keeps the group from resizing on the >card. I do now, Chipp; but it would never have occurred to me there was an issue to deal with until I learned group location depends, in part, on which controls are visible. Thanks, -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Thu Jan 29 15:18:07 2004 From: rcozens at pon.net (Rob Cozens) Date: Thu, 29 Jan 2004 13:18:07 -0700 Subject: Scroll Bar Problem In-Reply-To: References: Message-ID: Hi Glen, >I have 10 lines being continually placed "into" a field every second. > >When I use the horizontal scroll bar it does not stay in the >position I set it to...on every update it starts back in its default >state (to the far left). > >Is there a way I can have it stay where ever I place it while the >field is being updated? on update local theXLines lock screen get the hScroll of field [the target field] put theXLines into field [the target field] set the hScroll of field [the target field] to it unlock screen send "update" in 1 second end update > >Also, is there a quick way to sum the second word for the field? > function getSum put 0 into theTotal repeat for each line targetLine of field [the target field] add word 2 of targetLine to theTotal end repeat return theTotal end getSum -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From dsc at swcp.com Thu Jan 29 16:19:13 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 29 Jan 2004 14:19:13 -0700 Subject: multiple instances of standalone under Windows In-Reply-To: <000601c3e6a8$d7beb640$64fea8c0@chris1> Message-ID: On Thursday, January 29, 2004, at 01:45 PM, Chris Sheffield wrote: > Does anyone have a way to check if another instance of a standalone is > already running, and if so close the one that was just opened? Try 'accept' on some obscure port. If it fails, assume that another app is running. (Immediately close any connections in the call back, should any be made.) I'd try UDP first. If you need to listen to a port anyway, you are set. You could try creating and deleting a folder. This will work faster than a file, I think. If you need some temp files, anyway, put this where you put your temp files and put your temp files in there. You may need to work out the rare case of two programs trying to run at the same time. There is probably some shell command you can use. That may work well, since you only need one platform. This also needs to address the problems of two starting at the same time. If you feel comfortable with two not starting at the same time, then you don't have to worry about that. The openProcesses() function applies to processes opened with 'open process'. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From ambassador at fourthworld.com Thu Jan 29 16:26:11 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 29 Jan 2004 13:26:11 -0800 Subject: multiple instances of standalone under Windows In-Reply-To: <69430DB0-52A0-11D8-8804-000A956C462A@mangomultimedia.com> Message-ID: Trevor DeVore wrote: > On Jan 29, 2004, at 2:08 PM, Richard Gaskin wrote: > >> Chipp Walters wrote: >> >>> We've had some discussions on this list before, and the short answer >>> is "not >>> easily." You can do things like write a file when you open and delete >>> it >>> when you close --then check to see if it is there when it launches >>> again, >>> but this has obvious problems. >> >> Polling a directory for a file, while suboptimal, is pretty fast and >> would >> seem to get the job done, no? > > Could you run into problems if your app crashed and wasn't able to > clean up after itself? The next time your app launched the file would > still be there and your app would shut itself down. I had thathappen with a CGI. I changed it so the file contains a timestamp; if more than 10 seconds old it deletes it and moves on. With desktop apps its more complicated, since the length of a session is less predictable. Could a local UDP or TCP call be used for that instead? -- 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 capellan2000 at yahoo.com Thu Jan 29 16:38:30 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 29 Jan 2004 13:38:30 -0800 (PST) Subject: Porting PrintReport (was: Re: Windowscript) In-Reply-To: <20040129124827.89F58930144@mail.runrev.com> Message-ID: <20040129213830.21663.qmail@web40513.mail.yahoo.com> on Thu, 29 Jan 2004 Graham Samuel wrote: > Others have pointed out that this would probably not > be a commercial > success even as shareware, but I think it may be > worth further study > - no doubt the devil is in the details, and I still > have my > PrintReport manual. I will see if I can look at this > more closely and > tell the list what I've found in a few weeks from > now. Unless > someone's done all this already? > Yves COPPE wrote: > i was a registred user of Printreport with HC > > i found it fantastic and it would be so nice to find > it again in Rev... > > I cross my fingers... This is good. Two actual users of Printreport that could answer this question: How different is PrintReport from the stack named "Report" that you could download from tools.metacard.com stack? Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From rgmiller at pacbell.net Thu Jan 29 16:39:08 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Thu, 29 Jan 2004 13:39:08 -0800 Subject: Windowscript References: <20040129195458.D9F33930145@mail.runrev.com> Message-ID: <40197D7C.3030308@pacbell.net> From: Rob Cozens >>Tom is out the loop. He's realy bitter about Apple and HC. He even >>offered CompileIt! to the hyperCard team but they snubbed him.The >>last time I talked with him, he said that he was finished with all >>xTalks. > > > My recollection from AHUG gossip was when Tom went to write a PPC version of CompileIt!, he asked > Apple for specific information he need and/or guarantees that the internal PPC architecture would not > change, and whatever he needed was not given to him. Yep, your memory recall is better than mine. That was the trigger. Too bad. Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From thierry.arbellot at wanadoo.fr Thu Jan 29 17:01:46 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Thu, 29 Jan 2004 23:01:46 +0100 Subject: Scroll Bar Problem In-Reply-To: Message-ID: Try to create a group with the field and set the scrollbar to the group, not the field. Hope it helps. Thierry. Le Thursday, 29 Jan 2004, ? 21:14 Europe/Paris, Bojsza a ?crit : > I have 10 lines being continually placed "into" a field every second. > > When I use the horizontal scroll bar it does not stay in the position > I set it to...on every update it starts back in its default state (to > the far left). > > Is there a way I can have it stay where ever I place it while the > field is being updated? > > Also, is there a quick way to sum the second word for the field? > > thanks, > > Glen > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From lists at mangomultimedia.com Thu Jan 29 17:03:36 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 29 Jan 2004 15:03:36 -0700 Subject: multiple instances of standalone under Windows In-Reply-To: References: Message-ID: On Jan 29, 2004, at 2:26 PM, Richard Gaskin wrote: > Trevor DeVore wrote: > >> On Jan 29, 2004, at 2:08 PM, Richard Gaskin wrote: >>> >>> Polling a directory for a file, while suboptimal, is pretty fast and >>> would >>> seem to get the job done, no? >> >> Could you run into problems if your app crashed and wasn't able to >> clean up after itself? The next time your app launched the file would >> still be there and your app would shut itself down. > > I had thathappen with a CGI. I changed it so the file contains a > timestamp; > if more than 10 seconds old it deletes it and moves on. > > With desktop apps its more complicated, since the length of a session > is > less predictable. > > Could a local UDP or TCP call be used for that instead? It seems like this would be the best method available right now. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From alex at mindlube.com Thu Jan 29 17:11:05 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 29 Jan 2004 15:11:05 -0700 Subject: "runtime" gets a bad rap? Message-ID: <087D3F34-52A8-11D8-8712-000393C4760A@mindlube.com> A hilarious look into the world of C# and .NET programming, and "runtimes" in general. Summarized in the last sentence: "So Microsoft, wake up, get us some nice 1950s-era linker technology, and let me make a single EXE that runs on any computer with Win 98 or later and no other external dependencies. Otherwise .NET is fatally flawed for consumer, downloaded software." And runrev, please don't ever take away our fine single-file-executable-runtime-engine. It rocks. Nothing else like it. While we may whine about the size of the engine, it's really a non-issue, and I for one would still be happy with a many-MB large engine, if it was still self-contained. Maybe runrev rebrand itself to distinguish itself from the big bloated runtimes like .NET and Java? -- Alex Rice | Mindlube Software | http://mindlube.com From capellan2000 at yahoo.com Thu Jan 29 17:44:09 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 29 Jan 2004 14:44:09 -0800 (PST) Subject: Points in a circular area In-Reply-To: <20040129160819.3D88D930162@mail.runrev.com> Message-ID: <20040129224409.74037.qmail@web40509.mail.yahoo.com> on Thu, 29 Jan 2004 Xavier Bury wrote: >x1= r * cos(x) >y1=r * sin(y)? >r = radius and x y are the coordinates on the axis >and x1 y1 are the points in the arc... Do you refer that with this formula, i could find all the points in a line or within the area delimited with this line? This is a interesting idea too! I'll test this formula. Thanks a lot Xavier! Jim Hurley wrote: > I presume you mean all integer coordinates within > the arc. And the arc is a slice of pie? Yes, that is! > This is crude, but possibly viable. > > A little Turtle Graphics (with radial coordinates) > might help--of course :-) > > If the arc is a piece of pie: Use polar coordinates. > Set the origin at the apex of the arc. > Test for all x-y integer coordinates within > a square of side R (radius of the arc) for their > radial coordinates. How did i could test the radial coordinate of every point? Probably this is a very consuming task for large sets of coordinates. Or not? > Accept those for which r is less than R and theta is > between the arc angles. R is the radius or the arc. theta is the angle produced by the origin or apex of the arc and the coordinate that i'm testing. r is the radius (or length) between the coordinate and the origin of the arc. > Is this clear without a figure? If the above interpretation is correct, yes. I see it doable, and then I'll check the time it takes. Thanks a lot for the idea, Jim! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From doug at webcrossing.com Thu Jan 29 17:55:08 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 07:55:08 +0900 Subject: Some strange Rev parsing problem? In-Reply-To: <20040129140502.18727.qmail@web60504.mail.yahoo.com> Message-ID: I didn't try that variation, but good to keep in mind. Thanks, Jan. doug On 1/29/04 11:05 PM, "Jan Schenkel" wrote: > --- Doug Lerner wrote: >> [snip] >> >> I guess the workaround is either to use htmlText >> like I ended up doing or >> finding the number of lines first, as in: >> >> put the number of lines of field "chatField" into >> nLines >> set the textStyle of word 1 of line nLines of field >> "chatField" to bold >> >> doug >> > > Hi Doug, > > Have you tried the alternative syntax for "last line", > which is to count back ? > set the textstyle of word 1 to 2 of line -1 \ > of field "chatField" to bold > > Hope this works, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La > Rochefoucauld) > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Thu Jan 29 18:01:06 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 29 Jan 2004 17:01:06 -0600 Subject: multiple instances of standalone under Windows In-Reply-To: Message-ID: What about just looking for your app in the openProcesses list called from the freeware command line utility: http://www.sysinternals.com/ntw2k/freeware/pslist.shtml If your app is there, then shut yourself down. Seems easy enough, unless I'm missing something. -Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Trevor > DeVore > Sent: Thursday, January 29, 2004 4:04 PM > To: How to use Revolution > Subject: Re: multiple instances of standalone under Windows > > > On Jan 29, 2004, at 2:26 PM, Richard Gaskin wrote: > > > Trevor DeVore wrote: > > > >> On Jan 29, 2004, at 2:08 PM, Richard Gaskin wrote: > >>> > >>> Polling a directory for a file, while suboptimal, is pretty fast and > >>> would > >>> seem to get the job done, no? > >> > >> Could you run into problems if your app crashed and wasn't able to > >> clean up after itself? The next time your app launched the file would > >> still be there and your app would shut itself down. > > > > I had thathappen with a CGI. I changed it so the file contains a > > timestamp; > > if more than 10 seconds old it deletes it and moves on. > > > > With desktop apps its more complicated, since the length of a session > > is > > less predictable. > > > > Could a local UDP or TCP call be used for that instead? > > It seems like this would be the best method available right now. > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Thu Jan 29 18:10:47 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 29 Jan 2004 15:10:47 -0800 Subject: [OT] PC-ing A Mac Message-ID: A painfully amusing read: http://www.overclockers.com/tips1133/index.asp At least the leftover parts might be used for something. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From capellan2000 at yahoo.com Thu Jan 29 18:26:38 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 29 Jan 2004 15:26:38 -0800 (PST) Subject: Points in a circular area In-Reply-To: <20040129195458.F1534930146@mail.runrev.com> Message-ID: <20040129232638.87440.qmail@web40504.mail.yahoo.com> on Thu, 29 Jan 2004 Dar Scott wrote: > Some years ago I designed a model and library for > working with abstractions of drawings and > paintings in a functional (that is f() > manner) way. > > In that model the plane could be partitioned by a > line or by a circle and other shapes. > A pie shape is the union (ANDing) of two line > partitions and a circle partition. > For this particular case, it might be easier for you > to arctan2 points relative to the center to see > if they are in the right angle range and > then check the distance to see if that is small > enough. If i interpret right your recommendations, it's similar to the procedure that Jim Hurley is suggesting to use. Now, i'll code a solution and post the script for speed enhancements. ;-) > In rendering (or creating point lists) I am trying > to use interval arithmetic and am putting that off > until some performance changes in Revolution. > This method allows tests to work on > whole zones of pixels in one calculation. This sounds useful. Could externals helps for these tasks? > The line tests will be faster than the arctan2 > tests for this method, because of the ignorance > involved in interval arithmetic. I've read that assembler code is faster than c code. > In the mean time you might try testing each pixel (I > assume you mean pixels) in the bounding rect > of the circle of which the arc is part. Let's see how much time does this calculation takes. > I worry about whether coordinates are between pixels > or in the middle, but I might be the only one here > that does. The integer math of the screen coordinates are just a convenient representation of the "real" floating point precision of graphics and pixels. Thanks a lot for your ideas, Dar! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From doug at webcrossing.com Thu Jan 29 18:31:18 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 08:31:18 +0900 Subject: Some strange Rev parsing problem? In-Reply-To: <4019653F.4050405@hyperactivesw.com> Message-ID: On 1/30/04 4:55 AM, "J. Landman Gay" wrote: > On 1/29/04 6:47 AM, Doug Lerner wrote: > >> I get "Chunk: can't find object" errors if I try: >> >> set the textStyle of word 1 of the last line of field "chatField" to bold >> >> But since you said yours worked I tried: >> >> set the textStyle of word 1 of line 4 of field "chatField" to bold >> >> and that did work. >> >> So it seems there is a Rev parsing bug involving "the last line" in my first >> attempt. > > Don't think so, because that also works fine for me here. You might want > to make sure that the last line of your field doesn't contain invisible > or non-printing characters (such as option-space or tabs). When bolded, > those won't show up. No, nothing like that there. That particular "last line" variation simply does not work for me. However, I *can* put word 1 of the last line of field "chatField" and see the first word. That's why it seems like a parsing error for the set the textStyle of word 1 of the last line of field "chatField" to bold variation. doug From briany at qldlearning.com Thu Jan 29 18:38:00 2004 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 29 Jan 2004 23:38:00 -0000 Subject: server load with Rev "net" apps In-Reply-To: <401967FB.6070009@hyperactivesw.com> Message-ID: <11F1ED6D-1511-11D6-8C47-000393AA08D2@qldlearning.com> Pierre's method works well - I've even used it in a commercial app. Check the archives for PHP / sockets. Essentially what you need to do is write a PHP (or Perl would work) script which talks over sockets to a running MetaCard app. The MetaCard app takes requests and writes them back to the PHP calling script, and keeps on running waiting for the next request- a MetaCard application server if you will. Since PHP is usually installed as a server module (rather than CGI), this method will most likely use much less memory. Even generally speaking, the PHP engine may have less of a footprint than the Metacard CGI. - Brian > As I understand it, yes, a separate instance will open with each hit. > I think Pierre Sahores figured out a way to keep the engine running so > this wouldn't happen, but I don't know how he did it. From livfoss at blueyonder.co.uk Thu Jan 29 18:41:42 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu, 29 Jan 2004 23:41:42 +0000 Subject: A Positioning Mystery Message-ID: On Thu, 29 Jan 2004 13:06:55 -0700, Rob Cozens wrote: > >>I'm sure you already know that >>setting the lockloc of the grp to true keeps the group from resizing on the >>card. > >I do now, Chipp; but it would never have occurred to me there was an >issue to deal with until I learned group location depends, in part, >on which controls are visible. Actually I found out recently that setting the lockLoc isn't the whole story. It is possible to get strange things to happen to groups even if the lockLoc is set, apparently if any part of the group has had its shape altered by script since it was initially grouped. One way to do this is to edit an unrelated group on the same card. This is IMO a bug, but one too obscure to add to Bugzilla, at least in the medium term. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From stephenREVOLUTION at barncard.com Thu Jan 29 18:51:58 2004 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Thu, 29 Jan 2004 15:51:58 -0800 Subject: Porting PrintReport (was: Re: Windowscript) Message-ID: I don't know about the Report stack mentioned, but Printreport wasn't a collection of WYSIWYG tools, it was a programming language that allowed complete control of what gets printed on the page through graphic primitives and also allowed as complete an access to the mysterious apple print drivers to the point where you could exchange a printer configuration with the system. But it was up to the user how to manage it. It was all based on text contained in the data sent to the printer through the XCMD. See below for a code dump generated for use by Printreport - Backslashes are the escape character, obviously. Tabs stops are handled as well as line circle and rectangle primitives and some insertion of pict format images. Later when color inkjets appeared, I was pleased to find out that the spec included basic color... although only through a placed graphic. I thought that there was a later version; one that included color for text. > >This is good. Two actual users of Printreport that >could answer this question: > >How different is PrintReport from the stack named >"Report" that you could download from >tools.metacard.com stack? > >Thanks in advance. > >al > An example of Printreport code is shown below... First is a statement of margins, then CT = tab stops, stops at 0,30 and 85 mm, then a region is created then text is drawn inside it, etc, etc. Pretty screwy, but you could do almost anything with it. I have the manual around somewhere. \LM0in;TM0in;RM0in;BM0in\ \CT;ST0m;ST30m;ST85m\ \sr31p,33p,303p,337p\\pp1;BX\\C+\\FNTimes\\FS14\\PL;BO\20031221 STARCROSSED\FNVerdana\\FS9\\PL\ VERSION \FS16\\PL;BO\5\FS9\\PL\ SEQUENCE 12/21/2003 1. Born Too Late 02:59 2. SUV 03:31 3. Got to Get the Boy Back 04:19 4. Star-Crossed 03:11 5. Living in the World 03:39 6. Hungry Heart of Love 03:21 7. Backwards 05:04 8. Sanguine 03:55 9. Moment to Moment 04:00 10. Meltdown 03:28 11. Born Too Late (Reprise) 00:45 Total Time: 38:40\XX\\sr0p,-1p,340p,340p;pp2;fr\ \GFG4_BARNCARDIA_PB:Users:sbarncar:Documents: Most Important Data Files:development:sqb HC apps:TC Lable System:Logo PICTS:Civil Defense_300dpiCOL.pict;pp3;CX131p,271p,205p,337p\ \sr31p,373p,303p,677p\\pp1;BX\\C+\\FNTimes\\FS14\\PL;BO\20031221 STARCROSSED\FNVerdana\\FS9\\PL\ VERSION \FS16\\PL;BO\5\FS9\\PL\ SEQUENCE 12/21/2003 1. Born Too Late 02:59 2. SUV 03:31 3. Got to Get the Boy Back 04:19 4. Star-Crossed 03:11 5. Living in the World 03:39 6. Hungry Heart of Love 03:21 7. Backwards 05:04 8. Sanguine 03:55 9. Moment to Moment 04:00 10. Meltdown 03:28 11. Born Too Late (Reprise) 00:45 Total Time: 38:40\XX\\sr0p,339p,340p,680p;pp2;fr\ \GFG4_BARNCARDIA_PB:Users:sbarncar:Documents: Most Important Data Files:development:sqb HC apps:TC Lable System:Logo PICTS:Civil Defense_300dpiCOL.pict;pp3;CX131p,611p,205p,677p\ \LM1inch;TM.5inch;FNGeneva;FS9\ From lists at mangomultimedia.com Thu Jan 29 19:21:24 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 29 Jan 2004 17:21:24 -0700 Subject: multiple instances of standalone under Windows In-Reply-To: References: Message-ID: <3CA25D94-52BA-11D8-8804-000A956C462A@mangomultimedia.com> On Jan 29, 2004, at 4:01 PM, Chipp Walters wrote: > What about just looking for your app in the openProcesses list called > from > the freeware command line utility: > > http://www.sysinternals.com/ntw2k/freeware/pslist.shtml > > If your app is there, then shut yourself down. > > Seems easy enough, unless I'm missing something. I get a File not found error with that URL. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From alex at mindlube.com Thu Jan 29 19:34:33 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 29 Jan 2004 17:34:33 -0700 Subject: server load with Rev "net" apps In-Reply-To: <11F1ED6D-1511-11D6-8C47-000393AA08D2@qldlearning.com> References: <11F1ED6D-1511-11D6-8C47-000393AA08D2@qldlearning.com> Message-ID: <13359120-52BC-11D8-8712-000393C4760A@mindlube.com> On Jan 29, 2002, at 4:36 PM, Brian Yennie wrote: > Pierre's method works well - I've even used it in a commercial app. > Check the archives for PHP / sockets. > > Essentially what you need to do is write a PHP (or Perl would work) > script which talks over sockets to a running MetaCard app. The > MetaCard app takes requests and writes them back to the PHP calling > script, and keeps on running waiting for the next request- a MetaCard > application server if you will. > > Since PHP is usually installed as a server module (rather than CGI), > this method will most likely use much less memory. Even generally > speaking, the PHP engine may have less of a footprint than the > Metacard CGI. Just want to point out that if the ISP is balking at heavy CGI usage it is unlikely they are going to allow a long running server/daemon process. I think you would be requiring a dedicated server or dedicated "virtual root" server at least to do that kind of setup as you and Pierre describe. -- Alex Rice | Mindlube Software | http://mindlube.com From dsc at swcp.com Thu Jan 29 19:35:00 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 29 Jan 2004 17:35:00 -0700 Subject: Points in a circular area In-Reply-To: <20040129232638.87440.qmail@web40504.mail.yahoo.com> Message-ID: <235F5014-52BC-11D8-BB3D-000A9567A3E6@swcp.com> On Thursday, January 29, 2004, at 04:26 PM, Alejandro Tejada wrote: > I've read that assembler code is faster than c code. For me: For small special cases this is true. Other times, I find the compiler is smarter than I. I usually create better methods when tinkering in high level languages, so I usually create there anyway. Someday I'll get back to working on the interval arithmetic rendering. One problem I have is not being able to handle qualifications which (I think) I need to make fat lines about arbitrary mathematical curves. I know it can be done, since GraphEq does it. I think I just need to add a dimension for each variable that is not x and y, but unlike images which have limited sized and limited pixel size, these are unlimited and I'm not sure how to partition those. This is all on the back burner. Dar Scott From stephenREVOLUTION at barncard.com Thu Jan 29 19:34:05 2004 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Thu, 29 Jan 2004 16:34:05 -0800 Subject: [OT] PC-ing A Mac Message-ID: The spoiled brat should be painfully spanked on the buttocks for that travesty. And he complains about his lack of SATA and a good video card. What a moron. >A painfully amusing read: > > http://www.overclockers.com/tips1133/index.asp > >At least the leftover parts might be used for something. > >Regards, > >Scott Rossi From davethebrv at crystalpiersw.com Thu Jan 29 19:36:42 2004 From: davethebrv at crystalpiersw.com (Dave Beck) Date: Thu, 29 Jan 2004 16:36:42 -0800 Subject: Non-blocking way to open MS Word files? In-Reply-To: <20040129230246.D358C93018A@mail.runrev.com> Message-ID: Hey, I sent this message to the list a while back but never got a response. I'm hoping this time I'll fair better. I still haven't been able to come up with a solution on my own. I'm writing a Windows app with Rev and need a way to open files with MS Word from a script in my app. I've been using the shell command with the parameter as the long path name of the file to launch Word and open the file. This which works well except that it is blocking, meaning that my Rev stack does not respond to mouse clicks etc. until the user quits the MS Word instance that was launched from my script! Does anybody know a way around this?? Any help would be greatly appreciated. Thanks in advance, Dave From dsc at swcp.com Thu Jan 29 19:42:39 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 29 Jan 2004 17:42:39 -0700 Subject: multiple instances of standalone under Windows In-Reply-To: Message-ID: <34D7107E-52BD-11D8-BB3D-000A9567A3E6@swcp.com> On Thursday, January 29, 2004, at 02:19 PM, Dar Scott wrote: >> Does anyone have a way to check if another instance of a standalone is >> already running, and if so close the one that was just opened? > > Try 'accept' on some obscure port. If it fails, assume that another > app is running. (Immediately close any connections in the call back, > should any be made.) I'd try UDP first. If you need to listen to a > port anyway, you are set. Though this is a little weird, it is multi-platform. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Thu Jan 29 19:45:10 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 29 Jan 2004 17:45:10 -0700 Subject: Non-blocking way to open MS Word files? In-Reply-To: Message-ID: <8EBA2544-52BD-11D8-BB3D-000A9567A3E6@swcp.com> On Thursday, January 29, 2004, at 05:36 PM, Dave Beck wrote: > Does anybody know a way around this?? Does 'launch' work on Windows? Dar Scott From psahores at easynet.fr Thu Jan 29 19:48:09 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 30 Jan 2004 01:48:09 +0100 Subject: server load with Rev "net" apps In-Reply-To: References: <010201c3e5f6$8c850830$58bfef84@maerkhpc1> <401967FB.6070009@hyperactivesw.com> Message-ID: Hi All, Le 29 janv. 04, ? 22:12, Alex Rice a ?crit : > > On Jan 29, 2004, at 1:07 PM, J. Landman Gay wrote: >> As I understand it, yes, a separate instance will open with each hit. >> I think Pierre Sahores figured out a way to keep the engine running >> so this wouldn't happen, but I don't know how he did it. True and if some one need more explainations, i can explain how to run MC/Rev backgrounder (console or X11 modes under Linux, graphical mode under Panther) applications servers binded, one side, to Apache trough a PHP-based sockets listener and, second side, to PostgreSQL trough shell calls to psql. I'm running such apps since years (08/2000) with great benefits in both terms of processor's idle rate (mostly over 90%) and concurrent accesses requests serving (one of those servers handle an average of 40/60 connections/second 12/24 hours). > > It is just the nature of CGI programming in general. AFAIK Rev is no > different than other languages like Perl, Python, TCL, etc. in this > respect. > > Solution 1- Switch to an ISP than has more leniency for heavily used > CGI apps. > > Solution 2- Stop using the CGI interface and switch to an application > server environment, which generally run in persistently in memory. > This would mean throwing out Rev and rewriting in another language. Sorry Alex, you are mistaking in about solution 2 : the MC/Rev engine is able to do lots more than the documentation describe, in about TCP/IP n-tier apps. I did never use it in cgi-mode (because there are some fine Apache modules availables for that - perl, php, python,.. - and because i needed, at the begining, a solution to serve flat-files databases over the web without having to reload the files at each cgi call) but as i'm, on the other hand, handling JBoss+Tomcat+EJB2+PostgreSQL solutions (Ecole pratique des Hautes Etudes - Sorbonne, cases studies only) i can assure that the best of the java world is not in the java's engines, but in the multilayers design and dev tools (Eclipe and its great debugger, the EJB's paradigm, UML,XML, object-relational databases mapping,...). > > A modified CGI environment might be able to run Rev scripts, but most > ISPs don't offer such services as FastCGI or PCGI. > > modified CGI environment: FastCGI, PCGI > apache DSOs: PHP, Perl, Python, Ruby, etc. > application servers: ASP (.NET?), Java Servlets, Coldfusion, ZOPE. As Apache on the webservers market or PostgreSQL on the ACID compliant ORDBMS one, JBoss seems to be on the right way to eat WebLogic and Websphere... > > Hope this helps, > > > -- > Alex Rice | Mindlube Software | http://mindlube.com Hope this can help ;-) Best Regards, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From gizmotron at earthlink.net Thu Jan 29 19:51:26 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 29 Jan 2004 16:51:26 -0800 Subject: [OT] PC-ing A Mac In-Reply-To: Message-ID: <6EE39876-52BE-11D8-9AD2-000A95859272@earthlink.net> It's hard to take this seriously. It has to be a joke. "January 28 How I PC'd an Apple G5 If you've had problems getting through to the site, this article is why. This has become the most read article in our history. If you haven't already, see what the fuss is about." It's so lame that it's created its own denial of service attack. This is about as cool as dangling your kids over the rail three stories up. On Thursday, January 29, 2004, at 04:34 PM, Stephen Quinn Barncard wrote: > The spoiled brat should be painfully spanked on the buttocks for that > travesty. And he complains about his lack of SATA and a good video > card. What a moron. > > >> A painfully amusing read: >> >> http://www.overclockers.com/tips1133/index.asp >> >> At least the leftover parts might be used for something. >> >> Regards, >> >> Scott Rossi From scott at tactilemedia.com Thu Jan 29 19:57:58 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 29 Jan 2004 16:57:58 -0800 Subject: Non-blocking way to open MS Word files? In-Reply-To: Message-ID: Recently, "Dave Beck" wrote: > I'm writing a Windows app with Rev and need a way to open files with MS Word > from a script in my app. I've been using the shell command with the > parameter as the long path name of the file to launch Word and open the > file. This which works well except that it is blocking, meaning that my Rev > stack does not respond to mouse clicks etc. until the user quits the MS Word > instance that was launched from my script! > > Does anybody know a way around this?? This seems odd. I personally haven't seen this happen (maybe it's an issue with shell) but that doesn't say much. Two things you might try are 1) try "open process ..." instead of the shell command, if possible, or 2) create a mini Rev "launcher" app whose sole purpose is to launch your Word docs and then exit. It shouldn't matter if the mini app is affected by the shell lockup since the mini app is separate from your app stack. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jhurley at infostations.com Thu Jan 29 20:16:48 2004 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 29 Jan 2004 17:16:48 -0800 Subject: Points in a circular area In-Reply-To: <20040130003737.686AF9301A7@mail.runrev.com> References: <20040130003737.686AF9301A7@mail.runrev.com> Message-ID: > >Message: 2 >Date: Thu, 29 Jan 2004 15:26:38 -0800 (PST) >From: Alejandro Tejada >Subject: Re: Points in a circular area >To: use-revolution at lists.runrev.com >Message-ID: <20040129232638.87440.qmail at web40504.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > >on Thu, 29 Jan 2004 >Dar Scott wrote: > >> Some years ago I designed a model and library for >> working with abstractions of drawings and >> paintings in a functional (that is f() >> manner) way. >> >> In that model the plane could be partitioned by a >> line or by a circle and other shapes. >> A pie shape is the union (ANDing) of two line >> partitions and a circle partition. > >> For this particular case, it might be easier for you >> to arctan2 points relative to the center to see >> if they are in the right angle range and >> then check the distance to see if that is small >> enough. > >If i interpret right your recommendations, >it's similar to the procedure that Jim Hurley >is suggesting to use. Now, i'll code a solution >and post the script for speed enhancements. ;-) > >> In rendering (or creating point lists) I am trying >> to use interval arithmetic and am putting that off >> until some performance changes in Revolution. >> This method allows tests to work on >> whole zones of pixels in one calculation. > >This sounds useful. Could externals helps for >these tasks? > >> The line tests will be faster than the arctan2 >> tests for this method, because of the ignorance >> involved in interval arithmetic. > >I've read that assembler code is faster than c code. > >> In the mean time you might try testing each pixel (I >> assume you mean pixels) in the bounding rect >> of the circle of which the arc is part. > >Let's see how much time does this calculation takes. Al, Just for an estimate of the time needed for the trial and error method, I ran the following handler: on mouseUp put 30 into tAngle put 100 into R put "" into results put the sec into startTime startTurtle repeat with x = 0 to R repeat with y = 0 to R put raCor(x,y) into ra --Test to see if the point x,y is in the wedge. if item 1 of ra < R and item 2 of ra < tAngle then put x,y & return after results end repeat end repeat put results into field 1 put the sec - starttime beep end mouseUp It determines all integer coordinates inside a circular wedge of radius R (100) and arc tAngle (30 degrees). There are 2,666 points and it takes a little over a second to compute. (The function raCor(x,y) returns the radial coordinates (radius and angle) corresponding to the rectangular coordinates x,y.) Hope this gives you some idea on times. Jim From young at hyperupt.com Thu Jan 29 20:20:46 2004 From: young at hyperupt.com (Young Paik) Date: Thu, 29 Jan 2004 17:20:46 -0800 Subject: FlashMX and Runtime Revolution In-Reply-To: <6EE39876-52BE-11D8-9AD2-000A95859272@earthlink.net> References: <6EE39876-52BE-11D8-9AD2-000A95859272@earthlink.net> Message-ID: <6.0.0.22.0.20040129171823.05f887e0@mail.hyperupt.com> I'm new to the list and new to Runtime Revolution. Wondering if anyone can point me in the right direction regarding FlashMX and Runtime Revolution integration (I'm interested in knowing how to "put" Flash into a stack and interact with cards). Thanks. From dsc at swcp.com Thu Jan 29 20:38:12 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 29 Jan 2004 18:38:12 -0700 Subject: Non-blocking way to open MS Word files? In-Reply-To: Message-ID: On Thursday, January 29, 2004, at 05:57 PM, Scott Rossi wrote: > Two things you might try are 1) try "open process ..." instead of the > shell > command, if possible, try 'with neither' Dar Scott From soapdog at mac.com Thu Jan 29 21:09:58 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 30 Jan 2004 00:09:58 -0200 Subject: Opening a Rev app from a browser? In-Reply-To: References: Message-ID: <6790BF43-52C9-11D8-B418-0003936D012E@mac.com> On Jan 29, 2004, at 12:48 AM, Doug Lerner wrote: > Any good hints out there about: > > 1. Opening a Rev app from a browser (including cross-platform > issues)... > > 2. Passing parameters from a browser link to a Rev app when opening... > > Thanks, > > doug doug, I've created a framework called revHTTPd it can do handy things with URLs... provide you left your revHTTPd server running you can access stacks by using normal URLs like for example http://localhost:8081/myStack/myHandler and it will execute a send "myHandler" to myStack... you can even pass paramenters like http://localhost:8081/myStack/myHanlder?name=andre&age=23 it this parameters will be available for the stack. Does this suits your scenario? Cheers Andre > > -- Andre Alves Garzia - Soap Dog Studios - BRAZIL http://studios.soapdog.org From soapdog at mac.com Thu Jan 29 21:11:01 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 30 Jan 2004 00:11:01 -0200 Subject: Handy Handler #5: Pack / Unpack In-Reply-To: References: Message-ID: <8D031552-52C9-11D8-B418-0003936D012E@mac.com> On Jan 29, 2004, at 1:22 AM, Chipp Walters wrote: > Richard, > > Just a thank-you for a great, well-written article on GPGE (Gaskin's > Pretty > Good Encryption;-) > > One of the great things about your articles, is there's always > something of > interest for every level of RR developer! > > best, > > Chipp Yes Chipp, very well said! I am just embeding GPGE in my revHTTPd framework! Now I'll reach the moderated secutrity milestone! Cheers on Richard! Andre > -- Andre Alves Garzia - Soap Dog Studios - BRAZIL http://studios.soapdog.org From soapdog at mac.com Thu Jan 29 21:11:49 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 30 Jan 2004 00:11:49 -0200 Subject: self-destructing files In-Reply-To: <401891CE.9070704@bestweb.net> References: <401891CE.9070704@bestweb.net> Message-ID: On Jan 29, 2004, at 2:53 AM, michael wrote: > Has anyone ever tried making an executable self-delete after x opens > or x time or using any other parameters? once I did one that would self destruct on a given date. it worked. just moved it self to the trash. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From chipp at chipp.com Thu Jan 29 21:18:24 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 29 Jan 2004 20:18:24 -0600 Subject: multiple instances of standalone under Windows In-Reply-To: <3CA25D94-52BA-11D8-8804-000A956C462A@mangomultimedia.com> Message-ID: Funny it works fine from here. Try again? -Chipp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Trevor > DeVore > Sent: Thursday, January 29, 2004 6:21 PM > To: How to use Revolution > Subject: Re: multiple instances of standalone under Windows > > > On Jan 29, 2004, at 4:01 PM, Chipp Walters wrote: > > > What about just looking for your app in the openProcesses list called > > from > > the freeware command line utility: > > > > http://www.sysinternals.com/ntw2k/freeware/pslist.shtml > > > > If your app is there, then shut yourself down. > > > > Seems easy enough, unless I'm missing something. > > I get a File not found error with that URL. > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From doug at webcrossing.com Thu Jan 29 21:25:26 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 11:25:26 +0900 Subject: Opening a Rev app from a browser? In-Reply-To: <6790BF43-52C9-11D8-B418-0003936D012E@mac.com> Message-ID: On 1/30/04 11:09 AM, "Andre Garzia" wrote: > > On Jan 29, 2004, at 12:48 AM, Doug Lerner wrote: > >> Any good hints out there about: >> >> 1. Opening a Rev app from a browser (including cross-platform >> issues)... >> >> 2. Passing parameters from a browser link to a Rev app when opening... >> >> Thanks, >> >> doug > > doug, > > I've created a framework called revHTTPd it can do handy things with > URLs... provide you left your revHTTPd server running you can access > stacks by using normal URLs like for example > http://localhost:8081/myStack/myHandler and it will execute a send > "myHandler" to myStack... you can even pass paramenters like > http://localhost:8081/myStack/myHanlder?name=andre&age=23 it this > parameters will be available for the stack. > > Does this suits your scenario? > > Cheers > Andre I'm not sure. What is a revHTTPd server? I have my own server that I would like to do this via. doug From soapdog at mac.com Thu Jan 29 21:35:51 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 30 Jan 2004 00:35:51 -0200 Subject: Opening a Rev app from a browser? In-Reply-To: References: Message-ID: <055E84FE-52CD-11D8-B418-0003936D012E@mac.com> On Jan 30, 2004, at 12:25 AM, Doug Lerner wrote: > I'm not sure. What is a revHTTPd server? I have my own server that I > would > like to do this via. > > doug revHTTPd is an embedable (hell my english is horrible sometimes) server, it's a frontscript (a button), you put it on a stack, and then it is able to serve itself and it's substacs like they were web apps. You can try my home revHTTPd server and learn more about it at http://home.soapdog.org:8081/ (it's my home machine here in Brazil under a 256k cable with a stupid paranoic ISP) with this server you can drive a Rev app in the server or interact with it, all the pages at my home server are actually substacks running, and you pass parameters to them with no fuss. But for a browser to launch a Rev app locally (at the client-side) it would be tought, it's like running a exe from remote, very dangerous stuff. Cheers PS: Hope you like the server :D -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From doug at webcrossing.com Thu Jan 29 21:57:33 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 11:57:33 +0900 Subject: Opening a Rev app from a browser? In-Reply-To: <055E84FE-52CD-11D8-B418-0003936D012E@mac.com> Message-ID: On 1/30/04 11:35 AM, "Andre Garzia" wrote: > > On Jan 30, 2004, at 12:25 AM, Doug Lerner wrote: > >> I'm not sure. What is a revHTTPd server? I have my own server that I >> would >> like to do this via. >> >> doug > > > revHTTPd is an embedable (hell my english is horrible sometimes) > server, it's a frontscript (a button), you put it on a stack, and then > it is able to serve itself and it's substacs like they were web apps. > You can try my home revHTTPd server and learn more about it at > http://home.soapdog.org:8081/ (it's my home machine here in Brazil > under a 256k cable with a stupid paranoic ISP) > > with this server you can drive a Rev app in the server or interact with > it, all the pages at my home server are actually substacks running, and > you pass parameters to them with no fuss. But for a browser to launch a > Rev app locally (at the client-side) it would be tought, it's like > running a exe from remote, very dangerous stuff. I see. Thanks for the explanation. I don't need to run any rev apps server side. In fact, I would prefer not to. :) But I do need to click a link and start a local "client" for interaction with the server. doug From doug at webcrossing.com Thu Jan 29 21:59:37 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 11:59:37 +0900 Subject: How to detect an image or graphic deletion? Message-ID: When I move an image or graphic, the moveControl message is sent. Similarly, when resizing, the resizeControl message is sent. But when I delete an image or graphic it looks like just rawKeyDown and backSpaceKey messages are sent. Isn't there something like a deleteControl message? Do I just need to write a backSpaceKey handler and check and see if the target or the selected or whatever was an image or graphic? doug From sarahr at genesearch.com.au Thu Jan 29 22:07:10 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 30 Jan 2004 13:07:10 +1000 Subject: Filtering with more than 4 types (OSX) - AppleScript In-Reply-To: <5D4D40DE-5234-11D8-AF0F-0003930A9F94@wanadoo.fr> References: <20040129000243.5F3CD93010C@mail.runrev.com> <5D4D40DE-5234-11D8-AF0F-0003930A9F94@wanadoo.fr> Message-ID: <6526F332-52D1-11D8-88FD-0003937A97B8@genesearch.com.au> Yes, I noticed this myself when testing. It seems to include any QT filetypes. On 29 Jan 2004, at 6:23 pm, ?ric Chatonet wrote: > Your script for filtering with more than 4 types (OSX) with > AppleScript (Vol 4, Issue 189) works fine :-) > Many thanks. > When "MooV" is among the filters, then all types recognized by > QuickTime are displayed : moovies, images and sounds as well! > I do regret this! > Due to system and QT? > > Rev 2.1.2 > OS 10.3.2 > QT 6.5 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarahr at genesearch.com.au Thu Jan 29 22:07:45 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 30 Jan 2004 13:07:45 +1000 Subject: Filtering with more than 4 types (OSX) - AppleScript Question In-Reply-To: References: <20040129000243.5F3CD93010C@mail.runrev.com> Message-ID: <79B1C083-52D1-11D8-88FD-0003937A97B8@genesearch.com.au> > Thanks, Sarah. > > The result of the "do tScript as Applescript" can be empty, but also > "execution > error" (if you click on the cancel button for instance). > So, I believe the test : > if tFile is empty then return empty -- no file chosen >> > should be > if (tFile is empty) or (tFile is "execution error") then return empty > -- no > file chosen > > Regards, > Jan Thanks for the addition Jan, I hadn't actually tested that bit :-) Sarah From soapdog at mac.com Thu Jan 29 22:12:34 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 30 Jan 2004 01:12:34 -0200 Subject: Opening a Rev app from a browser? In-Reply-To: References: Message-ID: <2669167E-52D2-11D8-B418-0003936D012E@mac.com> On Jan 30, 2004, at 12:57 AM, Doug Lerner wrote: > > I see. Thanks for the explanation. I don't need to run any rev apps > server > side. In fact, I would prefer not to. :) > > But I do need to click a link and start a local "client" for > interaction > with the server. > > doug Doug, remember when AudioGalaxy was online and they used a combination of custom client and web pages? I am not here for making notes about piracy, copyrights and how you can screw one's life and starve artists, and so on, let's talk about their tech, you launched their page, and by that page it controlled a program running on client-side. I just thought of it now, you can do the same with revHTTPd as long as the client-side app is running before the interaction begins, don't know what kind of interaction you want, if you want to launch an app, that's difficult it's like running any EXE from remote, users hate it and it's dangerous. But if you want your server to interact with a running app in the client thats easy. Set up the client side app to listem in a default port, don't know ie: 8084. When user log onto web page, you've got their IP, make your cgi try to connect to client-side app on default port and zap, interaction is done. That's really easy, I can set a small demo in couple minutes if you need an incentive! :D But if the scenario you want it to client click a link to an executable program, and that program to be downloaded and run on client computer, then it's very big risk. Almost all browsers will not allow this behaviour or shout you not to do it. If you'll offer a download page of your client side app, and launch that app then start interaction life is easy. Remember satelite of audio galaxy, it was a very smart behaviour, their client standed still waiting for server to connect, that connection was initiated when user opened their web page, with a client running and their IP, everything is possible, you can even put login procedures away and acquire all info from client side app. don't know if I am clear with this text, I am a native portuguese speaking person, also don't know what you're trying to do, but this "solution" might be used. I can code a little login demo, an simple client, when you open server page, the cgi on the page will look for a running client on client side and acquire login data. Would this help you? Cheers -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From doug at webcrossing.com Thu Jan 29 22:17:30 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 12:17:30 +0900 Subject: How to detect a selected image or graphic Message-ID: It's weird. While watching the Message Watcher and selecting a graphic the only message reported is mouseMove. Not mouseDown or mouseUp. Why would that be? doug From soapdog at mac.com Thu Jan 29 22:17:57 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 30 Jan 2004 01:17:57 -0200 Subject: hehehhe revHTTPd error due to miss configuration. Message-ID: Hi folks, sorry for all those who tried accessing revHTTPd home page thru http://home.soapdog.org:8081/ It's was listenning on 8084... now the problem is solved... you can try to access it again, I am very silly, I forgot to put it back to 8081... bad programmers go to hell Cheers -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From doug at webcrossing.com Thu Jan 29 22:21:19 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 12:21:19 +0900 Subject: Opening a Rev app from a browser? In-Reply-To: <2669167E-52D2-11D8-B418-0003936D012E@mac.com> Message-ID: On 1/30/04 12:12 PM, "Andre Garzia" wrote: > > On Jan 30, 2004, at 12:57 AM, Doug Lerner wrote: > >> >> I see. Thanks for the explanation. I don't need to run any rev apps >> server >> side. In fact, I would prefer not to. :) >> >> But I do need to click a link and start a local "client" for >> interaction >> with the server. >> >> doug > > Doug, > > remember when AudioGalaxy was online and they used a combination of > custom client and web pages? No. Never heard of them. > I am not here for making notes about > piracy, copyrights and how you can screw one's life and starve artists, > and so on, let's talk about their tech, you launched their page, and by > that page it controlled a program running on client-side. Right. Sounds good. :) > > I just thought of it now, you can do the same with revHTTPd as long as > the client-side app is running before the interaction begins, don't > know what kind of interaction you want, if you want to launch an app, > that's difficult it's like running any EXE from remote, users hate it > and it's dangerous. But if you want your server to interact with a > running app in the client thats easy. If the client-side app is running beforehand there is no problem already since all the interaction is in the client. I was hoping to just provide an alternative way for the user to open the client by clicking on a web link, and have the client start up, with the user all logged in. > > Set up the client side app to listem in a default port, don't know ie: > 8084. When user log onto web page, you've got their IP, make your cgi > try to connect to client-side app on default port and zap, interaction > is done. That's really easy, I can set a small demo in couple minutes > if you need an incentive! :D > > But if the scenario you want it to client click a link to an executable > program, and that program to be downloaded and run on client computer, > then it's very big risk. No -I wouldn't do that. This would be a trusted app that a user has previously, and intentionally, downloaded and set up. > Almost all browsers will not allow this > behaviour or shout you not to do it. If you'll offer a download page of > your client side app, and launch that app then start interaction life > is easy. Remember satelite of audio galaxy, it was a very smart > behaviour, their client standed still waiting for server to connect, > that connection was initiated when user opened their web page, with a > client running and their IP, everything is possible, you can even put > login procedures away and acquire all info from client side app. > > don't know if I am clear with this text, I am a native portuguese > speaking person, also don't know what you're trying to do, but this > "solution" might be used. I can code a little login demo, an simple > client, when you open server page, the cgi on the page will look for a > running client on client side and acquire login data. Would this help > you? Your English is perfectly fine. I didn't even know I was talking with a non-native speaker until you mentioned it! But what I am trying to do seems a bit different. The information you provided is very useful in general though. Thanks! doug From soapdog at mac.com Thu Jan 29 22:37:57 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 30 Jan 2004 01:37:57 -0200 Subject: Opening a Rev app from a browser? In-Reply-To: References: Message-ID: On Jan 30, 2004, at 1:21 AM, Doug Lerner wrote: >> But if the scenario you want it to client click a link to an >> executable >> program, and that program to be downloaded and run on client computer, >> then it's very big risk. > > No -I wouldn't do that. This would be a trusted app that a user has > previously, and intentionally, downloaded and set up. > Still trying... :D what if you put your app on startup (user should be aware of that), your app could be launched on startup and sit invisible on the background waiting for the server, that's easy for windows and macos, on unixes there are some user priviledges stuff, but putting it on .profile might work I think. Your app could launch invisible waiting for server, if it does not clog the CPU and use Little memory, it can sit idle doing nothing but wait for a connection. Since we're talking about trusted apps, your users will not complain about this behaviour, they'll understant that's easier than launching client every time. You can make a mainStack with two substacks, one is the little invisible stack that will do nothing but wait mothership call, the other is the app itself that will load only when needed, if you make them as "standalone" rev files (.rev) then your app will use even less memory for it will only load the Real client when needed. On the startup it will just launch a minimalist app that will listem to server calls and launch client on request. This will get the behaviour you want, for all plataforms and yet is plain easy to do. Couple lines in Rev. Cheers -- Andre Alves Garzia - Soap Dog Studios - BRAZIL http://studios.soapdog.org From doug at webcrossing.com Thu Jan 29 22:47:31 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 12:47:31 +0900 Subject: Opening a Rev app from a browser? In-Reply-To: Message-ID: On 1/30/04 12:37 PM, "Andre Garzia" wrote: > > On Jan 30, 2004, at 1:21 AM, Doug Lerner wrote: > >>> But if the scenario you want it to client click a link to an >>> executable >>> program, and that program to be downloaded and run on client computer, >>> then it's very big risk. >> >> No -I wouldn't do that. This would be a trusted app that a user has >> previously, and intentionally, downloaded and set up. >> > > Still trying... :D > > what if you put your app on startup (user should be aware of that), > your app could be launched on startup and sit invisible on the > background waiting for the server, that's easy for windows and macos, > on unixes there are some user priviledges stuff, but putting it on > .profile might work I think. Your app could launch invisible waiting > for server, if it does not clog the CPU and use Little memory, it can > sit idle doing nothing but wait for a connection. Since we're talking > about trusted apps, your users will not complain about this behaviour, > they'll understant that's easier than launching client every time. You > can make a mainStack with two substacks, one is the little invisible > stack that will do nothing but wait mothership call, the other is the > app itself that will load only when needed, if you make them as > "standalone" rev files (.rev) then your app will use even less memory > for it will only load the Real client when needed. On the startup it > will just launch a minimalist app that will listem to server calls and > launch client on request. This will get the behaviour you want, for all > plataforms and yet is plain easy to do. Couple lines in Rev. Interesting idea - but this won't help either, for several reasons: (1) The user can actually use this client to connect to any of many different servers. So we have no way of guaranteeing that the user is logged in the particular server with the link ahead of time. (2) We wouldn't want to tie up potentially thousands of sockets by having everybody online all the time. doug From soapdog at mac.com Thu Jan 29 23:32:23 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 30 Jan 2004 02:32:23 -0200 Subject: ANN: Silly Client Demo. (was Re: Opening a Rev app from a browser? In-Reply-To: References: Message-ID: <4CA00656-52DD-11D8-B418-0003936D012E@mac.com> On Jan 30, 2004, at 1:47 AM, Doug Lerner wrote: > Interesting idea - but this won't help either, for several reasons: > > (1) The user can actually use this client to connect to any of many > different servers. So we have no way of guaranteeing that the user is > logged > in the particular server with the link ahead of time. > Sorry, I didn't understand this argument. You need not guarantee that he is logged. CGI check it's IP at runtime. There's no assumption, ever. Each server will check for client... or a cgi might check for all server, it's pretty simple. > (2) We wouldn't want to tie up potentially thousands of sockets by > having > everybody online all the time. > No socket is open on server. Client app is actually listening in a very passive way, only when user click the link, server open socket and send for it's data, so user is online only when he is trully trying to be online. That way, sockets are open on client, server plays client before playing server, it's better seen than explained. While we were exchanging this emails, I coded an example. It's called silly client. It's available at http://public.soapdog.org/ it's a file called sillyclient.zip it's a simple client. You can log into http://home.soapdog.org:8081/sandbox this will show a link to check if remote user is running the client. pretty cool, it took me 10 minutes to do, it open no socket on server, and client got a vey low memory and cpu requirements. :D Cheers > doug > -- Andre Alves Garzia - Soap Dog Studios - BRAZIL http://studios.soapdog.org From doug at webcrossing.com Thu Jan 29 23:57:17 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 13:57:17 +0900 Subject: ANN: Silly Client Demo. (was Re: Opening a Rev app from a browser? In-Reply-To: <4CA00656-52DD-11D8-B418-0003936D012E@mac.com> Message-ID: On 1/30/04 1:32 PM, "Andre Garzia" wrote: > > On Jan 30, 2004, at 1:47 AM, Doug Lerner wrote: > >> Interesting idea - but this won't help either, for several reasons: >> >> (1) The user can actually use this client to connect to any of many >> different servers. So we have no way of guaranteeing that the user is >> logged >> in the particular server with the link ahead of time. >> > > Sorry, I didn't understand this argument. You need not guarantee that > he is logged. CGI check it's IP at runtime. There's no assumption, > ever. Each server will check for client... or a cgi might check for all > server, it's pretty simple. Right - but if the client is logged into Server A and click on a link for Server B, your scheme wouldn't work, would it? Besides, if the user is logged ANYWAY, they wouldn't need this. > > > >> (2) We wouldn't want to tie up potentially thousands of sockets by >> having >> everybody online all the time. >> > > No socket is open on server. Client app is actually listening in a very > passive way, only when user click the link, server open socket and send > for it's data, so user is online only when he is trully trying to be > online. That way, sockets are open on client, server plays client > before playing server, it's better seen than explained. I see. So your idea is to keep the Client open and listening, but... how can it be listening without opening up a socket? > > While we were exchanging this emails, I coded an example. It's called > silly client. > > It's available at http://public.soapdog.org/ it's a file called > sillyclient.zip > > it's a simple client. You can log into > http://home.soapdog.org:8081/sandbox > > this will show a link to check if remote user is running the client. > pretty cool, it took me 10 minutes to do, it open no socket on server, > and client got a vey low memory and cpu requirements. I'll take a look at it! Obrigado! doug From doug at webcrossing.com Fri Jan 30 00:06:16 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 14:06:16 +0900 Subject: ANN: Silly Client Demo. (was Re: Opening a Rev app from a browser? In-Reply-To: <4CA00656-52DD-11D8-B418-0003936D012E@mac.com> Message-ID: On 1/30/04 1:32 PM, "Andre Garzia" wrote: > While we were exchanging this emails, I coded an example. It's called > silly client. > > It's available at http://public.soapdog.org/ it's a file called > sillyclient.zip > > it's a simple client. You can log into > http://home.soapdog.org:8081/sandbox > > this will show a link to check if remote user is running the client. > pretty cool, it took me 10 minutes to do, it open no socket on server, > and client got a vey low memory and cpu requirements. > > :D > > Cheers Very cool! The first time I tried I got a "timed out" message, but the second time I got a "welcome" confirmation back with my name. But does this depend on a rev stack running on the server side? doug From chipp at chipp.com Fri Jan 30 01:11:26 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 30 Jan 2004 00:11:26 -0600 Subject: Opening a Rev app from a browser? In-Reply-To: Message-ID: Doug, Check out www.buttongadget.com and download the free trial. Then go to the buttonsets web page and click on any picture of a button. By just clicking on the picture, your browser will download a special stack file and launch buttongadget and load the stack file into it. Is that what you're looking for? If it is, I think I posted previously the code to do this (only XP for now -- don't know how to do this on Mac) -Chipp From yvescoppe at skynet.be Fri Jan 30 01:42:44 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 30 Jan 2004 07:42:44 +0100 Subject: Clone and "it" Message-ID: <8220E33A-52EF-11D8-A586-003065E14B04@skynet.be> Hi list Something strange with "clone" command : Mainstack A with 2 subtacks "B" and "C" In stack "C" , a card named "Movies" and a btn with the script : clone player "xxx" of grp "yyy" of cd "movies" of stack "C" answer the id of it the answered id is good, it' s the ID of the new created (cloned) player now in stack "B" the same script : clone player "xxx" of grp "yyy" of cd "movies" of stack "C" answer the id of it the answer is "0" ........don't understand... Can anyone help me ... thank you. Amicalement. Yves COPPE yvescoppe at skynet.be From ian at azurevision.co.uk Fri Jan 30 02:52:40 2004 From: ian at azurevision.co.uk (Ian Wood) Date: Fri, 30 Jan 2004 07:52:40 +0000 Subject: FlashMX and Runtime Revolution In-Reply-To: <6.0.0.22.0.20040129171823.05f887e0@mail.hyperupt.com> References: <6EE39876-52BE-11D8-9AD2-000A95859272@earthlink.net> <6.0.0.22.0.20040129171823.05f887e0@mail.hyperupt.com> Message-ID: <477E6D42-52F9-11D8-BF3C-0003935A2896@azurevision.co.uk> AFAIK you can't do anything with MX. You can interact with Flash within a QuickTime player, but you will have to save back to Flash 5 (for QuickTime 6), or Flash 4 (for QuickTime 5). Ian Wood Panoramic photography, from web to billboard, sunrise to moonrise http://www.azurevision.co.uk On 30 Jan 2004, at 01:20, Young Paik wrote: > I'm new to the list and new to Runtime Revolution. Wondering if > anyone can point me in the right direction regarding FlashMX and > Runtime Revolution integration (I'm interested in knowing how to "put" > Flash into a stack and interact with cards). Thanks. From janschenkel at yahoo.com Fri Jan 30 04:03:48 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 30 Jan 2004 01:03:48 -0800 (PST) Subject: Non-blocking way to open MS Word files? In-Reply-To: Message-ID: <20040130090348.28778.qmail@web60510.mail.yahoo.com> --- Dave Beck wrote: > > Hey, > > I sent this message to the list a while back but > never got a response. I'm > hoping this time I'll fair better. I still haven't > been able to come up with > a solution on my own. > > I'm writing a Windows app with Rev and need a way to > open files with MS Word > from a script in my app. I've been using the shell > command with the > parameter as the long path name of the file to > launch Word and open the > file. This which works well except that it is > blocking, meaning that my Rev > stack does not respond to mouse clicks etc. until > the user quits the MS Word > instance that was launched from my script! > > Does anybody know a way around this?? > > Any help would be greatly appreciated. > > Thanks in advance, > Dave > Hi Dave, Do you get the same problem if you open the Word doc by means of the 'launch' command ? -- launch tFilePath with tApplicationPath -- What command are you passing to the shell()-function ? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From janschenkel at yahoo.com Fri Jan 30 04:16:04 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 30 Jan 2004 01:16:04 -0800 (PST) Subject: multiple instances of standalone under Windows In-Reply-To: <000601c3e6a8$d7beb640$64fea8c0@chris1> Message-ID: <20040130091604.26813.qmail@web60501.mail.yahoo.com> --- Chris Sheffield wrote: > Does anyone have a way to check if another instance > of a standalone is > already running, and if so close the one that was > just opened? I have an > application running under Windows and need to keep > the user from opening > multiple instances of it. Is there a way to do > this? > > I've tried using 'if there is a process > "ProcessName"', but that doesn't > seem to be working. Maybe I'm just using it > incorrectly? Any ideas would > be appreciated. > > Chris Sheffield > Hi Chris, There should be a way to do this on Windows via Dynamic Data Exchange API -- here's something I copied from a FoxPro forum a while back : ===== =ddesetoption("SAFETY",.F.) ichannel = DDEINITIATE("myapp","ZOOM") IF ichannel =>0 ????=DDETERMINATE(ichannel) ????QUIT ENDIF =DDESETSERVICE("myapp","define") =DDESETSERVICE("myapp","execute") =DDESETTOPIC("myapp","","ddezoom") PROCEDURE ddezoom ????PARAMETER??ichannel, saction, sitem, sdata, ; sformat,istatus ????ZOOM WINDOW SCREEN NORM ????RETURN has the added advantage that, if the user starts up a second instance the first instance gets maximized. ===== Check out the DDE-externals that Tuviah wrote ages ago, at the old Crossworlds website : If you need a hand converting the above xBase code into xTalk, let me know. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From rodney at infiny.co.nz Fri Jan 30 04:52:38 2004 From: rodney at infiny.co.nz (rodney tamblyn) Date: Fri, 30 Jan 2004 22:52:38 +1300 Subject: revChangeWindowSize Message-ID: <09F45966-530A-11D8-93F1-003065F97100@infiny.co.nz> When I call revChangeWindowSize on my PowerBook G4, using syntax such as revChangeWindowSize 500,700,"slide",1,1000 ... the window resizes so that only the titlebar is visible (ie height = 0 ) It will adjust the width, but no matter what value I set width (param 2) it doesn't work. Any ideas what might be going wrong here? ~ Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From doug at webcrossing.com Fri Jan 30 05:32:53 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 19:32:53 +0900 Subject: Suppressing a message? Message-ID: I found the messages that take place when images and graphics are deleted: deleteGraphic and deleteImage (of course). I wonder why they don't appear in the Message Watcher window though? Anyway, one question I have it - there are two ways of deleting a message - if I do it manually or if a handler does it. In the case of the handler, I want to suppress the normal deleteGraphic message from being sent. Is there a way to do that? Thanks, doug From briany at qldlearning.com Fri Jan 30 05:44:17 2004 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 30 Jan 2004 05:44:17 -0500 Subject: Suppressing a message? In-Reply-To: Message-ID: <40C01D3E-5311-11D8-86FE-000393AA08D2@qldlearning.com> I've never tried it for this sort of message, but generally the trick is: lock messages ... do something unlock messages HTH, Brian > Anyway, one question I have it - there are two ways of deleting a > message - > if I do it manually or if a handler does it. In the case of the > handler, I > want to suppress the normal deleteGraphic message from being sent. Is > there > a way to do that? From doug at webcrossing.com Fri Jan 30 06:04:12 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 20:04:12 +0900 Subject: Suppressing a message? In-Reply-To: <40C01D3E-5311-11D8-86FE-000393AA08D2@qldlearning.com> Message-ID: I notice that, but wonder about the timing of how that works. According to the docs, the deleteGraphic message (for example) is sent when a graphic removed from the stack. But when, message-timing-wise, is it removed from the stack? If I say lock messages delete graphic "a" unlock messages Have I really blocked the deleteGraphic message from being sent? Or is it being sent after the messages are unlocked? doug On 1/30/04 7:44 PM, "Brian Yennie" wrote: > I've never tried it for this sort of message, but generally the trick > is: > > lock messages > ... do something > unlock messages > > HTH, > Brian > >> Anyway, one question I have it - there are two ways of deleting a >> message - >> if I do it manually or if a handler does it. In the case of the >> handler, I >> want to suppress the normal deleteGraphic message from being sent. Is >> there >> a way to do that? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From doug at webcrossing.com Fri Jan 30 06:12:58 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 20:12:58 +0900 Subject: web cam capture Message-ID: Just some general questions to the group - I notice that Revolution has video camera capturing features. It seems that this would be hard to implement across platforms, different camera models and different interfaces (USB and Firewire - like iSight). How do people find the robustness and cross-platform/cross-product usability of the video capture features? Does this work as well with webcams as with video cameras? Thanks, doug From doug at webcrossing.com Fri Jan 30 06:18:41 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 20:18:41 +0900 Subject: revInitializeVideoGrabber question Message-ID: In the IDE, if I try the docs example: revInitializeVideoGrabber "QT","100,100,200,200" in the message window, the following error occurs: Message execution error: Error description: send: error in message expression Am I getting ahead of myself? doug From briany at qldlearning.com Fri Jan 30 06:55:25 2004 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 30 Jan 2004 06:55:25 -0500 Subject: Suppressing a message? In-Reply-To: Message-ID: <30D6A652-531B-11D8-86FE-000393AA08D2@qldlearning.com> Yes, this should block it. Try it out. A typical use of lock messages is to navigate to a card/stack without triggering openCard/openStack/etc. > lock messages > delete graphic "a" > unlock messages > > Have I really blocked the deleteGraphic message from being sent? Or is > it > being sent after the messages are unlocked? From janschenkel at yahoo.com Fri Jan 30 07:03:37 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 30 Jan 2004 04:03:37 -0800 (PST) Subject: clone and it In-Reply-To: <50D0634E-5313-11D8-B73F-003065E14B04@skynet.be> Message-ID: <20040130120337.52200.qmail@web60507.mail.yahoo.com> --- Yves COPPE wrote: > > Something strange with "clone" command : > > > Mainstack A with 2 subtacks "B" and "C" > > > In stack "C" , a card named "Movies" > and a btn with the script : > > clone player "xxx" of grp "yyy" of cd "movies" of > stack "C" > answer the id of it > > > the answered id is good, it' s the ID of the new > created (cloned) player > > now in stack "B" > the same script : > > clone player "xxx" of grp "yyy" of cd "movies" of > stack "C" > answer the id of it > > the answer is "0" ........don't understand... > > Do you hve an idea ? > > thank you. > > > Greetings. > > Yves COPPE > Hi Yves, I did a quick test but it seemed to work for me -- have you checked the content of 'the result' after the clone command ? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From janschenkel at yahoo.com Fri Jan 30 07:08:29 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 30 Jan 2004 04:08:29 -0800 (PST) Subject: revInitializeVideoGrabber question In-Reply-To: Message-ID: <20040130120829.76602.qmail@web60504.mail.yahoo.com> --- Doug Lerner wrote: > In the IDE, if I try the docs example: > > revInitializeVideoGrabber "QT","100,100,200,200" > > in the message window, the following error occurs: > > Message execution error: > Error description: send: error in message expression > > Am I getting ahead of myself? > > doug > Hi Doug, The best way to learn how the video grabbing commands and functions work, is by examining the scripts of the sample stack 'Video_Input.rev' which you'll find in the 'Sample Stacks' folder inside your Revolution folder. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From janschenkel at yahoo.com Fri Jan 30 07:10:36 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 30 Jan 2004 04:10:36 -0800 (PST) Subject: Suppressing a message? In-Reply-To: Message-ID: <20040130121036.39618.qmail@web60508.mail.yahoo.com> --- Doug Lerner wrote: > I notice that, but wonder about the timing of how > that works. According to > the docs, the deleteGraphic message (for example) is > sent when a graphic > removed from the stack. > > But when, message-timing-wise, is it removed from > the stack? > > If I say > > lock messages > delete graphic "a" > unlock messages > > Have I really blocked the deleteGraphic message from > being sent? Or is it > being sent after the messages are unlocked? > > doug > Hi Doug, When you 'lock messages', the engine will not send messages, but it doesn't save them for later use, either. So there's no need to worry that it will be sent after you 'unlock messages' Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From thierry.arbellot at wanadoo.fr Fri Jan 30 07:18:52 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Fri, 30 Jan 2004 13:18:52 +0100 Subject: revInitializeVideoGrabber question In-Reply-To: Message-ID: <776ED606-531E-11D8-9C47-000A27E40768@wanadoo.fr> Hi doug, The doc is wrong, a parameter is missing. The correct syntax is : revInitializeVideoGrabber the short name of this stack,"QT","100,100,200,200" Regards. Thierry. Le Friday, 30 Jan 2004, ? 12:18 Europe/Paris, Doug Lerner a ?crit : > In the IDE, if I try the docs example: > > revInitializeVideoGrabber "QT","100,100,200,200" > > in the message window, the following error occurs: > > Message execution error: > Error description: send: error in message expression > > Am I getting ahead of myself? > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rodney at infiny.co.nz Fri Jan 30 07:31:50 2004 From: rodney at infiny.co.nz (rodney tamblyn) Date: Sat, 31 Jan 2004 01:31:50 +1300 Subject: tips on refreshing images in fields? Message-ID: <46EBC8E6-5320-11D8-8BF7-003065F97100@infiny.co.nz> If you've set an image in a field (using imagesource) are there any tips on ways to make the images refresh and display properly when the field is scrolled up and down (I tend to find after scrolling that the images do not display correctly until the screen is redrawn by force, eg change tool, lock screen etc) R. -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From janschenkel at yahoo.com Fri Jan 30 08:24:06 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 30 Jan 2004 05:24:06 -0800 (PST) Subject: tips on refreshing images in fields? In-Reply-To: <46EBC8E6-5320-11D8-8BF7-003065F97100@infiny.co.nz> Message-ID: <20040130132406.57829.qmail@web60509.mail.yahoo.com> --- rodney tamblyn wrote: > If you've set an image in a field (using > imagesource) are there any > tips on ways to make the images refresh and display > properly when the > field is scrolled up and down (I tend to find after > scrolling that the > images do not display correctly until the screen is > redrawn by force, > eg change tool, lock screen etc) > > R. > Does switching the lockText of the field back and forth help -- I know that forces a redraw. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From doug at webcrossing.com Fri Jan 30 08:25:50 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 22:25:50 +0900 Subject: Suppressing a message? In-Reply-To: <20040130121036.39618.qmail@web60508.mail.yahoo.com> Message-ID: On 1/30/04 9:10 PM, "Jan Schenkel" wrote: > --- Doug Lerner wrote: >> I notice that, but wonder about the timing of how >> that works. According to >> the docs, the deleteGraphic message (for example) is >> sent when a graphic >> removed from the stack. >> >> But when, message-timing-wise, is it removed from >> the stack? >> >> If I say >> >> lock messages >> delete graphic "a" >> unlock messages >> >> Have I really blocked the deleteGraphic message from >> being sent? Or is it >> being sent after the messages are unlocked? >> >> doug >> > > Hi Doug, > > When you 'lock messages', the engine will not send > messages, but it doesn't save them for later use, > either. So there's no need to worry that it will be > sent after you 'unlock messages' But... does the above example block all messages associated with "delete graphic"? Why would it? doug From xbury.cs at clearstream.com Fri Jan 30 08:40:05 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 30 Jan 2004 14:40:05 +0100 Subject: Ann: Stealth Browser pre-announcement Message-ID: Im looking for a couple testers/helping hands to pretest the release of this most excellent X Stealth Browser v1.0... Please reply directly... I'll be here until 16h00 GMT-2 (Brussels time)... After that, I just might post it on monsieurx.com... It's as plain vanilla browser as it gets, does images or not (for stealth). Reworks the HTML to make sure it's displayed as decently as RR permits. It is not perfect (table tags are just deleted for example) but it's definitely better than the original!). I'll probably integrate some webstyle obfuscation (so links are not so blatantly recognizable...) and other google tricks later if there is interest or need... Comments and beer mugs welcome as usual... ---------------------=--------------------- Xavier Bury 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 sjoerdoptland at s2theatertechniek.nl Fri Jan 30 08:44:01 2004 From: sjoerdoptland at s2theatertechniek.nl (Sjoerd Op 't Land) Date: Fri, 30 Jan 2004 14:44:01 +0100 Subject: revdberr: invalid database type Message-ID: Hello all, At the moment I'm desperatly trying to get a database connection to work from within a CGI script. I keep getting the 'revdberr: invaldid database type' as connection ID. The database type supplied is correct (tried both 'MySQL' and 'mysql'). I also tried if Revolution has the permissions to acces the specified database-drivers directory, and I can read from the *.so files. What can be the problem here? Is there any way to check for the supported database types? Thanks in advance for any help, Sjoerd Op 't Land From janschenkel at yahoo.com Fri Jan 30 08:48:06 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 30 Jan 2004 05:48:06 -0800 (PST) Subject: Suppressing a message? In-Reply-To: Message-ID: <20040130134806.95393.qmail@web60510.mail.yahoo.com> --- Doug Lerner wrote: > But... does the above example block all messages > associated with "delete > graphic"? Why would it? > > doug > When you do a 'lock messages' the engine will eat _all_ the messages it would have sent, including the 'deleteGraphic' message. Let's explain this with the following script : -- on mouseUp lock messages go card 3 of stack "Foo" delete graphic "Bar" go back unlock messages end mouseUp -- As soon as you lock the messages, the engine will no longer send *any* messages, until you unlock or the engine reaches the end of the handler. So when you go card 3 of stack "Foo" the engine won't send 'closeCard' or 'openCard' or anything like that. And when you delete graphic "Bar" the graphic will be deleted, but you won't get a 'deleteGraphic' message. And when you finally go back again the engine won't send 'closeCard' or 'openCard' or anything of the sort. In short : it just blocks *all* messages. Hope this clarified things a bit, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From doug at webcrossing.com Fri Jan 30 08:59:52 2004 From: doug at webcrossing.com (Doug Lerner) Date: Fri, 30 Jan 2004 22:59:52 +0900 Subject: Suppressing a message? In-Reply-To: <20040130134806.95393.qmail@web60510.mail.yahoo.com> Message-ID: Thanks for your reply. But... how do you know which are the messages that are blocked? For example, the following seems logical too: 1. lock messages (all messages are blocked) 2. delete graphic "a" - graphic gets deleted 3. unlock messages - messages continue again 4. the "unlock messages" took place essentially instantly after the graphic was deleted, but before the deleteGraphic message was sent (since it is a separate message that is sent when the graphic is actually removed from the stack). That is guaranteed not to happen ever? The lock messages locks all the messages *associated with* the deletion of the graphic, even if there are dozens of revXXXX messages sent out after the graphic is deleted? That is what I wanted to clarify. doug On 1/30/04 10:48 PM, "Jan Schenkel" wrote: > --- Doug Lerner wrote: >> But... does the above example block all messages >> associated with "delete >> graphic"? Why would it? >> >> doug >> > > When you do a 'lock messages' the engine will eat > _all_ the messages it would have sent, including the > 'deleteGraphic' message. > > Let's explain this with the following script : > -- > on mouseUp > lock messages > go card 3 of stack "Foo" > delete graphic "Bar" > go back > unlock messages > end mouseUp > -- > > As soon as you lock the messages, the engine will no > longer send *any* messages, until you unlock or the > engine reaches the end of the handler. > So when you > go card 3 of stack "Foo" > the engine won't send 'closeCard' or 'openCard' or > anything like that. > And when you > delete graphic "Bar" > the graphic will be deleted, but you won't get a > 'deleteGraphic' message. > And when you finally > go back > again the engine won't send 'closeCard' or 'openCard' > or anything of the sort. > > In short : it just blocks *all* messages. > > Hope this clarified things a bit, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La > Rochefoucauld) > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Fri Jan 30 09:09:08 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 30 Jan 2004 06:09:08 -0800 (PST) Subject: revdberr: invalid database type In-Reply-To: Message-ID: <20040130140908.59272.qmail@web60506.mail.yahoo.com> --- Sjoerd Op 't Land wrote: > Hello all, > > At the moment I'm desperatly trying to get a > database connection to work > from within a CGI script. I keep getting the > 'revdberr: invaldid database > type' as connection ID. > > The database type supplied is correct (tried both > 'MySQL' and 'mysql'). I > also tried if Revolution has the permissions to > acces the specified > database-drivers directory, and I can read from the > *.so files. > > What can be the problem here? Is there any way to > check for the supported > database types? > > Thanks in advance for any help, > Sjoerd Op 't Land > Hi Sjoerd, I had the same problem a while back when I was experimenting with the cgi-engine ; the quick solution is to copy the database drivers into the same dir as the engine and the cgi-scripts. You'll find these in your Revolution folder in the directory /components/database_drivers/ The cleaner way is to use the command 'revSetDatabaseDriverPath' to point to the correct directory on your server before making any calls to the revdb functions. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From janschenkel at yahoo.com Fri Jan 30 09:15:16 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 30 Jan 2004 06:15:16 -0800 (PST) Subject: Suppressing a message? In-Reply-To: Message-ID: <20040130141516.5498.qmail@web60510.mail.yahoo.com> --- Doug Lerner wrote: > Thanks for your reply. > > But... how do you know which are the messages that > are blocked? > > For example, the following seems logical too: > > 1. lock messages (all messages are blocked) > > 2. delete graphic "a" > - graphic gets deleted > > 3. unlock messages > - messages continue again > > 4. the "unlock messages" took place essentially > instantly after the graphic > was deleted, but before the deleteGraphic message > was sent (since it is a > separate message that is sent when the graphic is > actually removed from the > stack). > > That is guaranteed not to happen ever? > > The lock messages locks all the messages *associated > with* the deletion of > the graphic, even if there are dozens of revXXXX > messages sent out after the > graphic is deleted? > > That is what I wanted to clarify. > > doug > Hi Doug, The 'revXXX' messages only get fired when the 'XXX' message gets sent -- it's a long story, but you can find out how it works in the Rev IDE frontScript and backScript. So if you 'lock messages', the engine eats the 'deleteGraphic' message, and it isn't going to send it to any other object either, which means the 'revXXX' messages aren't triggered. Hope this clarified it, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From xbury.cs at clearstream.com Fri Jan 30 10:03:09 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 30 Jan 2004 16:03:09 +0100 Subject: Non-blocking way to open MS Word files? Message-ID: Just in case it might help... if you use the shell() function to launch a process, you will be blocked. If you dont want to be blocked, use "start" to have the shell launch the process and liberate your shell. Start /? = START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED] [/LOW | /NORMAL | /HIGH | /REALTIME] [/WAIT] [/B] [command/program] [parameters] +++ Using MIN it will be minimized. On 30/01/2004 10:03:48 use-revolution-bounces wrote: >--- Dave Beck wrote: >> >> Hey, >> >> I sent this message to the list a while back but >> never got a response. I'm >> hoping this time I'll fair better. I still haven't >> been able to come up with >> a solution on my own. >> >> I'm writing a Windows app with Rev and need a way to >> open files with MS Word >> from a script in my app. I've been using the shell >> command with the >> parameter as the long path name of the file to >> launch Word and open the >> file. This which works well except that it is >> blocking, meaning that my Rev >> stack does not respond to mouse clicks etc. until >> the user quits the MS Word >> instance that was launched from my script! >> >> Does anybody know a way around this?? >> >> Any help would be greatly appreciated. >> >> Thanks in advance, >> Dave >> > >Hi Dave, > >Do you get the same problem if you open the Word doc >by means of the 'launch' command ? 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 3mcgrath at adelphia.net Fri Jan 30 10:12:16 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 30 Jan 2004 10:12:16 -0500 Subject: Opening a Rev app from a browser? In-Reply-To: References: Message-ID: Chipp, Does this use an external .dll file? Is that why it is only XP? Tom On Jan 30, 2004, at 1:11 AM, Chipp Walters wrote: > Doug, > > Check out www.buttongadget.com and download the free trial. Then go to > the > buttonsets web page and click on any picture of a button. By just > clicking > on the picture, your browser will download a special stack file and > launch > buttongadget and load the stack file into it. > > Is that what you're looking for? If it is, I think I posted previously > the > code to do this (only XP for now -- don't know how to do this on Mac) > > -Chipp > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Fri Jan 30 10:27:01 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 30 Jan 2004 10:27:01 -0500 Subject: Minimize Message-ID: Hello, Does anyone know if I can put a Minimize button in my "special" window stack. The stack has decorations set to empty and has no window border at all. I do not want to use the standard window decorations. The problem is that windows people are telling me that the stack does not show up in the task bar. "alt" & "tab" do not work on windows with this stack. "command" & "tab" work fine on the mac and the stack shows up in the dock. reason: I could not find an exceptable cross-platform window size solution on 800x600 screens that handled my image sizes. I could not change the image sizes so I needed the window to be exact. But if the window size was the right size on macintosh it would be off on windows and vice versa. There would be either a cut off section or the window would not cover the screen completely. This window size was discussed heavily on this list before and I did not see a good enough solution. So I would like to hide/minimize the window on mac and windows. Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From shedrup at ms9.hinet.net Fri Jan 30 10:29:20 2004 From: shedrup at ms9.hinet.net (Friedrich F. Grohmann) Date: Fri, 30 Jan 2004 23:29:20 +0800 Subject: Rev fails to recognize Chinese Message-ID: <200401301528.XAA17500@msr38.hinet.net> Thanks, Ron. I'll try to follow your suggestions. > >I do not know specifically what is happening in these cases but there >is a known issue with some Japanese characters that lead to a similar >result. You can search bugzilla for "japanese" and "unicode" to find >out more about this and related bugs. The best thing to do is report it >in bugzilla and include a sample file for Tuviah to look at. He is good >about fixing when there is a sample included. > >Ron From 3mcgrath at adelphia.net Fri Jan 30 10:32:21 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 30 Jan 2004 10:32:21 -0500 Subject: re launching a windows stack Message-ID: <7EDABE26-5339-11D8-BBFE-000A95DA60FA@adelphia.net> Hello all, Same stack as before. Users are complaining that the CD is set to auto launch but if they want to re-open it once the CD has already been inserted and they have quit the program they can't find the stack file. Problem is in order to launch in windows the stack file is in a folder on the cd since it can not be at the root level to auto launch. But if it is launched from in the folder it looses its links. The autoinf file makes the stack think it is at the root level (which it is not) BUT if launched from the folder it is in then the paths to the media folder are broken. Will a short cut make the stack think it is at the root level just like the autoinf file does????? If not how can it relaunch with out having to reinsert the CD again and again???? Thanks tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Fri Jan 30 10:37:03 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 30 Jan 2004 10:37:03 -0500 Subject: web cam capture In-Reply-To: References: Message-ID: <272BA518-533A-11D8-BBFE-000A95DA60FA@adelphia.net> doug, The video capabilities were camera independent so "IF" the camera can be accessed by 'other' programs it probably can be accessed by REV. In the case of iSight which apple says is not meant to be accessed by other apps, REV can see it just fine AND control all kinds of features in it that can't even be controlled by apples own apps. So if the driver for the camera is 'standard' enough to work in say "oculus" or some other web app then REV can definitely handle it. I had great results after playing around with it a little bit. tom On Jan 30, 2004, at 6:12 AM, Doug Lerner wrote: > Just some general questions to the group - I notice that Revolution has > video camera capturing features. It seems that this would be hard to > implement across platforms, different camera models and different > interfaces > (USB and Firewire - like iSight). > > How do people find the robustness and cross-platform/cross-product > usability > of the video capture features? > > Does this work as well with webcams as with video cameras? > > Thanks, > > > doug > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From revlist at cableone.net Fri Jan 30 11:08:01 2004 From: revlist at cableone.net (Chris Sheffield) Date: Fri, 30 Jan 2004 09:08:01 -0700 Subject: multiple instances of standalone under Windows In-Reply-To: Message-ID: <000a01c3e74b$3cb7d570$64fea8c0@chris1> Chipp, This sounds great, unfortunately I need something that'll work on Win98 as well. :-( Chris Sheffield Software Development Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Chipp Walters Sent: Thursday, January 29, 2004 4:01 PM To: How to use Revolution Subject: RE: multiple instances of standalone under Windows What about just looking for your app in the openProcesses list called from the freeware command line utility: http://www.sysinternals.com/ntw2k/freeware/pslist.shtml If your app is there, then shut yourself down. Seems easy enough, unless I'm missing something. -Chipp --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004 From alex at mindlube.com Fri Jan 30 11:12:59 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 30 Jan 2004 09:12:59 -0700 Subject: server load with Rev "net" apps In-Reply-To: References: <010201c3e5f6$8c850830$58bfef84@maerkhpc1> <401967FB.6070009@hyperactivesw.com> Message-ID: <2BDC77D4-533F-11D8-BCB7-000393C4760A@mindlube.com> On Jan 29, 2004, at 5:48 PM, Pierre Sahores wrote: > Sorry Alex, you are mistaking in about solution 2 : the MC/Rev engine > is able to do lots more than the documentation describe, in about > TCP/IP n-tier apps. Sure- if we are talking about TCP/IP n-tier apps :-) The original question sounded as if they were using an ISP with heavy restrictions on CGI usage, which leads me to think your kind of solution is not really feasible for them. -- Alex Rice | Mindlube Software | http://mindlube.com From revlist at cableone.net Fri Jan 30 11:13:26 2004 From: revlist at cableone.net (Chris Sheffield) Date: Fri, 30 Jan 2004 09:13:26 -0700 Subject: multiple instances of standalone under Windows In-Reply-To: Message-ID: <000b01c3e74b$fe654900$64fea8c0@chris1> Thanks for the suggestions, Dar, but I think maybe not understand the 'accept' thing. It sounds like it should work, but I'm not quite getting it. You don't by chance have a code sample do you? How will I know if the accept command fails? Chris Sheffield Software Development Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dar Scott Sent: Thursday, January 29, 2004 2:19 PM To: How to use Revolution Subject: Re: multiple instances of standalone under Windows On Thursday, January 29, 2004, at 01:45 PM, Chris Sheffield wrote: > Does anyone have a way to check if another instance of a standalone is > already running, and if so close the one that was just opened? Try 'accept' on some obscure port. If it fails, assume that another app is running. (Immediately close any connections in the call back, should any be made.) I'd try UDP first. If you need to listen to a port anyway, you are set. You could try creating and deleting a folder. This will work faster than a file, I think. If you need some temp files, anyway, put this where you put your temp files and put your temp files in there. You may need to work out the rare case of two programs trying to run at the same time. There is probably some shell command you can use. That may work well, since you only need one platform. This also needs to address the problems of two starting at the same time. If you feel comfortable with two not starting at the same time, then you don't have to worry about that. The openProcesses() function applies to processes opened with 'open process'. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.572 / Virus Database: 362 - Release Date: 1/27/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004 From lists at mangomultimedia.com Fri Jan 30 12:17:21 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 30 Jan 2004 10:17:21 -0700 Subject: multiple instances of standalone under Windows In-Reply-To: References: Message-ID: <29F05274-5348-11D8-8498-000A956C462A@mangomultimedia.com> On Jan 29, 2004, at 7:18 PM, Chipp Walters wrote: > Funny it works fine from here. Try again? Weird, in Safari I get the custom page not found error. If I use Explorer then it works fine. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dsc at swcp.com Fri Jan 30 12:25:10 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 30 Jan 2004 10:25:10 -0700 Subject: multiple instances of standalone under Windows In-Reply-To: <000b01c3e74b$fe654900$64fea8c0@chris1> Message-ID: <41544C0E-5349-11D8-94AE-000A9567A3E6@swcp.com> On Friday, January 30, 2004, at 09:13 AM, Chris Sheffield wrote: > Thanks for the suggestions, Dar, but I think maybe not understand the > 'accept' thing. It sounds like it should work, but I'm not quite > getting > it. You don't by chance have a code sample do you? How will I know > if the > accept command fails? Off the top of my head: ******************************** constant lockPort = "46144" function lockApp -- returns true iff OK to continue running accept datagram connections on port lockPort with message closeRightAway return the result is empty end lockApp function unlockApp close socket lockPort end unlockApp on closeRightAway socketID, data close socket socketId end closeRightAway ********************************* The system should close the listening port when the app quits, but you might want to put the unlockApp in all the right places, anyway. The specific message on OS X when the port is busy is "can't bind endpoint", but I have noticed that messages do not always line up between systems. You can also check the syserr() to get the OS error code if you want to make sure the exact reason of failure is because there is another app using the port and not because the networking is broken or something. Dar Scott -- **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Fri Jan 30 12:32:39 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 30 Jan 2004 10:32:39 -0700 Subject: multiple instances of standalone under Windows In-Reply-To: <41544C0E-5349-11D8-94AE-000A9567A3E6@swcp.com> Message-ID: <4D5C8C99-534A-11D8-94AE-000A9567A3E6@swcp.com> On Friday, January 30, 2004, at 10:25 AM, Dar Scott wrote: > constant lockPort = "46144" I think one of the weaknesses of the 'accept' method for checking for multiple apps is the potential of collisions here. The other problem is that this will not work if tcp/ip networking is not set up for some reason. You might also want to make sure this does not force a dialup. Another alternative is to use an external that makes appropriate Windows API calls that are designed for checking for multiple instances or otherwise handling them. If you are not up to attacking the creation of an external, you can have one made. Dar Scott -- **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From alex at mindlube.com Fri Jan 30 12:35:00 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 30 Jan 2004 10:35:00 -0700 Subject: [OT] browser plugin patents - warning! In-Reply-To: References: Message-ID: Just in: SEATTLE (Reuters) - Microsoft Corp. MSFT.O said on Thursday that the U.S. Patent and Trademark Office may come to its rescue and cancel a patent that could force the world's biggest software company to rejig its most popular product. Microsoft, of Redmond, Washington, said it was suspending plans to make changes to its Windows operating system and Internet Explorer Web browser, sparing users headaches caused by tweaking how mini-applications run on its software. ... -- Alex Rice | Mindlube Software | http://mindlube.com From psahores at easynet.fr Fri Jan 30 12:36:49 2004 From: psahores at easynet.fr (Pierre Sahores) Date: 30 Jan 2004 18:36:49 +0100 Subject: Socket Time Out Interval In-Reply-To: <805C8815-533D-11D8-9E6E-000A95E25A92@linkitonline.com> References: <805C8815-533D-11D8-9E6E-000A95E25A92@linkitonline.com> Message-ID: <1075484208.5225.50.camel@www.kmax.ici> Le ven 30/01/2004 ? 17:01, Ray Horsley a ?crit : > Hi Pierre, > > > That did the trick! > > Thanks again, > > > Ray Horsley > Developer, LinkIt! Software Good Evening Ray, Have fun and, please, believe me : even if the MC/Rev engine is mostly undocumentend in about its ability to be used to develop profesional-grade n-tier applications or server-side applications servers, it's really one of the two or three best tools availables, today (and since years - MC 2.32 and up), to share datas over TCP/IP. Since i use it in such kind of networked workflow apps, i never had to go back to others platforms such as Weblogic, WebSphere or WebObjects. The best from the java world (Eclipse, JBoss, Tomcat, the J2EE EJB's design patterns, Andromda or Hibernate,...) are great tools too but, the java engines, by them self, ar'nt... If you are searching about what ACID RDBMS to bind to your MC/Rev apps, try PostgreSQL (best suited under *NIXes, including MacOSX, than under Windows. It rooks in all the tasks we can have to manage. Last but no last, the MC/Rev engine is NOT SUITABLE in about critical cgi tasks. Choose PHP, Perl or Python instead, even to bind all kind of MC/Rev applications servers to Apache trough a simple sockets listener/ports translator. Hope this helps, -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From pixelbird at interisland.net Fri Jan 30 13:14:47 2004 From: pixelbird at interisland.net (Ken Norris) Date: Fri, 30 Jan 2004 10:14:47 -0800 Subject: [OT] PC-ing A Mac In-Reply-To: <20040130003737.46E629301A6@mail.runrev.com> Message-ID: on 1/29/04 4:37 PM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > Date: Thu, 29 Jan 2004 15:10:47 -0800 > From: Scott Rossi > Subject: [OT] PC-ing A Mac > > A painfully amusing read: > > http://www.overclockers.com/tips1133/index.asp > > At least the leftover parts might be used for something. ----------- I bet the kid is dealling with 1000 emails/day asking him to send them the motherboard!! Ken N. From themacguy at macosx.com Fri Jan 30 13:32:24 2004 From: themacguy at macosx.com (Barry Levine) Date: Fri, 30 Jan 2004 11:32:24 -0700 Subject: displaying messages returned from "shell" Message-ID: I'm using the "shell" function to call some routines; creating a disk image is a good example. There is some verbose data returned which, if you use "answer shell(etc., etc.)" provides a dialog with -all- of the responses from the shell at one time. Is there a way to provide this feedback to the user as the individual responses occur? It's not a critical item but it would smooth out the user interface a bit. I'm thinking of, perhaps, a progress bar with some text so the user knows what's going on. Thanks, Barry From dsc at swcp.com Fri Jan 30 14:42:20 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 30 Jan 2004 12:42:20 -0700 Subject: displaying messages returned from "shell" In-Reply-To: Message-ID: <6B40C846-535C-11D8-94AE-000A9567A3E6@swcp.com> On Friday, January 30, 2004, at 11:32 AM, Barry Levine wrote: > I'm using the "shell" function to call some routines; creating a disk > image is a good example. There is some verbose data returned which, if > you use "answer shell(etc., etc.)" provides a dialog with -all- of the > responses from the shell at one time. > > Is there a way to provide this feedback to the user as the individual > responses occur? It's not a critical item but it would smooth out the > user interface a bit. I'm thinking of, perhaps, a progress bar with > some text so the user knows what's going on. The "right" way is with 'open process'. The last I looked 'open process' does not work at all on OS X. I tried shell() to a named pipe, but have had no success, but that is probably my ignorance. I have tried using shell() to spin off a process, but I have not figured out how to do that. (I mention these, because someone might know how to get around those.) I have run processes from an external, but I have always waited for them to quit. I think there is probably a way to do this with an external. Dar Scott From wouter.abraham at pi.be Fri Jan 30 14:52:03 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 30 Jan 2004 20:52:03 +0100 Subject: [OT] PC-ing A Mac In-Reply-To: <20040130021239.242F29301BB@mail.runrev.com> References: <20040130021239.242F29301BB@mail.runrev.com> Message-ID: On 30 Jan 2004, at 03:12, use-revolution-request at lists.runrev.com wrote: > Message: 4 > Date: Thu, 29 Jan 2004 16:51:26 -0800 > From: Mark Brownell > Subject: Re: [OT] PC-ing A Mac > To: How to use Revolution > Message-ID: <6EE39876-52BE-11D8-9AD2-000A95859272 at earthlink.net> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > It's hard to take this seriously. It has to be a joke. snip Read the follow up : http://www.overclockers.com/tips1133/ :^)) Greetings, W From gizmotron at earthlink.net Fri Jan 30 15:08:53 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri, 30 Jan 2004 12:08:53 -0800 Subject: [OT] PC-ing A Mac In-Reply-To: Message-ID: <20A843E2-5360-11D8-86B3-000A95859272@earthlink.net> On Friday, January 30, 2004, at 11:52 AM, Wouter wrote: > On 30 Jan 2004, at 03:12, use-revolution-request at lists.runrev.com > wrote: >> It's hard to take this seriously. It has to be a joke. > snip > Read the follow up : > http://www.overclockers.com/tips1133/ > :^)) > Greetings, > W So If I take the guts of a G5 and put them into a new Dell box and then post a "hoax-site" spoof on a fan-zine website will it cause thousands of hits for my new product roll-out? This spoofing has its drawbacks or negative side to it but look at the traffic caused in just a few days. mb From gbojsza at mac.com Fri Jan 30 15:45:27 2004 From: gbojsza at mac.com (Bojsza) Date: Fri, 30 Jan 2004 14:45:27 -0600 Subject: Error Trapping for Linux Process Message-ID: <3BFC7E2A-5365-11D8-B4C5-003065F00EF2@mac.com> I am reading from a process that can be user terminated or will automatically terminate once complete. In the latter I need to be able to trap the Error Revolution generates when it suddenly can no longer read from this process. The example is where it continually reads 5 lines, puts them in a field and sends a update message to itself to read the next 5 lines. If it has read the last 3 lines and suddenly the process terminates, I want to put the last three lines in the field but know that the process has terminated and give the user a message. Hope this makes sense. thanks, Glen From scott at tactilemedia.com Fri Jan 30 15:54:05 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 30 Jan 2004 12:54:05 -0800 Subject: [OT] PC-ing A Mac In-Reply-To: <20A843E2-5360-11D8-86B3-000A95859272@earthlink.net> Message-ID: On 1/30/04 12:08 PM, "Mark Brownell" wrote: >>> It's hard to take this seriously. It has to be a joke. >> snip >> Read the follow up : >> http://www.overclockers.com/tips1133/ >> :^)) >> Greetings, >> W > > So If I take the guts of a G5 and put them into a new Dell box and then > post a "hoax-site" spoof on a fan-zine website will it cause thousands > of hits for my new product roll-out? Only from over-zealous, over-emotional Mac users. [sigh] Makes it almost embarrassing to be a Mac user. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From frank at backtalk.com Fri Jan 30 16:04:33 2004 From: frank at backtalk.com (Frank Leahy) Date: Fri, 30 Jan 2004 21:04:33 +0000 Subject: Threads? [was] Re: displaying messages returned from "shell" and Re: Socket Time Out Interval In-Reply-To: <20040130205454.CF7A2930139@mail.runrev.com> Message-ID: On Friday, January 30, 2004, at 08:54 PM, use-revolution-request at lists.runrev.com wrote: > > The "right" way is with 'open process'. The last I looked 'open > process' does not work at all on OS X. I tried shell() to a named > pipe, but have had no success, but that is probably my ignorance. I > have tried using shell() to spin off a process, but I have not figured > out how to do that. (I mention these, because someone might know how > to get around those.) > > I have run processes from an external, but I have always waited for > them to quit. I think there is probably a way to do this with an > external. > > Dar Scott > Between these two email threads lie a common question/issue -- threads. Why are there no lightweight threads available in RunRev? It seems as though there's a threading model somewhere underneath. I wonder why it hasn't been made explicit, or whether there are any plans to do so. In this particular case, Dar could fire off a thread that called shell(), and it could sit there waiting on a return without affecting the rest of the app. -- Frank From frank at backtalk.com Fri Jan 30 16:13:17 2004 From: frank at backtalk.com (Frank Leahy) Date: Fri, 30 Jan 2004 21:13:17 +0000 Subject: Kudos to RunRev Message-ID: <1FBDC152-5369-11D8-A8C6-000A9580FCCE@backtalk.com> I have been working on a photo album product idea for the last month or so. The UI is now finished (album list with mini cover photos, photo albums with drag and drop to move images, full-size image window with scrolling or scale-to-window, multiple thumbnail and image re-sizing options, ftp to server, etc., etc.). I'm working on the preferences now, and it's the easiest preferences I've ever done (it would be an absolute nightmare doing the same thing using the Mac Toolbox Dialog Manager). Bottomline, I can't remember the last time I was this productive programming-wise. So, in amongst all the questions and problems that arise on this list, I thought the RunRev team might want to know what a great product they've got. Keep up the good work. Thanks, -- Frank Leahy Weblog http://cornwall.backtalk.com/ From scott at tactilemedia.com Fri Jan 30 16:22:27 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 30 Jan 2004 13:22:27 -0800 Subject: Threads? [was] Re: displaying messages returned from "shell" and Re: Socket Time Out Interval In-Reply-To: Message-ID: On 1/30/04 1:04 PM, "Frank Leahy" wrote: > Between these two email threads lie a common question/issue -- threads. > Why are there no lightweight threads available in RunRev? It seems as > though there's a threading model somewhere underneath. I wonder why it > hasn't been made explicit, or whether there are any plans to do so. There are already at least two lightweight threading system present in Rev: the "send in..." and "wait xx with messages" commands. These commands allow you have multiple scripts running simultaneously, all under their own control. On one project I ran around 40 simultaneous animation scripts on Mac systems without issue (the Windows version was bit problematic) but lots of folks on the list are doing this type of thing. Of course, you'll get some slowdown if you do heavy media actions like moving image objects, changing blendLevels, loading and unloading media into players. But overall, using "send in" and "wait with messages" constructs allow the equivalent of threaded events. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From alex at mindlube.com Fri Jan 30 16:32:43 2004 From: alex at mindlube.com (Alex Rice) Date: Fri, 30 Jan 2004 14:32:43 -0700 Subject: Threads? [was] Re: displaying messages returned from "shell" and Re: Socket Time Out Interval In-Reply-To: References: Message-ID: On Jan 30, 2004, at 2:22 PM, Scott Rossi wrote: > But overall, using "send in" and "wait with messages" constructs > allow the equivalent of threaded events. It's good for things that are coded in transcript, but it does not work if you are dealing with blocking IO, shell scripts, system calls, etc. - things that need to wait, but are not coded in transcript. -- Alex Rice | Mindlube Software | http://mindlube.com From doug at webcrossing.com Fri Jan 30 17:59:34 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 31 Jan 2004 07:59:34 +0900 Subject: web cam capture In-Reply-To: <272BA518-533A-11D8-BBFE-000A95DA60FA@adelphia.net> Message-ID: Thanks, Tom. I'll try some more. My initial tests failed, but I'll keep at it. By the by, Apple does say that iSight is meant to be accessed by other apps. That is their excuse for not bundling iChat with it, which so many Jaguar users complain about. doug On 1/31/04 12:37 AM, "Thomas McGrath III" <3mcgrath at adelphia.net> wrote: > doug, > > The video capabilities were camera independent so "IF" the camera can > be accessed by 'other' programs it probably can be accessed by REV. In > the case of iSight which apple says is not meant to be accessed by > other apps, REV can see it just fine AND control all kinds of features > in it that can't even be controlled by apples own apps. > > So if the driver for the camera is 'standard' enough to work in say > "oculus" or some other web app then REV can definitely handle it. > > I had great results after playing around with it a little bit. > > tom > > On Jan 30, 2004, at 6:12 AM, Doug Lerner wrote: > >> Just some general questions to the group - I notice that Revolution has >> video camera capturing features. It seems that this would be hard to >> implement across platforms, different camera models and different >> interfaces >> (USB and Firewire - like iSight). >> >> How do people find the robustness and cross-platform/cross-product >> usability >> of the video capture features? >> >> Does this work as well with webcams as with video cameras? >> >> Thanks, >> >> >> doug >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Fri Jan 30 18:05:02 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 30 Jan 2004 16:05:02 -0700 Subject: Threads? [was] Re: displaying messages returned from "shell" and Re: Socket Time Out Interval In-Reply-To: Message-ID: On Friday, January 30, 2004, at 02:32 PM, Alex Rice wrote: > On Jan 30, 2004, at 2:22 PM, Scott Rossi wrote: >> But overall, using "send in" and "wait with messages" constructs >> allow the equivalent of threaded events. > > It's good for things that are coded in transcript, but it does not > work if you are dealing with blocking IO, shell scripts, system calls, > etc. - things that need to wait, but are not coded in transcript. Yes. For example, opening the internal modem on OX X locks for 3 seconds. I believe this even occurs on a non-blocking open for some reason. I might be doing something wrong. If so, I seem to be in good company. However, I think it reasonable to keep Revolution to an event model. (Though I might be convinced otherwise.) Threads might be pushed beyond these two barriers: Enhanced 'open process' to command-line Revolution might be a way to do this. This is begging the question in Barry's case, because that is where the weakness lies. But, with this, many doors will be opened. (By "enhanced" I mean empty buffer vs closed pipe issues are resolved and 'open process' separates input and output pipes for Transcript handling.) The other place is in threads created by and managed by externals (and typically written in C). I have put that off in my projects, and want to resolve some things first, but this might end up being a way to go. Dar Scott From DouglasMackay at blueyonder.co.uk Fri Jan 30 19:11:42 2004 From: DouglasMackay at blueyonder.co.uk (Douglas Mackay) Date: Sat, 31 Jan 2004 00:11:42 -0000 Subject: age calculator Message-ID: <002201c3e78e$ce2bdfe0$8ebc2952@PATRIOT> Hello all , i am struggling to understand the scipts in this program . the prorame was downloaded from http://www.runrev.com/revolution/developers/developerdownloads/usercontributions.html the things I dont understand are : It wont calculate my age from thease two inputs : date of birth 8/2/1961 , assesment date 30/1/2004 and how do parameters work , where does param(1) and param(2) come from if centurycutoff is set to 35 why does it work for dates from 1970 onwards only I am using version RR 1.1.1. (it was a freebie on a magazine) full version aparently oh and one more question please why have a correction and add it to item 3 of enddate? many thanks from a novice Douglas From 3mcgrath at adelphia.net Fri Jan 30 19:59:52 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 30 Jan 2004 19:59:52 -0500 Subject: web cam capture In-Reply-To: References: Message-ID: Doug, Apple said the iSight would not work with iPhoto or iMovie and was not meant to do such. Also iChat will not let you access the built-in controls found in iSight. REV let me control everything. I mean everything. The focus on the iSight is way cool. Other features are great as well. But pay close attention to opening the videograb session and 'closing' the session. I forgot and caused a bit of weird stuff. I tried it on my own first and then went and checked out the sample stack provided and it all came into place. TOm On Jan 30, 2004, at 5:59 PM, Doug Lerner wrote: > Thanks, Tom. I'll try some more. My initial tests failed, but I'll > keep at > it. > > By the by, Apple does say that iSight is meant to be accessed by other > apps. > That is their excuse for not bundling iChat with it, which so many > Jaguar > users complain about. > > doug > > On 1/31/04 12:37 AM, "Thomas McGrath III" <3mcgrath at adelphia.net> > wrote: > >> doug, >> >> The video capabilities were camera independent so "IF" the camera can >> be accessed by 'other' programs it probably can be accessed by REV. In >> the case of iSight which apple says is not meant to be accessed by >> other apps, REV can see it just fine AND control all kinds of features >> in it that can't even be controlled by apples own apps. >> >> So if the driver for the camera is 'standard' enough to work in say >> "oculus" or some other web app then REV can definitely handle it. >> >> I had great results after playing around with it a little bit. >> >> tom >> >> On Jan 30, 2004, at 6:12 AM, Doug Lerner wrote: >> >>> Just some general questions to the group - I notice that Revolution >>> has >>> video camera capturing features. It seems that this would be hard to >>> implement across platforms, different camera models and different >>> interfaces >>> (USB and Firewire - like iSight). >>> >>> How do people find the robustness and cross-platform/cross-product >>> usability >>> of the video capture features? >>> >>> Does this work as well with webcams as with video cameras? >>> >>> Thanks, >>> >>> >>> doug >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> Thomas J. McGrath III >> SCS >> 1000 Killarney Dr. >> Pittsburgh, PA 15234 >> 412-885-8541 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From doug at webcrossing.com Fri Jan 30 20:07:57 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 31 Jan 2004 10:07:57 +0900 Subject: web cam capture In-Reply-To: Message-ID: Hi, Tom. I'll look at the sample stack. Thanks, doug On 1/31/04 9:59 AM, "Thomas McGrath III" <3mcgrath at adelphia.net> wrote: > Doug, > > Apple said the iSight would not work with iPhoto or iMovie and was not > meant to do such. Also iChat will not let you access the built-in > controls found in iSight. REV let me control everything. I mean > everything. The focus on the iSight is way cool. Other features are > great as well. > > But pay close attention to opening the videograb session and 'closing' > the session. I forgot and caused a bit of weird stuff. > > I tried it on my own first and then went and checked out the sample > stack provided and it all came into place. > > TOm > > On Jan 30, 2004, at 5:59 PM, Doug Lerner wrote: > >> Thanks, Tom. I'll try some more. My initial tests failed, but I'll >> keep at >> it. >> >> By the by, Apple does say that iSight is meant to be accessed by other >> apps. >> That is their excuse for not bundling iChat with it, which so many >> Jaguar >> users complain about. >> >> doug >> >> On 1/31/04 12:37 AM, "Thomas McGrath III" <3mcgrath at adelphia.net> >> wrote: >> >>> doug, >>> >>> The video capabilities were camera independent so "IF" the camera can >>> be accessed by 'other' programs it probably can be accessed by REV. In >>> the case of iSight which apple says is not meant to be accessed by >>> other apps, REV can see it just fine AND control all kinds of features >>> in it that can't even be controlled by apples own apps. >>> >>> So if the driver for the camera is 'standard' enough to work in say >>> "oculus" or some other web app then REV can definitely handle it. >>> >>> I had great results after playing around with it a little bit. >>> >>> tom >>> >>> On Jan 30, 2004, at 6:12 AM, Doug Lerner wrote: >>> >>>> Just some general questions to the group - I notice that Revolution >>>> has >>>> video camera capturing features. It seems that this would be hard to >>>> implement across platforms, different camera models and different >>>> interfaces >>>> (USB and Firewire - like iSight). >>>> >>>> How do people find the robustness and cross-platform/cross-product >>>> usability >>>> of the video capture features? >>>> >>>> Does this work as well with webcams as with video cameras? >>>> >>>> Thanks, >>>> >>>> >>>> doug >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> >>> Thomas J. McGrath III >>> SCS >>> 1000 Killarney Dr. >>> Pittsburgh, PA 15234 >>> 412-885-8541 >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Fri Jan 30 20:15:15 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 30 Jan 2004 20:15:15 -0500 Subject: iconic Message-ID: Can anyone explain to me why set the iconic of this stack to true does not send it to the dock like the docs say it will? I have all decorations off for the stack. I need them off for space reasons. But I still want to minimize my window. The docs don't mention a relationship for iconic with decorations???? Thank you Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From kray at sonsothunder.com Fri Jan 30 20:07:48 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 30 Jan 2004 19:07:48 -0600 Subject: Windowscript In-Reply-To: <40197D7C.3030308@pacbell.net> Message-ID: <045d01c3e796$a820ac10$6601a8c0@LightningFlash> If you want to know more about Tom and what he's been up to, you can go to: http://www.sbuniv.edu/~tpittman/IttyBitty/Pittman.html Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Ray G. Miller > Sent: Thursday, January 29, 2004 3:39 PM > To: use-revolution at lists.runrev.com > Subject: Re: Windowscript > > > From: Rob Cozens > > >>Tom is out the loop. He's realy bitter about Apple and HC. He even > >>offered CompileIt! to the hyperCard team but they snubbed him.The > >>last time I talked with him, he said that he was finished with all > >>xTalks. > > > > > > My recollection from AHUG gossip was when Tom went to write a PPC > version of CompileIt!, he asked > > Apple for specific information he need and/or guarantees that the > internal PPC architecture would not > > change, and whatever he needed was not given to him. > > > Yep, your memory recall is better than mine. That was the > trigger. Too bad. > > > Ray G. Miller > __________________ > Turtlelips Productions > 4009 Everett Ave. > Oakland, CA 94602 > MailTo:rgmiller at pacbell.net > (V) 510.530.1971 > (F) 510.482.3491 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From rpresender at earthlink.net Fri Jan 30 20:23:28 2004 From: rpresender at earthlink.net (Robert Presender) Date: Fri, 30 Jan 2004 17:23:28 -0800 Subject: List field behavior Message-ID: <12CAC2BB-538C-11D8-941C-000393A19046@earthlink.net> I must be doing something wrong. Help will be appreciated. Using OS 10.2.8 and 2.1RC1 I have a list field with three lines in a test stack. When line 2 is deleted (via msg box), line 2 is deleted but line 3 does not move into line 2's place. The number of lines still shows 3. In SuperCard, Line 3 moves to line 2's position and the number of lines is 2. If I add a line(via the msg box), the added line goes into the deleted line 2 position. Is this normal behavior? TIA Regards ... Bob From 3mcgrath at adelphia.net Fri Jan 30 22:06:42 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 30 Jan 2004 22:06:42 -0500 Subject: iconic Message-ID: <7F17EB26-539A-11D8-A512-000A95DA60FA@adelphia.net> I am having a real problem with the iconic property. The docs say that you can set the iconic of a stack to true to minimize it BUT with my stack which has the decorations off it not only does not do anything but it also stops all of my buttons from executing. The buttons highlight normally but clicking them does not do anything. I set the iconic to false but nothing is changed. The docs do not mention anything about the decorations for use with iconic. Does anyone have any ideas on the true behavior of iconic? Thanks Tom Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III ? 2003 ? 3mcgrath at adelphia.net 220 Drake Road, Bethel Park, PA 15102 From 3mcgrath at adelphia.net Fri Jan 30 22:08:18 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 30 Jan 2004 22:08:18 -0500 Subject: iconic crash boom bam Message-ID: I created a new stack with decorations set to empty and the rect of the window set to the screen size. I put a button on my no decorations stack to iconic it. It seems (no docs to support it) that the iconic will not work with out the decorations set. BUT when I temporarily set the decorations and try, IT CRASHES badda bing. --in button on mouseUp lock screen set the decorations of this stack to "Title,minimize" set the iconic of this stack to true unlock screen end mouseUp --in stack on unIconifyStack set the decorations of this stack to empty end unIconifyStack That's it... This crashes revolution every time I try it. What is causing the crash? Tom Below is part of the crash report because the whole report is too big for Userev. Date/Time: 2004-01-30 21:46:52 -0500 OS Version: 10.3.2 (Build 7D24) Report Version: 2 Command: Revolution Path: /Applications/Revolution 2.1.2/Revolution.app/Contents/MacOS/Revolution Version: 2.1.2 (2.1.2) PID: 1359 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x642031a0 Thread 0 Crashed: 0 com.apple.HIToolbox 0x92830f24 HIObject::IsAccessibilityIgnored() + 0 1 com.apple.HIToolbox 0x927da850 WindowData::BaseHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 0x5b4 2 com.apple.HIToolbox 0x927d2384 DispatchEventToHandlers + 0x150 3 com.apple.HIToolbox 0x927d25f8 SendEventToEventTargetInternal + 0x174 4 com.apple.HIToolbox 0x9282909c CallNextEventHandler + 0x3c 5 ??? 0x000e1dd0 WinEvtHndlr__FP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 0x194 6 com.apple.HIToolbox 0x927d2384 DispatchEventToHandlers + 0x150 7 com.apple.HIToolbox 0x927d25f8 SendEventToEventTargetInternal + 0x174 8 com.apple.HIToolbox 0x927d6a60 SendEventToEventTargetWithOptions + 0x28 9 com.apple.HIToolbox 0x9282bce0 SendSimpleWindowEvent + 0x60 10 com.apple.HIToolbox 0x929aa470 CollapseWindowInternal(OpaqueWindowPtr*, unsigned char, unsigned char) + 0x244 11 com.apple.HIToolbox 0x9285d120 SelectWindowInGroup(WindowData*, WindowContext*, OpaqueWindowGroupRef*) + 0x98 12 com.apple.HIToolbox 0x92883320 SelectWindow + 0x28 13 com.apple.HIToolbox 0x92965970 RestoreWindowFromDock + 0x5c 14 com.apple.HIToolbox 0x92800dbc HandleWindowEvent + 0xd64 15 com.apple.HIToolbox 0x9281bccc BasicWindowHandler + 0x340 16 com.apple.HIToolbox 0x927d2384 DispatchEventToHandlers + 0x150 17 com.apple.HIToolbox 0x927d25f8 SendEventToEventTargetInternal + 0x174 18 com.apple.HIToolbox 0x927d6a60 SendEventToEventTargetWithOptions + 0x28 19 com.apple.HIToolbox 0x929a6bb4 SelectWindowFromDock(WindowData*) + 0x80 20 com.apple.HIToolbox 0x92847f24 DockCallback(unsigned long, void*, void*, void*) + 0x158 21 com.apple.HIServices 0x92d489d8 _DCXSelectWindow + 0x38 22 com.apple.HIServices 0x92d48988 _XSelectWindow + 0x50 23 com.apple.HIServices 0x92d43938 DockClientDefs_server + 0xa8 24 com.apple.HIServices 0x92d43828 dockClientMachCallback + 0x18 25 com.apple.CoreFoundation 0x901ad4d0 __CFMachPortPerform + 0xe0 26 com.apple.CoreFoundation 0x901a9c54 __CFRunLoopDoSource1 + 0xc8 27 com.apple.CoreFoundation 0x90191b20 __CFRunLoopRun + 0x540 28 com.apple.CoreFoundation 0x901960bc CFRunLoopRunSpecific + 0x148 29 com.apple.HIToolbox 0x927d632c RunCurrentEventLoopInMode + 0xac 30 com.apple.HIToolbox 0x927d9408 GetNextEventMatchingMask + 0x1a0 31 com.apple.HIToolbox 0x927ecebc WNEInternal + 0xa0 32 com.apple.HIToolbox 0x927fdb90 WaitNextEvent + 0x4c 33 ??? 0x000d8d90 handle__10MCScreenDCdUcUcRUcn1 + 0x2ac 34 ??? 0x000d6a28 wait__10MCScreenDCdUcUc + 0x104 35 ??? 0x00097628 X_main_loop + 0x118 36 ??? 0x000f0ea0 main + 0x2c 37 ??? 0x00003fbc _start + 0x17c 38 ??? 0x00003e3c start + 0x30 From erikhans08 at yahoo.com Sat Jan 31 00:29:46 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Fri, 30 Jan 2004 21:29:46 -0800 (PST) Subject: a good PC analog to iMovie for RunRev? In-Reply-To: Message-ID: <20040131052946.53076.qmail@web61101.mail.yahoo.com> is there a good PC analog to iMovie for RunRev?. thanks, Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From jacque at hyperactivesw.com Sat Jan 31 00:58:22 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 30 Jan 2004 23:58:22 -0600 Subject: Suppressing a message? In-Reply-To: References: Message-ID: <401B43FE.7020502@hyperactivesw.com> On 1/30/04 7:59 AM, Doug Lerner wrote: > 4. the "unlock messages" took place essentially instantly after the graphic > was deleted, but before the deleteGraphic message was sent (since it is a > separate message that is sent when the graphic is actually removed from the > stack). This may be where you go off base. All the "deleteSomething" messages are sent immediately *before* the object is deleted. It notifies you that a deletion is about to occur. > The lock messages locks all the messages *associated with* the deletion of > the graphic, even if there are dozens of revXXXX messages sent out after the > graphic is deleted? > > That is what I wanted to clarify. Locking messages stops all of them until messages are unlocked again, or until the handler ends. Messages always resume on idle. The rev-related messages aren't sent during your handlers anyway (well, not most of the time, there could be rare exceptions.) When you lock messages in a handler, the lock is only effective within that one handler. If your handler calls other handlers, then the lock on messages will remain effective until the original calling handler ends, or until either of the handlers unlocks it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From doug at webcrossing.com Sat Jan 31 01:03:38 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 31 Jan 2004 15:03:38 +0900 Subject: avoiding weird effects when moving the video grabber window Message-ID: When the video grabber window first appears it is in the upper left corner and then jumps into my step because I have set its rectangle in the openStack handler. Similarly, when I move the stack "containing" the video grabber, first the stack moves and then the video grabber comes after it. Any way of avoiding these two odd effects? Thanks, doug From doug at webcrossing.com Sat Jan 31 01:49:40 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 31 Jan 2004 15:49:40 +0900 Subject: Question about the revVideoGrabIdle loop Message-ID: If you have the following in a handler: repeat while recordvideo is true revVideoGrabIdle wait for 1 millisecond with messages end repeat then the handler never finishes, right? I have this in my openStack handler. It seems to work ok, but is it ok to never actually finish the openStack handler? doug From yvescoppe at skynet.be Sat Jan 31 01:57:31 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 31 Jan 2004 07:57:31 +0100 Subject: Movie question Message-ID: Hi list, On Mac OS X 10.3.2 with rev 2.1.2 I have Qt file this Qt file can be acessed by a filepath which is in a variable : filepathTomovie I'd like to take off from this QT file the first picture to display in an image control Is it possible ?? thank you. Greetings. Yves COPPE yvescoppe at skynet.be From chipp at chipp.com Sat Jan 31 02:28:38 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 31 Jan 2004 01:28:38 -0600 Subject: Opening a Rev app from a browser? In-Reply-To: References: Message-ID: <1634952F-53BF-11D8-A63C-000A95F078B6@chipp.com> Hi Thomas, Nope, it's all done with Registry settings...that's why it is only XP (I'm pretty sure it works with any Windows OS). I don't know how/why/if to set the MIME types and FILETYPES on the Mac. On the PC, I end up editing Registry keys for both ButtonGadget and Internet Explorer. best, Chipp On Jan 30, 2004, at 9:12 AM, Thomas McGrath III wrote: > Chipp, > > Does this use an external .dll file? Is that why it is only XP? > > Tom > > On Jan 30, 2004, at 1:11 AM, Chipp Walters wrote: > >> Doug, >> >> Check out www.buttongadget.com and download the free trial. Then go >> to the >> buttonsets web page and click on any picture of a button. By just >> clicking >> on the picture, your browser will download a special stack file and >> launch >> buttongadget and load the stack file into it. >> >> Is that what you're looking for? If it is, I think I posted >> previously the >> code to do this (only XP for now -- don't know how to do this on Mac) >> >> -Chipp >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Sat Jan 31 02:35:19 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 31 Jan 2004 01:35:19 -0600 Subject: tips on refreshing images in fields? In-Reply-To: <46EBC8E6-5320-11D8-8BF7-003065F97100@infiny.co.nz> References: <46EBC8E6-5320-11D8-8BF7-003065F97100@infiny.co.nz> Message-ID: <052C53DE-53C0-11D8-A63C-000A95F078B6@chipp.com> on refreshImage pImgName if the filename of img pImgName is not empty then put the filename of img pImgName into t set the filename of img pImgName to empty set the filename of img pImgName to t end if end refreshImage or do the same with imagedata.... On Jan 30, 2004, at 6:31 AM, rodney tamblyn wrote: > If you've set an image in a field (using imagesource) are there any > tips on ways to make the images refresh and display properly when the > field is scrolled up and down (I tend to find after scrolling that the > images do not display correctly until the screen is redrawn by force, > eg change tool, lock screen etc) > > R. > -- > Rodney Tamblyn > 44 Melville Street > Dunedin > New Zealand > +64 3 4778606 > http://rodney.weblogs.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Sat Jan 31 02:38:03 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 31 Jan 2004 01:38:03 -0600 Subject: Minimize In-Reply-To: References: Message-ID: <66D34B81-53C0-11D8-A63C-000A95F078B6@chipp.com> Thomas, Certainly you can. You just need to check the iconify message and change the decorations when it gets minimized. Then on uniconify, you set 'em back to empty. I've done this with success on projects. best, Chipp On Jan 30, 2004, at 9:27 AM, Thomas McGrath III wrote: > Hello, > > Does anyone know if I can put a Minimize button in my "special" window > stack. The stack has decorations set to empty and has no window border > at all. I do not want to use the standard window decorations. > > The problem is that windows people are telling me that the stack does > not show up in the task bar. "alt" & "tab" do not work on windows with > this stack. "command" & "tab" work fine on the mac and the stack shows > up in the dock. > > > reason: I could not find an exceptable cross-platform window size > solution on 800x600 screens that handled my image sizes. I could not > change the image sizes so I needed the window to be exact. But if the > window size was the right size on macintosh it would be off on windows > and vice versa. There would be either a cut off section or the window > would not cover the screen completely. This window size was discussed > heavily on this list before and I did not see a good enough solution. > > So I would like to hide/minimize the window on mac and windows. > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Sat Jan 31 02:49:58 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 31 Jan 2004 01:49:58 -0600 Subject: Error Trapping for Linux Process In-Reply-To: <3BFC7E2A-5365-11D8-B4C5-003065F00EF2@mac.com> References: <3BFC7E2A-5365-11D8-B4C5-003065F00EF2@mac.com> Message-ID: <1165E47A-53C2-11D8-A63C-000A95F078B6@chipp.com> Glen, I'm not sure I understand the problem. Can you be more specified? I would expect if the handler could not get 5 lines, it would know this and would count the lines and assume the process has quit if less than 5, no? Then it would cancel any pending messages (requests). -Chipp On Jan 30, 2004, at 2:45 PM, Bojsza wrote: > I am reading from a process that can be user terminated or will > automatically terminate once complete. > > In the latter I need to be able to trap the Error Revolution generates > when it suddenly can no longer read from this process. > > The example is where it continually reads 5 lines, puts them in a > field and sends a update message to itself to read the next 5 lines. > If it has read the last 3 lines and suddenly the process terminates, I > want to put the last three lines in the field but know that the > process has terminated and give the user a message. > > Hope this makes sense. > > thanks, > > Glen > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Sat Jan 31 02:57:35 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 31 Jan 2004 01:57:35 -0600 Subject: wait with messages... Message-ID: <21943DEB-53C3-11D8-A63C-000A95F078B6@chipp.com> Scott, (and anyone else who) I use send "fred" to this cd in 30 milliseconds all the time, but I'm really not sure what wait with messages and wait for messages do The docs don't explain it very clearly...at least not to me:-( Does it: wait until any message whatsoever fires and then continue? Which means the RR IDE would fire it as it's sending messages all over the place. Can you provide an example where you would use one and not the other or not 'send'? tia, Chipp From chipp at chipp.com Sat Jan 31 03:12:03 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 31 Jan 2004 02:12:03 -0600 Subject: iconic crash boom bam In-Reply-To: References: Message-ID: <271BCAC2-53C5-11D8-A63C-000A95F078B6@chipp.com> Thomas, I'm on my Mac right now, so I can't check it out. But I remember similar problems. I seem to recall the fix is in setting the decorations to default, then iconifying. Also, check out the resumeStack message as well. Another thing you might try is using the "send" command. For instance if I ran the debugger on your code below, and saw it was blowing up at the line: set the iconic of this stack to true I might try: send "setIconic" to me in 1 second on setIconic set the iconic of this stack to true end setIconic If that worked then I ratchet it down to 30 milliseconds or so and try again. If you're still having problems, contact me off list and I'll try and be more specified. -Chipp On Jan 30, 2004, at 9:08 PM, Thomas McGrath III wrote: > I created a new stack with decorations set to empty and the rect of > the window set to the screen size. I put a button on my no decorations > stack to iconic it. > It seems (no docs to support it) that the iconic will not work with > out the decorations set. BUT when I temporarily set the decorations > and try, IT CRASHES badda bing. > > --in button > on mouseUp > lock screen > set the decorations of this stack to "Title,minimize" > set the iconic of this stack to true > unlock screen > end mouseUp > > --in stack > on unIconifyStack > set the decorations of this stack to empty > end unIconifyStack > > That's it... This crashes revolution every time I try it. > > What is causing the crash? > > Tom > Below is part of the crash report because the whole report is too big > for Userev. > > > > Date/Time: 2004-01-30 21:46:52 -0500 > OS Version: 10.3.2 (Build 7D24) > Report Version: 2 > > Command: Revolution > Path: /Applications/Revolution > 2.1.2/Revolution.app/Contents/MacOS/Revolution > Version: 2.1.2 (2.1.2) > PID: 1359 > Thread: 0 > > Exception: EXC_BAD_ACCESS (0x0001) > Codes: KERN_INVALID_ADDRESS (0x0001) at 0x642031a0 > > Thread 0 Crashed: > 0 com.apple.HIToolbox 0x92830f24 > HIObject::IsAccessibilityIgnored() + 0 > 1 com.apple.HIToolbox 0x927da850 > WindowData::BaseHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, > void*) + 0x5b4 > 2 com.apple.HIToolbox 0x927d2384 DispatchEventToHandlers + > 0x150 > 3 com.apple.HIToolbox 0x927d25f8 > SendEventToEventTargetInternal + 0x174 > 4 com.apple.HIToolbox 0x9282909c CallNextEventHandler + 0x3c > 5 ??? 0x000e1dd0 > WinEvtHndlr__FP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 0x194 > 6 com.apple.HIToolbox 0x927d2384 DispatchEventToHandlers + > 0x150 > 7 com.apple.HIToolbox 0x927d25f8 > SendEventToEventTargetInternal + 0x174 > 8 com.apple.HIToolbox 0x927d6a60 > SendEventToEventTargetWithOptions + 0x28 > 9 com.apple.HIToolbox 0x9282bce0 SendSimpleWindowEvent + 0x60 > 10 com.apple.HIToolbox 0x929aa470 > CollapseWindowInternal(OpaqueWindowPtr*, unsigned char, unsigned char) > + 0x244 > 11 com.apple.HIToolbox 0x9285d120 > SelectWindowInGroup(WindowData*, WindowContext*, > OpaqueWindowGroupRef*) + 0x98 > 12 com.apple.HIToolbox 0x92883320 SelectWindow + 0x28 > 13 com.apple.HIToolbox 0x92965970 RestoreWindowFromDock + 0x5c > 14 com.apple.HIToolbox 0x92800dbc HandleWindowEvent + 0xd64 > 15 com.apple.HIToolbox 0x9281bccc BasicWindowHandler + 0x340 > 16 com.apple.HIToolbox 0x927d2384 DispatchEventToHandlers + > 0x150 > 17 com.apple.HIToolbox 0x927d25f8 > SendEventToEventTargetInternal + 0x174 > 18 com.apple.HIToolbox 0x927d6a60 > SendEventToEventTargetWithOptions + 0x28 > 19 com.apple.HIToolbox 0x929a6bb4 > SelectWindowFromDock(WindowData*) + 0x80 > 20 com.apple.HIToolbox 0x92847f24 DockCallback(unsigned long, > void*, void*, void*) + 0x158 > 21 com.apple.HIServices 0x92d489d8 _DCXSelectWindow + 0x38 > 22 com.apple.HIServices 0x92d48988 _XSelectWindow + 0x50 > 23 com.apple.HIServices 0x92d43938 DockClientDefs_server + 0xa8 > 24 com.apple.HIServices 0x92d43828 dockClientMachCallback + 0x18 > 25 com.apple.CoreFoundation 0x901ad4d0 __CFMachPortPerform + 0xe0 > 26 com.apple.CoreFoundation 0x901a9c54 __CFRunLoopDoSource1 + 0xc8 > 27 com.apple.CoreFoundation 0x90191b20 __CFRunLoopRun + 0x540 > 28 com.apple.CoreFoundation 0x901960bc CFRunLoopRunSpecific + 0x148 > 29 com.apple.HIToolbox 0x927d632c RunCurrentEventLoopInMode + > 0xac > 30 com.apple.HIToolbox 0x927d9408 GetNextEventMatchingMask + > 0x1a0 > 31 com.apple.HIToolbox 0x927ecebc WNEInternal + 0xa0 > 32 com.apple.HIToolbox 0x927fdb90 WaitNextEvent + 0x4c > 33 ??? 0x000d8d90 > handle__10MCScreenDCdUcUcRUcn1 + 0x2ac > 34 ??? 0x000d6a28 wait__10MCScreenDCdUcUc + > 0x104 > 35 ??? 0x00097628 X_main_loop + 0x118 > 36 ??? 0x000f0ea0 main + 0x2c > 37 ??? 0x00003fbc _start + 0x17c > 38 ??? 0x00003e3c start + 0x30 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Sat Jan 31 03:25:15 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 31 Jan 2004 02:25:15 -0600 Subject: iconic crash boom bam In-Reply-To: <271BCAC2-53C5-11D8-A63C-000A95F078B6@chipp.com> References: <271BCAC2-53C5-11D8-A63C-000A95F078B6@chipp.com> Message-ID: Thomas, Sorry, I see you are on the Mac. This works for me on Mac OSX in the stack script: on unIconifyStack send unIconifyMe to this stack in 30 milliseconds end unIconifyStack on unIconifyMe set the decorations of this stack to empty end unIconifyMe in the 'minimize me' button script on mouseUp set the decorations of this stack to default set the iconic of this stack to true end mouseUp no crashes. the secret is the send command :-) From doug at webcrossing.com Sat Jan 31 03:38:54 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 31 Jan 2004 17:38:54 +0900 Subject: Some advice on video frame grabbing Message-ID: I have a question for you experts. I basically copied scripts from the sample video stack (where this works correctly), and most of it seems to be working in my stack. But when I try to grab a frame from the video grabber window it does not display in the target image after I use the "set imageData" command. Without boring you with all my code, this is the snippet that grabs the frame and sets the imageData: put empty into videoimagedata put the width of image "userPortrait" of stack portraitName into userImageWidth put the height of image "userPortrait" of stack portraitName into userImageHeight revVideoFrameImage userImageWidth, userImageHeight, "videoimagedata" set the imageData of image "userPortrait" of stack portraitName to videoimagedata Seems vanilla enough, right? The only thing I am doing different from the sample scripts is that my target image happens to be in another stack. All the stacks/windows are open and everything has the correct height and width set. If I log userImageWidth, userImageHeight and the captured videoimagedata, there are what seem to be correct values in all of them. Well, the height and width anyway seem correct. I can't visually confirm that the value of videoimagedata is correct, but it is the correct size - userImageWidth x userImageHeight x 4. If I "put image userPortrait" there is what appears to be PNG data in there. If I check the "number of characters of the imageData of image userPortrait" there is the correct 57,600 characters in there (the image is 120x120). And the paintCompression of image userPortrait is "png" in my stack and also in the sample stack. But: * No image is displayed (even though it is displayed in the video grabber window of course) * If I "put the imageData of image userPortrait" the value displayed looks empty in the message box - not even garbage characters. Any ideas? Thanks! doug From chipp at chipp.com Sat Jan 31 03:57:03 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 31 Jan 2004 02:57:03 -0600 Subject: Some advice on video frame grabbing In-Reply-To: References: Message-ID: <709806A2-53CB-11D8-B67E-000A95F078B6@chipp.com> Doug, I haven't used video frame grabbing, but I might suggest some things to look at: When you call: revVideoFrameImage userImageWidth, userImageHeight, "videoimagedata" you might want to include before it: set the defaultStack to "theStackWithTheVideo" (I assume it is not a palette, if it is, it might NOT work at all) Also, see if you can do it all on the same stack as a test (just like the example). If it does work, then you can isolate your frontmost stack issues from there. hope you get it working, Chipp On Jan 31, 2004, at 2:38 AM, Doug Lerner wrote: > I have a question for you experts. > > I basically copied scripts from the sample video stack (where this > works > correctly), and most of it seems to be working in my stack. But when I > try > to grab a frame from the video grabber window it does not display in > the > target image after I use the "set imageData" command. > > Without boring you with all my code, this is the snippet that grabs the > frame and sets the imageData: > > put empty into videoimagedata > > put the width of image "userPortrait" of stack portraitName into > userImageWidth > > put the height of image "userPortrait" of stack portraitName into > userImageHeight > > revVideoFrameImage userImageWidth, userImageHeight, "videoimagedata" > > set the imageData of image "userPortrait" of stack portraitName to > videoimagedata > > > Seems vanilla enough, right? The only thing I am doing different from > the > sample scripts is that my target image happens to be in another stack. > > All the stacks/windows are open and everything has the correct height > and > width set. > > If I log userImageWidth, userImageHeight and the captured > videoimagedata, > there are what seem to be correct values in all of them. Well, the > height > and width anyway seem correct. I can't visually confirm that the value > of > videoimagedata is correct, but it is the correct size - userImageWidth > x > userImageHeight x 4. > > If I "put image userPortrait" there is what appears to be PNG data in > there. > > If I check the "number of characters of the imageData of image > userPortrait" > there is the correct 57,600 characters in there (the image is 120x120). > > And the paintCompression of image userPortrait is "png" in my stack > and also > in the sample stack. > > But: > > * No image is displayed (even though it is displayed in the video > grabber > window of course) > > * If I "put the imageData of image userPortrait" the value displayed > looks > empty in the message box - not even garbage characters. > > Any ideas? > > Thanks! > > doug > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From doug at webcrossing.com Sat Jan 31 04:03:12 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 31 Jan 2004 18:03:12 +0900 Subject: Some advice on video frame grabbing In-Reply-To: <709806A2-53CB-11D8-B67E-000A95F078B6@chipp.com> Message-ID: On 1/31/04 5:57 PM, "Chipp Walters" wrote: > Doug, > > I haven't used video frame grabbing, but I might suggest some things to > look at: > > When you call: > revVideoFrameImage userImageWidth, userImageHeight, "videoimagedata" > > you might want to include before it: > > set the defaultStack to "theStackWithTheVideo" You mean the stack with the video grabber window in it? > > (I assume it is not a palette, if it is, it might NOT work at all) It's not a palette. > > Also, see if you can do it all on the same stack as a test (just like > the example). If it does work, then you can isolate your frontmost > stack issues from there. Well, as a test I can do that in the sample stack. It would be hard to do as a test in my current app now considering how complicated it has gotten. But weirdest of all - it worked one time! But I couldn't repeat it after that. Also, sometimes the revCloseVideoGrabber that I call when I close the video grabber window (in closeStack) does not seem to get sent and I need to invoke it manually. Thanks, doug > > hope you get it working, > Chipp > > > > On Jan 31, 2004, at 2:38 AM, Doug Lerner wrote: > >> I have a question for you experts. >> >> I basically copied scripts from the sample video stack (where this >> works >> correctly), and most of it seems to be working in my stack. But when I >> try >> to grab a frame from the video grabber window it does not display in >> the >> target image after I use the "set imageData" command. >> >> Without boring you with all my code, this is the snippet that grabs the >> frame and sets the imageData: >> >> put empty into videoimagedata >> >> put the width of image "userPortrait" of stack portraitName into >> userImageWidth >> >> put the height of image "userPortrait" of stack portraitName into >> userImageHeight >> >> revVideoFrameImage userImageWidth, userImageHeight, "videoimagedata" >> >> set the imageData of image "userPortrait" of stack portraitName to >> videoimagedata >> >> >> Seems vanilla enough, right? The only thing I am doing different from >> the >> sample scripts is that my target image happens to be in another stack. >> >> All the stacks/windows are open and everything has the correct height >> and >> width set. >> >> If I log userImageWidth, userImageHeight and the captured >> videoimagedata, >> there are what seem to be correct values in all of them. Well, the >> height >> and width anyway seem correct. I can't visually confirm that the value >> of >> videoimagedata is correct, but it is the correct size - userImageWidth >> x >> userImageHeight x 4. >> >> If I "put image userPortrait" there is what appears to be PNG data in >> there. >> >> If I check the "number of characters of the imageData of image >> userPortrait" >> there is the correct 57,600 characters in there (the image is 120x120). >> >> And the paintCompression of image userPortrait is "png" in my stack >> and also >> in the sample stack. >> >> But: >> >> * No image is displayed (even though it is displayed in the video >> grabber >> window of course) >> >> * If I "put the imageData of image userPortrait" the value displayed >> looks >> empty in the message box - not even garbage characters. >> >> Any ideas? >> >> Thanks! >> >> doug >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Sat Jan 31 04:14:57 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 31 Jan 2004 03:14:57 -0600 Subject: Some advice on video frame grabbing In-Reply-To: References: Message-ID: >> >> set the defaultStack to "theStackWithTheVideo" > > You mean the stack with the video grabber window in it? Yep > > Well, as a test I can do that in the sample stack. It would be hard to > do as > a test in my current app now considering how complicated it has gotten. > > But weirdest of all - it worked one time! But I couldn't repeat it > after > that. > > Also, sometimes the revCloseVideoGrabber that I call when I close the > video > grabber window (in closeStack) does not seem to get sent and I need to > invoke it manually. > Still sounds like a defaultStack or topStack problem to me. Can't you just grow the window and add an image to test? From doug at webcrossing.com Sat Jan 31 04:20:52 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 31 Jan 2004 18:20:52 +0900 Subject: Some advice on video frame grabbing In-Reply-To: Message-ID: On 1/31/04 6:14 PM, "Chipp Walters" wrote: >>> >>> set the defaultStack to "theStackWithTheVideo" >> >> You mean the stack with the video grabber window in it? > > Yep >> >> Well, as a test I can do that in the sample stack. It would be hard to >> do as >> a test in my current app now considering how complicated it has gotten. >> >> But weirdest of all - it worked one time! But I couldn't repeat it >> after >> that. >> >> Also, sometimes the revCloseVideoGrabber that I call when I close the >> video >> grabber window (in closeStack) does not seem to get sent and I need to >> invoke it manually. >> > Still sounds like a defaultStack or topStack problem to me. Can't you > just grow the window and add an image to test? Yes, that is a good idea. That would be easy to do. I think I am having a problem with "mixed signals" though. For example, I am starting my "repeat loop" for QT inside openStack. I think I'll try and move things around first. By the by, the video grabber doesn't *really* reside in a stack anyway - it's a special sort of a global window - so I don't see how defaultStack settings could apply. doug From opus.species at wanadoo.fr Sat Jan 31 05:10:53 2004 From: opus.species at wanadoo.fr (opus.species at wanadoo.fr) Date: Sat, 31 Jan 2004 11:10:53 +0100 Subject: FlashMX and Runtime Revolution In-Reply-To: <20040130095258.9BD1F93013C@mail.runrev.com> References: <20040130095258.9BD1F93013C@mail.runrev.com> Message-ID: > I'm new to the list and new to Runtime Revolution. Wondering if anyone > can point me in the right direction regarding FlashMX and Runtime > Revolution integration (I'm interested in knowing how to "put" Flash > into a stack and interact with cards). Thanks. You can embedd in revolution a web browser with altbrowser.dll from altuit. Within this box you can display a flash movie. The flash movie keeps all its interactivity, i did not try to send messages from flash to rev, but it should be possible. Claude Lemmel From doug at webcrossing.com Sat Jan 31 05:12:12 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 31 Jan 2004 19:12:12 +0900 Subject: Some advice on video frame grabbing In-Reply-To: Message-ID: There are several things happening that are strange: Weird thing 1 ------------- If I close the stack in which I am embedding the video grabber window, sometimes the stack's closeStack handler is not being called. I know it isn't being called because it is doing various things, like setting the hilite of a button in another stack and doing "revCloseVideoGrabber" and sometimes those messages are just not being sent. When would a stack not execute it's own local closeStack handler even though the stack is being closed? Weird thing 2 ------------- You know my original problem of the grabbed frame not showing up in the target image? If I quit the IDE, then the first time I try it it will work. But for subsequent times it will not work. This is 100% reproducible. doug at hmmm... From doug at webcrossing.com Sat Jan 31 05:41:05 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 31 Jan 2004 19:41:05 +0900 Subject: when is a title not a title? Message-ID: I'm having lots of weird things happen this evening. :) I set the title of a stack to "xxx". If I put the title of stack "thisStack" it returns xxx If I look at the stack inspector for the stack it correctly says the title of the stack is xxx But the title in the titlebar is different. Agh! Anybody ever see that before? doug From doug at webcrossing.com Sat Jan 31 05:58:55 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 31 Jan 2004 19:58:55 +0900 Subject: Some advice on video frame grabbing In-Reply-To: Message-ID: On 1/31/04 7:12 PM, "Doug Lerner" wrote: With regard to > Weird thing 2 > ------------- > You know my original problem of the grabbed frame not showing up in the > target image? If I quit the IDE, then the first time I try it it will work. > But for subsequent times it will not work. This is 100% reproducible. I'm narrowing down the problem. The image is actually there! If I select it with the pointer tool I can't see it, but... if I select the image with the object inspector the image shows up. What gives? Strangeness all around. I even got a Rev "error in selecting image" dialog pop up once... I wonder if there is something wrong with my IDE... doug From klaus at major-k.de Sat Jan 31 06:46:39 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 31 Jan 2004 12:46:39 +0100 Subject: Movie question In-Reply-To: References: Message-ID: <21DF43CA-53E3-11D8-917E-000A27B49A96@major-k.de> Bon jour Yves, > Hi list, > > On Mac OS X 10.3.2 with rev 2.1.2 > I have Qt file > this Qt file can be acessed by a filepath which is in a variable : > filepathTomovie > > I'd like to take off from this QT file the first picture to display in > an image control > Is it possible ?? a: can wait a little until Trevor comes up with a new version of his great QT external, which will let you get an image of a movie-file, if i remember his announcement correct, or b: right now, you will have to take a snapshot of the players rect... > thank you. Hope that helps... > Greetings. > > Yves COPPE > yvescoppe at skynet.be Regards Klaus Major klaus at major-k.de www.major-k.de From 3mcgrath at adelphia.net Sat Jan 31 07:39:34 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 31 Jan 2004 07:39:34 -0500 Subject: iconic crash boom bam In-Reply-To: References: <271BCAC2-53C5-11D8-A63C-000A95F078B6@chipp.com> Message-ID: <85D486AD-53EA-11D8-A512-000A95DA60FA@adelphia.net> Chipp, Wow, what a difference a send can make! I get a flashing of the screen in the final setting of the decorations in OSX. Do you know any way to stop that? Also, I wanted to put this in a distributable project but "I can not afford" to have it crashing due to this. Are we 100% sure it does not crash with send? on XP? 98? Thank you so much for the response Tom On Jan 31, 2004, at 3:25 AM, Chipp Walters wrote: > Thomas, > > Sorry, I see you are on the Mac. > > This works for me on Mac OSX > > in the stack script: > > on unIconifyStack > send unIconifyMe to this stack in 30 milliseconds > end unIconifyStack > > on unIconifyMe > set the decorations of this stack to empty > end unIconifyMe > > in the 'minimize me' button script > > on mouseUp > set the decorations of this stack to default > set the iconic of this stack to true > end mouseUp > > no crashes. the secret is the send command :-) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From doug at webcrossing.com Sat Jan 31 07:55:40 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 31 Jan 2004 21:55:40 +0900 Subject: revVideoFrameImage pause Message-ID: It seems that the revVideoFrameImage command takes a noticeable amount of time - like a quarter of a second or more - to work. If you are doing other things during that time, like text input, it is very noticeable because your other interaction pauses. What I'm trying to do is capture a frame every 5 seconds so I can send it somewhere. But I want to keep my interactivity as high as possible. Is there a way to do captures like this without adversely affecting all the other events? Thanks, doug From 3mcgrath at adelphia.net Sat Jan 31 08:02:38 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 31 Jan 2004 08:02:38 -0500 Subject: Movie question In-Reply-To: <21DF43CA-53E3-11D8-917E-000A27B49A96@major-k.de> References: <21DF43CA-53E3-11D8-917E-000A27B49A96@major-k.de> Message-ID: Or, you can use quicktime to set a frame in the movie as the poster frame and then do a screen/picture capture of that frame and use that and then when the movie starts they would be the same. Tom On Jan 31, 2004, at 6:46 AM, Klaus Major wrote: > Bon jour Yves, > >> Hi list, >> >> On Mac OS X 10.3.2 with rev 2.1.2 >> I have Qt file >> this Qt file can be acessed by a filepath which is in a variable : >> filepathTomovie >> >> I'd like to take off from this QT file the first picture to display >> in an image control >> Is it possible ?? > > a: > > can wait a little until Trevor comes up with a new version of his > great QT external, > which will let you get an image of a movie-file, if i remember his > announcement > correct, or > > b: > right now, you will have to take a snapshot of the players rect... > >> thank you. > > Hope that helps... > >> Greetings. >> >> Yves COPPE >> yvescoppe at skynet.be > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From malte.brill at t-online.de Sat Jan 31 08:51:02 2004 From: malte.brill at t-online.de (Malte Brill) Date: Sat, 31 Jan 2004 14:51:02 +0100 Subject: when is a title not a title? In-Reply-To: <20040131090453.BEC5A9301A7@mail.runrev.com> Message-ID: Hi Doug, > set the title of a stack to "xxx" creates a custom property called "title" If you want to change the titlebar you might either set the name of the stack or the label of the stack. Like: set the label of this stack to "blah" Regards, Malte From doug at webcrossing.com Sat Jan 31 09:19:37 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sat, 31 Jan 2004 23:19:37 +0900 Subject: when is a title not a title? In-Reply-To: Message-ID: On 1/31/04 10:51 PM, "Malte Brill" wrote: > Hi Doug, > >> set the title of a stack to "xxx" > > creates a custom property called "title" > > If you want to change the titlebar you might either set the name of the > stack or the label of the stack. > > Like: > > set the label of this stack to "blah" Actually, title is the standard property - it's not a custom property. That part was right. It turned out to be a weirdness with multiple stacks of the same name existing at the same time. doug From doug at webcrossing.com Sat Jan 31 10:29:32 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 01 Feb 2004 00:29:32 +0900 Subject: Question about the newImage message Message-ID: The docs say: "Sent to a new image right after it?s created." What is the definition of "created"? It seems that when I clone a stack that contains an image that the newImage message is sent. Is that right? It seems that the image was previously created...? doug From rcozens at pon.net Sat Jan 31 09:16:56 2004 From: rcozens at pon.net (Rob Cozens) Date: Sat, 31 Jan 2004 07:16:56 -0700 Subject: List field behavior In-Reply-To: <12CAC2BB-538C-11D8-941C-000393A19046@earthlink.net> References: <12CAC2BB-538C-11D8-941C-000393A19046@earthlink.net> Message-ID: Hi Bob, >I have a list field with three lines in a test stack. When line 2 >is deleted (via msg box), >line 2 is deleted but line 3 does not move into line 2's place. The >number of lines still shows 3. In SuperCard, Line 3 moves to line >2's position and the number of lines is 2. >If I add a line(via the msg box), the added line goes into the >deleted line 2 position. What syntax are you using to accomplish this? When line 2 is blanked but line three does not move up, it sounds like you "put empty into line 2 of field [fieldName]" instead of "delete line 2 of field [fieldName]." What syntax do you use to add the line? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From klaus at major-k.de Sat Jan 31 11:12:15 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 31 Jan 2004 17:12:15 +0100 Subject: Question about the newImage message In-Reply-To: References: Message-ID: <3C757116-5408-11D8-917E-000A27B49A96@major-k.de> Hi Doug, > The docs say: > > "Sent to a new image right after it?s created." > > What is the definition of "created"? "created" means a: by script "create image..." or b: created manually, after releasing the mouse with the image-tool active > It seems that when I clone a stack that contains an image that the > newImage message is sent. Is that right? No "newimage" message sent in that case.. > It seems that the image was previously created...? Obviously ;-) Hope that helps... > doug Regards Klaus Major klaus at major-k.de www.major-k.de From lists at mangomultimedia.com Sat Jan 31 13:19:19 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 31 Jan 2004 11:19:19 -0700 Subject: Movie question In-Reply-To: <21DF43CA-53E3-11D8-917E-000A27B49A96@major-k.de> References: <21DF43CA-53E3-11D8-917E-000A27B49A96@major-k.de> Message-ID: On Jan 31, 2004, at 4:46 AM, Klaus Major wrote: > Bon jour Yves, >> >> On Mac OS X 10.3.2 with rev 2.1.2 >> I have Qt file >> this Qt file can be acessed by a filepath which is in a variable : >> filepathTomovie >> >> I'd like to take off from this QT file the first picture to display >> in an image control >> Is it possible ?? > > a: > > can wait a little until Trevor comes up with a new version of his > great QT external, > which will let you get an image of a movie-file, if i remember his > announcement > correct, or I actually started updating the docs for the next release last night and I should post it sometime today. There is a function that will save a still image from any movie on your harddrive to a file. You can pass the time where the still image appears or grab the poster image of the movie. I've been using the QT External in two projects I'm working on and have been pounding on it quite a bit so there are a number of bug fixes in this next release. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jackass at bestweb.net Sat Jan 31 13:36:36 2004 From: jackass at bestweb.net (michael) Date: Sat, 31 Jan 2004 13:36:36 -0500 Subject: FlashMX and Runtime Revolution In-Reply-To: <20040131153025.5121F9301CD@mail.runrev.com> References: <20040131153025.5121F9301CD@mail.runrev.com> Message-ID: <401BF5B4.8030104@bestweb.net> "You can embedd in revolution a web browser with altbrowser.dll from altuit. Within this box you can display a flash movie." I hope altuit works on a mac version of the web browser. Are there any other Rev web browsers that are cross-platform? Ideally a mac, linux and windows capable browser would be great. From yvescoppe at skynet.be Sat Jan 31 13:40:59 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 31 Jan 2004 19:40:59 +0100 Subject: Movie question In-Reply-To: References: <21DF43CA-53E3-11D8-917E-000A27B49A96@major-k.de> Message-ID: <038F20D1-541D-11D8-BF7D-000393533246@skynet.be> Le 31 janv. 2004, ? 19:19, Trevor DeVore a ?crit : > I actually started updating the docs for the next release last night > and I should post it sometime today. There is a function that will > save a still image from any movie on your harddrive to a file. You > can pass the time where the still image appears or grab the poster > image of the movie. > > I've been using the QT External in two projects I'm working on and > have been pounding on it quite a bit so there are a number of bug > fixes in this next release. > > > I'm waiting impatiently... will it be possible to extract the first image of a quickTime file(knowing the filepath to the file) without having to display it first ? and then display the image in a image control Thank you Greetings. Yves COPPE yvescoppe at skynet.be From rcozens at pon.net Sat Jan 31 12:42:07 2004 From: rcozens at pon.net (Rob Cozens) Date: Sat, 31 Jan 2004 10:42:07 -0700 Subject: List field behavior Message-ID: Bob, Is this the effect you are looking for: delete line 2 of field [fieldName] wait 1 second -- to see deletion put "New line 2" & return before line 2 of field [fieldName] ? Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From lists at mangomultimedia.com Sat Jan 31 13:46:22 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 31 Jan 2004 11:46:22 -0700 Subject: Movie question In-Reply-To: <038F20D1-541D-11D8-BF7D-000393533246@skynet.be> References: <21DF43CA-53E3-11D8-917E-000A27B49A96@major-k.de> <038F20D1-541D-11D8-BF7D-000393533246@skynet.be> Message-ID: On Jan 31, 2004, at 11:40 AM, Yves COPPE wrote: > I'm waiting impatiently... > > will it be possible to extract the first image of a quickTime > file(knowing the filepath to the file) without having to display it > first ? > > and then display the image in a image control Yes but right now you have to save the extracted file somewhere on the computer and then load that image into the image control. I have a function which puts the image into a variable that you can assign to the imageData of a control (thus saving you the step of saving to the harddrive) but there is a bug that I haven't been able to figure out yet which gets the image dimensions incorrect and distorts the image when it is displayed in Rev. The source code will be available if anyone wants to tinker with it and figure out what is going on. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jackass at bestweb.net Sat Jan 31 13:59:57 2004 From: jackass at bestweb.net (michael) Date: Sat, 31 Jan 2004 13:59:57 -0500 Subject: giFT- modular daemon and Revolution Message-ID: <401BFB2D.5010000@bestweb.net> This would make for an interesting Rev project... http://gift.sourceforge.net/ From yvescoppe at skynet.be Sat Jan 31 14:34:17 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 31 Jan 2004 20:34:17 +0100 Subject: Movie question In-Reply-To: References: <21DF43CA-53E3-11D8-917E-000A27B49A96@major-k.de> <038F20D1-541D-11D8-BF7D-000393533246@skynet.be> Message-ID: <7562FC19-5424-11D8-AEF8-000393533246@skynet.be> Le 31 janv. 2004, ? 19:46, Trevor DeVore a ?crit : > On Jan 31, 2004, at 11:40 AM, Yves COPPE wrote: >> I'm waiting impatiently... >> >> will it be possible to extract the first image of a quickTime >> file(knowing the filepath to the file) without having to display it >> first ? >> >> and then display the image in a image control > > Yes but right now you have to save the extracted file somewhere on the > computer and then load that image into the image control. > > I have a function which puts the image into a variable that you can > assign to the imageData of a control (thus saving you the step of > saving to the harddrive) but there is a bug that I haven't been able > to figure out yet which gets the image dimensions incorrect and > distorts the image when it is displayed in Rev. The source code will > be available if anyone wants to tinker with it and figure out what is > going on. > > It's not a problem for me to save the image on the H.D. and then retrieve the filepath to display it... I can delete the image file on another step of the script.... Will it work on Mac OS X ? Greetings. Yves COPPE yvescoppe at skynet.be From lists at mangomultimedia.com Sat Jan 31 14:39:07 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 31 Jan 2004 12:39:07 -0700 Subject: Movie question In-Reply-To: <7562FC19-5424-11D8-AEF8-000393533246@skynet.be> References: <21DF43CA-53E3-11D8-917E-000A27B49A96@major-k.de> <038F20D1-541D-11D8-BF7D-000393533246@skynet.be> <7562FC19-5424-11D8-AEF8-000393533246@skynet.be> Message-ID: <22A0CB96-5425-11D8-90AB-000A956C462A@mangomultimedia.com> On Jan 31, 2004, at 12:34 PM, Yves COPPE wrote: > > It's not a problem for me to save the image on the H.D. and then > retrieve the filepath to display it... > > I can delete the image file on another step of the script.... > > Will it work on Mac OS X ? OS X and Windows right now. I still need someone to compile an OS 9 version. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From chipp at chipp.com Sat Jan 31 14:48:32 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 31 Jan 2004 13:48:32 -0600 Subject: iconic crash boom bam In-Reply-To: <85D486AD-53EA-11D8-A512-000A95DA60FA@adelphia.net> References: <271BCAC2-53C5-11D8-A63C-000A95F078B6@chipp.com> <85D486AD-53EA-11D8-A512-000A95DA60FA@adelphia.net> Message-ID: <72FB9A2A-5426-11D8-B67E-000A95F078B6@chipp.com> Tom, I haven't had any trouble with this method on XP. Haven't tested much on Win98. The reason for the flash is that you can't 'lock screen' across a send command. You could do something like save the window rect to a property, then move the stack to an offscreen position, then minimize. On uniconify, it will open up at the offscreen position, then set the loc to the saved position after the decorations are set to emtpy. On Jan 31, 2004, at 6:39 AM, Thomas McGrath III wrote: > Chipp, > > Wow, what a difference a send can make! > > I get a flashing of the screen in the final setting of the decorations > in OSX. Do you know any way to stop that? > > Also, I wanted to put this in a distributable project but "I can not > afford" to have it crashing due to this. Are we 100% sure it does not > crash with send? on XP? 98? > > Thank you so much for the response > > Tom > > > On Jan 31, 2004, at 3:25 AM, Chipp Walters wrote: > >> Thomas, >> >> Sorry, I see you are on the Mac. >> >> This works for me on Mac OSX >> >> in the stack script: >> >> on unIconifyStack >> send unIconifyMe to this stack in 30 milliseconds >> end unIconifyStack >> >> on unIconifyMe >> set the decorations of this stack to empty >> end unIconifyMe >> >> in the 'minimize me' button script >> >> on mouseUp >> set the decorations of this stack to default >> set the iconic of this stack to true >> end mouseUp >> >> no crashes. the secret is the send command :-) >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From yvescoppe at skynet.be Sat Jan 31 15:59:59 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 31 Jan 2004 21:59:59 +0100 Subject: Movie question In-Reply-To: <22A0CB96-5425-11D8-90AB-000A956C462A@mangomultimedia.com> References: <21DF43CA-53E3-11D8-917E-000A27B49A96@major-k.de> <038F20D1-541D-11D8-BF7D-000393533246@skynet.be> <7562FC19-5424-11D8-AEF8-000393533246@skynet.be> <22A0CB96-5425-11D8-90AB-000A956C462A@mangomultimedia.com> Message-ID: <6E4F032D-5430-11D8-BD99-000393533246@skynet.be> Le 31 janv. 2004, ? 20:39, Trevor DeVore a ?crit : >> >> Will it work on Mac OS X ? > > OS X and Windows right now. I still need someone to compile an OS 9 > version. > > Fantastic... Greetings. Yves COPPE yvescoppe at skynet.be From rpresender at earthlink.net Sat Jan 31 18:04:03 2004 From: rpresender at earthlink.net (Robert Presender) Date: Sat, 31 Jan 2004 15:04:03 -0800 Subject: List field behavior In-Reply-To: <20040131170005.7B28C9301E3@mail.runrev.com> Message-ID: Thanks Rob, On Saturday, January 31, 2004, at 09:00 AM, Rob Cozens wrote: > Hi Bob, > >> I have a list field with three lines in a test stack. When line 2 >> is deleted (via msg box), >> line 2 is deleted but line 3 does not move into line 2's place. The >> number of lines still shows 3. In SuperCard, Line 3 moves to line >> 2's position and the number of lines is 2. >> If I add a line(via the msg box), the added line goes into the >> deleted line 2 position. > > What syntax are you using to accomplish this? When line 2 is blanked > but line three does not move up, it sounds like you "put empty into > line 2 of field [fieldName]" instead of "delete line 2 of field > [fieldName]." Ran this test because an application I am developing uses multiple line listfields and I ran into this problem. Would appreciate it if you would create a similar stack and see if you get the same results. For this test, I created a stack with one card and one listfield(non scrolling). I put one word into each line (via the msg box). Used: delete line 2 of field x of stack y. This syntax deletes the line but: put the number of lines of field x of stack y results with 3. Line 2 has no text. Same results when empty is used instead of delete. Field inspector: locktext(also no locktext), traversal on, autoHilite, listBehavior and showBorder Stack inspector: visible > What syntax do you use to add the line? put text into line 2 of field x of stack y. This puts text into line 2. > -- Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.net/who.htm > Regards ... Bob From rpresender at earthlink.net Sat Jan 31 18:39:12 2004 From: rpresender at earthlink.net (Robert Presender) Date: Sat, 31 Jan 2004 15:39:12 -0800 Subject: List field behavior In-Reply-To: <20040131230433.8CBF69301F2@mail.runrev.com> Message-ID: Rob, On Saturday, January 31, 2004, at 03:04 PM, Rob Cozens wrote: > Bob, > > Is this the effect you are looking for: > > delete line 2 of field [fieldName] > wait 1 second -- to see deletion > put "New line 2" & return before line 2 of field [fieldName] > No. This just adds a blank line in line 3 of 4. My problem is that I want line 3 to take the place of line 2 and result in only two lines. I don't want to add text to the deleted line. I use a count syntax to add a new line after the existing lines in my SC version. In my SC app, when a line is deleted the lines below move up to the deleted space. Regards ... Bob From Tom.Cole at asu.edu Sat Jan 31 18:43:03 2004 From: Tom.Cole at asu.edu (Thomas Cole) Date: Sat, 31 Jan 2004 16:43:03 -0700 Subject: Icons, big "answer" box Message-ID: <3996AE5EBEF964418D80953BDCABFF56A1CEED@ex1.asurite.ad.asu.edu> I have two problems that are a concern. 1. When you use the answer "whatever" command in RR, the box that comes up is often so darned big that it spreads across the screen and you have to pull it around to read it. I have a program that gives instructions using the answer this or that command and this is a real problem. Is there any way to make answers appear neatly as they used to do in HyperCard? 2. I have made some icons for Windows applications so you see an icon for the application that you can click on (one that isn't the icky default runrev icon. TThe icon I have is a fish, but it has a white square around it. I want it to not be framed in this way. What am I doing wrong? Many thanks, Tom From bvg at mac.com Sat Jan 31 18:46:25 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 1 Feb 2004 00:46:25 +0100 Subject: List field behavior In-Reply-To: Message-ID: I cannot replicate what you are experiencing. Could it be that you use an old version of rev? Maybe your stack is corrupt? did you try this in a fresh stack directly after starting rev? Also make sure that you do not use "put empty into line 2 of field 1" as this would generate the behavior you describe. On Sonntag, Feb 1, 2004, at 00:04 Europe/Zurich, Robert Presender wrote: > Thanks Rob, > > On Saturday, January 31, 2004, at 09:00 AM, Rob Cozens wrote: > >> Hi Bob, >> >>> I have a list field with three lines in a test stack. When line 2 >>> is deleted (via msg box), >>> line 2 is deleted but line 3 does not move into line 2's place. The >>> number of lines still shows 3. In SuperCard, Line 3 moves to line >>> 2's position and the number of lines is 2. >>> If I add a line(via the msg box), the added line goes into the >>> deleted line 2 position. >> >> What syntax are you using to accomplish this? When line 2 is blanked >> but line three does not move up, it sounds like you "put empty into >> line 2 of field [fieldName]" instead of "delete line 2 of field >> [fieldName]." > > Ran this test because an application I am developing uses multiple > line listfields and I ran into this problem. Would appreciate it if > you would create a similar stack and see if you get the same results. > > For this test, I created a stack with one card and one listfield(non > scrolling). I put one word into each line (via the msg box). > > Used: delete line 2 of field x of stack y. This syntax deletes the > line but: put the number of lines of field x of stack y results with > 3. Line 2 has no text. > Same results when empty is used instead of delete. > > Field inspector: locktext(also no locktext), traversal on, > autoHilite, listBehavior and showBorder > Stack inspector: visible > >> What syntax do you use to add the line? > > put text into line 2 of field x of stack y. This puts text into line 2. > >> -- Rob Cozens >> CCW, Serendipity Software Company >> http://www.oenolog.net/who.htm >> > Regards ... Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Sat Jan 31 18:49:35 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 31 Jan 2004 15:49:35 -0800 Subject: Icons, big "answer" box In-Reply-To: <3996AE5EBEF964418D80953BDCABFF56A1CEED@ex1.asurite.ad.asu.edu> Message-ID: Thomas Cole wrote: > When you use the answer "whatever" command in RR, the box that comes up is > often so darned big that it spreads across the screen and you have to pull it > around to read it. I have a program that gives instructions using the answer > this or that command and this is a real problem. Is there any way to make > answers appear neatly as they used to do in HyperCard? I believe there is a Bugzilla report for this. Please consider voting for it. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Sat Jan 31 18:52:40 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 31 Jan 2004 16:52:40 -0700 Subject: Transcript line continuation Message-ID: <8E17E2AC-5448-11D8-A3D1-000A9567A3E6@swcp.com> I'm having trouble with something like this: on xxx \ aaaa, bbbb, cccc, \ dddd, eeee, ffff end xxx I get a compiler error. What am I doing wrong? Dar Scott From bvg at mac.com Sat Jan 31 19:05:42 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 1 Feb 2004 01:05:42 +0100 Subject: Transcript line continuation In-Reply-To: <8E17E2AC-5448-11D8-A3D1-000A9567A3E6@swcp.com> Message-ID: <601B6B46-544A-11D8-94F8-003065AD94A4@mac.com> try this instead and see if that works, if yes then its time for a bugzilla entry about the \ and handler declaration on xxx aaaa, bbbb, cccc, dddd, eeee, ffff end xxx On Sonntag, Feb 1, 2004, at 00:52 Europe/Zurich, Dar Scott wrote: > I'm having trouble with something like this: > > on xxx \ > aaaa, bbbb, cccc, \ > dddd, eeee, ffff > > end xxx > > I get a compiler error. > What am I doing wrong? > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bvg at mac.com Sat Jan 31 19:07:20 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 1 Feb 2004 01:07:20 +0100 Subject: Icons, big "answer" box In-Reply-To: Message-ID: <9A8CD378-544A-11D8-94F8-003065AD94A4@mac.com> You can also try to wrap your messages yourself so instead of: answer "very long text that stretches the message box way beyond the screen borders." you could write answer "very long text that stretches the message box" & return & "way beyond the screen borders." On Sonntag, Feb 1, 2004, at 00:49 Europe/Zurich, Richard Gaskin wrote: > Thomas Cole wrote: > >> When you use the answer "whatever" command in RR, the box that comes >> up is >> often so darned big that it spreads across the screen and you have to >> pull it >> around to read it. I have a program that gives instructions using the >> answer >> this or that command and this is a real problem. Is there any way to >> make >> answers appear neatly as they used to do in HyperCard? > > I believe there is a Bugzilla report for this. Please consider voting > for > it. > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Sat Jan 31 19:26:27 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 31 Jan 2004 17:26:27 -0700 Subject: Transcript line continuation In-Reply-To: <601B6B46-544A-11D8-94F8-003065AD94A4@mac.com> Message-ID: <462A2E12-544D-11D8-A3D1-000A9567A3E6@swcp.com> On Saturday, January 31, 2004, at 05:05 PM, Bj?rnke von Gierke wrote: > try this instead and see if that works, if yes then its time for a > bugzilla entry about the \ and handler declaration > > on xxx aaaa, bbbb, cccc, dddd, eeee, ffff > > end xxx Naw, it is time to buzilla me. I "simplified" the example to send to the list and in the process took out the Revolution key words I was trying to use as parameters. Well, at least I didn't run off and bugzilla it. I need to remember: Test the simplified case. Look at all the data. Check with peers. Then bugzilla. Dar Scott From lists at mangomultimedia.com Sat Jan 31 20:22:57 2004 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 31 Jan 2004 18:22:57 -0700 Subject: [ANN] Enhanced QuickTime External 0.5.0 Message-ID: <2AED2F21-5455-11D8-90AB-000A956C462A@mangomultimedia.com> I've uploaded the latest version of the Enhanced QuickTime External. This version adds some new features and fixes a lot of little bugs. * QTVR enhancements - qtQTVRSwing, qtQTVRSwingStop. Enables for smooth transitions from current pan, tilt, zoom position to a user specified pan, tilt, zoom position. * Exporting - qtSaveMovieSnapShotToFile will save a still image from any movie (doesn't have to be open in Rev) to a location that you specify. You can specify the image size and format. * You can now set the uMovieName of a controller. The value of this property will be used in intermovie communication. * Fixed a bug with qtGetSpriteVariable, QTDebugStr, QTApplicationNumAndString and qtRegisterTextSampleCallback which would choke on strings with quotes or commas. Increased size of text that can be sent to 2K. * Other minor bug fixes to stop crashing in some cases. Download: -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From gizmotron at earthlink.net Sat Jan 31 21:05:24 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat, 31 Jan 2004 18:05:24 -0800 Subject: base64encode & decode in a standalone In-Reply-To: <72FB9A2A-5426-11D8-B67E-000A95F078B6@chipp.com> Message-ID: <190182AC-545B-11D8-B8D5-000A95859272@earthlink.net> Hi, I believe that I read about this somewhere but I can't find it in the list archives. I have a save file function that compresses then base64encodes some data as it puts this data into a URL using binfile: This works on Mac10.2.4 in the IDE but it doesn't work in the standalone. The base64Encodes & base64Decodes scripts are ignored in the standalone but they save and open as compressed. I'm guessing that I'm not including a library at build time or something like that. I'm using two lines of code to compress then base64Encodes. Any suggestions would be welcome, Thanks, Mark From kkaufman at snet.net Sat Jan 31 21:16:14 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Sat, 31 Jan 2004 21:16:14 -0500 Subject: [ANN] Enhanced QuickTime External 0.5.0 Message-ID: <9C1F52EA-545C-11D8-B612-0003937052EC@snet.net> Thank you, Trevor! This is an important addition to Revolution's abilities, and cross-platform, no less! -KK From hershbp at realtorsgroup.us Sat Jan 31 23:14:41 2004 From: hershbp at realtorsgroup.us (hershrev) Date: Sat, 31 Jan 2004 23:14:41 -0500 Subject: find Message-ID: <285161A7-546D-11D8-9071-0030654C1E62@realtorsgroup.us> Hi, I'm trying to make a find field search in a Table field (according the instructions in the doc.) some how it doesn't work. example: I have a closed curser query result list in a table field and made a search field to search according the text entered it should go to the correct line and select it. For some reason it doesn't work (ignore find , is off) Thanks Hershrev From erikhans08 at yahoo.com Sat Jan 31 23:19:53 2004 From: erikhans08 at yahoo.com (erik hansen) Date: Sat, 31 Jan 2004 20:19:53 -0800 (PST) Subject: FlashMX and Runtime Revolution In-Reply-To: Message-ID: <20040201041953.50587.qmail@web61109.mail.yahoo.com> --- "opus.species at wanadoo.fr" wrote: > You can embedd in revolution a web browser with > altbrowser.dll from altuit. > Within this box you can display a flash movie. how many minutes max? thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From squance at elkvalley.net Sat Jan 31 23:39:36 2004 From: squance at elkvalley.net (David Squance) Date: Sat, 31 Jan 2004 21:39:36 -0700 Subject: find (and table fields) In-Reply-To: <285161A7-546D-11D8-9071-0030654C1E62@realtorsgroup.us> Message-ID: And while our gurus are thinking about table fields, coincidentally, I've been trying to find the syntax for getting the contents of a cell in a table field. The glossary says a cell is specified by its column and row numbers (eg: 1,2), but playing with a table and the message box, I can't 'put' the contents of cell. Is there simple syntax for this? Dave >Hi, >I'm trying to make a find field search in a Table field (according the >instructions in the doc.) some how it doesn't work. >example: I have a closed curser query result list in a table field and >made a search field to search according the text entered it should go >to the correct line and select it. >For some reason it doesn't work (ignore find , is off) > >Thanks Hershrev From bfr at nwlink.com Sat Jan 31 23:43:47 2004 From: bfr at nwlink.com (Bruce Robertson) Date: Sat, 31 Jan 2004 20:43:47 -0800 Subject: List etiquette suggestion In-Reply-To: <15014881588.20040121152441@ahsoftware.net> Message-ID: > Frank- > > One thing that would help is if people adhered to the RFC-standard > signature trimmer of -- (That's dash-dash-space) on a line by itself. > Most modern email clients will trim everything after that > automatically when replying. > > -- I thought that destroyed digest readers ability to parse messages and was distincly NOT reommended. From jacque at hyperactivesw.com Sat Jan 31 23:51:19 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 31 Jan 2004 22:51:19 -0600 Subject: List field behavior In-Reply-To: References: Message-ID: <401C85C7.6090401@hyperactivesw.com> On 1/31/04 5:39 PM, Robert Presender wrote: >> Is this the effect you are looking for: >> >> delete line 2 of field [fieldName] >> wait 1 second -- to see deletion >> put "New line 2" & return before line 2 of field [fieldName] >> > No. This just adds a blank line in line 3 of 4. My problem is that I > want line 3 to take the place of line 2 and result in only two lines. This behavior was a bug, now fixed in the latest version. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From doug at webcrossing.com Sat Jan 31 23:51:51 2004 From: doug at webcrossing.com (Doug Lerner) Date: Sun, 01 Feb 2004 13:51:51 +0900 Subject: Can't delete option question... Message-ID: A certain stack is closed and I want to delete it in a script. My code looks like: if vgName is not among the lines of the openStacks then if exists(stack vgName) then delete stack vgName end if end if This causes a "can't delete object" error when run at the delete stack line. But... I can delete that stack in the message box. Any ideas why this would be? Thanks, doug From bfr at nwlink.com Sat Jan 31 23:53:03 2004 From: bfr at nwlink.com (Bruce Robertson) Date: Sat, 31 Jan 2004 20:53:03 -0800 Subject: Opening a Rev app from a browser? In-Reply-To: <055E84FE-52CD-11D8-B418-0003936D012E@mac.com> Message-ID: > > revHTTPd is an embedable (hell my english is horrible sometimes) > server, it's a frontscript (a button), you put it on a stack, and then > it is able to serve itself and it's substacs like they were web apps. > You can try my home revHTTPd server and learn more about it at > http://home.soapdog.org:8081/ Oops, no you can't. At at least it didn?t work for me.