From jeanne at runrev.com Sun Dec 1 03:08:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Dec 1 03:08:01 2002 Subject: Appearance of progress bars/sliders In-Reply-To: References: Message-ID: At 2:18 PM -0800 11/29/02, Mark Swindell wrote: >Is it possible to override the default appearance of progress bars? It depends on exactly what you want to do. If you're using a lookAndFeel other than "Appearance Manager", you can change the colors. To change other aspects of the appearance away from the standard for the current platform, you'll need to roll your own and script the behaviors. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sun Dec 1 03:08:48 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Dec 1 03:08:48 2002 Subject: combining cards from stacks In-Reply-To: <200211290828.DAA32585@www.runrev.com> References: <200211290100.UAA23893@www.runrev.com> Message-ID: At 12:21 AM -0800 11/29/02, Bernard Devlin wrote: >Strangely enough "open" does not appear at all in the "Transcript Dictionary" It's a synonym for the go command (and documented as such - take a look at the "go command" card in the dictionary, below the word "go"). There's no difference between "open card x in window y" and "go card x in window y". -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sun Dec 1 03:08:56 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Dec 1 03:08:56 2002 Subject: Stack Size Changes In-Reply-To: References: <200211300145.UAA16336@www.runrev.com> Message-ID: At 7:00 AM -0800 11/30/02, Bill Lynn wrote: >I've run into an annoying and persistent problem with Rev 1.1.1 running >under Mac OS 9.2.2. I have the stack size set to 800 x 600 (my current >screen size) with no decorations, not resizeable and the following stack >script: > >on openstack > set the loc of me to the screenloc >end openstack > >Then I save the stack, quit Rev and the next time I open the stack it's 800 >x 539. Check the documentation entry for "Why does a stack open to the wrong size?". What's happening is that the stack is larger than the windowBoundingRect, and so its size is reset when you open it to fit within the windowBoundingRect. To fix it, set the stack's rect to 800 x 600 in a preOpenStack handler. This resets the size after the windowBoundingRect has had its way with the stack, so when it appears, it's the right size. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From ambassador at fourthworld.com Sun Dec 1 03:16:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Dec 1 03:16:00 2002 Subject: 2.0? In-Reply-To: Message-ID: >> Well, November has come and gone. How is it going with Rev 2.0? Not >> complaining, just curious. > Yeah I am very curious as well. Is it just taking longer than > anticipated to get the bugs out. I am used to these delays being a > Nintendo fan but would like to know when we can expect it to come out. > I am eagerly awaiting its release. What's > the hold up? I'm looking forward to the new features as much as the next person, but I have so much code of my own to write in the meantime I have to admit it's not a major urgency for me. I'm happy they're taking the time needed to implement a good design solidly. You folks run out of things to write with v1.1? :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Sun Dec 1 03:22:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Dec 1 03:22:01 2002 Subject: 2.0? In-Reply-To: Message-ID: Alex Rice wrote: > If Rev 2.0 were rock concert tickets, I would be camping out > on the sidewalk grilling wieners right now. :-) Yeah, let's do it like a Star Wars premier here in the States. Is it too cold this time of year to camp out in front of the RunRev offices? (note to self: bring thermal blanket, and leave the American whiskey at home.) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From chipp at chipp.com Sun Dec 1 05:15:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Sun Dec 1 05:15:01 2002 Subject: Column resizer control... Message-ID: Ready for beta testing. http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm Haven't checked it out on a Mac yet. Only WinXP (PC). Let me know if there are any problems. thx, Chipp --------------------- Chipp Walters Altuit, inc. http://www.altuit.com http://www.chipp.com --------------------- From dvk at dvkconsult.com.au Sun Dec 1 05:46:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sun Dec 1 05:46:01 2002 Subject: Column resizer control... In-Reply-To: Message-ID: <30B23182-0519-11D7-968E-000393598038@dvkconsult.com.au> On Sunday, Dec 1, 2002, at 21:09 Australia/Sydney, Chipp Walters wrote: > Ready for beta testing. > http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm > > Haven't checked it out on a Mac yet. Only WinXP (PC). > Let me know if there are any problems. thx, OS X 10.2 working so far... cheers David > > Chipp > > --------------------- > Chipp Walters > Altuit, inc. > http://www.altuit.com > http://www.chipp.com > --------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From hardt at u.arizona.edu Sun Dec 1 11:26:01 2002 From: hardt at u.arizona.edu (Oliver Hardt) Date: Sun Dec 1 11:26:01 2002 Subject: functions in other stacks: how to call? Message-ID: hello: i have a project with several stacks. if i am in stack A and want to call a function that is in the stack script of stack B, how do i do it? thank you. olli. From janschenkel at yahoo.com Sun Dec 1 11:40:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Dec 1 11:40:01 2002 Subject: functions in other stacks: how to call? In-Reply-To: Message-ID: <20021201163347.13857.qmail@web11901.mail.yahoo.com> --- Oliver Hardt wrote: > hello: i have a project with several stacks. if i > am in stack A and > want to call a function that is in the stack script > of stack B, how > do i do it? thank you. olli. > Hi Olli, If stack B is the mainstack of stack A, there's nothing you have to do, the message will be sent up the path and the mainStack will return the result. If stack B is a separate stack, the easiest way is: start using stack B from the openStack handler of stack A. 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From andre.rombauts at win.be Sun Dec 1 11:47:00 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Sun Dec 1 11:47:00 2002 Subject: Files list on a web server Message-ID: Is there a way to get the list of files present in a folder on a web server thru the URL access? Andr? -------------- next part -------------- An HTML attachment was scrubbed... URL: From janschenkel at yahoo.com Sun Dec 1 11:58:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Dec 1 11:58:01 2002 Subject: Files list on a web server In-Reply-To: Message-ID: <20021201165242.59631.qmail@web11904.mail.yahoo.com> --- Andre Rombauts wrote: > Is there a way to get the list of files present in a > folder on a web server > thru the URL access? > > Andr? > Hi Andre, It's easy if you have ftp-access to the server: get URL "ftp://ftp.example.net/some_dir/" will give you a list of of the files in that dir. 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From hardt at u.arizona.edu Sun Dec 1 12:05:01 2002 From: hardt at u.arizona.edu (Oliver Hardt) Date: Sun Dec 1 12:05:01 2002 Subject: functions in other stacks: how to call? In-Reply-To: <20021201163347.13857.qmail@web11901.mail.yahoo.com> References: <20021201163347.13857.qmail@web11901.mail.yahoo.com> Message-ID: hello jan: this is the solution. thank you very much. best, olli. 12/1/02, Jan Schenkel wrote: >--- Oliver Hardt wrote: >> hello: i have a project with several stacks. if i >> am in stack A and >> want to call a function that is in the stack script >> of stack B, how >> do i do it? thank you. olli. >> > >If stack B is the mainstack of stack A, there's >nothing you have to do, the message will be sent up >the path and the mainStack will return the result. >If stack B is a separate stack, the easiest way is: > start using stack B >from the openStack handler of stack A. >Jan Schenkel. From kray at sonsothunder.com Sun Dec 1 14:01:02 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Dec 1 14:01:02 2002 Subject: functions in other stacks: how to call? References: <20021201163347.13857.qmail@web11901.mail.yahoo.com> Message-ID: <00f501c2996a$6f9983b0$6601a8c0@mckinley.dom> The other possibility is to temporarily (or permanently) have the script as a backscript. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Jan Schenkel" To: Sent: Sunday, December 01, 2002 10:33 AM Subject: Re: functions in other stacks: how to call? > --- Oliver Hardt wrote: > > hello: i have a project with several stacks. if i > > am in stack A and > > want to call a function that is in the stack script > > of stack B, how > > do i do it? thank you. olli. > > > > Hi Olli, > > If stack B is the mainstack of stack A, there's > nothing you have to do, the message will be sent up > the path and the mainStack will return the result. > If stack B is a separate stack, the easiest way is: > start using stack B > from the openStack handler of stack A. > > 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! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From carambola at mac.com Sun Dec 1 14:46:01 2002 From: carambola at mac.com (carambola at mac.com) Date: Sun Dec 1 14:46:01 2002 Subject: Animated Gif In-Reply-To: Message-ID: As far as I know is not possible to edit an animated gif from rev. I wonder how can get one single animated gif from some images created with the paint tool in Rev and exported as png files. An external in C would be able to create animated gifs? Ciao, Paolo From alex at mindlube.com Sun Dec 1 15:45:01 2002 From: alex at mindlube.com (Alex Rice) Date: Sun Dec 1 15:45:01 2002 Subject: Files list on a web server In-Reply-To: Message-ID: On Sunday, December 1, 2002, at 09:40 AM, Andre Rombauts wrote: > Is there a way to get the list of files present in a folder on a web > server thru the URL access? > > Andr? In addition to what Jan said, you can sometimes get an hmtl list back from a URL ending in "/" which indicates a directory. What you get back depends on how the web server has been configured to deal with file listings, and whether there is an "index" file in place. Usually if there is an index.html file, the web server won't allow a listing of files. Usually if there is not an index.html, and the web server hasn't been explicitly not to do file listings, it will return an html listing of files including icons and timestamps and stuff. Alex Rice, Software Developer Architectural Research Consultants, Inc. alex_rice at ARCplanning.com alrice at swcp.com From dsc at swcp.com Sun Dec 1 16:25:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 1 16:25:01 2002 Subject: functions in other stacks: how to call? In-Reply-To: <00f501c2996a$6f9983b0$6601a8c0@mckinley.dom> Message-ID: <85BAC5EE-0572-11D7-B9D2-0050E4C0B205@swcp.com> On Sunday, December 1, 2002, at 11:49 AM, Ken Ray wrote: > The other possibility is to temporarily (or permanently) have the > script as > a backscript. Here is a trick that works with simple constant parameters: call "return bumpIt(17)" of button "Test" put the result into field "Report" Also, if you have control over the script of the object, use a handler and use return in the handler. To use it use send (not in time) and get the result with result(). This is much better in that it is not limited to constant parameters. Any better methods??? It would be cool to call a function in any object. Dar From jeanne at runrev.com Sun Dec 1 16:29:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Dec 1 16:29:01 2002 Subject: functions in other stacks: how to call? In-Reply-To: Message-ID: At 8:20 AM -0800 12/1/02, Oliver Hardt wrote: >hello: i have a project with several stacks. if i am in stack A and >want to call a function that is in the stack script of stack B, how >do i do it? Besides Jan's suggestion of "start using" (or "insert script", which is similar), you can use the value function to specify the object whose script contains the function you want to use. For example, if the script of stack "My Stack" contains a function called "myFunction", you can use the value function like this in any script: put value("myFunction()", stack "My Stack) into myValue Generally, the value function is more appropriate if you have a "one-shot" need to call a function that's in an object not in the message path; "insert script" and "start using" are more appropriate if you need to call functions from time to time throughout your app. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From dsc at swcp.com Sun Dec 1 18:06:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 1 18:06:01 2002 Subject: functions in other stacks: how to call? In-Reply-To: Message-ID: <99EE8756-0580-11D7-B9D2-0050E4C0B205@swcp.com> On Sunday, December 1, 2002, at 01:32 PM, Jeanne A. E. DeVoto wrote: > At 8:20 AM -0800 12/1/02, Oliver Hardt wrote: >> hello: i have a project with several stacks. if i am in stack A and >> want to call a function that is in the stack script of stack B, how >> do i do it? ... > > put value("myFunction()", stack "My Stack) into myValue > > Generally, the value function is more appropriate if you have a > "one-shot" > need to call a function that's in an object not in the message path; > "insert script" and "start using" are more appropriate if you need to > call > functions from time to time throughout your app. > I have used this. This is better than my call-return trick. I had tried the trick to see if it would avoid a limitation and forgot to go back. Both get the right "me". However, both have the same limitation. Without a lot of work, they both are limited to simple constant parameters. As soon as I use a variable as a parameter to the function, I have problems. This works: put value("myFunction(23)", stack "My Stack") into myValue This does not: put complicatedString() into alpha put value("myFunction(alpha)", stack "My Stack") into myValue Is there a way to pass general parameters? Dar Scott From jeanne at runrev.com Sun Dec 1 18:29:00 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Dec 1 18:29:00 2002 Subject: functions in other stacks: how to call? In-Reply-To: <99EE8756-0580-11D7-B9D2-0050E4C0B205@swcp.com> References: Message-ID: At 2:59 PM -0800 12/1/02, Dar Scott wrote: >> put value("myFunction()", stack "My Stack) into myValue >However, both have the same limitation. Without a lot of work, they >both are limited to simple constant parameters. As soon as I use a >variable as a parameter to the function, I have problems. This works: > > put value("myFunction(23)", stack "My Stack") into myValue > >This does not: > > put complicatedString() into alpha > put value("myFunction(alpha)", stack "My Stack") into myValue > >Is there a way to pass general parameters? You just have to do a bit of fancy footwork with quotes and &: put value("myFunction(" & alpha & ")",stack "My Stack") into myValue -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From dsc at swcp.com Sun Dec 1 19:16:00 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 1 19:16:00 2002 Subject: functions in other stacks: how to call? In-Reply-To: Message-ID: <70739932-058A-11D7-B9D2-0050E4C0B205@swcp.com> On Sunday, December 1, 2002, at 04:23 PM, Jeanne A. E. DeVoto wrote: >> Is there a way to pass general parameters? > > You just have to do a bit of fancy footwork with quotes and &: > > put value("myFunction(" & alpha & ")",stack "My Stack") into myValue Yes. I have done this with simple values. Arrays, tiny numbers and strings with interesting characters take more work, especially when I don't know what I'm dealing with. I'm not sure how to do it in general. My current pondering involves a helper handler that takes a function name and any number of additional parameters. Dar Scott From dsc at swcp.com Sun Dec 1 20:20:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 1 20:20:01 2002 Subject: functions in other stacks: how to call? In-Reply-To: Message-ID: <5D79D2A1-0593-11D7-B9D2-0050E4C0B205@swcp.com> On Sunday, December 1, 2002, at 04:23 PM, Jeanne A. E. DeVoto wrote: >> Is there a way to pass general parameters? > > You just have to do a bit of fancy footwork with quotes and &: > > put value("myFunction(" & alpha & ")",stack "My Stack") into myValue Here's a way that might work with more types of values: ********************************** local arg1 function getArg1 return arg1 end getArg1 on mouseUp put tinyNumArrayOrStringWithLotsaQuotes() into arg1 put value("HisFun( value(""e&"getArg1()""e&","& the long ID of me&") )",stack "His Stack") end mouseUp *********************************** This passes numbers unstringafied. However, arrays seem to get lost or I'm doing something wrong. Dar Scott From JamesHBeckmann at aol.com Sun Dec 1 21:13:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Sun Dec 1 21:13:01 2002 Subject: Scaling an Image Message-ID: <1a4.cc55e3f.2b1c1a12@aol.com> Jeanne A. E. DeVoto helped me by providing the following: >> answer file empty >> put it into thisPict >> set the rect of templateimage to the rect of fld pictFld >> set the filename of templateimage to thisPict >> set the lockLoc of templateimage to true >> create image "Holder" >> wait 3 secs >> hide image "Holder" >> send "choose browse tool" to me in 1 tick Thanks. However on my version of Rev 1.1 this script places the image in the fld rect, not scaled but forced to fit the rect ignoring the x/y ratio. It also does not "hide the image" as requested. Am I missing something? Jim From monte at sweattechnologies.com Sun Dec 1 22:38:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Dec 1 22:38:01 2002 Subject: resizeControl Message-ID: Hi All Anyone else run into the stumbling block with resizeControl that it doesn't send a message until the mouse is released. It seems strange that there is such an inconsistency with resizeStack. It looks like I'll need to make custom handles. Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From hardt at u.arizona.edu Mon Dec 2 01:56:01 2002 From: hardt at u.arizona.edu (Oliver Hardt) Date: Mon Dec 2 01:56:01 2002 Subject: array: why does this not work? Message-ID: hello: i have the following function that basically replaces get theArray[theKey]; put it. function gF_getA pArray, pKey get pArray[pKey] return it end gF_getA however, this function doesn't return anything, although the array contains the correct values. alternatively, i tried the following code with no positive result: function gF_getA pArray, pKey get pArray[quote & pKey & quote] return it end gF_getA thank you for your help! best, olli. From kray at sonsothunder.com Mon Dec 2 02:13:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Dec 2 02:13:00 2002 Subject: array: why does this not work? References: Message-ID: <016001c299d0$9c63d1f0$6601a8c0@mckinley.dom> Oliver, It's because your incoming variable can't be immediately resolved as an array. You need to use "do" to put it togethre before returning the result: local myArray on mouseUp put 100 into myArray["test"] answer getArray("myArray","test") end mouseUp function getArray pArray,pKey do "put " & pArray & "[" & pKey & "] into temp" return temp end getArray Note the "local myArray" - in order for the "getArray" function to "know" about the myArray array, it needs to be available to it either as a declared "script local" or global variable. Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Oliver Hardt" To: Sent: Monday, December 02, 2002 12:50 AM Subject: array: why does this not work? > hello: i have the following function that basically replaces get > theArray[theKey]; put it. > > function gF_getA pArray, pKey > get pArray[pKey] > return it > end gF_getA > > > however, this function doesn't return anything, although the array > contains the correct values. > > alternatively, i tried the following code with no positive result: > > function gF_getA pArray, pKey > get pArray[quote & pKey & quote] > return it > end gF_getA > > > > thank you for your help! best, olli. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jeanne at runrev.com Mon Dec 2 02:13:04 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Dec 2 02:13:04 2002 Subject: Scaling an Image In-Reply-To: <1a4.cc55e3f.2b1c1a12@aol.com> Message-ID: At 6:06 PM -0800 12/1/02, JamesHBeckmann at aol.com wrote: > Jeanne A. E. DeVoto helped me by providing the following: > > >> answer file empty > >> put it into thisPict > >> set the rect of templateimage to the rect of fld pictFld > >> set the filename of templateimage to thisPict > >> set the lockLoc of templateimage to true > >> create image "Holder" > >> wait 3 secs > >> hide image "Holder" > >> send "choose browse tool" to me in 1 tick > >Thanks. However on my version of Rev 1.1 this script places the image in the >fld rect, not scaled but forced to fit the rect ignoring the x/y ratio. It >also does not "hide the image" as requested. Am I missing something? This same handler hides the image for me, after the three-second wait, in Rev 1.1.1r2. (Is your stack doing anything else that might be interfering with the hide? Do you perhaps have "showInvisibles" set to true?) The above code just sets the image mechanically to the field's rect, without attempting to preserve its height/width ratio. To do that, you need to do a bit more work. This ought to do it: answer file "Which image do you want to use?" put it into myImage create image "Holder" set the filename of image "Holder" to myImage -- get the ratio of the natural width/height of the image put the width of image "Holder"/the height of image "Holder" into imageRatio put the width of field "My Field"/the height of field "My Field" into fieldRatio -- scale the image to respect its aspect ratio if imageRatio = fieldRatio then -- proportions match set the rect of image "Holder" to the rect of field "My Field" set the lockLoc of image "Holder" to true else if imageRatio > fieldRatio then -- image height is proportionally greater set the width of image "Holder" to the width of field "My Field" set the height of image "Holder" to trunc(the width of image "Holder"/imageRatio) else -- imageRatio < fieldRatio, image width is proportionally greater set the height of image "Holder" to the height of field "My Field" set the width of image "Holder" to trunc(the height of image "Holder" * imageRatio) end if set the lockLoc of image "Holder" to true -- maintain current size set the loc of image "Holder" to the loc of field "My Field" show image "Holder" wait for 3 seconds hide image "Holder" send "choose browse tool" to me in 1 tick -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From dvk at dvkconsult.com.au Mon Dec 2 02:15:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Mon Dec 2 02:15:01 2002 Subject: array: why does this not work? In-Reply-To: Message-ID: On Monday, December 2, 2002, at 05:50 PM, Oliver Hardt wrote: > hello: i have the following function that basically replaces get > theArray[theKey]; put it. > > function gF_getA pArray, pKey > get pArray[pKey] > return it > end gF_getA > Olli No problem here. This is a working example of the code I used to test your code: on mouseUp put empty into field "f1" -- put empty into field "f2" put freddo() into frog repeat for each item i in "a,c,b,d" put gF_getA(frog,i) & space after field "f1" end repeat end mouseUp function freddo put "Freddo" into frog["a"] put "Frog" into frog["b"] put "was" into frog["c"] put "here." into frog["d"] return frog end freddo function gF_getA pArray, pKey get pArray[pKey] return it end gF_getA I also tried 1-4 as indices. Everything worked as expected. The output is: Freddo was Frog here Do you have an error in the prior code or in display? regards David > > > > > thank you for your help! best, olli. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From tsimmons at employmentlawadvisors.com Mon Dec 2 02:46:01 2002 From: tsimmons at employmentlawadvisors.com (William T. Simmons) Date: Mon Dec 2 02:46:01 2002 Subject: Calling online Help from a Rev application Message-ID: <010c01c299d6$04a0e6e0$0000a398@sndmgr122> Using Revolution 1.1.1 (Professional license), WinXP Pro, IE 6: In addition to my employment law software, I do a lot of WinHelp and HTML Help development and am working on connecting Windows Help files to Rev-built applications. I've noticed that the code for calling each type of Help file is quite different: WinHelp: launch "winhlp32 -n 1 startchm.hlp" (where "-n 1" refers to a specific topic; the WinHelp file is located in the same folder as the Rev application) HTML Help: launch "c:\windows\hh.exe c:\sample4coolgen.chm::/Fourth_Topic.html" (where the file name after the "::/" refers to the specific topic) Does anyone know why WinHelp can be called without the specific path information that is apparently needed to call an HTML Help file? I'm also going to be investigating ways to connect WebHelp to a Rev application (WebHelp is a cross-browser, cross-platform variety of Help file, created with RoboHelp), but right now I'm curious about the proprietary PC Help file formats. BTW, if anyone has any better techniques for calling context-sensitive Help from a Rev application on Windows, I'd very much appreciate hearing about it. Thanks, Tommy Simmons Employment Law Advisory Network www.employmentlawadvisors.com From dsc at swcp.com Mon Dec 2 02:56:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 2 02:56:01 2002 Subject: array: why does this not work? In-Reply-To: Message-ID: On Sunday, December 1, 2002, at 11:50 PM, Oliver Hardt wrote: > function gF_getA pArray, pKey > get pArray[pKey] > return it > end gF_getA ********************** function fetch e, k return e[k] end fetch function makeA local x put "abc" into x["a"] put "a" into x["b"] return x end makeA on mouseUp local y put "eee" into y["v"] put fetch(y,"v") & lineFeed into field "Report" put fetch(makeA(),"a") & lineFeed after field "Report" put makeA() into y put fetch(y,"a") & lineFeed after field "Report" end mouseUp ******************** This produces this: eee abc I had expected this: eee abc abc An array can be a parameter. An array can be returned by a function. But it looks like it can't be both at the same time. Rats. Maybe the test for your function has the same problem. Dar From peter.fink at tiscali.ch Mon Dec 2 04:06:00 2002 From: peter.fink at tiscali.ch (Peter Fink) Date: Mon Dec 2 04:06:00 2002 Subject: Questions of Dec 1, 2002 Message-ID: <002e01c29970$17762200$020ca8c0@ego> I do have the following points to ask, today: (1) how to create polygons, scripted,properly. set the templateGraphic to polygon choose graphics tool ..... and how to proceed, properly. Leading the mouse did not work well, double clicking the mouse did not work at all, how to close otherwise (choose previousTool did work) getting the selectedObject was illogical. (2) how to set a polygon to transparent, scripted. Trying a transparent style does not work, and there is no other property to that end. (3) how to create graphics lines, scripted. the "line" style does not work. Maybe I asked this before. (4) How to get the rgb version of a Color specified by name. That is, set the backgroundColor to "Violet1", say. and then, scripted, set the foregroundcolor to something slightly different. Or, to get the backgroundColor in rgb, no matter how it was entered. (5) Are there arrays of anything. Specially, I'd like to talk memo[21] = someOtherArray . and even more, later talk get memo[21][receiver], say. I've not been not lazy to having created my work arounds already. I do not complain, I could not have accomplished it easily without RR. But thanks for help and things that I have overlooked. Peter From heather at runrev.com Mon Dec 2 04:57:00 2002 From: heather at runrev.com (Heather Williams) Date: Mon Dec 2 04:57:00 2002 Subject: 2.0 In-Reply-To: <200212011048.FAA19086@www.runrev.com> Message-ID: > Yeah, let's do it like a Star Wars premier here in the States. Is it too > cold this time of year to camp out in front of the RunRev offices? Definitely! Please don't do that, we can't afford to have our user base decimated by pneumonia. Besides, having to wade through all those screaming fans on the way to work would distract our engineers from serious programming. No, ladies and gentlemen, I couldn't possibly comment. And no, it's no use writing to me privately and begging, I still couldn't possibly comment. :-) > > (note to self: bring thermal blanket, and leave the American whiskey at > home.) Mmm scotch is good. Cheers Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution: Developing Power From rodmc at runrev.com Mon Dec 2 08:25:00 2002 From: rodmc at runrev.com (Rod McCall) Date: Mon Dec 2 08:25:00 2002 Subject: 2.0? In-Reply-To: References: Message-ID: <5.1.0.14.2.20021202130030.01d7eea0@mail.spamcop.net> > >I'm looking forward to the new features as much as the next person, but I >have so much code of my own to write in the meantime I have to admit it's >not a major urgency for me. I'm happy they're taking the time needed to >implement a good design solidly. Sorry for not responding I've been away for a week. I think the last bit says exactly what the reason is. We've got the features, we've got the design we are just making sure it is rock solid. The implementations of the newest features are all looking excellent and we are very excited about them. They are stable, look nice and are for the most part are easier to use. In the past I've had to use developer tools which simply were not ready to be inflicted on the public. In order to avoid that, we (Runrev) are going to make sure that we're totally happy with Revolution 2.0 before it's released. As an aside thanks to all those who have demonstrated their faith in Revolution by renewing their subscriptions. I think the number of renewals indicates the confidence people have in 1.1.1 and the release of 2.0. As ever people are welcome to email me off list for clarification of any issues. Finally, I think an advert once said "The best things come to those who wait..." :-) Kind regards, Rod Rod McCall Runtime Revolution Ltd Revolution - The Solution for Software Development tel: +44 (0) 870 747 1165 fax: +44 (0) 131 718 4334 All email subject to spam and virus checks. This may delay a response. From k_major at os.surf2000.de Mon Dec 2 08:43:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Mon Dec 2 08:43:01 2002 Subject: Klaus's banana In-Reply-To: Message-ID: <51752A8A-05FB-11D7-AE3A-000A27B49A96@os.surf2000.de> Hi all, i just came back from a short weekend trip and what do i see ? People are talking about my banana in public... Just can't beleive it... C'mon folks, i really would like a bit more discretion !!! Regards Klaus Major k_major at os.surf2000.de P.S. I am just kidding :-) (if you did not notice by yourself...) Hi Mark, i am glad that you like my example stack(s). I always try to comment/explain things like i would like to see tehm being explained to me. From janschenkel at yahoo.com Mon Dec 2 09:07:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Dec 2 09:07:01 2002 Subject: Klaus's banana In-Reply-To: <51752A8A-05FB-11D7-AE3A-000A27B49A96@os.surf2000.de> Message-ID: <20021202140126.21796.qmail@web11901.mail.yahoo.com> --- Klaus Major wrote: > Hi all, > > > i just came back from a short weekend trip and what > do i see ? > > People are talking about my banana in public... > Just can't beleive it... > > C'mon folks, i really would like a bit more > discretion !!! > > > > Regards > > Klaus Major *lol* Thanks for brightening up an otherwise dull and gray afternoon of bug-hunting. Has anyone else noticed people on the list are getting more and more quirky by the day? Is there a subliminal message hidden in the RunRev splash screen that brings out the hilarious in us ?? Maybe it's that swoosh-thing ;-) Jan. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From giulio at cantoberon.it Mon Dec 2 09:50:01 2002 From: giulio at cantoberon.it (Giulio Mastrosanti) Date: Mon Dec 2 09:50:01 2002 Subject: Checking for quicktime presence In-Reply-To: <200212020718.CAA02483@www.runrev.com> Message-ID: <6DCD4AB9-0604-11D7-AFE9-000393A949D8@cantoberon.it> Is there a way to check if quicktime is present on a wintel machine? if yes, could it be possible to know also the version? Thanx Giulio From troy at rpsystems.net Mon Dec 2 10:10:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Mon Dec 2 10:10:01 2002 Subject: Checking for quicktime presence In-Reply-To: <6DCD4AB9-0604-11D7-AFE9-000393A949D8@cantoberon.it> Message-ID: <6321BB08-0607-11D7-9E86-000393853D6C@rpsystems.net> On Monday, December 2, 2002, at 09:43 AM, Giulio Mastrosanti wrote: > Is there a way to check if quicktime is present on a wintel machine? > if yes, could it be possible to know also the version? Well, without actually firing up Rev to double-check, I believe you could try - put the QTversion 0.0 (or some such) means it is not installed, otherwise the number provided is the version number. Some things are just too easy in Rev. ;-) -- Troy RPSystems, LTD www.rpsystems.net From rodmc at runrev.com Mon Dec 2 12:44:01 2002 From: rodmc at runrev.com (Rod McCall) Date: Mon Dec 2 12:44:01 2002 Subject: 2.0? In-Reply-To: <5.1.0.14.2.20021202130030.01d7eea0@mail.spamcop.net> References: Message-ID: <5.1.0.14.2.20021202173200.029a9fc0@mail.spamcop.net> At 13:19 02/12/2002 +0000, Rod McCall wrote: >In the past I've had to use developer tools which simply were not ready >to be inflicted on the public. In order to avoid that, we (Runrev) are >going to >make sure that we're totally happy with Revolution 2.0 before it's released. I've had a few questions regarding the above statement which relates to the final 2.0 release. Prior to the release of the final version we will of course be undertaking a full beta testing phase. I hope this clarifies the statement, as ever please email me off list if you have questions. Kind regards, Rod Rod McCall Runtime Revolution Ltd Revolution - The Solution for Software Development tel: +44 (0) 870 747 1165 fax: +44 (0) 131 718 4334 All email subject to spam and virus checks. This may delay a response. From menno at libero.it Mon Dec 2 13:23:01 2002 From: menno at libero.it (Piero Menno') Date: Mon Dec 2 13:23:01 2002 Subject: 2.0? In-Reply-To: <5.1.0.14.2.20021202173200.029a9fc0@mail.spamcop.net> References: <5.1.0.14.2.20021202173200.029a9fc0@mail.spamcop.net> Message-ID: Hi all, DOES IT MEAN THAT THE BETA TESTING PHASE IS STILL IN THE "TODO" LIST? Piero. >At 13:19 02/12/2002 +0000, Rod McCall wrote: > >>In the past I've had to use developer tools which simply were not ready >>to be inflicted on the public. In order to avoid that, we (Runrev) >>are going to >>make sure that we're totally happy with Revolution 2.0 before it's released. > >I've had a few questions regarding the above statement which relates to the >final 2.0 release. Prior to the release of the final version we will of course >be undertaking a full beta testing phase. > >I hope this clarifies the statement, as ever please email me off >list if you have >questions. > >Kind regards, > >Rod > > >Rod McCall >Runtime Revolution Ltd >Revolution - The Solution for Software Development >tel: +44 (0) 870 747 1165 fax: +44 (0) 131 718 4334 > >All email subject to spam and virus checks. This may delay a response. > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Mon Dec 2 13:51:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Dec 2 13:51:00 2002 Subject: 2.0? In-Reply-To: Message-ID: <20021202184540.264.qmail@web11907.mail.yahoo.com> Hi Piero, Given the stability of the RunRev 1.5 alpha the 'pro' users were able to test this summer, I'm confident the beta-test will be a throughly enjoyable experience. As I still have 7 vacation days to take before the end of the year, I'm looking forward to taking a couple of these off when the beta comes out. If my beloved partner hasn't planned something else for me to do, of course *grin* Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) --- Piero Menno' wrote: > Hi all, > > DOES IT MEAN THAT THE BETA TESTING PHASE IS STILL IN > THE "TODO" LIST? > > Piero. > > > > > > >At 13:19 02/12/2002 +0000, Rod McCall wrote: > > > >>In the past I've had to use developer tools which > simply were not ready > >>to be inflicted on the public. In order to avoid > that, we (Runrev) > >>are going to > >>make sure that we're totally happy with Revolution > 2.0 before it's released. > > > >I've had a few questions regarding the above > statement which relates to the > >final 2.0 release. Prior to the release of the > final version we will of course > >be undertaking a full beta testing phase. > > > >I hope this clarifies the statement, as ever please > email me off > >list if you have > >questions. > > > >Kind regards, > > > >Rod > > > > > >Rod McCall __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From alarm at icdc.com Mon Dec 2 14:33:01 2002 From: alarm at icdc.com (Adrian L'Armand) Date: Mon Dec 2 14:33:01 2002 Subject: 2.0? In-Reply-To: <5.1.0.14.2.20021202130030.01d7eea0@mail.spamcop.net> Message-ID: on 12/02/02 8:19 AM, Rod McCall at rodmc at runrev.com wrote: > >> >> I'm looking forward to the new features as much as the next person, but I >> have so much code of my own to write in the meantime I have to admit it's >> not a major urgency for me. I'm happy they're taking the time needed to >> implement a good design solidly. > > Sorry for not responding I've been away for a week. I think the last bit says > exactly what the reason is. We've got the features, we've got the design > we are just making sure it is rock solid. The implementations of the newest > features are all looking excellent and we are very excited about them. > They are stable, look nice and are for the most part are easier > to use. > > In the past I've had to use developer tools which simply were not ready > to be inflicted on the public. In order to avoid that, we (Runrev) are going > to > make sure that we're totally happy with Revolution 2.0 before it's released. > > As an aside thanks to all those who have demonstrated their faith in > Revolution > by renewing their subscriptions. I think the number of renewals indicates > the confidence people have in 1.1.1 and the release of 2.0. > > As ever people are welcome to email me off list for clarification of any > issues. > > Finally, I think an advert once said "The best things come to those who > wait..." :-) > > Kind regards, > > Rod > > > Rod McCall > Runtime Revolution Ltd > Revolution - The Solution for Software Development > tel: +44 (0) 870 747 1165 fax: +44 (0) 131 718 4334 > > All email subject to spam and virus checks. This may delay a response. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > I do hope that you include excellent documentation. I think that hypercard is just about finished. A pity. I got a trial run of SuperCard and Revolution and Metacard. I pull my HyperCard stacks into each application. and see which is best for me. Revolution wins hands down. I think that there will be many Hypercard users starting to see the final writing on the wall and will be looking for another programme I also think that the vast majority of them are not "developers" but simply use a bit of hypertext and "go to" stuff. If you want anything more complicated you get somebody's stack and take from it. Rinaldi or Cooper or hundreds of others. (I am actually starting to pull many HC stacks across to see what works).. There are still hundreds of HC stacks available to use and take. I don't think Revolution can do anything like that as they were different times. However I would suggest a lot of easy open stacks that would be good for learning (Your tutorials included in Rev 1.1.1 don't cut it) and documentation aimed at HyperCard users. (I think that the market may well lie with the "normal" HC user rather than the developers. They all pay the same amount for the Programme....but I am sure you know more about this than I do.) Grouping needs a lot more explanation. A.L'Armand From chipp at chipp.com Mon Dec 2 16:16:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Mon Dec 2 16:16:01 2002 Subject: Column resizer control... In-Reply-To: Message-ID: RR users, New version 0.92 available at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm Added: altDontResize property for fixed width buttons altEnableBtn for toggling button animation altRealTimeTracking property for realtime fld width tracking Fixed: Set all the buttonstyles to rectangle for Mac compatibility. Optimized for more speed. Minor appearance tweaks. Please test and let me know if there are any problems. thx. -Chipp PS sorry to improve at lists.runrev for crosspost. From katir at hindu.org Mon Dec 2 16:37:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon Dec 2 16:37:01 2002 Subject: 2.0? In-Reply-To: Message-ID: <851CBB62-063D-11D7-9357-003065FB9830@hindu.org> is: 1.5A7r1 the latest alpha we should be using? i would like to be working on the latest version that is available. 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 From mcompanys at mac.com Mon Dec 2 17:40:01 2002 From: mcompanys at mac.com (Manuel Companys) Date: Mon Dec 2 17:40:01 2002 Subject: was :Just another player. In-Reply-To: Message-ID: Le 30/11/02 12:05, ??Malte Brill?? a ?crit?: > Bonjour Manuel, > >> I wrote some "didacticiels de >> langues" as we say in french, some of theese HyperCard stacks deal with >> german, specially about "particle verbs" such as ?bersetzen vs ?berSetzen. > > Sounds interesting. Do you plan to port these to Rev? > Yes, at least some of them. But I am just a RR beginner and I am pretty busy with little programs for a handful of linguists and translators: A) Litteris: displays the orthographic version of a number you enter in conventional or roman digits. You can parameter the output language, the interface language, the ./, decimal separator, and more. It's only 108 K. I'd like to mail it to you. B) Multilex is a lexicon displaying a chart with the word or expression in 9 languages. You can parameter: two simultaneous languages with a scrolling fld to choose a word from; the fonts of the displays; the interface language (not yet); the lexicon list (mac OS, greetings, animals ... Whatever you entered); and more. I wrote it because I needed it t help me with locazing programs in several languages. C) Some cute fonts allowing typing every latin script language with a single one bit conventional macOS font, with ergonomically designed keyboard definitions por qwerty, azerty and qwertz users. It's no hero of the future, I know. But not everybody can afford a Jaguar mac, nowadays... I will put this material in "MaKe with RR" as soon as I am able to do so. Guten abend Malte. From erikhans08 at yahoo.com Mon Dec 2 18:08:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Dec 2 18:08:01 2002 Subject: using Find in the Script Editor In-Reply-To: Message-ID: <20021202230209.34847.qmail@web20007.mail.yahoo.com> thanks! --- "Jeanne A. E. DeVoto" wrote: > At 5:13 PM -0800 11/27/02, erik hansen wrote: > >is there a way to Find only complete words in > the > >Script Editor? > > Check the "Whole Word Searching" item in the > View menu. (The option is also > available in the Preferences dialog, in the > "Script Editor" pane.) > > -- > Jeanne A. E. DeVoto ~ jeanne at runrev.com > Runtime Revolution Limited - The Solution for > Software Development > http://www.runrev.com/ > > > _______________________________________________ > 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From mcompanys at mac.com Mon Dec 2 18:11:01 2002 From: mcompanys at mac.com (Manuel Companys) Date: Mon Dec 2 18:11:01 2002 Subject: Excuse me! Message-ID: By mistake, my long reply to Malte has been sent to the whole list. Sorry :-( Manuel From dsc at swcp.com Mon Dec 2 18:21:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 2 18:21:01 2002 Subject: Illustrating the message path in documentation Message-ID: What is the traditional imagery (or a preferred imagery) for picturing message paths? Much of the documentation refers to "along" the path or "the next object" in the path or "traversing" the path or "passed on through" the path or "continue along" the path or "further" in the path, or "after" or "before". This seems like it would give me lots of freedom in illustrating this. However, I think I have seen references to "up the path", or often "higher level" when referring to further along the path. (This is contrary to my imagination which has messages "falling" and bumping into handlers in objects on the way down, some sent messages continuing into the bottomless pit.) I suppose "up" could be read further along, but the "higher level" may say otherwise. The "insert script" command refers to "front" and "back". I think this can be read both in the sense of close and near and in the sense of a chain (see "after" and "before" above). In the past I would diagram libraries below the modules that use those. Is this right for Revolution? What's the "right" way to diagram objects and their path relationships? Dar Scott From ambassador at fourthworld.com Mon Dec 2 18:48:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Dec 2 18:48:00 2002 Subject: Illustrating the message path in documentation In-Reply-To: Message-ID: Dar Scott wrote: > Much of the documentation refers to "along" the path or "the next > object" in the path or "traversing" the path or "passed on through" the > path or "continue along" the path or "further" in the path, or "after" > or "before". This seems like it would give me lots of freedom in > illustrating this. > > However, I think I have seen references to "up the path", or often > "higher level" when referring to further along the path. (This is > contrary to my imagination which has messages "falling" and bumping into > handlers in objects on the way down, some sent messages continuing into > the bottomless pit.) I suppose "up" could be read further along, but > the "higher level" may say otherwise. > > The "insert script" command refers to "front" and "back". I think this > can be read both in the sense of close and near and in the sense of a > chain (see "after" and "before" above). > > In the past I would diagram libraries below the modules that use those. > Is this right for Revolution? > > What's the "right" way to diagram objects and their path relationships? Some folks say the message travels "up", while others refer to it as "down". Personally, I'm in the latter camp as it follows most of the world's reading order, making diagrams arguably a tad more readily grasped. But I think in the end it's really a matter of taste. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From sarahr at genesearch.com.au Mon Dec 2 22:20:00 2002 From: sarahr at genesearch.com.au (Sarah) Date: Mon Dec 2 22:20:00 2002 Subject: Questions of Dec 1, 2002 In-Reply-To: Message-ID: <469E042B-066D-11D7-ABD8-0003937A97B8@genesearch.com.au> > (1) how to create polygons, scripted,properly. > set the templateGraphic to polygon > choose graphics tool > ..... and how to proceed, properly. set "the points" of the polygon. The "points" is a list of coordinate pairs x,y on separate lines. e.g. to create a graphic & draw a square: create graphic "Box" set the style of graphic "Box" to "polygon" set the points of graphic "Box" to "50,50" & cr & "50,100" & cr & \ "100,100" & cr & "100,50" & cr & "50,50" > (2) how to set a polygon to transparent, scripted. Trying a transparent > style does not work, and there is no other property to that end. set the opaque of graphic "What" to false > > (3) how to create graphics lines, scripted. the "line" style does not > work. > Maybe I asked this before. Exactly the same way as for a polygon, just use a different set of points. You can set the style to "line" or "polygon". It doesn't seem to matter much. If you use line, remember to put it inside quotes or you'll get an error. > > (4) How to get the rgb version of a Color specified by name. > That is, set the backgroundColor to "Violet1", say. > and then, scripted, set the foregroundcolor to something slightly > different. > Or, to get the backgroundColor in rgb, no matter how it was > entered. This is a basically unsolved problem. Rev just uses a lookup table to get color names vs RGB values. Unfortunately, when you then query the color of something that was set using a name, it returns the name and not the RGB values. If you want to find the complete list, open up the Application Overview and turn on Revolution UI stacks in list. Find revColors.rev and go to the only card in the only stack. Have a look at the properties and go to the Custom tab, then turn on "Show Revolution UI custom properties". The cRevColorTranslation property gives you all the names & RGB equivalents. > > (5) Are there arrays of anything. Specially, I'd like to talk memo[21] > = > someOtherArray . > and even more, later talk get memo[21][receiver], say. I'll leave this one to the array experts on this list... Cheers, Sarah From JamesHBeckmann at aol.com Mon Dec 2 22:22:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Mon Dec 2 22:22:01 2002 Subject: Scaling an Image, and more Message-ID: <21.2816591e.2b1d7be0@aol.com> In a message dated 12/02/02 12:39:25 AM, jeanne at lists.runrev.com writes: >This same handler hides the image for me, after the three-second wait, >in > >Rev 1.1.1r2. (Is your stack doing anything else that might be interfering > >with the hide? Do you perhaps have "showInvisibles" set to true?) > > > >The above code just sets the image mechanically to the field's rect, > >without attempting to preserve its height/width ratio. To do that, you >need > >to do a bit more work. This ought to do it: The scaling works great! There is NO other script in this stack. I checked the stack script and the cd script - entirely empty (this was a brand new practice stack). "Hide image " does not hide the image; issuing this command from the message box does not cause it to disappear either. I then tried the menu "Show invisible Objects" under view to make sure nothing was going on - REV crashed. So I tried it again, x2, and it crashes every time on my machine. This stack was a brand new REV stack, not imported from HC. So I created another new stack, no object scripts except the button that contains only the script we are discussing, and the image does not hide. Can I do something different to accomplish this tasK? Jim From monte at sweattechnologies.com Mon Dec 2 22:47:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Dec 2 22:47:01 2002 Subject: Question Icon on OS X Message-ID: Hi All Does anyone know if there is a standard question icon for OS X and where I coulkd get it if there is???? Cheers Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From sarahr at genesearch.com.au Mon Dec 2 23:25:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Mon Dec 2 23:25:01 2002 Subject: Question Icon on OS X In-Reply-To: Message-ID: <55904DCE-0676-11D7-ABD8-0003937A97B8@genesearch.com.au> I think the OS X standard is to use the application's icon in dialog boxes. Sarah On Tuesday, December 3, 2002, at 01:43 pm, Monte Goulding wrote: > > Hi All > > Does anyone know if there is a standard question icon for OS X and > where I > coulkd get it if there is???? > > Cheers > > Monte Goulding > B.App.Sc. (Hons.) > > Executive Director > Sweat Technologies > > email: monte at sweattechnologies.com > website: www.sweattechnologies.com > mobile (International): +61 421 138 274 > (Australia): 0421 138 274 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Mon Dec 2 23:41:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Dec 2 23:41:01 2002 Subject: Question Icon on OS X In-Reply-To: <55904DCE-0676-11D7-ABD8-0003937A97B8@genesearch.com.au> Message-ID: OK... do you know if Rev 2.0 will support this? Perhaps an application icon property in the distro builder? > > I think the OS X standard is to use the application's icon in dialog > boxes. > > Sarah > > On Tuesday, December 3, 2002, at 01:43 pm, Monte Goulding wrote: > > > > > Hi All > > > > Does anyone know if there is a standard question icon for OS X and > > where I > > coulkd get it if there is???? > > > > Cheers > > > > Monte Goulding > > B.App.Sc. (Hons.) > > > > Executive Director > > Sweat Technologies > > > > email: monte at sweattechnologies.com > > website: www.sweattechnologies.com > > mobile (International): +61 421 138 274 > > (Australia): 0421 138 274 > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From erikhans08 at yahoo.com Mon Dec 2 23:57:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Dec 2 23:57:01 2002 Subject: the message box In-Reply-To: Message-ID: <20021203045054.66393.qmail@web20002.mail.yahoo.com> local theMsg put "the message box" into theMsg # or from MC: put "control" && quote & "Message Field" / & quote && "of stack" && quote & / "Message Box" & quote into theMsg / put the vis of stack "Message Box" into theSavedViz put (the textSize of theMsg) into theSavedTextSize Message execution error: Error description: Chunk: error in object expression can one get the exact name of the msg fld & stack? it is probably better to just create a new fld for displaying informaation, but why the error messages? does RR not want msg used frivolously? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From sarahr at genesearch.com.au Tue Dec 3 00:43:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Tue Dec 3 00:43:01 2002 Subject: Question Icon on OS X In-Reply-To: Message-ID: <414575C0-0681-11D7-ABD8-0003937A97B8@genesearch.com.au> I tested it on the current alpha and when I did "answer information ..." this is the icon that was displayed. Neat huh? -------------- next part -------------- A non-text attachment was scrubbed... Name: Picture 1.jpg Type: image/jpeg Size: 2289 bytes Desc: not available URL: -------------- next part -------------- Apologies for sending an attachment to the list but I made it very small. Sarah On Tuesday, December 3, 2002, at 02:38 pm, Monte Goulding wrote: > OK... do you know if Rev 2.0 will support this? Perhaps an application > icon > property in the distro builder? > >> >> I think the OS X standard is to use the application's icon in dialog >> boxes. >> >> Sarah >> >> On Tuesday, December 3, 2002, at 01:43 pm, Monte Goulding wrote: >> >>> >>> Hi All >>> >>> Does anyone know if there is a standard question icon for OS X and >>> where I >>> coulkd get it if there is???? From jeanne at runrev.com Tue Dec 3 00:49:00 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Dec 3 00:49:00 2002 Subject: improve rev list [was Launch Not work on OSX/OSX Rotate image trick] In-Reply-To: <110.1c58eede.2b1908a8@aol.com> Message-ID: At 10:15 AM -0800 11/29/02, DVGlasgow at aol.com wrote: >Incidentally, there was a recent thread about accessing images and text and >not wanting it all in memory. The suggestion was to reference rather than >import the material. That of course works. However, I also have a vague >memory that it is possible to store data in properties within closed stacks >that can be accessed without loading the whole stack into memory. Actually, >as I type, this strikes me as deeply implausible. Did I make it up? I'm afraid so. ;-0 You can access properties in closed stacks, but doing so loads the stack file. (What you *can* do, if you have a lot of information and prefer to store it in stacks, is to use multiple stack files so you only need to load one at a time. But that's a bit different.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jacque at hyperactivesw.com Tue Dec 3 00:49:04 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Dec 3 00:49:04 2002 Subject: Scaling an Image, and more References: <200212030348.WAA23651@www.runrev.com> Message-ID: <3DEC447C.1010500@hyperactivesw.com> JamesHBeckmann at aol.com wrote: > "Hide image " does not hide the image; > issuing this command from the > message box does not cause it to disappear either. If you imported the image, double-check its properties to make sure you've got the right name in your script; there may be a suffix appended like ".jpg". Also make sure the name has quotes around it in the script: hide image "testImage.jpg" If none of that is the problem, try "hide img 1" (assuming it is the first image) and see if that works. If it does, then there's probably something wrong with the way the script is referring to the image. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Tue Dec 3 01:03:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Dec 3 01:03:01 2002 Subject: Question Icon on OS X In-Reply-To: <414575C0-0681-11D7-ABD8-0003937A97B8@genesearch.com.au> Message-ID: Neat for Rev but how do we get our own app's icons there? > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Sarah > Sent: Tuesday, 3 December 2002 4:07 PM > To: use-revolution at lists.runrev.com > Subject: Re: Question Icon on OS X > > > I tested it on the current alpha and when I did "answer information > ..." this is the icon that was displayed. Neat huh? > From monte at sweattechnologies.com Tue Dec 3 01:47:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Dec 3 01:47:00 2002 Subject: System Language Message-ID: Hi I just found this gem from Scott Rossi on the list archives: http://lists.runrev.com/pipermail/metacard/2002-August/002245.html Does anyone know how to get this data for Mac systems? Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From switchedon at hsj.com Tue Dec 3 08:11:01 2002 From: switchedon at hsj.com (Simtech Publications) Date: Tue Dec 3 08:11:01 2002 Subject: Director MX and Revolution In-Reply-To: <200212030348.WAA23651@www.runrev.com> Message-ID: > I think that there will be many Hypercard users starting to > see the final writing on the wall and will be looking for > another programme I'm a long time Director user and I participated in the recent Director MX beta tests. Knowing what Director MX looks like I'm more inclined than ever to update all of my special educations programs in Rev instead of Director so they run under Mac OS X. While Director MX itself looks lovely with its new aqua interface it produces movies with almost none of the OS X GUI elements, not even jellybean buttons, radio buttons or checkboxes. At least not in the last beta that was available to us before they shut the tests down. Completely unbelieveable! I hope for the sake of Director users that the release version will correct this but I highly doubt it. For my part, I'm switching to Rev. Cheers... Bill Lynn, Publisher Simtech Publications http://www.hsj.com From rcozens at pon.net Tue Dec 3 11:06:10 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Dec 3 11:06:10 2002 Subject: the message box In-Reply-To: <20021203045054.66393.qmail@web20002.mail.yahoo.com> References: <20021203045054.66393.qmail@web20002.mail.yahoo.com> Message-ID: >can one get the exact name of the msg fld & >stack? Hi Eric, I just played with this with ClickClock. A handler would "put empty" under certain conditions, and was opening the message box on openStack. I tried 'if the visible of window "Message Box"' without success. The way I got it to work was based on the fact that a specific message had to be in the Message Box if I needed to clear it: if there is a window "Message Box" then if message is "Designate the minute by clicking on it." then put empty end if I haven't a clue why 'if the visible of window "Message Box"' wouldn't work. If I remember corectly, "if message is not empty" didn't work either. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From troy at rpsystems.net Tue Dec 3 11:48:31 2002 From: troy at rpsystems.net (Troy Rollins) Date: Tue Dec 3 11:48:31 2002 Subject: Director MX and Revolution In-Reply-To: Message-ID: On Tuesday, December 3, 2002, at 08:04 AM, Simtech Publications wrote: > Knowing what Director MX looks like I'm more inclined than ever > to update all of my special educations programs in Rev instead of > Director > so they run under Mac OS X. While Director MX itself looks lovely with > its > new aqua interface it produces movies with almost none of the OS X GUI > elements, not even jellybean buttons, radio buttons or checkboxes. At > least > not in the last beta that was available to us before they shut the tests > down. Completely unbelieveable! I hope for the sake of Director users > that > the release version will correct this but I highly doubt it. For my > part, > I'm switching to Rev. > Glad to have you here, Bill. But, at my place anyway, we use both Director and Rev. We use Rev when it has to look and work "like an application." My point is - Director has *never* had the things you mentioned, why would it now? That's not what it is about. Director is aimed at those who want to design every last bit of the interface and experience. We added Rev to our toolbox because Director is ill-suited to developing "applications", however we still feel it is *extremely* strong at its own field - multimedia, interactive, online... I, for one, am looking forward to D-MX almost as much as Rev 2.0 This is gonna be fun... -- Troy RPSystems, LTD www.rpsystems.net From mswindel at santacruz.k12.ca.us Tue Dec 3 11:48:41 2002 From: mswindel at santacruz.k12.ca.us (Mark Swindell) Date: Tue Dec 3 11:48:41 2002 Subject: Revolution in Classis, Virtual PC? In-Reply-To: Message-ID: I've read where after the first of the year new Macs won't be able to boot into OS 9. I'm curious how it behaves under Classic, and, for that matter, Virtual PC. Is anyone building for all three systems on a single Mac? Thanks, Mark From steve at messimercomputing.com Tue Dec 3 11:48:44 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Tue Dec 3 11:48:44 2002 Subject: revprintfield script In-Reply-To: <200212030348.WAA23651@www.runrev.com> Message-ID: hi folks I am trying to get a script to work and I haven't had much luck. Here's the script any one have any suggestions? on mouseUp put the short name of the owner of me into myOwner put the short id of field "fldGrp" of grp myOwner into myID revPrintField ("field" && myID) end mouseUp I can't see why this doesn't work. My ID contains the proper number w/o quotes. What am I doing wrong? If I type the ID into the script this works w/o probs. Thanks Steve -- Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com System information: Mac OS 9.2.2/ Mac OS X 10.1.5, RR 1.1.1r2, Macintosh G-4 450, RAM 512 MB From steve at messimercomputing.com Tue Dec 3 11:51:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Tue Dec 3 11:51:01 2002 Subject: revPrintField prob In-Reply-To: <200212030348.WAA23651@www.runrev.com> Message-ID: Hi, Figured this one out myself. :-) Jeanne writes such good docs! Heres the script that works. Why would you want to do this extra scripting you say? Well the field in question is part of a group that is being pasted in from a template and the button can't know ahead of time the number of the field as this is variable nor can it now the name of the subsumming grp. on mouseUp put the short name of the owner of me into myOwner put the number of field "fldGrp" of grp myOwner into myNum revPrintField ("field" && myNum) end mouseUp Regards, Steve From ambassador at fourthworld.com Tue Dec 3 12:02:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Dec 3 12:02:00 2002 Subject: revprintfield script In-Reply-To: Message-ID: Steve Messimer wrote: > hi folks > > I am trying to get a script to work and I haven't had much luck. Here's the > script any one have any suggestions? > > on mouseUp > put the short name of the owner of me into myOwner > put the short id of field "fldGrp" of grp myOwner into myID > revPrintField ("field" && myID) > end mouseUp > > I can't see why this doesn't work. My ID contains the proper number w/o > quotes. What am I doing wrong? If I type the ID into the script this works > w/o probs. Try this: revPrintField the long ID of field ID myID -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Tue Dec 3 12:13:59 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Dec 3 12:13:59 2002 Subject: Revolution in Classis, Virtual PC? In-Reply-To: Message-ID: Mark Swindell wrote: > I've read where after the first of the year new Macs won't be able to boot > into OS 9. I'm curious how it behaves under Classic, and, for that matter, > Virtual PC. Is anyone building for all three systems on a single Mac? I _build_ for all three systems on my Mac, but I have several tweaking sessions natively in each OS I'm deplying to. I'm glad I'm not Apple come January: The tomatoes will be flying and I don't look good in red. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From pixelbird at interisland.net Tue Dec 3 13:06:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Tue Dec 3 13:06:01 2002 Subject: Revolution in Classis, Virtual PC? In-Reply-To: <200212031703.MAA06779@www.runrev.com> Message-ID: > From: Mark Swindell > I've read where after the first of the year new Macs won't be able to boot > into OS 9. I'm curious how it behaves under Classic, and, for that matter, > Virtual PC. Is anyone building for all three systems on a single Mac? > > Thanks, > Mark ---------- Hi Mark, I probably missed something because SPEWS backlisted this list (no one knows why) from my ISP for awhile. Police with too much discretionary power, IMHO. Having vented that (thanks), what do you mean by "...after the first of the year new Macs won't be able to boot into OS 9." I don't think that's true quite yet. What's happening, AFAIK, is that OS 9.2.2 will not be shipped with OSX Jaguar, meaning if you buy a new Mac you won't be able to boot into OS 9.2.2 because it won't be there. That is, you'll have to get a copy of OS 9.2.2 and put it on the drive yourself in order to use OSX Jaguar in Classic, or else partition the HD. But they won't say much about it because they're trying to wean us off anything less than OSX, which is nothing but a clone of Steve's NexT OS, his pet project for 10 years. Prepare to put your propeller beanie cap back on if you want to use OS 9. At least that's how it was explained to me several times. Best regards, Ken N. From ambassador at fourthworld.com Tue Dec 3 13:35:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Dec 3 13:35:00 2002 Subject: Revolution in Classis, Virtual PC? In-Reply-To: Message-ID: Ken Norris (dialup) wrote: > I probably missed something because SPEWS backlisted this list (no one knows > why) from my ISP for awhile. Police with too much discretionary power, IMHO. Someone needs to talk to them. I hate spam, but I hate missing legitimate emails even more. I've never been bitten by SPEWS, but I have been by other filters. If you're patient and looking at the long term, you could: 1. Write your elected representatives and encourage rapid adoption of anti-spam laws, specifically those that will prosecute any US-based company regardless of where the server is (.tw and .ru give the impression that spammers are keeping the economies of both of those nations afloat). 2. Write whomever's in charge of SPEWS and ask them to kindly employ fewer shotguns and more lasers. I've had good results from my correspondences with filter managers (certainly more rewarding than the canned reply I get from my elected representatives). -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From rcozens at pon.net Tue Dec 3 14:13:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Dec 3 14:13:01 2002 Subject: revprintfield script In-Reply-To: References: Message-ID: >I am trying to get a script to work and I haven't had much luck. Here's the >script any one have any suggestions? > >on mouseUp > put the short name of the owner of me into myOwner > put the short id of field "fldGrp" of grp myOwner into myID > revPrintField ("field" && myID) >end mouseUp > >I can't see why this doesn't work. My ID contains the proper number w/o >quotes. What am I doing wrong? If I type the ID into the script this works >w/o probs. Hi Steve, No solution; but a suggestion: Have you considered scripting this with a handler in the group script instead of the individual control? Eg: on mouseUp switch (the short name of the target) case thisControl revPrintField the short id of field "fldGrp" -- Thanks Richard The logic seems more straightforward to me. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Tue Dec 3 14:13:18 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Dec 3 14:13:18 2002 Subject: Revolution in Classis, Virtual PC? In-Reply-To: References: Message-ID: >2. Write whomever's in charge of SPEWS and ask them to kindly employ fewer >shotguns and more lasers. Ask them if they bill for their services electronically, and how they would feel if their customers could not receive invoices because of the actions of someone over whom they had no control. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From themacguy at macosx.com Tue Dec 3 14:25:00 2002 From: themacguy at macosx.com (Barry Levine) Date: Tue Dec 3 14:25:00 2002 Subject: "grabbing a tool" In-Reply-To: <200212011048.FAA19086@www.runrev.com> Message-ID: <05FEB0C1-06F4-11D7-9161-000393AAEF66@macosx.com> Rob, Thanks for the pointer. Yes, the "grab" command works well: on mouseDown grab me end mouseDown I included a bunch of code from a stack (drag sample) I DL'd from somewhere (a reference given to me from someone on this list; forgive me, I have a terrible memory for names but wish to say "thank you!"). The code checks for the position of the object ("me") and prevents it from moving outside of the bounds of the stack. Now I'm wondering how to determine when the object ("me") I am dragging touches another object. In other words, if I drag "me" over an image object that is moving around the stack window on its own accord (I have set it into motion), how do I know if I have successfully "touched" it? It can't be the "mouseLoc" because "me" would have touched it if any of the "rect of me" has passed over any of the rect of image "myImage". The seeds of the answer are probably contained within my question. Think of this as "Pong" but all I am worried about is knowing exactly when the object I am dragging has passed over ("touched") another object (and there may be up to 27 of these "other" objects). Thanks to everyone on this list (and most especially to Rob and Michael Lew and www.tactilemedia.com). Regards, Barry On Sunday, December 1, 2002, at 03:48 AM, use-revolution-request at lists.runrev.com wrote: > Message: 2 > Date: Sat, 30 Nov 2002 10:18:24 -0800 > To: use-revolution at lists.runrev.com > From: Rob Cozens > Subject: Re: "grabbing a tool" > Reply-To: use-revolution at lists.runrev.com > >> Am I moving down the correct path? > > Hi Barry, > > Check out the mouseMove message and grab command in Rev Dictionary. > You shouldn't have to send anything; just script a mouseMove handler > in your image. Grab may even be a better choice...I have not used it. > -- > -------------------------------------------------------- Barry Jay Levine "The Mac Guy" Macintosh Troubleshooting, System Engineering, Training, AppleShare/OSX Server Setup, System Upgrades and Enhancements, On-Site service for K20, Business, Consumer Phone/VoiceMail: 915-581-1105 Fax: 915-581-8167 eMail: themacguy at macosx.com MacOS X: It does. You can. It will. WindowsXP: Insert wallet into Drive A: Press any key to empty -------------------------------------------------------- From scott at tactilemedia.com Tue Dec 3 14:33:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Dec 3 14:33:01 2002 Subject: System Language In-Reply-To: Message-ID: Recently, "Monte Goulding" wrote: > I just found this gem from Scott Rossi on the list archives: > http://lists.runrev.com/pipermail/metacard/2002-August/002245.html > > Does anyone know how to get this data for Mac systems? I've asked several developer colleagues about this without success, and wound up pursuing a contact at Apple to see if there is anything like the above available on the Mac. I have yet to get a response, but if I hear anything I'll pass it on to the list. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From malte.brill at t-online.de Tue Dec 3 16:22:00 2002 From: malte.brill at t-online.de (malte.brill at t-online.de) Date: Tue Dec 3 16:22:00 2002 Subject: Distribution Crash on Imac bondi, OS 9.2 In-Reply-To: <200212031706.MAA07071@www.runrev.com> References: <200212031706.MAA07071@www.runrev.com> Message-ID: <1038949791.3ded1d9f86bbc@webmail.t-online.de> Hi list, I have a serious problem. Starter Kit 1.1.1 After I build a distribution here on a colleagues test Imac bondi Os 9.2 reporting error -39. Now what could that be? I tried starting up in standard and in full OS mode without any unneeded extensions, but still I have no luck there. No problem to build a distribution on Mac G4-400 AGP OS 9.04 Has anyone run into this prob. before? Thanks Malte From sanke at hrz.uni-kassel.de Tue Dec 3 16:56:00 2002 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue Dec 3 16:56:00 2002 Subject: Colornames to RGB values; was: Re: Illustrating the message path in documentation Message-ID: <3DED2730.EDDD4504@hrz.uni-kassel.de> On Mon, 02 Dec 2002 Richard Gaskin wrote: > > (4) How to get the rgb version of a Color specified by name. > > That is, set the backgroundColor to "Violet1", say. > > and then, scripted, set the foregroundcolor to something slightly > > different. > > Or, to get the backgroundColor in rgb, no matter how it was > > entered. > > This is a basically unsolved problem. Rev just uses a lookup table to > get color names vs RGB values. Unfortunately, when you then query the > color of something that was set using a name, it returns the name and > not the RGB values. > If you want to find the complete list, open up the Application Overview > and turn on Revolution UI stacks in list. Find revColors.rev and go to > the only card in the only stack. Have a look at the properties and go > to the Custom tab, then turn on "Show Revolution UI custom properties". > The cRevColorTranslation property gives you all the names & RGB > equivalents. > This is indeed not a "basically unsolved problem", but a hard to find solution. You can find a solution in the script of the Metacard "color chooser" and adapt it to your needs. Let`s assume you have set the backcolor of your button 8 with a colorname like "Aliceblue". Then you get the corresponding RGB value with the following script: on mouseUp get the effective backPixel of button 8 set the backColor of button 8 to empty set the backPixel of button 8 to it put the backcolor of btn 8 end mouseUp Hope this information helps. Regards, Wilhelm Sanke From sarahr at genesearch.com.au Tue Dec 3 17:44:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Tue Dec 3 17:44:01 2002 Subject: Distribution Crash on Imac bondi, OS 9.2 In-Reply-To: Message-ID: -39 is an end of file error, so I would try copying across your application again, in case the file got corrupt somehow in the transfer. Sarah On Wednesday, December 4, 2002, at 07:20 am, malte.brill at t-online.de wrote: > Hi list, > > I have a serious problem. > Starter Kit 1.1.1 > After I build a distribution here on a colleagues test Imac bondi Os > 9.2 reporting error -39. Now what could that be? I tried starting up in > standard and in full OS mode without any unneeded extensions, but still > I have no luck there. > > No problem to build a distribution on Mac G4-400 AGP OS 9.04 > > Has anyone run into this prob. before? > > Thanks > Malte > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From livfoss at blueyonder.co.uk Tue Dec 3 18:31:00 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Dec 3 18:31:00 2002 Subject: Need a description of how Animations work Message-ID: I've searched the documentation and the digests, and doubtless I have missed something, but I have not found a full description of what animations can do. For example, does an animation assume certain starting and ending coordinates for the object to be moved (as set when one uses the Animation Manager), or is the movement relative to the place the object happens to be when the animation starts? If the first notion is right, what if the object to be animated isn't at the starting point when the animation is played? (This did come up on the list in February, but not much detail was revealed). Really I need some more extended description of the animation construct - can animations have multiple objects and layers, can the visibility of individual objects be altered in flight, can the user be made to interact with them, can you synch sounds with them, etc. Anyone know how to find out more without hours of experiment? Basically I'm trying to decide whether to use animations instead of the filmstrips and simple QuickTime movies I used when developing Mac-only apps in Supercard. TIA -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From mswindel at santacruz.k12.ca.us Tue Dec 3 19:18:01 2002 From: mswindel at santacruz.k12.ca.us (Mark Swindell) Date: Tue Dec 3 19:18:01 2002 Subject: Revolution in Classis, Virtual PC? In-Reply-To: Message-ID: on 12/3/02 8:59 AM, Richard Gaskin at ambassador at fourthworld.com wrote: > Mark Swindell wrote: > >> I've read where after the first of the year new Macs won't be able to boot >> into OS 9. I'm curious how it behaves under Classic, and, for that matter, >> Virtual PC. Is anyone building for all three systems on a single Mac? > > I _build_ for all three systems on my Mac, but I have several tweaking > sessions natively in each OS I'm deplying to. > > I'm glad I'm not Apple come January: The tomatoes will be flying and I > don't look good in red. Richard, What about tweaking using Virtual PC, only for display purposes and navigation? Have you, or anyone, used VPC for this and found problems, inconsistencies? Thanks, Mark From ambassador at fourthworld.com Tue Dec 3 19:31:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Dec 3 19:31:01 2002 Subject: Revolution in Classis, Virtual PC? In-Reply-To: Message-ID: Mark Swindell wrote: > What about tweaking using Virtual PC, only for display purposes and > navigation? Have you, or anyone, used VPC for this and found problems, > inconsistencies? I haven't had problems with emulators personally, but that's likely becauseI use them so seldom. I prefer to have the full-on wow-my-system-crashes-all-the-time-and-is-chock-full-of-dangerous-security holes-and-by-the-way-what's-an-IRQ-setting Windows user experience. ;) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From erikhans08 at yahoo.com Tue Dec 3 19:47:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Dec 3 19:47:01 2002 Subject: the message box In-Reply-To: Message-ID: <20021204004104.37136.qmail@web20003.mail.yahoo.com> thanks, Rob. the Dictionary says, "The keyword indicates the message box... "The two-word synonyms message box, message window, msg box, and msg window can be used only to show and hide the message box. To put a value into the message box or read the value in the message box, use the one-word forms message and msg." in MC i got good results using the name of the msg stack and the msg text fld. in RR, openstacks() includes "Message Box". i would like to put the full name of the msg field into a function theMsg() that would be tidy in a script. best to wait for 2.0, then see what works, maybe create a field "myMsg" and use that. --- Rob Cozens wrote: > >can one get the exact name of the msg fld & > >stack? > > Hi Eric, > > I just played with this with ClickClock. A > handler would "put empty" > under certain conditions, and was opening the > message box on > openStack. I tried 'if the visible of window > "Message Box"' without > success. The way I got it to work was based on > the fact that a > specific message had to be in the Message Box > if I needed to clear it: > > if there is a window "Message Box" then > if message is "Designate the minute by > clicking on it." then put empty > end if > > I haven't a clue why 'if the visible of window > "Message Box"' > wouldn't work. If I remember corectly, "if > message is not empty" didn't work either. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From steve at messimercomputing.com Tue Dec 3 20:43:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Tue Dec 3 20:43:01 2002 Subject: revPrintField suggestion In-Reply-To: <200212040048.TAA19496@www.runrev.com> Message-ID: on 12/3/02 7:48 PM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > Hi Steve, > > No solution; but a suggestion: > > Have you considered scripting this with a handler in the group script > instead of the individual control? Eg: > > on mouseUp > switch (the short name of the target) > case thisControl > revPrintField the short id of field "fldGrp" -- Thanks Richard > > The logic seems more straightforward to me. > -- > > Rob Cozens > CCW, Serendipity Software Company Rob As usual when you hang around here you find other ways to do what you had in mind. I think I am going to stick with the solution I came up with but your idea has a lot to recommend it and I will no doubt consider this approach in the future. As an aside, I have noticed that folks use parentheses after commands. It seems that these can be used after almost any command. I know that parentheses are used after functions and can be used with properties. In What other circumstabses can they be used? Thanks Steve From peter at pixelkrunch.com.au Tue Dec 3 21:09:01 2002 From: peter at pixelkrunch.com.au (Peter Van Schellebeck) Date: Tue Dec 3 21:09:01 2002 Subject: Mixing & exporting sounds Message-ID: <20021204130459.007500@mail.tpg.com.au> Hi there Does anyone know whether its possible to mix sound files within Rev and then allow the user to export a single file based on this new mix? I can't seem to find much in Rev 1.1.1 about exporting sounds and I'm hoping ...maybe Rev 2.0 might have more support. Thanks in advance Peter Van Schellebeck From monte at sweattechnologies.com Tue Dec 3 21:19:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Dec 3 21:19:01 2002 Subject: System Language In-Reply-To: Message-ID: Thanks Scott I actually think it's something that should be a built in function. Particularly for MacOS as the engine does not hide the language menu. But if there is an applescript/file based or shell solution then I'm eager to hear it. Cheers Monte > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Scott Rossi > Sent: Wednesday, 4 December 2002 5:58 AM > To: use-revolution at lists.runrev.com > Subject: Re: System Language > > > Recently, "Monte Goulding" wrote: > > > I just found this gem from Scott Rossi on the list archives: > > http://lists.runrev.com/pipermail/metacard/2002-August/002245.html > > > > Does anyone know how to get this data for Mac systems? > > I've asked several developer colleagues about this without success, and > wound up pursuing a contact at Apple to see if there is anything like the > above available on the Mac. I have yet to get a response, but if I hear > anything I'll pass it on to the list. > > 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 erikhans08 at yahoo.com Tue Dec 3 21:21:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Dec 3 21:21:01 2002 Subject: Image Editor In-Reply-To: <20021204004104.37136.qmail@web20003.mail.yahoo.com> Message-ID: <20021204021521.51182.qmail@web20008.mail.yahoo.com> the image properties image tab has "open in editor..." then up comes "an installed converter couldn't open... runrev:temp32.png". this was after being asked to pick an editor and apparently making a bad guess. now it won't let me choose another! this should probably wait until after RR 2.0, but is there an internal image editor in RR? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From monte at sweattechnologies.com Tue Dec 3 21:26:02 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Dec 3 21:26:02 2002 Subject: Colornames to RGB values; was: Re: Illustrating the message path in documentation In-Reply-To: <3DED2730.EDDD4504@hrz.uni-kassel.de> Message-ID: libColor on my site www.sweattechnologies.com/rev can translate from any of colorName, RGB, hex, HSV to any of colorName, RGB, hex, HSV. You don't even need to know the type that you have. Just specify what you want to change it to. PS still looking for CMYK scripts if anyone has them. Cheers Monte From terry at discovery.nl Tue Dec 3 21:35:01 2002 From: terry at discovery.nl (Terry Vogelaar) Date: Tue Dec 3 21:35:01 2002 Subject: System Language In-Reply-To: Message-ID: > Does anyone know how to get this data for Mac systems? A silly but maybe useful workaround could be to ask the system weekDayNames. But that is only useful to choose between a few languages. If it contains "Saturday" it is English, "Zaterdag" is Dutch, etc. Don't expect Sunday to be the first day of the list everyware. Australian systems start with Saturday for example. Terry From monte at sweattechnologies.com Tue Dec 3 22:00:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Dec 3 22:00:01 2002 Subject: System Language In-Reply-To: Message-ID: My Australian XP and OS X systems both have Sunday as the first line of the weekdayNames > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Terry > Vogelaar > Sent: Wednesday, 4 December 2002 12:59 PM > To: use-revolution at lists.runrev.com > Subject: Re: System Language > > > > Does anyone know how to get this data for Mac systems? > > A silly but maybe useful workaround could be to ask the system > weekDayNames. > But that is only useful to choose between a few languages. If it contains > "Saturday" it is English, "Zaterdag" is Dutch, etc. > > Don't expect Sunday to be the first day of the list everyware. Australian > systems start with Saturday for example. > > Terry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From xslaugh at hotmail.com Tue Dec 3 23:58:01 2002 From: xslaugh at hotmail.com (Scott Slaugh) Date: Tue Dec 3 23:58:01 2002 Subject: Image Editor Message-ID: >the image properties image tab has >"open in editor..." then up comes "an installed >converter couldn't open... runrev:temp32.png". >this was after being asked to pick an editor and >apparently making a bad guess. now it won't let >me choose another! You can change the image editor in the preferences in the general area. There is a button that says Image Editor. Click on it to choose a new editor. > >this should probably wait until after RR 2.0, but >is there an internal image editor in RR? I don't know of an internal image editor, but I would like to see one put in, or at least some sort of icon editor. Scott Slaugh _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From revlists at canelasoftware.com Wed Dec 4 00:02:02 2002 From: revlists at canelasoftware.com (revlists) Date: Wed Dec 4 00:02:02 2002 Subject: Revolution in Classis, Virtual PC? In-Reply-To: Message-ID: On Tuesday, December 3, 2002, at 04:11 PM, Mark Swindell wrote: > on 12/3/02 8:59 AM, Richard Gaskin at ambassador at fourthworld.com wrote: > >> Mark Swindell wrote: >> >>> I've read where after the first of the year new Macs won't be able >>> to boot >>> into OS 9. I'm curious how it behaves under Classic, and, for that >>> matter, >>> Virtual PC. Is anyone building for all three systems on a single >>> Mac? >> >> I _build_ for all three systems on my Mac, but I have several tweaking >> sessions natively in each OS I'm deplying to. >> >> I'm glad I'm not Apple come January: The tomatoes will be flying and >> I >> don't look good in red. > > > Richard, > > What about tweaking using Virtual PC, only for display purposes and > navigation? Have you, or anyone, used VPC for this and found problems, > inconsistencies? > > Thanks, > Mark Mark, I use them both together extensively. I found that they work well together if you have a decent computer. Emulation will be a bit slower, but it does have its advantages. You can work on the Mac and then drag the project over to the PC on the same comp and test it out. Because you can do 99% of the work on the Mac, you only need to use the emulation for the most part to fix the small differences like fonts... Best regards, Mark Talluto http://www.canelasoftware.com From mdswindell at charter.net Wed Dec 4 00:13:01 2002 From: mdswindell at charter.net (Mark Swindell) Date: Wed Dec 4 00:13:01 2002 Subject: Double Decker Tab Buttons? In-Reply-To: Message-ID: Can anyone point me to examples of double-decker tab buttons in Revolution? I have too many tabs to fit across the screen and stacking two tabbed buttons doesn't cut it for various reasons. And I like the visual file folder metaphor for this particular project. Thanks, Mark From alex at mindlube.com Wed Dec 4 00:50:01 2002 From: alex at mindlube.com (Alex Rice) Date: Wed Dec 4 00:50:01 2002 Subject: System Language (and user defaults in mac os x) In-Reply-To: Message-ID: <72FEADC6-074B-11D7-987D-000393529642@mindlube.com> On Tuesday, December 3, 2002, at 07:12 PM, Monte Goulding wrote: > > I actually think it's something that should be a built in function. > Particularly for MacOS as the engine does not hide the language menu. > But if > there is an applescript/file based or shell solution then I'm eager to > hear > it. In OS X, the user's language preferences are accessible via the UserDefaults system, which you can access via the shell. Or via my Cocoa-Revolution bridging external which doesn't exist yet ;-) However, from the shell type the command: defaults read NSGlobalDomain You will see an AppleLanguages array in the listing. AppleLanguages = ( English, German, French, Dutch, Italian, Japanese, Spanish, etc... ); This array is the "preferred order" for languages as set in the International | Language system preferences pane. Note that it's an ordered preference; so the Finder, System, etc will use the 1st languages, but your applications will be localized depending if they support any of the prioritized languages. Other fancy stuff: defaults read NSGlobalDomain > global-defs.plist open global-defs.plist OR to browse all of your user defaults for all of your apps: defaults read > defs.plist open defs.plist The "open" command opens the Apple PropertyList Editor with the plist in an outline view. From there you can save it out as XML. Or just browse it. The new UserDefaults system is very good and I highly recommend developers to start using it once Revolution can hook into it; or even use if from the shell via the defaults command. Compliant apps save their user defaults under a domain named "tld.domain.AppName" e.g. "com.mindlube.Slacker". Although if you are going for more cross-platform ease then using a rev stack or text file for saving user defaults probably makes more sense. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From kee at kagi.com Wed Dec 4 00:59:01 2002 From: kee at kagi.com (kee nethery) Date: Wed Dec 4 00:59:01 2002 Subject: RunRev on Xserve? In-Reply-To: <05FEB0C1-06F4-11D7-9161-000393AAEF66@macosx.com> Message-ID: <8DDACDA4-074C-11D7-B18C-003065F25CD4@kagi.com> Just curious, has anyone built a Revolution Standalone that runs on the Mac OS X Xserve rack mount server? My understanding is that apps for Xserve cannot have an interface, not that you cannot see it but that it cannot have an interface. Kee Nethery From chipp at chipp.com Wed Dec 4 01:15:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Wed Dec 4 01:15:01 2002 Subject: Double Decker Tab Buttons? In-Reply-To: Message-ID: Hey Mark, I can't point you to any examples...I don't think they exist-- at least not natively. IMO, though, I really *hate* using them. I can't imagine a more obtuse interface, confusing and a pain in the neck for users. I would think a scrolling tab interface (kinda like what Excel does with sheets) would be better for tabs. An even better interface is like the Prefs interface in Rev where you have a list on the left which manages controls on the right. best, Chipp > > Can anyone point me to examples of double-decker tab buttons in > Revolution? > I have too many tabs to fit across the screen and stacking two tabbed > buttons doesn't cut it for various reasons. And I like the visual file > folder metaphor for this particular project. > > Thanks, > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Wed Dec 4 01:35:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Dec 4 01:35:01 2002 Subject: RunRev on Xserve? In-Reply-To: <8DDACDA4-074C-11D7-B18C-003065F25CD4@kagi.com> Message-ID: <20021204062943.17921.qmail@web11905.mail.yahoo.com> --- kee nethery wrote: > Just curious, has anyone built a Revolution > Standalone that runs on the > Mac OS X Xserve rack mount server? My understanding > is that apps for > Xserve cannot have an interface, not that you cannot > see it but that it > cannot have an interface. > > Kee Nethery Hi Kee, Of course applications running on XServe can have an interface. Granted, it's one of those areas where you're likely to find a faceless program -- but you need a way to change settings when you hook up a screen, don't you? They even made the XServe so that you don't _have_ to usea monitor to install it, and you can plug one in at any time and unplug it afterwards, because it uses a virtual buffer when no monitor is hooked up. Hope this helped, Jan. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From monte at sweattechnologies.com Wed Dec 4 01:38:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Dec 4 01:38:00 2002 Subject: Double Decker Tab Buttons? In-Reply-To: Message-ID: Then again an option button might do the trick ;-) > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Chipp Walters > Sent: Wednesday, 4 December 2002 4:39 PM > To: use-revolution at lists.runrev.com > Subject: RE: Double Decker Tab Buttons? > > > Hey Mark, > > I can't point you to any examples...I don't think they exist-- at > least not > natively. IMO, though, I really *hate* using them. I can't imagine a more > obtuse interface, confusing and a pain in the neck for users. > > I would think a scrolling tab interface (kinda like what Excel does with > sheets) would be better for tabs. An even better interface is > like the Prefs > interface in Rev where you have a list on the left which manages > controls on > the right. > > best, > > Chipp > > > > > Can anyone point me to examples of double-decker tab buttons in > > Revolution? > > I have too many tabs to fit across the screen and stacking two tabbed > > buttons doesn't cut it for various reasons. And I like the visual file > > folder metaphor for this particular project. > > > > Thanks, > > Mark > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Wed Dec 4 01:46:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Dec 4 01:46:01 2002 Subject: System Language (and user defaults in mac os x) In-Reply-To: <72FEADC6-074B-11D7-987D-000393529642@mindlube.com> Message-ID: Great! > AppleLanguages = ( > English, > German, > French, > Dutch, > Italian, > Japanese, > Spanish, > etc... > ); I'll parse that. Just need something for OS 9 and my apps can check and load correct language at startup. COOL!!! Cheers Monte From sims at ezpzapps.com Wed Dec 4 01:47:01 2002 From: sims at ezpzapps.com (sims) Date: Wed Dec 4 01:47:01 2002 Subject: System Language In-Reply-To: References: Message-ID: This might be of interest... sims From the web page http://www.microcosmsoftware.com/systemlanguage.html "System Language is an extension to Applescript that allows a scripter to determine in his script what language is being used by the system on which the script is running. A numerical language code, or the name of the language in plain text is returned based on how System language is called by the scripter. One possible use of System Language might be to allow scripts to automatically detect and adjust to running on systems in different languages." >I actually think it's something that should be a built in function. >Particularly for MacOS as the engine does not hide the language menu. But if >there is an applescript/file based or shell solution then I'm eager to hear >it. > >Cheers > >Monte From kray at sonsothunder.com Wed Dec 4 01:52:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Wed Dec 4 01:52:00 2002 Subject: Colornames to RGB values; was: Re: Illustrating the message path in documentation References: Message-ID: <035e01c29b60$20489ab0$6601a8c0@mckinley.dom> Monte, You might want to look at the Pascal(?) code at Borland's web site and see if you can convert it to Transcript: http://community.borland.com/article/0,1410,17948,00.html Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Monte Goulding" To: Sent: Tuesday, December 03, 2002 8:20 PM Subject: RE: Colornames to RGB values; was: Re: Illustrating the message path in documentation > > libColor on my site www.sweattechnologies.com/rev can translate from any of > colorName, RGB, hex, HSV to any of colorName, RGB, hex, HSV. You don't even > need to know the type that you have. Just specify what you want to change it > to. > > PS still looking for CMYK scripts if anyone has them. > > Cheers > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Wed Dec 4 01:59:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Dec 4 01:59:01 2002 Subject: Image Editor In-Reply-To: Message-ID: On Tuesday, December 3, 2002, at 09:51 PM, Scott Slaugh wrote: > I don't know of an internal image editor, but I would like to see one > put in, or at least some sort of icon editor. Not just for buttons but for any system icons needed. I want to select those and let the distribution builder do the rest. Dar Scott lazy man in the southern Rockies From erikhans08 at yahoo.com Wed Dec 4 02:23:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Dec 4 02:23:01 2002 Subject: Image Editor In-Reply-To: Message-ID: <20021204071730.30324.qmail@web20007.mail.yahoo.com> --- Dar Scott wrote: > > On Tuesday, December 3, 2002, at 09:51 PM, > Scott Slaugh wrote: > > > I don't know of an internal image editor, but > I would like to see one > > put in, or at least some sort of icon editor. > > Not just for buttons but for any system icons > needed. I want to select > those and let the distribution builder do the > rest. > > Dar Scott > lazy man in the southern Rockies maybe go back into MetaCard. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Wed Dec 4 02:35:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Dec 4 02:35:01 2002 Subject: Image Editor In-Reply-To: Message-ID: <20021204072946.50673.qmail@web20005.mail.yahoo.com> --- Scott Slaugh wrote: > You can change the image editor in the > preferences in the general area. > There is a button that says Image Editor. > Click on it to choose a new editor. it unstuck, thanks! now i am overwhelmed by all of the choices. Quicktime didn't freeze, but it didn't do anything. are there any good default image editors that come with most Mac 9.2.1s? if not i may go back into MetaCard to tweak the image. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From Yennie at aol.com Wed Dec 4 02:41:01 2002 From: Yennie at aol.com (Yennie at aol.com) Date: Wed Dec 4 02:41:01 2002 Subject: RunRev on Xserve Message-ID: <15b.1861c3ca.2b1f0a02@aol.com> Hi, I've been running Metacard/Rev stacks on an Xserve for a couple months now- all works as normal. I heard the same scare of no-graphics-card Xserves a while ago in other forums, but I believe it was just a misinterpretation turned rumor. You won't have any problems running GUI apps on an Xserve. Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From erikhans08 at yahoo.com Wed Dec 4 03:00:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Dec 4 03:00:01 2002 Subject: Image Editor In-Reply-To: Message-ID: <20021204075404.34424.qmail@web20007.mail.yahoo.com> --- Dar Scott wrote: > > On Tuesday, December 3, 2002, at 09:51 PM, > Scott Slaugh wrote: > > > I don't know of an internal image editor, but > I would like to see one > > put in, or at least some sort of icon editor. > > Not just for buttons but for any system icons > needed. I want to select > those and let the distribution builder do the > rest. this may be primitive, but remember fatbits? choose pencil tool command click on the image voila, an internal image editor ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From malte.brill at t-online.de Wed Dec 4 03:57:01 2002 From: malte.brill at t-online.de (Malte Brill) Date: Wed Dec 4 03:57:01 2002 Subject: Distribution Crash on Imac bondi, OS 9.2 Message-ID: Thanks for your suggestion, Sarah. After a hard days night I found it. The build for MacOsPPC still crashes. When I build for OS X, though everything works fine. Is that a carbon issue? I just don?t understand it. Regards, Malte From dsc at swcp.com Wed Dec 4 04:04:03 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Dec 4 04:04:03 2002 Subject: Image Editor In-Reply-To: <20021204075404.34424.qmail@web20007.mail.yahoo.com> Message-ID: <80237FC2-0766-11D7-9B56-0050E4C0B205@swcp.com> On Wednesday, December 4, 2002, at 12:54 AM, erik hansen wrote: >> Not just for buttons but for any system icons >> needed. I want to select >> those and let the distribution builder do the >> rest. > > this may be primitive, but remember fatbits? > > choose pencil tool > command click on the image > voila, an internal image editor I made one when first learning that did some (to me) interesting editing things. What I want is some hand holding for my app and doc icons. Across platform. For a guy with the memory of a goldfish. Dar Scott From ttasovac at Princeton.EDU Wed Dec 4 06:29:01 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Wed Dec 4 06:29:01 2002 Subject: Displaying styled text Message-ID: Dear List, I have a field which displays some text. Is it possible to set the textStyle of numbers to bold; and the textStyle of bracketed strings to italics, so that the plain text actually gets displayed as: 1. (italic text) plain text blah-blah. 2. (italic text) plain text blah-blah. All best, Toma _____________________________________ Toma Tasovac Princeton University Department of Comparative Literature 318 East Pyne Princeton, NJ 08544 ttasovac at princeton.edu ttasovac at post.harvard.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcmanusm at kramergraphics.com Wed Dec 4 08:38:01 2002 From: mcmanusm at kramergraphics.com (Mike McManus) Date: Wed Dec 4 08:38:01 2002 Subject: Arrays vs Lists Message-ID: I have seen a lot about arrays lately here. So I am wondering. 1. Why or when is an Array better than a list? 2. When is a multidimensional Array better than a variable made up of multiple lines with a list on each line? It seems very simple to address item 2 of line 4 or some such. Or to just repeat "for each line". Not sure what the effective result is of either creating it as an array or splitting it into an array. Then there was the whole discussion of large text blocks or files put into an array, which seemed very interesting considering my need to read in multimegabyte files and do some replacing, and combining of files. Then writing them out to a new file. Something that is currently very slow. But I will have to consider this as I get further into rewriting the project. From Roger.E.Eller at sealedair.com Wed Dec 4 09:38:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed Dec 4 09:38:01 2002 Subject: Colornames to RGB values; was: Re: Illustrating the message path in documentation Message-ID: > PS still looking for CMYK scripts if anyone has them. > > Cheers > > Monte The code which Ken Ray pointed you to at Borland's web site looks promising, but keep in mind that CMYK is only intended for printing pigmented inks on paper or some other reflective media. The color representation on the monitor, which is transmissive is always RGB even though it can be manipulated by other methods of color conversion. In other words, you cannot actually "display" CMYK color on a monitor. Even Photoshop in CMYK mode is really displaying CMYK-to-RGB data. Kind Regards, Roger Eller roger.e.eller at sealedair.com From rcozens at pon.net Wed Dec 4 10:54:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Dec 4 10:54:00 2002 Subject: System Language In-Reply-To: References: Message-ID: >My Australian XP and OS X systems both have Sunday as the first line of the >weekdayNames Hi Monte, From Matt Denton on March 29th: >On my OSX System, 10.1.3 > >"put the system WeekdayNames" > >returns: > > Saturday > Sunday > Monday > Tuesday > Wednesday > Thursday > Friday > >and > >"put the WeekdayNames" > >returns: > > Sunday > Monday > Tuesday > Wednesday > Thursday > Friday > Saturday -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Wed Dec 4 10:54:20 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Dec 4 10:54:20 2002 Subject: revPrintField suggestion In-Reply-To: References: Message-ID: >I have noticed that folks use parentheses after commands. It >seems that these can be used after almost any command. I know that >parentheses are used after functions and can be used with properties. In >What other circumstabses can they be used? Hi Steve, I use parentheses around command arguments when I want to make sure the interpreter understands the argument is the value of the expression: eg: fileSDBRecord sbdBuffer checkSDBResult (the result) vs: fieldSDBRecord sdbBuffer checkSDBResult the result Essentially, I presume parens could be used with any command argument that is being passed by value. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Wed Dec 4 10:54:29 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Dec 4 10:54:29 2002 Subject: Need a description of how Animations work In-Reply-To: References: Message-ID: >does an animation assume certain starting and ending coordinates for >the object to be moved (as set when one uses the Animation Manager), >or is the movement relative to the place the object happens to be >when the animation starts? Hi Graham, From my experience, it is the later, EVEN though the Animation Manager was used to build the animation. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From gfisher4 at houston.rr.com Wed Dec 4 11:19:02 2002 From: gfisher4 at houston.rr.com (Glenn E Fisher) Date: Wed Dec 4 11:19:02 2002 Subject: Revolution in Classis, Virtual PC? Message-ID: On Tue, 03 Dec 2002 16:11:25 -0800 Mark Swindell wrote: > What about tweaking using Virtual PC, only for display purposes and > navigation? Have you, or anyone, used VPC for this and found problems, > inconsistencies? Mark, I have used VPC to debug windows versions of my stacks. I have even installed the windows version of RR with VPC to resolve some errors that I could not diagnose with display only. I am using VPC v5.0.4 and RR 1.1.1.2. HTH, Glenn Glenn E. Fisher University of Houston - Retired 22402 Diane Dr. Spring, Tx 77373 Fisher at uh.edu http://www.uh.edu/~fisher http://home.houston.rr.com/thegefishers/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 669 bytes Desc: not available URL: From dsc at swcp.com Wed Dec 4 13:46:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Dec 4 13:46:01 2002 Subject: Arrays vs Lists In-Reply-To: Message-ID: <7CD398C9-07B7-11D7-95CF-0050E4C0B205@swcp.com> On Wednesday, December 4, 2002, at 06:32 AM, Mike McManus wrote: > I have seen a lot about arrays lately here. So I am wondering. > > 1. Why or when is an Array better than a list? Use a list when... 1. You think of the data as a sequence. 2. You might sometimes want to get the nth one, but not often for big lists. 3. You might want to peak at it (debugging or otherwise). 4. You might want to easily add an item to either end. 5. You might want to combine the data to make a new sequence with one after the other. 6. You don't need items to be binary data or arbitrary numbers. Use an array when... 1. You want to name or number each entry. (The numbers are really names.) 2. You don't think of any order except as how you order keys. 3. You sometimes want to do something to all elements (ignoring keys) 4. You might have a large number of key-element pairs and want to look them up quickly. 5. You might store data that might have delimiters in it. 6. You might store data that is a number in a calculation. This applies whether "list" means items in a line or lines in a value. > 2. When is a multidimensional Array better than a variable made up of > multiple lines with a list on each line? Hmmmm. I'm not sure how Revolutionaries use the word "list". The chunk goes up from char, word, item and line. You can use that to structure your data. (The doc says a word can be a quoted phrase, but I haven't tried it.) The most important limitation is data that includes quotes or your delimiters (ordinarily spaces, commas and lineFeeds). If you put a number into such a string, it will be converted using numberFormat, so you can lose data. With an array the key is forced to be a string. You can think of pairs as automatically sorted by keys. The element can be an internal number (preserving large and small exponents), but cannot be another array. If you use a number in an element in a way that requires a string, then numberFormat is used at that time. This includes combine. You can combine these methods. Now I have a question for all. In the Revolution culture, what does "list" mean? Items separated by commas? lines? Or something more general and abstract? Dar Scott From dvk at dvkconsult.com.au Wed Dec 4 14:27:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Wed Dec 4 14:27:01 2002 Subject: Arrays vs Lists In-Reply-To: Message-ID: <97BBA04E-07BD-11D7-8F93-000393598038@dvkconsult.com.au> On Thursday, December 5, 2002, at 12:32 AM, Mike McManus wrote: > I have seen a lot about arrays lately here. So I am wondering. > > 1. Why or when is an Array better than a list? > 2. When is a multidimensional Array better than a variable made up of > multiple lines with a list on each line? > Mike Reflecting on my practice, my approach is that I use an array when I wish to access elements at random or think of information as labelled data, whereas a list is preferred whenever I have a data blob or naturally deal with it in sequence. These are not exclusive, as you can refer to line n of a list (slow compared with an array), combine an array and treat as a list for a while, or sort its keys for a particular sequence. Since all keys in Rev arrays are just extended strings, with the multi-key structure being one of our imagining, I used two-dimensional lists (lines of items) rather than two-key arrays in the most obvious example in my recollection. Both lists and arrays can have delimiter problems (between the keys in multi-dimensional arrays) depending on the data. regards David > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From zelston at aol.com Wed Dec 4 14:32:01 2002 From: zelston at aol.com (Zac Elston) Date: Wed Dec 4 14:32:01 2002 Subject: TabletPC Message-ID: FYI, I was reading the archives and came across this thread so I thought I'd chime in with my experience Our rev app is a data acquisition tool run on a tablet PC (not MS, but we have evaluated them). Basically a way for patients and "subjects" to take a series of standardized tests with a wireless tablet and a finger. (anyone remember the 30,000 circles?) Audio tracks play to read the questions and we track the input based on what was pressed on the screen. It's an awesome "revolution" in data gathering. No human transcription errors occur because we collect data straight from the "subject" and export it directly to the database. So will tabletPCs and rev work? Absolutely. The screen is the mouse so you don't have to change your code to track anything, but there are some limitations. A: MS TabletPc's only work with a pen, not a finger (other manufactures do allow this) B: Make your UI a little bigger then normal. Pad icons and create a simple interfaces. Moving a pen around the screen does not have the precision of a mouse. We use fingers so we have to use really big buttons to account for the inaccurate presses C: Windows manages the "script to text" function so I think this should work, it works in older versions of "Windows for pen" on our tablets. Basically a layer sits above the GUI to track movements and then passes the movements(convert-to-text) to the active widget in the GUI. Hope that helps -zac From dvk at dvkconsult.com.au Wed Dec 4 16:14:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Wed Dec 4 16:14:01 2002 Subject: Arrays vs Lists In-Reply-To: Message-ID: <8084C000-07CC-11D7-8F93-000393598038@dvkconsult.com.au> On Thursday, December 5, 2002, at 12:32 AM, Mike McManus wrote: > I have seen a lot about arrays lately here. So I am wondering. > > It seems very simple to address item 2 of line 4 or some such. Or to > just repeat "for each line". Not sure what the effective result is of > either creating it as an array or splitting it into an array. As an afterthought triggered by this question and the responses from Dar and me, every couple of months this list receives a query along the lines of "my repeat with i = 1 to n loop is very slow" to which several will chorus "use repeat for each" (as Mike mentions). So it may be worthwhile mentioning the otherwise obvious inference from the array discussion that one way to deal with a large list where you want access by line number is first to use RFE to put it into an array with enumerated keys, and Bob's your uncle. Slower than RFE for a single cycle but fast for repeated direct access to lines not otherwise keyed; e.g. indexing into a lookup list via a calculated sequence number. cheers David > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sanke at hrz.uni-kassel.de Wed Dec 4 16:28:01 2002 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed Dec 4 16:28:01 2002 Subject: Colornames to RGB values Message-ID: <3DEE7231.53C59617@hrz.uni-kassel.de> On Wed, 4 Dec 2002 , "Monte Goulding" wrote: > libColor on my site www.sweattechnologies.com/rev can translate from any of > colorName, RGB, hex, HSV to any of colorName, RGB, hex, HSV. You don't even > need to know the type that you have. Just specify what you want to change it > to. > > PS still looking for CMYK scripts if anyone has them. > > Cheers > > Monte > Dear Monte, I really appreciate your "libcolor" stack as a tool (along with the other stacks you offer on your website), and I see from your script that for converting colornames to RGB values you also make use of the backpixel property. Richard Gaskin's information that you can look up the list of colornames with their RGB equivalents is certainly also helpful (although you have to dig deep into the custom properties). I repeat here part of it for the context: > If you want to find the complete list, open up the Application Overview > and turn on Revolution UI stacks in list. Find revColors.rev and go to > the only card in the only stack. Have a look at the properties and go > to the Custom tab, then turn on "Show Revolution UI custom properties". > The cRevColorTranslation property gives you all the names & RGB > equivalents. > There are, of course, as we all may know, no problems to get RGB values of a colorname using the color chooser of the Properties Dialog in Metacard and the Revolution Color Dialog. However, there are occasions when you want to change the whole or a part of a color value "on the fly" during runtime (this is how I came across this problem) without first looking up a colorname list or loading another stack. Happily this can be done with these already mentioned 3 lines of script - without having stored a list of all colornames and their equivalent RGB values somewhere: " get the effective backPixel of control x # the control that has a colorname and therefore no # retrievable RGB-backcolor set the backPixel of control x to it # this eliminates the colorname and replaces it with RGB put the backcolor of control x into anyColorVar # for further processing". You can even leave out here "set the backcolor of control x to empty" as a second line, which is used in the script of the Metacard Color Chooser. This possibility to convert colornames to RGB values by scripting is nowhere mentioned in the Revolution and Metacard documentations, as far as I see. For Revolution, it would be probably useful to add this information to the "backpixel" and "colornames" entries of the "Transcript Dictionary". Regards, Wilhelm Sanke From DVGlasgow at aol.com Wed Dec 4 17:09:00 2002 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Wed Dec 4 17:09:00 2002 Subject: Revolution in Classis, Virtual PC? Message-ID: <7c.3227ede0.2b1fd58e@aol.com> In a message dated 4/12/02 12:44:11 AM, use-revolution-request at lists.runrev.com writes: << Mark Swindell wrote: > What about tweaking using Virtual PC, only for display purposes and > navigation? Have you, or anyone, used VPC for this and found problems, > inconsistencies? I haven't had problems with emulators personally, but that's likely becauseI use them so seldom. I prefer to have the full-on wow-my-system-crashes-all-the-time-and-is-chock-full-of-dangerous-security holes-and-by-the-way-what's-an-IRQ-setting Windows user experience. ;) -- Richard Gaskin >> Absolutely. I build on the Mac for Windows and then I test and tweak using VPC 4.0. The problem is that this behaves *much* better than Windows 'in the wild'. VPC is fine for appearance and major cross platform issues, but the variety of weirdness that goes on in my colleagues PCs is remarkable. Best wishes, David Glasgow Home/ forensic assessments --> DVGlasgow Courses --> i-Psych From sjoerdoptland at s2theatertechniek.nl Wed Dec 4 17:23:01 2002 From: sjoerdoptland at s2theatertechniek.nl (Sjoerd Op 't Land) Date: Wed Dec 4 17:23:01 2002 Subject: Image Editor In-Reply-To: <20021204072946.50673.qmail@web20005.mail.yahoo.com> Message-ID: erik hansen wrote/ schreef: > are there any good default image editors that come with most Mac 9.2.1s? I like the GraphicConverter (shareware, try it for free: www.lemkesoft.com ). Regards, / Groeten, Sjoerd From xslaugh at hotmail.com Wed Dec 4 17:59:29 2002 From: xslaugh at hotmail.com (Scott Slaugh) Date: Wed Dec 4 17:59:29 2002 Subject: Image Editor Message-ID: > > > I don't know of an internal image editor, but > > I would like to see one > > > put in, or at least some sort of icon editor. > > > > Not just for buttons but for any system icons > > needed. I want to select > > those and let the distribution builder do the > > rest. > >this may be primitive, but remember fatbits? > >choose pencil tool >command click on the image >voila, an internal image editor Yes, I have used that before. My problem with that is that it only puts color on top of the image-if I then move my image, the color doesn't move with it. I would like to see something that would let me both create and edit premade images. Scott Slaugh _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From capellan2000 at yahoo.com Wed Dec 4 19:15:01 2002 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed Dec 4 19:15:01 2002 Subject: Colornames to RGB values In-Reply-To: <200212041703.MAA09353@www.runrev.com> Message-ID: <20021205000854.73766.qmail@web40511.mail.yahoo.com> Hi Monte, I've already used this code from the Borland site in the utility stack epsImportV03p. Here, I convert the cmyk color in Adobe Ilustrator files to a rgb string. The cmyk color is in decimal format as (0.75 0.5 0.25 0) Notice that I don't use the whole code from the Borland site, just the part I need. Function CMYKtoRGB cmyk replace space with comma in cmyk put cmyk into cmykVar repeat 4 put trunc(item 1 of cmykVar * 255) & "," after cmykVar2 delete item 1 of cmykVar end repeat if item 1 of cmykVar2 = 0 and item 2 of cmykVar2 = 0 and item 3 of cmykVar2 = 0 then put item 4 of cmykVar2 into R put item 4 of cmykVar2 into G put item 4 of cmykVar2 into B else if (item 1 of cmykVar2 + item 4 of cmykVar2) < 255 then put 255 - (item 1 of cmykVar2 + item 4 of cmykVar2) into R else put 0 into R if (item 2 of cmykVar2 + item 4 of cmykVar2) < 255 then put 255 - (item 2 of cmykVar2 + item 4 of cmykVar2) into G else put 0 into G if (item 3 of cmykVar2 + item 4 of cmykVar2) < 255 then put 255 - (item 3 of cmykVar2 + item 4 of cmykVar2) into B else put 0 into B end if -- put R & "," & G & "," & B -- Uncomment for debug return R & "," & G & "," & B end CMYKtoRGB > From: "Ken Ray" > Date: Wed, 4 Dec 2002 00:41:07 -0600 > Monte, > > You might want to look at the Pascal(?) code at > Borland's web site and see > if you can convert it to Transcript: > > http://community.borland.com/article/0,1410,17948,00.html > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From sarahr at genesearch.com.au Wed Dec 4 19:44:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Wed Dec 4 19:44:01 2002 Subject: Displaying styled text In-Reply-To: Message-ID: <6098C674-07E9-11D7-8D2E-0003937A97B8@genesearch.com.au> I haven't tried this but it doesn't sound impossible. You will need to loop through your field a couple of times. First get the offset for "(", then the next offset for ")". This will give you 2 character numbers which you can use to set the style. The trick then is using the 3rd parameter of the offset function to look for the next "(" Then you will have to loop through each word of the field checking if it is a number so you can set it to bold. If it is a number in brackets, do you want it set to bold & italic? If so, you will need to check the current textStyle before changing. Here is an untested script which should get you started: on mouseUp put 0 into skipChar repeat put offset("(", fld "Data", skipChar) into startChar put offset(")", fld "Data", skipChar) into endChar if startChar = 0 or endChar = 0 then exit repeat set the textStyle of char startChar+skipChar to endChar+skipChar of fld "Data" to "italic" -- this includes the brackets put endChar into skipChar end repeat put 1 into wordCount repeat for each word w in fld "Data" if w is a number then -- not checking to see if it is already italic set the textStyle of word wordCount of fld "Data" to "bold" end if add 1 to wordCount end repeat end mouseUp Cheers, Sarah On Thursday, December 5, 2002, at 08:42 am, Toma Tasovac wrote: > Dear List, > > I have a field which displays some text. ?Is it possible to set the > textStyle of numbers to bold; and the textStyle of bracketed strings > to italics, so that the plain text actually gets displayed as: > > 1. (italic text) plain text blah-blah. ?2. (italic text) plain text > blah-blah. > > All best, > Toma > > _____________________________________ > Toma Tasovac > Princeton University > Department of Comparative Literature > 318 East Pyne > Princeton, NJ 08544 > > ttasovac at princeton.edu > ttasovac at post.harvard.edu From kee at kagi.com Wed Dec 4 20:04:01 2002 From: kee at kagi.com (kee nethery) Date: Wed Dec 4 20:04:01 2002 Subject: RunRev on Xserve In-Reply-To: <15b.1861c3ca.2b1f0a02@aol.com> Message-ID: <803132BF-07EC-11D7-B18C-003065F25CD4@kagi.com> Thank you both for the information. I asked at the Apple Store and they gave me no GUI apps answer. Thanks again, Kee Nethery On Tuesday, December 3, 2002, at 11:34 PM, Yennie at aol.com wrote: > > I've been running Metacard/Rev stacks on an Xserve for a couple months > now- all works as normal. > I heard the same scare of no-graphics-card Xserves a while ago in > other forums, but I believe it was just a misinterpretation turned > rumor. You won't have any problems running GUI apps on an Xserve. > > Brian On Tuesday, December 3, 2002, at 10:29 PM, Jan Schenkel wrote: > > Of course applications running on XServe can have an > interface. Granted, it's one of those areas where > you're likely to find a faceless program -- but you > need a way to change settings when you hook up a > screen, don't you? > They even made the XServe so that you don't _have_ to > usea monitor to install it, and you can plug one in at > any time and unplug it afterwards, because it uses a > virtual buffer when no monitor is hooked up. > Hope this helped, > > Jan. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1184 bytes Desc: not available URL: From erikhans08 at yahoo.com Wed Dec 4 20:15:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Dec 4 20:15:01 2002 Subject: Image Editor In-Reply-To: Message-ID: <20021205010930.96435.qmail@web20001.mail.yahoo.com> --- Scott Slaugh wrote: > > > > I don't know of an internal image editor, > but > > > I would like to see one > > > > put in, or at least some sort of icon > editor. > > > > > > Not just for buttons but for any system > icons > > > needed. I want to select > > > those and let the distribution builder do > the > > > rest. > > > >this may be primitive, but remember fatbits? > > > >choose pencil tool > >command click on the image > >voila, an internal image editor > > Yes, I have used that before. My problem with > that is that it only puts > color on top of the image-if I then move my > image, the color doesn't move > with it. I would like to see something that > would let me both create and > edit premade images. what about SimpleText? it has sound but i didn't see anything about graphics. SimpleImage. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From troy at rpsystems.net Wed Dec 4 20:29:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Wed Dec 4 20:29:01 2002 Subject: RunRev on Xserve In-Reply-To: <803132BF-07EC-11D7-B18C-003065F25CD4@kagi.com> Message-ID: <2E391341-07F0-11D7-8525-000393853D6C@rpsystems.net> On Wednesday, December 4, 2002, at 07:57 PM, kee nethery wrote: > Thank you both for the information. I asked at the Apple Store and they > gave me no GUI apps answer. Thanks again, > What do you want from "geniuses"? -- Troy RPSystems, LTD www.rpsystems.net From dsc at swcp.com Wed Dec 4 20:39:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Dec 4 20:39:01 2002 Subject: RunRev on Xserve In-Reply-To: <15b.1861c3ca.2b1f0a02@aol.com> Message-ID: <59B852CA-07F1-11D7-95CF-0050E4C0B205@swcp.com> On Wednesday, December 4, 2002, at 12:34 AM, Yennie at aol.com wrote: > I've been running Metacard/Rev stacks on an Xserve for a couple months > now- all works as normal. > I heard the same scare of no-graphics-card Xserves a while ago in other > forums, but I believe it was just a misinterpretation turned rumor. You > won't have any problems running GUI apps on an Xserve. > This is good news. Just to make sure... Is your Xserve--the one actually running stacks--a no-graphics-card version? Are these full stacks? Dar Scott From erikhans08 at yahoo.com Wed Dec 4 20:51:00 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Dec 4 20:51:00 2002 Subject: the message box In-Reply-To: Message-ID: <20021205014522.32136.qmail@web20005.mail.yahoo.com> put x into msg, message, message box -works fine. put x into the message box gets: Script compile error: Error description: Chunk: can't create a variable with that name (explicitVariables?) so it seems to be back to msg, which MC didn't like. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From monte at sweattechnologies.com Wed Dec 4 21:04:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Dec 4 21:04:01 2002 Subject: System Language In-Reply-To: Message-ID: I still get Sunday I've been Australian all my life and if I was going to think of a day that wasn't Sunday but was the start of the week I'd think of Monday. Isn't that why it's called a weekend not a weekstart????? But thanks to the heads up it made me read the mc docs on weekdaynames and find out that some systems have a locale environment variable. Then I checked the globalNames and found $LANG. Then I checked $LANG and found en_us. So MC thinks I'm using en_us but my language menu has an Australian flag! Can someone check for me if $LANG is an environment variable on OS 9? Cheers Monte > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Rob Cozens > Sent: Thursday, 5 December 2002 2:00 AM > To: use-revolution at lists.runrev.com > Subject: RE: System Language > > > >My Australian XP and OS X systems both have Sunday as the first > line of the > >weekdayNames > > Hi Monte, > > From Matt Denton on March 29th: > > >On my OSX System, 10.1.3 > > > >"put the system WeekdayNames" > > > >returns: > > > > Saturday > > Sunday > > Monday > > Tuesday > > Wednesday > > Thursday > > Friday > > > >and > > > >"put the WeekdayNames" > > > >returns: > > > > Sunday > > Monday > > Tuesday > > Wednesday > > Thursday > > Friday > > Saturday > > > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.com/who.htm > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Wed Dec 4 21:14:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Dec 4 21:14:01 2002 Subject: Colornames to RGB values In-Reply-To: <3DEE7231.53C59617@hrz.uni-kassel.de> Message-ID: Hi Wilhelm > I really appreciate your "libcolor" stack as a tool (along with the > other stacks you offer on your website), and I see from your script that > for converting colornames to RGB values you also make use of the > backpixel property. I use a comination of these methods. The library uses a custompropertyset to directly map from colorname to rgb. This is the most efficient way to do it. However, it is also self updating so in the event of Raney adding a new colorname constant it's only a matter of calling a handler to reset the custompropertyset. Cheers Monte From monte at sweattechnologies.com Wed Dec 4 21:15:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Dec 4 21:15:00 2002 Subject: Colornames to RGB values In-Reply-To: <20021205000854.73766.qmail@web40511.mail.yahoo.com> Message-ID: Thanks Alejandro anf Ken I'll have a new version of libColor ready soon. Cheers Monte From bvlahos at mac.com Wed Dec 4 21:20:01 2002 From: bvlahos at mac.com (Bill Vlahos) Date: Wed Dec 4 21:20:01 2002 Subject: RunRev on Xserve In-Reply-To: <59B852CA-07F1-11D7-95CF-0050E4C0B205@swcp.com> Message-ID: <431BE3D0-07F7-11D7-A68B-003065EC5590@mac.com> It sounds like a clear answer is eluding people. OS X Server 10.2 (Jaguar) on Xservers no longer need a video card to be configured or run. Apple can now make the video card optional. Everything can be configured via the console port or SSH. Any application that can run without an interface, such as running without logging in, like the OS X Server apps don't require a video card. Typical Revolution applications work within a window drawn on the screen. These kinds of traditional applications will need to run with the computer logged in. This login requires a video card even if there is no monitor connected. This is true for any OS X computer. I believe it is possible to write a Revolution application which does not require the GUI but I don't know how to write it. Check out the CGI type applications for unix in the Revolution documentation. There would be a non-GUI deamon running on the server and a separate GUI application which could run either on the server or on a different computer. In summary: If your application has a GUI, your Xserve will need a video card to run. A monitor is optional. Hope this helps. Bill Vlahos On Wednesday, December 4, 2002, at 05:32 PM, Dar Scott wrote: >> I've been running Metacard/Rev stacks on an Xserve for a couple >> months now- all works as normal. >> I heard the same scare of no-graphics-card Xserves a while ago in >> other forums, but I believe it was just a misinterpretation turned >> rumor. You won't have any problems running GUI apps on an Xserve. >> > > This is good news. > > Just to make sure... Is your Xserve--the one actually running > stacks--a no-graphics-card version? Are these full stacks? > > Dar Scott From monte at sweattechnologies.com Wed Dec 4 23:07:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Dec 4 23:07:00 2002 Subject: Colornames to RGB values In-Reply-To: Message-ID: Hi All Version 0.3 of libColor is now up on my site with support for CMYK. I've used the example code from borland but would like some testing please. Suported color reference types are now "text" | "colorName" | "name", "RGB", "RGB Decimal", "HEX" | "HTML" ,"HSV" or "CMYK", "CMYK Decimal". Please report any bugs. URL: www.sweattechnologies.com/rev Cheers Monte From paeleman at hotmail.com Thu Dec 5 04:38:01 2002 From: paeleman at hotmail.com (Joeri Paeleman) Date: Thu Dec 5 04:38:01 2002 Subject: InterApplication Communication Message-ID: Hi, I'm pretty new to Revolution, and I'm still not quite sure of all the possibilities. One of the things I would like to know is if it's possible to communicate with OLE-servers through Revolution. Can I send commands to external applications like word (or IE, or Acrobat,...), as in VB? Thanks in advance, Joeri _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From sylvain at bouju.net Thu Dec 5 04:57:01 2002 From: sylvain at bouju.net (Sylvain Bouju) Date: Thu Dec 5 04:57:01 2002 Subject: Hilite, button, icon Message-ID: <1fmpsi8.1edm0tu19au3n4M%sylvain@bouju.net> Is there a simple way to have an autohilite iconized button, ? la Hypercard? (sorry...) No founded yet anything else than setting different icons for each state of the button. -- Sylvain Bouju sylvain at bouju.net -- From ttasovac at Princeton.EDU Thu Dec 5 08:48:01 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Thu Dec 5 08:48:01 2002 Subject: Displaying styled text In-Reply-To: <6098C674-07E9-11D7-8D2E-0003937A97B8@genesearch.com.au> Message-ID: Dear Sarah, thanks a lot for your suggestion. Setting the numbers to bold works perfectly, but I'm still having problems with setting the bracketed text to italics. The script below works correctly only if there is one occurrence of a pair of brackets. If there are two, Revolution hangs up on me; and if there are three or more occurrences, only the first two pairs are set to italic + Rev hangs up. > on mouseUp > put 0 into skipChar > repeat > put offset("(", fld "Data", skipChar) into startChar > put offset(")", fld "Data", skipChar) into endChar > if startChar = 0 or endChar = 0 then exit repeat > > set the textStyle of char startChar+skipChar to endChar+skipChar of > fld "Data" to "italic" > -- this includes the brackets > put endChar into skipChar > end repeat I don't see what the problem is. Any help will be greatly appreciated. All best, _____________________________________ Toma Tasovac Princeton University Department of Comparative Literature 318 East Pyne Princeton, NJ 08544 ttasovac at princeton.edu ttasovac at post.harvard.edu From giulio at cantoberon.it Thu Dec 5 09:36:01 2002 From: giulio at cantoberon.it (Giulio Mastrosanti) Date: Thu Dec 5 09:36:01 2002 Subject: backdrop, revGoURL and mac OS X Message-ID: <0FADB7DF-085E-11D7-9073-000393A949D8@cantoberon.it> I have a application, with an 800 * 600 size stack and a black backdrop. In the application there are also some buttons that links to URLs using revGoURL. My problem is: I have clicked a link button and the browser window has appeared in front of my application and the black backdrop: if I close the browser window I have my application again in front and all works fine; If I click on the stack window the browser window is sent back, I have my application again in front and all works fine; If I click on the black region of the screen, outside the stack, the browser window is sent back, but also my application has desappeared and I have an empty black screen! This is happening on Jaguar, on Windows all works fine, at least on XP ( the browser window is not sent back clicking anywhere else on the screen and I must explicitly close it to make it disappear ), didn't try it on Classic yet. am I missing something or is a known prioblem? Thanx, Giulio From mcmanusm at kramergraphics.com Thu Dec 5 09:51:00 2002 From: mcmanusm at kramergraphics.com (Mike McManus) Date: Thu Dec 5 09:51:00 2002 Subject: Arrays vs Lists In-Reply-To: <8084C000-07CC-11D7-8F93-000393598038@dvkconsult.com.au> Message-ID: <2612E52E-0860-11D7-B50A-0003936C5FDE@kramergraphics.com> Thanks to both Dar and David for your inputs. Gives me something to think about in deciding to use the one or the other. Has allowed me to get a better handle on it. I was starting to understand and use arrays a lot more when I was doing more perl. But it is so easy to through a list together in Rev., that sometime I wonder if it's worth the effort to create an array, especially since I seem to have a lot of trouble creating and using them in Rev(Custom Properties to be specific!). But apparently I should give it some thought under the right conditions As for Dar's question about a list. IME, a list is an ordered delimited groups of words or phrases. The delimiter is usually, but not always a comma. I suspect that is not correct when you consider programming in general. But having spent a lot of time in Hypercard. That is what I consider one. You can delimit with anything, just be sure it doesn't pop up in you list items. On Wednesday, December 4, 2002, at 04:08 PM, David Vaughan wrote: > > On Thursday, December 5, 2002, at 12:32 AM, Mike McManus wrote: > >> I have seen a lot about arrays lately here. So I am wondering. >> >> It seems very simple to address item 2 of line 4 or some such. Or to >> just repeat "for each line". Not sure what the effective result is of >> either creating it as an array or splitting it into an array. > > As an afterthought triggered by this question and the responses from > Dar and me, every couple of months this list receives a query along > the lines of "my repeat with i = 1 to n loop is very slow" to which > several will chorus "use repeat for each" (as Mike mentions). > > So it may be worthwhile mentioning the otherwise obvious inference > from the array discussion that one way to deal with a large list where > you want access by line number is first to use RFE to put it into an > array with enumerated keys, and Bob's your uncle. Slower than RFE for > a single cycle but fast for repeated direct access to lines not > otherwise keyed; e.g. indexing into a lookup list via a calculated > sequence number. > > cheers > David > >> >> >> _______________________________________________ >> 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 carstenlist at itinfo.dk Thu Dec 5 10:56:01 2002 From: carstenlist at itinfo.dk (Carsten Levin) Date: Thu Dec 5 10:56:01 2002 Subject: Busy cursor - wait while quicktime sound is played. In-Reply-To: <200212041704.MAA09367@www.runrev.com> Message-ID: Hello RunRev support. ITinfo & INDesign has 3 professionel licenses. Platform Present Rev. version and OS: Revolution 1.1.1 on Mac OS X 10.2.2 (but it would be rather nice i compatible with Win/Mac OS 9 as well). Question We previously used the external Record sound to record sounds and store them. And when playing the files we could use ?wait until the sound is done. And it worked perfect! How do we get the pause/busy cursor effect with the ?record sound file? quicktimeformat. In some cases we need to play 6-36 sentences with one script ? and we need to make the script wait until the previous one has finished before starting the next. And even when only playing one we want the cursor to be ?busy? and to make it impossible for the user to interfere while the sound is playing. ?Wait until the sound is done? did this, but doesnt work with the QT files. Best regards Carsten Levin Ps. our old and new scripts pasted here: First the old aif external example ? record and playing in the same script: on srtoptag get extInit(MacinfoBA,3050298) put glbstilfilsti & "ress/sounds/opgavelyde/" & glbLydnavn & ".aif" into tempSOUND ext_recordSound tempSOUND,1 set the cursor to busy play tempSOUND wait until the sound is done end srtoptag The new scripts that works perfectly well, except for the missing cursorbusy pause. First the record script and then the play script: We are recording and storing sound files on the disk with this script: on srtoptagopgavelyd global glbglosefilsti global glblydformat global glbopgavenummer record sound file (glbglosefilsti & "ress/sounds/opgavelyde/opgavetale" & glbopgavenummer &".mov")as glblydformat end srtoptagopgavelyd glbglosefilsti is the path to the folder with our revolution stack. glblydformat is where we deside what sound format to use. glbopgavenummer is the specifik sound number. We are playing the sound files with this script: on srtafspilopgavelyd global glbglosefilsti global glbopgavenummer play videoclip (glbglosefilsti & "ress/sounds/opgavelyde/opgavetale" & glbopgavenummer &".mov") end srtafspilopgavelyd -------------- next part -------------- An HTML attachment was scrubbed... URL: From kray at sonsothunder.com Thu Dec 5 11:59:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Dec 5 11:59:01 2002 Subject: InterApplication Communication References: Message-ID: <04d001c29c7e$290d3920$6601a8c0@mckinley.dom> Not "in the box", but can use Tuviah's External Collection to send DDE messages to other apps that can process DDE (most of MS Office can do this, along with VB): http://www.xworlds.com/metacard/external.htm Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Joeri Paeleman" To: Sent: Thursday, December 05, 2002 3:32 AM Subject: InterApplication Communication > > Hi, > > I'm pretty new to Revolution, and I'm still not quite sure of all the > possibilities. > One of the things I would like to know is if it's possible to communicate > with OLE-servers through Revolution. Can I send commands to external > applications like word (or IE, or Acrobat,...), as in VB? > > Thanks in advance, > > Joeri > > > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Dec 5 12:03:02 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Dec 5 12:03:02 2002 Subject: Hilite, button, icon References: <1fmpsi8.1edm0tu19au3n4M%sylvain@bouju.net> Message-ID: <04d901c29c7e$9b2d8820$6601a8c0@mckinley.dom> Check out the hiliteIcon, armedIcon, and disabledIcon properties. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Sylvain Bouju" To: Sent: Thursday, December 05, 2002 3:51 AM Subject: Hilite, button, icon > Is there a simple way to have an autohilite iconized > button, ? la Hypercard? (sorry...) > > No founded yet anything else than setting different > icons for each state of the button. > > -- > Sylvain Bouju > sylvain at bouju.net > -- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From miscdas at boxfrog.com Thu Dec 5 12:18:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Thu Dec 5 12:18:01 2002 Subject: Arrays vs Lists In-Reply-To: <2612E52E-0860-11D7-B50A-0003936C5FDE@kramergraphics.com> References: <2612E52E-0860-11D7-B50A-0003936C5FDE@kramergraphics.com> Message-ID: <20021205171225.83872.qmail@www.boxfrog.com> Mike McManus writes: [snip] > As for Dar's question about a list. IME, a list is an ordered delimited > groups of words or phrases. The delimiter is usually, but not always a > comma. I suspect that is not correct when you consider programming in > general. But having spent a lot of time in Hypercard. That is what I > consider one. You can delimit with anything, just be sure it doesn't pop > up in you list items. > Why restrict your definition to an ORDERED group of "things"? Granted that intuitively, ordering renders the list more useful. But should it be a requirement? miscdas From sanke at hrz.uni-kassel.de Thu Dec 5 12:30:00 2002 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu Dec 5 12:30:00 2002 Subject: Arrays vs Lists Message-ID: <3DEF8BE2.D6A92067@hrz.uni-kassel.de> On Thu, 5 Dec 2002 David Vaughan wrote: > On Thursday, December 5, 2002, at 12:32 AM, Mike McManus wrote: > > > I have seen a lot about arrays lately here. So I am wondering. > > > > 1. Why or when is an Array better than a list? > > 2. When is a multidimensional Array better than a variable made up of > > multiple lines with a list on each line? > > > > Mike > > Reflecting on my practice, my approach is that I use an array when I > wish to access elements at random or think of information as labelled > data, whereas a list is preferred whenever I have a data blob or > naturally deal with it in sequence. These are not exclusive, as you can > refer to line n of a list (slow compared with an array), combine an > array and treat as a list for a while, or sort its keys for a > particular sequence. > > Since all keys in Rev arrays are just extended strings, with the > multi-key structure being one of our imagining, I used two-dimensional > lists (lines of items) rather than two-key arrays in the most obvious > example in my recollection. Both lists and arrays can have delimiter > problems (between the keys in multi-dimensional arrays) depending on > the data. > > regards > David > Here is an example that may illustrate different speeds and such delimiter problems: To store and/or retrieve data with a two-dimensional array takes less than half the time needed with a two-dimensional list under the conditions of the following example. Here is the storing part of a color pattern with 2760 color values used as a basis to later manipulate the colors with specific algorithms: array: repeat with i = 1 to 46 repeat with j = 1 to 60 put the backcolor of char j of line i of fld 1 into colorarray[i,j] end repeat end repeat list: put empty into colorlist repeat with i = 1 to 46 repeat with j = 1 to 60 put Space&the backcolor of char j of line i of fld 1 into word j of line i of colorlist end repeat end repeat You need an delimiter with the list as the color values consist of three items each. Using "Space&" as a necessary delimiter adds 10 % processing time to the double processing time of the list vs. the array. Using items instead of words is slightly faster, but then you run into the trouble of setting and resetting itemdelimiters later when you want to manipulate the color data, which is a bit problematic because you have items stored in items and the disentangling takes extra time, too. Regards, Wilhelm Sanke From rcozens at pon.net Thu Dec 5 12:39:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Dec 5 12:39:00 2002 Subject: Arrays vs Lists In-Reply-To: <20021205171225.83872.qmail@www.boxfrog.com> References: <2612E52E-0860-11D7-B50A-0003936C5FDE@kramergraphics.com> <20021205171225.83872.qmail@www.boxfrog.com> Message-ID: >Why restrict your definition to an ORDERED group of "things"? >Granted that intuitively, ordering renders the list more useful. But >should it be a requirement? Along this line, the HyperCard Reference Manual (p 7-27): "You can automatically highlight the line that a user clicks in a field, treating the clicked line as a selection from a list." I see nothing there to imply a list must be ordered. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From wmb at internettrainer.com Thu Dec 5 12:42:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Dec 5 12:42:01 2002 Subject: Image Editor In-Reply-To: <20021205010930.96435.qmail@web20001.mail.yahoo.com> Message-ID: <20A6D773-0878-11D7-B967-003065430226@internettrainer.com> On Donnerstag, Dezember 5, 2002, at 02:09 Uhr, erik hansen wrote: >> Yes, I have used that before. My problem with >> that is that it only puts >> color on top of the image-if I then move my >> image, the color doesn't move >> with it. I would like to see something that >> would let me both create and >> edit premade images. I dont really understand what you are looking for, but maybe it helps if you have a look at inspiration.com or more sophisticated but OSX only Omnigraffle. Both can export images in the important formats like gif (animated) png, pict jpeg etx... which you can handle then in rev... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From chipp at chipp.com Thu Dec 5 12:43:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Thu Dec 5 12:43:00 2002 Subject: Hilite, button, icon In-Reply-To: <1fmpsi8.1edm0tu19au3n4M%sylvain@bouju.net> Message-ID: check out the button tutorial at: http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Sylvain Bouju > Sent: Thursday, December 05, 2002 3:51 AM > To: use-revolution at lists.runrev.com > Subject: Hilite, button, icon > > > Is there a simple way to have an autohilite iconized > button, ? la Hypercard? (sorry...) > > No founded yet anything else than setting different > icons for each state of the button. > > -- > Sylvain Bouju > sylvain at bouju.net > -- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at mindlube.com Thu Dec 5 12:59:01 2002 From: alex at mindlube.com (Alex Rice) Date: Thu Dec 5 12:59:01 2002 Subject: showing off with Revolution Message-ID: <74C105EA-087A-11D7-AB7C-000393529642@mindlube.com> This week I had a tech review with the client for my Revolution app. On a video projector I had the Revolution IDE running. The client was pleased as we interactively went through all the screens and made changes, did some testing, and then printed the screens, all 32 of them. What other programming environment could do that? None, except maybe a Smalltalk. Way to go Revolution! Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From dsc at swcp.com Thu Dec 5 13:42:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 5 13:42:01 2002 Subject: Arrays vs Lists In-Reply-To: <20021205171225.83872.qmail@www.boxfrog.com> Message-ID: <4E1F5DE0-0880-11D7-A81C-0050E4C0B205@swcp.com> On Thursday, December 5, 2002, at 10:12 AM, miscdas at boxfrog.com wrote: >> As for Dar's question about a list. IME, a list is an ordered >> delimited groups of words or phrases. The delimiter is usually, but >> not always a comma. I suspect that is not correct when you consider >> programming in general. But having spent a lot of time in Hypercard. >> That is what I consider one. You can delimit with anything, just be >> sure it doesn't pop up in you list items. > > Why restrict your definition to an ORDERED group of "things"? Granted > that intuitively, ordering renders the list more useful. But should it > be a requirement? I think in general in programming I would think _ordered_ is a requirement for "list". Also, in programming the "distance" or ease of access for data in the middle or end may not be as low as that for the front. Perhaps the word "sequence" would have less of that stigma. A more general term that would not include order might be a collection. I wasn't sure whether Revolutionaries used "list" for a string that separated inclosed data with delimiters, that with delimiters being lineFeeds specifically, or in the more general sense. I am tinkering with my library for packing up values into a sequence that I have called a list (slightly related to lists in functional lisp but without data sharing). I'm thinking about changing the name of these things to something else such as bundle so as to not cause confusion should my library escape. Dar Scott From rcozens at pon.net Thu Dec 5 14:02:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Dec 5 14:02:01 2002 Subject: Arrays vs Lists In-Reply-To: <4E1F5DE0-0880-11D7-A81C-0050E4C0B205@swcp.com> References: <4E1F5DE0-0880-11D7-A81C-0050E4C0B205@swcp.com> Message-ID: >I think in general in programming I would think _ordered_ is a >requirement for "list". Dar, et al: I just went through the indexes of the six or seven programming manuals I've got on my bookshelf (mostly various flavors of Pascal or HyperTalk)...the only reference to "list" I find is in a section dealing with Mac resources. To my mind, a "list" implies no order, just an association or grouping. I would use "table" to refer to an ordered "list." And my bottom line is this: if it's generally processed sequentially, make it a list; if items are generally processed discretely & out of order, make it an array. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From carstenlist at itinfo.dk Thu Dec 5 14:09:01 2002 From: carstenlist at itinfo.dk (Carsten Levin) Date: Thu Dec 5 14:09:01 2002 Subject: X-serve & Revolution In-Reply-To: <200212051702.MAA03664@www.runrev.com> Message-ID: If we are talking about Apples Xserve with Mac OS X 10.1.5, or 10.2.2 it will indeed run Revolution as usual. Its a full Mac OS X with some modifications to make it run more efficient as a server. A lot of the modifications are just different settinges (not so many graphic effects). And the application set is slightly different ... no iMovie etc. Therefore Revolution will of course run just as fine as on any other Mac OS X. If you can stand working in the room ... the Xserve rack is terrible noisy, but a fine server. Its so noisy that its practically impossible to work in the same room. If its another product called Xserve you are reffering to, then I apologize for the misunderstanding. Best regards Carsten > Message: 1 > Date: Wed, 4 Dec 2002 18:32:00 -0700 > Subject: Re: RunRev on Xserve > From: Dar Scott > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > This is good news. > > Just to make sure... Is your Xserve--the one actually running stacks--a > no-graphics-card version? Are these full stacks? > > Dar Scott From livfoss at blueyonder.co.uk Thu Dec 5 14:42:00 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Dec 5 14:42:00 2002 Subject: Forced Quit in Windows Message-ID: Folks Pardon my ignorance of Windows (any version), but is there an equivalent of the Apple Event which informs an application that it has been ordered to quit? On the Mac, such things arise primarily from the OS shutting down, and if you process the 'quit' event you can make your app - really in the Revo case, the apps' date files, since the program itself is write-protected - shut down in good order. Of course this doesn't remove the obligation to initialise properly when your app is launched, since it (or the machine) may have crashed last time out - nevertheless it's a useful facility. Anyway, if such a mechanism exists, how would I set about using it inside a Revolution standalone? While asking, does anyone know if Windows has the equivalent to the 'print from the Finder' event on the Mac, where the OS invokes your app just to print one of its documents - and of course the app has to be set up to do just this. Again, if so, what is the mechanism for detecting and processing this command correctly in Revo? TIA -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From dsc at swcp.com Thu Dec 5 15:05:10 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 5 15:05:10 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: Message-ID: Here is something I'm tinker with. I am packing values into a single value in a way that is not a list and is not an array. One can use it for order. Access is fast, but increases with distance from the front. You access the first or the nth or the last. Indefinite nesting is allowed. They can be concatenated and quickly split up even into singletons. Values can be any string and I'm about to add arrays and numbers when I get to it. They don't save space, I don't think. They can be typed arbitrarily. For text data, these can often be read by human debuggers. What is a good name for this? Group? List? Poke? Bunch? Sequence? Table? darList? Bundle? Gob? Box? Stack? Book? Mr. Squishy? Pile? Leest? Can? Container? Pallet? Chain? Beads? ntuples? Blocks? Boxcars? Train? Caravan? Envelopes? ThingsYouCanPutValuesIntoInOrder G? nt? file? queue? bag? Dar Scott From troy at rpsystems.net Thu Dec 5 15:11:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Dec 5 15:11:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: Message-ID: On Thursday, December 5, 2002, at 02:58 PM, Dar Scott wrote: > What is a good name for this? I like "DarGob". (Kind of like "TarBall") ;-) -- Troy RPSystems, LTD www.rpsystems.net From kray at sonsothunder.com Thu Dec 5 16:57:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Dec 5 16:57:01 2002 Subject: Forced Quit in Windows References: Message-ID: <052801c29ca7$ba6e7db0$6601a8c0@mckinley.dom> Graham, I'm not sure, but can you see if you get a "closestackrequest" message to the current card? It's possible that Windows may just "request" Rev to close... As far as "print from the Finder" is concerned, you can do this by right-clicking a file in the desktop and choosing "Print" (at least under Win2k and XP)... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Graham Samuel" To: "Revolution user discussion" Sent: Thursday, December 05, 2002 1:35 PM Subject: Forced Quit in Windows > Folks > > Pardon my ignorance of Windows (any version), but is there an > equivalent of the Apple Event which informs an application that it > has been ordered to quit? On the Mac, such things arise primarily > from the OS shutting down, and if you process the 'quit' event you > can make your app - really in the Revo case, the apps' date files, > since the program itself is write-protected - shut down in good > order. Of course this doesn't remove the obligation to initialise > properly when your app is launched, since it (or the machine) may > have crashed last time out - nevertheless it's a useful facility. > Anyway, if such a mechanism exists, how would I set about using it > inside a Revolution standalone? > > While asking, does anyone know if Windows has the equivalent to the > 'print from the Finder' event on the Mac, where the OS invokes your > app just to print one of its documents - and of course the app has to > be set up to do just this. Again, if so, what is the mechanism for > detecting and processing this command correctly in Revo? > > TIA > -- > ------------------------------------------------------------------- > 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 dvk at dvkconsult.com.au Thu Dec 5 17:08:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Thu Dec 5 17:08:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: Message-ID: <2B61FEF1-089D-11D7-8F93-000393598038@dvkconsult.com.au> On Friday, December 6, 2002, at 06:58 AM, Dar Scott wrote: > Here is something I'm tinkering with. > > I am packing values into a single value in a way that is not a list > and is not an array. snip I think SmallTalk used "bag" for an unordered set, and that "collection" is reasonably common now. I go with the idea that "list" implies some sequence, even if properly speaking it is unordered. I [suggest / vote / prefer] bag or collection in your example. cheers David > > Dar Scott > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From xslaugh at hotmail.com Thu Dec 5 17:38:01 2002 From: xslaugh at hotmail.com (Scott Slaugh) Date: Thu Dec 5 17:38:01 2002 Subject: Image Editor Message-ID: >>>Yes, I have used that before. My problem with >>>that is that it only puts >>>color on top of the image-if I then move my >>>image, the color doesn't move >>>with it. I would like to see something that >>>would let me both create and >>>edit premade images. > >I dont really understand what you are looking for, but maybe it helps if >you have a look at inspiration.com >or more sophisticated but OSX only Omnigraffle. Both can export images in >the important formats like gif (animated) png, pict jpeg etx... which you >can handle then in rev... > I have an image editor that works well. But I would like to see an editor put into Revolution at some point that could do the things my image editor can. Scott Slaugh >regards >Wolfgang M. Bereuter _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From dsc at swcp.com Thu Dec 5 17:38:11 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 5 17:38:11 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: <2B61FEF1-089D-11D7-8F93-000393598038@dvkconsult.com.au> Message-ID: <4723C00A-08A1-11D7-A81C-0050E4C0B205@swcp.com> On Thursday, December 5, 2002, at 03:01 PM, David Vaughan wrote: >> I am packing values into a single value in a way that is not a list >> and is not an array. > snip > > I think SmallTalk used "bag" for an unordered set, and that > "collection" is reasonably common now. I go with the idea that "list" > implies some sequence, even if properly speaking it is unordered. I > [suggest / vote / prefer] bag or collection in your example. I meant it wasn't a list in the sense of a bunch of strings separated by lineFeeds (or commas). It does have order. Otherwise I'd jump right on bag. Troy's idea of "darGob" might lend some infamy, but... I put a wrapper around data to put them in into this sequence/group/list/bag and a wrapped value is an important concept. (A wrapped value is a list of length one.) I might call it, going down in word length... wrappedValue package pearl bead gem mm (as in M&M candy) other? The sequence might then be called a necklace, string of pearls, bead string, or something like that. An N-tuple might allow an nt prefix for functions and handlers. The wrapped value is a one-tuple, and the sequence is an n-tuple or something like that. I'm still pondering this. Dar From jacque at hyperactivesw.com Thu Dec 5 17:53:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Dec 5 17:53:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: <200212052210.RAA14130@www.runrev.com> References: <200212052210.RAA14130@www.runrev.com> Message-ID: <3DEFD760.4000706@hyperactivesw.com> Dar Scott wrote: > What is a good name for this? I might go for "gaggle" myself, but it isn't in your suggestion list. However, practically speaking, I think "collection" makes the most intuitive sense. Next, of course, we'll want to know just what it is you are doing exactly. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wmb at internettrainer.com Thu Dec 5 18:45:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Dec 5 18:45:01 2002 Subject: Image Editor In-Reply-To: Message-ID: On Donnerstag, Dezember 5, 2002, at 11:31 Uhr, Scott Slaugh wrote: > I have an image editor that works well. But I would like to see an > editor put into Revolution at some point that could do the things my > image editor can. ...could do the things ...my html editor tool can ...my layout tool can ...my database tool can... ...my vector drawing tool can... ...my QT tool can... ...my Animation tool can... ...my Mindmap tool can ...etc, etc ... This kind of rev tool could do a bit of everything but nothing well... I dont see rev as a substitution for Photoshop, Xpress Golive, Dreamweaver, Director, Flash, Illustrator, Filemaker etc, etc... So I disagree completly. Imho that kind of Rev we do not need... We need a stable crossplatform, authoring RAD tool, which can handle all these file formats, similar Live Stage Pro for QT, but not a *substitution-dinosaurier*, which tries to replace them all... Just my 2 cent... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From xslaugh at hotmail.com Thu Dec 5 19:03:01 2002 From: xslaugh at hotmail.com (Scott Slaugh) Date: Thu Dec 5 19:03:01 2002 Subject: Image Editor Message-ID: >>I have an image editor that works well. But I would like to see an editor >>put into Revolution at some point that could do the things my image editor >>can. > >...could do the things >...my html editor tool can >...my layout tool can >...my database tool can... >...my vector drawing tool can... >...my QT tool can... >...my Animation tool can... >...my Mindmap tool can >...etc, etc ... > >This kind of rev tool could do a bit of everything but nothing well... >I dont see rev as a substitution for Photoshop, Xpress Golive, Dreamweaver, >Director, Flash, Illustrator, Filemaker etc, etc... > >So I disagree completly. >Imho that kind of Rev we do not need... >We need a stable crossplatform, authoring RAD tool, which can handle all >these file formats, similar Live Stage Pro for QT, but not a >*substitution-dinosaurier*, which tries to replace them all... Yes, Rev will never be all of those. I would just like a simple icon editor, much like HyperCard had. Scott Slaugh _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From wmb at internettrainer.com Thu Dec 5 19:24:04 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Dec 5 19:24:04 2002 Subject: Director MX and Revolution In-Reply-To: Message-ID: <53150C92-08B0-11D7-A16A-003065430226@internettrainer.com> On Dienstag, Dezember 3, 2002, at 05:32 Uhr, Troy Rollins wrote: > On Tuesday, December 3, 2002, at 08:04 AM, Simtech Publications wrote: > >> Knowing what Director MX looks like I'm more inclined than ever >> to update all of my special educations programs in Rev instead of >> Director >> so they run under Mac OS X. While Director MX itself looks lovely >> with its >> new aqua interface it produces movies with almost none of the OS X GUI >> elements, not even jellybean buttons, radio buttons or checkboxes. At >> least >> not in the last beta that was available to us before they shut the >> tests >> down. Completely unbelieveable! I hope for the sake of Director users >> that >> the release version will correct this but I highly doubt it. For my >> part, >> I'm switching to Rev. >> > Glad to have you here, Bill. But, at my place anyway, we use both > Director and Rev. We use Rev when it has to look and work "like an > application." My point is - Director has *never* had the things you > mentioned, why would it now? That's not what it is about. Director is > aimed at those who want to design every last bit of the interface and > experience. We added Rev to our toolbox because Director is ill-suited > to developing "applications", however we still feel it is *extremely* > strong at its own field - multimedia, interactive, online... > > I, for one, am looking forward to D-MX almost as much as Rev 2.0 I think I understand Bill very well. My goal is to have one tool to build (author hasslefree) apps for any OS without a ticket to hell and back. that my it can run aon the, no matter if they are Mulitmedia Apps. Taht why I looking for a kind of this famous, non existing german "eierlegendewollmilchsau"-tool (let me try that in english: eggbreedingwoolmilkpork-tool). Because the main focus of my (maybe he?s too?) multimedia apps is not the authoring and scripting part. Its the UI, the content, the story, the idea, the multimedia features and so on. Thats why a lot of developing happens in other tools, and so we expect at only one for the authoring... Bill, pls correct me if I did not understood you wright... So, let us see what kind of animal will Rev 2.0 be, and how close it comes to the "eierlegendewollmilchsau" for the rest of us ;)) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From wmb at internettrainer.com Thu Dec 5 19:28:00 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Dec 5 19:28:00 2002 Subject: 2.0 In-Reply-To: Message-ID: On Montag, Dezember 2, 2002, at 10:31 Uhr, Heather Williams wrote: > Definitely! Please don't do that, we can't afford to have our user base > decimated by pneumonia. If we do not need kilts...;) >> (note to self: bring thermal blanket, and leave the American whiskey >> at >> home.) > > Mmm scotch is good. Scotch?? brrrrr - in "the" land of single Malt???;) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From revolution at knowledgeworks.plus.com Thu Dec 5 19:34:00 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Thu Dec 5 19:34:00 2002 Subject: inserting accented characters Message-ID: <200212060033.TAA18859@www.runrev.com> [apologies if this appears twice on the list - I'm still a bit confused about my membership of this list] I would like to make it as easy for users to insert accented characters. I know that in word-processing apps there are key combinations (e.g. "control+, (pause) c" ) in Wordpad. Some of my users are quite accustomed to this. However this does not appear to work in a Rev field. Do I need a series of handlers that will intercept these keyboard combinations and insert the appropriate characters? Or is there a setting in Rev that will enable these combinations for a specific OS? If this is feasible, I can imagine augmenting this with a scrollable palette of buttons (the labels of which are generated from a user-modifiable list of accented characters) that would insert the appropriate character into a field. However, I can imagine a problem with the palette knowing which field should receive the character - I take it if the user has clicked in a field that this can direct the output of the palette button. Does this seem like the right way to go? Will the introduction of Unicode in Rev 2.0 make all of this unnecesssary? From dsc at swcp.com Thu Dec 5 19:35:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 5 19:35:01 2002 Subject: Image Editor In-Reply-To: Message-ID: On Thursday, December 5, 2002, at 04:56 PM, Scott Slaugh wrote: > Yes, Rev will never be all of those. I would just like a simple icon > editor, much like HyperCard had. And, um, uh, and a smart distribution builder to allow some to be icons for the standalone and doc files. Dar Scott From sarahr at genesearch.com.au Thu Dec 5 20:42:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Thu Dec 5 20:42:01 2002 Subject: Displaying styled text In-Reply-To: Message-ID: <090F67A0-08BB-11D7-8D2E-0003937A97B8@genesearch.com.au> Sorry Toma, When I tested it, I realised I had made a mistake in the script. The line put endChar into skipChar needs to be add endChar to skipChar Cheers, Sarah On Thursday, December 5, 2002, at 11:46 pm, Toma Tasovac wrote: > Dear Sarah, > > thanks a lot for your suggestion. Setting the numbers to bold works > perfectly, but I'm still having problems with setting the bracketed > text to > italics. The script below works correctly only if there is one > occurrence > of a pair of brackets. If there are two, Revolution hangs up on me; > and if > there are three or more occurrences, only the first two pairs are set > to > italic + Rev hangs up. > >> on mouseUp >> put 0 into skipChar >> repeat >> put offset("(", fld "Data", skipChar) into startChar >> put offset(")", fld "Data", skipChar) into endChar >> if startChar = 0 or endChar = 0 then exit repeat >> >> set the textStyle of char startChar+skipChar to endChar+skipChar of >> fld "Data" to "italic" >> -- this includes the brackets >> put endChar into skipChar >> end repeat > > I don't see what the problem is. > Any help will be greatly appreciated. > > All best, > _____________________________________ > Toma Tasovac > Princeton University > Department of Comparative Literature > 318 East Pyne > Princeton, NJ 08544 > > ttasovac at princeton.edu > ttasovac at post.harvard.edu > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Thu Dec 5 21:34:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Dec 5 21:34:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: <4723C00A-08A1-11D7-A81C-0050E4C0B205@swcp.com> Message-ID: > > I put a wrapper around data to put them in into this > sequence/group/list/bag and a wrapped value is an important concept. (A > wrapped value is a list of length one.) I might call it, going down in > word length... > I'd say a wrapped value should be called a "node" and an ordered collection should be called a "sequence". The sequence could then be used in the development of further abstract data types such as stack, queue and dequeue. I'm very interested in how you might be implementing this. I'd be keen to work on this with you to develop a standard library if you like. Cheers Monte From dsc at swcp.com Thu Dec 5 22:39:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 5 22:39:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: Message-ID: <674CEBA2-08CB-11D7-A81C-0050E4C0B205@swcp.com> On Thursday, December 5, 2002, at 07:28 PM, Monte Goulding wrote: > I'm very interested in how you might be implementing this. I'd be keen > to > work on this with you to develop a standard library if you like. What's a standard library? Dar Scott From dsc at swcp.com Thu Dec 5 22:42:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 5 22:42:01 2002 Subject: Is there a traceback? In-Reply-To: Message-ID: On Friday, March 8, 2002, at 02:00 PM, Victor Eijkhout wrote: > (I may have asked this before, but don't remember seeing an answer) > > Is there a way to get a list of "through what handler calls did I get > here" if I run into an error? I'd be interested in even a partial answer of "what is the long id of the object with the script with the handler that called me." Dar Scott From monte at sweattechnologies.com Thu Dec 5 23:07:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Dec 5 23:07:00 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: <674CEBA2-08CB-11D7-A81C-0050E4C0B205@swcp.com> Message-ID: > > I'm very interested in how you might be implementing this. I'd be keen > > to > > work on this with you to develop a standard library if you like. > > What's a standard library? > Sorry we don't really have any standard library. I meant just script library that was application independent. From erikhans08 at yahoo.com Fri Dec 6 00:27:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Dec 6 00:27:01 2002 Subject: Hilite, button, icon In-Reply-To: Message-ID: <20021206052150.61711.qmail@web20006.mail.yahoo.com> --- Chipp Walters wrote: > check out the button tutorial at: > http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm are there any RunRev learning materials available when you are on the web, but cannot load RunRev? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From katir at hindu.org Fri Dec 6 00:30:02 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Fri Dec 6 00:30:02 2002 Subject: Enter & Preserve UNIX linefeeds on Mac OSX Message-ID: <3EFB3AE4-08DB-11D7-95DE-003065FB9830@hindu.org> I recently changed procedure for uploading files to a linux server and the sys admin is complaining that now they are "all one line" because of the mac endlines(char(13) Previous routine which preserved the char (10) "cr" as unix was: in OS9 or Classic shell under Jaguar 1) generate file in Supercard where explicit "cr" characters are introduced into the file via statements like this: Put "cr" after theHtmlFile at wanted line break points. 2) Process this file with apple script in Mac OS 9.2.2 and upload with Applescripts driving Transmit... Result: files arrive on the remote UNIX station with char(10) at the points where "cr" was introduced into the file by supercard running under OS9 CURRENT ROUTINE is a work in progress. but... a) use Metacard/Revolution in OSX to read the file created in Supercard and build a new HTML file (by-passing the appleScript processing... which is done in xTalk now.) b) save that file to hard drive in OSX c) upload the file with interarchy (later to use libURL routines) After careful testing it appears that Revolution is taking the "cr" that was introduced into the file by Supercard and swapping it out for char(13) when the file is saved. put tTemplate into URL "file:index.shtml" results in a file with no char (10) in the locations where they should be! Even if I run: replace numToChar(13) with numToChar(10) in tTemplate just before saving... it doesn't help. If I upload the file and then read it back into via socket to a variable with an http:download inside Revolution and put that data into a field its shows a file with a single line... But if I then run the above replace numToChar(13) with numToChar(10) in fld "check HTML" It fixes the problem and (as long as I don't save the data to disk) if I then upload that field via libURL... the char(10) is preserved... i.e. in that scenario the file never goes to disk. So then, the issue is How To Enter and Preserve char(10) line breaks on a file saved on Max OSX? TIA Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From jacque at hyperactivesw.com Fri Dec 6 00:52:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Dec 6 00:52:01 2002 Subject: Enter & Preserve UNIX linefeeds on Mac OSX In-Reply-To: <200212060531.AAA25872@www.runrev.com> References: <200212060531.AAA25872@www.runrev.com> Message-ID: <3DF039A1.8030104@hyperactivesw.com> Sannyasin Sivakatirswami wrote: > After careful testing it appears that Revolution is taking the "cr" > that was introduced into the file by Supercard and swapping it out for > char(13) when the file is saved. > > put tTemplate into URL "file:index.shtml" > > results in a file with no char (10) in the locations where they should > be! If you use url "file" you get the automatic line-endings translations. To keep the line endings intact with no translation when writing to disk, use "binfile" instead: put tTemplate into URL "binfile:index.shtml" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From signe.sanne at roman.uib.no Fri Dec 6 02:18:01 2002 From: signe.sanne at roman.uib.no (Signe Marie Sanne) Date: Fri Dec 6 02:18:01 2002 Subject: inserting accented characters In-Reply-To: <200212060033.TAA18859@www.runrev.com> References: <200212060033.TAA18859@www.runrev.com> Message-ID: >[apologies if this appears twice on the list - I'm still a bit confused about >my membership of this list] > >I would like to make it as easy for users to insert accented characters. > >I know that in word-processing apps there are key combinations (e.g. >"control+, >(pause) c" ) in Wordpad. Some of my users are quite accustomed to this. However this does not appear to work in a Rev field. > >Do I need a series of handlers that will intercept these keyboard combinations >and insert the appropriate characters? Or is there a setting in Rev that will >enable these combinations for a specific OS? > >If this is feasible, I can imagine augmenting this with a scrollable >palette of >buttons (the labels of which are generated from a user-modifiable list of >accented characters) that would insert the appropriate character into a field. >However, I can imagine a problem with the palette knowing which field should >receive the character - I take it if the user has clicked in a field that this >can direct the output of the palette button. > >Does this seem like the right way to go? Will the introduction of Unicode in >Rev 2.0 make all of this unnecesssary? It is indeed possible to type accented letters in a field. You just click the accent key or umlaut or whatever first. Nothing is then seen in the field, thereafter you type the letter and voil?, the accented letter is there. Accented letters are kept in text, as name of controls across platform, no problem. However, if you want to insert text with accented letters into a field by scripting, you have to take care when you change platform, either you have to use htmlText or MacToISO / ISOtoMac. -- 1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no Romansk Institutt tel: +47 55 58 21 27 Oysteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/hjem/default.html Norway From dsc at swcp.com Fri Dec 6 03:05:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 6 03:05:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: Message-ID: <838E936C-08F0-11D7-A81C-0050E4C0B205@swcp.com> On Thursday, December 5, 2002, at 07:28 PM, Monte Goulding wrote: > I'd say a wrapped value should be called a "node" and an ordered > collection > should be called a "sequence". OK, so far my favorites are ... node and node sequence node and sequence bead and bead string one-tuple and n-tuple Any others? From dsc at swcp.com Fri Dec 6 03:09:00 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 6 03:09:00 2002 Subject: [off list] Re: It's a list! It's an array! No, it's... In-Reply-To: Message-ID: <0750BAAF-08F1-11D7-A81C-0050E4C0B205@swcp.com> On Thursday, December 5, 2002, at 09:01 PM, Monte Goulding wrote: >>> I'm very interested in how you might be implementing this. I'd be keen >>> to >>> work on this with you to develop a standard library if you like. >> >> What's a standard library? >> > Sorry we don't really have any standard library. I meant just script > library > that was application independent. > What do you have in mind? Something you put on your product list and sell? That's cool. Something we give away so people see what great programmers we are? That's cool, too. Something else? Dar Scott ***** Dar Scott Dar Scott Consulting dsc at swcp.com Home, Lab & Office: +1 505 299 9497 Cell: +1 505 350 6953 8637 Horacio Place NE Albuquerque, NM 87111 Dar Scott Consulting provides software development services especially in distributed control systems on Windows 2000, Windows XP, OS X and on small embedded computers. ***** From monte at sweattechnologies.com Fri Dec 6 03:44:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Dec 6 03:44:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: <838E936C-08F0-11D7-A81C-0050E4C0B205@swcp.com> Message-ID: > OK, so far my favorites are ... > > node and node sequence > node and sequence > bead and bead string > one-tuple and n-tuple > > Any others? It may depend on the implementation. For example if it's possible to have a nonlinear collection of nodes then you may want to think about using container. For example if the same thing can be used as a tree and a list then it's a container not a sequence. Then again if you can have circular node references then graph is the correct term. Each node in a graph can have any number of references to other nodes. Cheers Monte From dsc at swcp.com Fri Dec 6 04:02:02 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 6 04:02:02 2002 Subject: [off list] Re: It's a list! It's an array! No, it's... In-Reply-To: <0750BAAF-08F1-11D7-A81C-0050E4C0B205@swcp.com> Message-ID: <7B986A2A-08F8-11D7-A81C-0050E4C0B205@swcp.com> Whoops. I didn't mean to send that to the entire list. Fortunately, I have no dark secrets to expose. Dar Scott From bernard.devlin at knowledgeworks.plus.com Fri Dec 6 05:10:01 2002 From: bernard.devlin at knowledgeworks.plus.com (Bernard Devlin) Date: Fri Dec 6 05:10:01 2002 Subject: Inserting accented characters In-Reply-To: <1fmpsi8.1edm0tu19au3n4M%sylvain@bouju.net> References: <1fmpsi8.1edm0tu19au3n4M%sylvain@bouju.net> Message-ID: <200212051106.GAA31007@www.runrev.com> I would like to make it as easy for users to insert accented characters. I know that in word-processing apps there are key combinations (e.g. "control+, (pause) c" ) in Wordpad. Some of my users are quite accustomed to this. However even this does not appear to work in a Rev field. Do I need a series of handlers that will intercept these keyboard combinations and insert the appropriate characters? If this is feasible, I can imagine augmenting this with a scrollable palette of buttons (the labels of which are generated from a user-modifiable list of accented characters) that would insert the appropriate character into a field. However, I can imagine a problem with the palette knowing which field should receive the character - I take it if the user has clicked in a field that this can direct the output of the palette button. Does this seem like the right way to go? Will the introduction of Unicode in Rev 2.0 make all of this unnecesssary? From malte.brill at t-online.de Fri Dec 6 05:24:00 2002 From: malte.brill at t-online.de (Malte Brill) Date: Fri Dec 6 05:24:00 2002 Subject: Function Newbie question... In-Reply-To: <200212051702.MAA03664@www.runrev.com> Message-ID: Hi list, I wrote a small function that returns the distance between two Points. Function getDistance x1,y1,x2,y2 put sqrt((X1 - X2) ^ 2 + (Y1 - Y2) ^ 2) into theDistance return theDistance end getDistance It works for me if I pass the values to it on a mouseUp event. on mouseUp put item 1 of the loc of graphic "kreis1" into x1 put item 1 of the loc of graphic "kreis2" into x2 put item 2 of the loc of graphic "kreis1" into y1 put item 2 of the loc of graphic "kreis2" into y2 put getDistance (x1,y1,x2,y2) end mouseUp O.K., but if I have more than two objects (lets say about 5). how could I check the distances between all of them efficiantly? 1->2 2->1 1->3 2->3 1->4 2->4 1->5 2->5 ... 5->4 Using a repeat structure seams not being a good idea to me. So here I am stuck, as the number of objects I want to check might vary from time to time. Any Ideas? Regards, Malte From miscdas at boxfrog.com Fri Dec 6 05:34:00 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Fri Dec 6 05:34:00 2002 Subject: Arrays vs Lists In-Reply-To: <4E1F5DE0-0880-11D7-A81C-0050E4C0B205@swcp.com> References: <4E1F5DE0-0880-11D7-A81C-0050E4C0B205@swcp.com> Message-ID: <20021206102849.68010.qmail@www.boxfrog.com> Dar Scott writes: > > On Thursday, December 5, 2002, at 10:12 AM, miscdas at boxfrog.com wrote: > >>> As for Dar's question about a list. IME, a list is an ordered delimited >>> groups of words or phrases. The delimiter is usually, but not always a >>> comma. I suspect that is not correct when you consider programming in >>> general. But having spent a lot of time in Hypercard. That is what I >>> consider one. You can delimit with anything, just be sure it doesn't >>> pop up in you list items. >> >> Why restrict your definition to an ORDERED group of "things"? Granted >> that intuitively, ordering renders the list more useful. But should it be >> a requirement? > > I think in general in programming I would think _ordered_ is a requirement > for "list". Also, in programming the "distance" or ease of access for > data in the middle or end may not be as low as that for the front. > Perhaps the word "sequence" would have less of that stigma. > > A more general term that would not include order might be a collection. > > I wasn't sure whether Revolutionaries used "list" for a string that > separated inclosed data with delimiters, that with delimiters being > lineFeeds specifically, or in the more general sense. I am tinkering with > my library for packing up values into a sequence that I have called a list > (slightly related to lists in functional lisp but without data sharing). > I'm thinking about changing the name of these things to something else > such as bundle so as to not cause confusion should my library escape. > > Dar Scott > > A more general term that would not include order might be a collection. Or maybe a "set" Well, I'm thinkig specifically about the case of creating and maintaining a contact list. I have many "records" containing several data fields. I don't care about the order when I create the "list" (database). I simply add whatever new record I have to the end of the "list". The "list" has no particluar order, and it doesn't need any particular order to either exist or to be functional. Now when I WANT order, I choose some keys, such as lastname, companyname, zipcode. I can then either actually order my "list" by one of the keys, or simply leave the list "random" and let the database do the sorting for display purposes. When I add a new contact, it can still go at the end of the list, whether or not I previously did a "hard ordering" on the list. miscdas From miscdas at boxfrog.com Fri Dec 6 05:46:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Fri Dec 6 05:46:01 2002 Subject: Forced Quit in Windows In-Reply-To: <052801c29ca7$ba6e7db0$6601a8c0@mckinley.dom> References: <052801c29ca7$ba6e7db0$6601a8c0@mckinley.dom> Message-ID: <20021206104049.85265.qmail@www.boxfrog.com> Ken Ray writes: [snip] > As far as "print from the Finder" is concerned, you can do this by > right-clicking a file in the desktop and choosing "Print" (at least under > Win2k and XP)... > If the printer icon is displayed (like in the task bar, for example), just drag-and-drop the specified file onto the printer icon. The configured file type association (if any) is used by the system to determne which app to launch in order to print the file. The app then auto closes. miscdas From chipp at chipp.com Fri Dec 6 06:08:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Dec 6 06:08:01 2002 Subject: Inserting accented characters In-Reply-To: <200212051106.GAA31007@www.runrev.com> Message-ID: Bernard, I don't have any easy answers here, if the key commands don't work in a field then you may want to try and trap them and insert into the field the correct codes. I have a menu called "Special Chars" which I use to do some of this... on menuPick pWhich switch pWhich case "copyright mark" if the selectedChunk contains "field" then put "?" after the selectedChunk end if break case "registered mark" if the selectedChunk contains "field" then put "?" after the selectedChunk end if break case "trademark" if the selectedChunk contains "field" then put "?" after the selectedChunk end if break case "bullet" if the selectedChunk contains "field" then put "?" after the selectedChunk end if break end switch end menuPick -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Bernard > Devlin > Sent: Thursday, December 05, 2002 4:59 AM > To: use-revolution > Subject: Inserting accented characters > > > I would like to make it as easy for users to insert accented characters. > > I know that in word-processing apps there are key combinations > (e.g. "control+, > (pause) c" ) in Wordpad. Some of my users are quite accustomed to this. > However even this does not appear to work in a Rev field. > > Do I need a series of handlers that will intercept these keyboard > combinations > and insert the appropriate characters? > > If this is feasible, I can imagine augmenting this with a > scrollable palette of > buttons (the labels of which are generated from a user-modifiable list of > accented characters) that would insert the appropriate character > into a field. > However, I can imagine a problem with the palette knowing which > field should > receive the character - I take it if the user has clicked in a > field that this > can direct the output of the palette button. > > Does this seem like the right way to go? Will the introduction > of Unicode in > Rev 2.0 make all of this unnecesssary? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at knowledgeworks.plus.com Fri Dec 6 07:27:01 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Fri Dec 6 07:27:01 2002 Subject: inserting accented characters In-Reply-To: References: <200212060033.TAA18859@www.runrev.com> Message-ID: <200212061226.HAA04044@www.runrev.com> Signe Thanks for replying. However, I'm a bit confused by your reply. Does this relate to a pallete of accents that I create myself: > You just > click the accent key or umlaut or whatever first. Nothing is then > seen in the field, thereafter you type the letter and voil?, the > accented letter is there. Or is there some representation of accents in Rev that I am missing? I know that if I create accented characters in Wordpad and then paste them into a Rev field, they retain the accents. I'm just curious as to the best way to go about doing this. From revolution at knowledgeworks.plus.com Fri Dec 6 07:27:36 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Fri Dec 6 07:27:36 2002 Subject: Inserting accented characters In-Reply-To: References: <200212051106.GAA31007@www.runrev.com> Message-ID: <200212061226.HAA04047@www.runrev.com> Thanks, Chipp. This is along the lines of what I am thinking. However, I think it will be more flexible if I configure a field where users can paste the fully accented characters. I will then have a menu option to bring up a (sorted) scrollable pallete of buttons (each displaying one of the accented characters) and on clicking the button, place the associated character into the field. When users are actively typing text that contains many accented characters they can just leave the pallette open. This way the accented character list is user-extensible, and can grow considerably. And users don't have to memorise the key combinations. However, for those users that already know them (and are fast typists) I will look at trapping all the standard combos so that they can just type them in the field. Maybe it will be better to let the users associate an accented character with a key combo - and then I can just trap anything that is in their specified list and substitute the associated character. I'm surprised that a handler to do this does not already exist. I would have thought there would at least be one for Hypercard (that applies to the Mac OS combos, obviously). I will see if I can trawl the internet for one. Now I just need to find out how to make the pallette scrollable. I think I already know enough to do the rest. > I don't have any easy answers here, if the key commands don't work in a > field then you may want to try and trap them and insert into the field the > correct codes. I have a menu called "Special Chars" which I use to do some > of this... > > on menuPick pWhich > switch pWhich > case "copyright mark" > if the selectedChunk contains "field" then > put "?" after the selectedChunk From signe.sanne at roman.uib.no Fri Dec 6 08:12:12 2002 From: signe.sanne at roman.uib.no (Signe Marie Sanne) Date: Fri Dec 6 08:12:12 2002 Subject: inserting accented characters In-Reply-To: <200212061226.HAA04044@www.runrev.com> References: <200212060033.TAA18859@www.runrev.com> <200212061226.HAA04044@www.runrev.com> Message-ID: >Signe > >Thanks for replying. However, I'm a bit confused by your reply. Does this >relate to a pallete of accents that I create myself: I'm still not sure I understand you; wasn't your aim to let users type text included accented letters into a field? This was what I replied to, ie. how a user type the accented letters. -I have students in French, Italian, Spanish, German, Norwegian typing various accented letters into a field. A small instruction text available on demand on each screen explains how to type, and in my experience they learn it very quickly. Perhaps the misunderstanding relates to "accented letters" which I have interpreted as letters with accent aigu, umlaut etc. If you were thinking of other unusual letters such as ? (c c?dille), ? (o+e), the Scandinavian ?, ?, ? etc. (I do not know if these letters come across in this posting since I'm on a Mac), the situation is different. In that case it is convenient to have the letters present on the screen, either in a specific field or as name/label of buttons. When a letter is chosen (clicked on), just let your scripting take care of inserting it after the last character of the field. If you prefer a text field you put the following script into the field (which is locked): on mouseUp put the clickText after fld fieldname end mouseUp If you use buttons: on mouseUp put the short name of the target -- or: put the label of the target-- after fld fieldname end mouseUp If you want to make use of a palette, you can place the text or the buttons on it, but there is no need for a palette. I usually have a button on a screen labeled "How to type" or similar. When clicked, a field appears with the appropriate help. -- 1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no Romansk Institutt tel: +47 55 58 21 27 Oysteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/hjem/default.html Norway From wmb at internettrainer.com Fri Dec 6 08:49:00 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Fri Dec 6 08:49:00 2002 Subject: Image Editor In-Reply-To: Message-ID: On Freitag, Dezember 6, 2002, at 01:28 Uhr, Dar Scott wrote: >> Yes, Rev will never be all of those. I would just like a simple icon >> editor, much like HyperCard had. > I can send you a list of icon editors - mail me of line > And, um, uh, and a smart distribution builder to allow some to be > icons for the standalone and doc files. Yes.. we need that better yesterday than today :) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From revolution at knowledgeworks.plus.com Fri Dec 6 09:34:01 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Fri Dec 6 09:34:01 2002 Subject: inserting accented characters In-Reply-To: References: <200212060033.TAA18859@www.runrev.com> <200212061226.HAA04044@www.runrev.com> Message-ID: <200212061433.JAA07432@www.runrev.com> > A small instruction text > available on demand on each screen explains how to type, and in my > experience they learn it very quickly. Do you mean that the instructions are like "type 'control+c (pause) ,' "? I've tried with a few characters, and whilst they work in Wordpad and put the appropriate accents onto the letter (e.g. works with ` ^ and the cedilla). I cannot see that Rev on Win32 (natively) responds to the keyboard combinations that other apps recognize. Maybe the situation is different on the Mac. I want to provide a system that's user-extensible. I've really no idea which words from which languages they might want to use. Provided that I'm not missing something with regard to the native capabilities of Rev in handling 'international' characters, I don't mind developing my own implementation. From andre.rombauts at win.be Fri Dec 6 09:45:01 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Fri Dec 6 09:45:01 2002 Subject: Printing problems... Message-ID: I?m testing RunRev capabilities. I?m encountring several problems. I wrote the following script attached to a single button; there is an input field (info) on the stack. on mouseUp if the platform is "MacOS" then revShowPrintDialog false, true else revShowPrintDialog true end if revPrintText the htmlText of field "info", "<%the long date%>", "B" end mouseUp I added the following as a stack script to resolve problems on Windows platform (as told in the help). on startup set the formatForPrinting of stack "tstprint" to true end startup 1) Whatever is the text size in the info field, the printing is done at the same size on Mac 2) On windows the text is nearly invisible (1 or 2 points height)! I tested on 2 different printers: same result. What am I missing?... :-( Andr? -------------- next part -------------- An HTML attachment was scrubbed... URL: From signe.sanne at roman.uib.no Fri Dec 6 10:19:01 2002 From: signe.sanne at roman.uib.no (Signe Marie Sanne) Date: Fri Dec 6 10:19:01 2002 Subject: inserting accented characters In-Reply-To: <200212061433.JAA07432@www.runrev.com> References: <200212060033.TAA18859@www.runrev.com> <200212061226.HAA04044@www.runrev.com> <200212061433.JAA07432@www.runrev.com> Message-ID: > > A small instruction text >> available on demand on each screen explains how to type, and in my >> experience they learn it very quickly. > >Do you mean that the instructions are like "type 'control+c (pause) ,' "? >I've tried with a few characters, and whilst they work in Wordpad and put >the appropriate accents onto the letter (e.g. works with ` ^ and the cedilla). > >I cannot see that Rev on Win32 (natively) responds to the keyboard >combinations >that other apps recognize. Maybe the situation is different on the Mac. I have used this on Windows with MetaCard, and tried it out with Revolution on Mac. There is no reason why it should not work in Rev on Windows since Rev is based on MetaCard. So: As far as accented letters go the instructions to users are (on Windows). Note. The I-beam has to be visible in the field. Accent aigu: (?) Hold down AltGr and press the accent key. Nothing appears in the field. Type the letter (in this case 'e'). Both letter and accent appear. Accent grave (?) Hold down Shift and press the accent key. Nothing appears in the field. Type the letter (in this case 'e'). Both letter and accent appear. Umlaut (?) Press the umlaut/circonflexe-key. Nothing appears in the field. Type the letter (in this case 'a'). Both letter and umlaut appear. Circonflexe (?) Hold down Shift and press the umlaut/circonflexe-key. Nothing appears in the field. Type the letter (in this case 'a'). Both letter and umlaut appear. As regards 'tilde' ? or specific letters I have written particular instructions for the students how to find them on our Norwegian keyboard, on Mac there are combinations of control + alt, whereas on Windows they may find them with a numeric key. In this case I would opt for just make them available on the screen and let the user click on it, then your scripting should put them into the field. I can send you a list Monday, have to leave now. >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution -- 1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no Romansk Institutt tel: +47 55 58 21 27 Oysteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/hjem/default.html Norway From kray at sonsothunder.com Fri Dec 6 10:29:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Dec 6 10:29:01 2002 Subject: Function Newbie question... References: Message-ID: <006201c29d3a$c06d5590$6701a8c0@mckinley.dom> Actually, Malte, a repeat structure is exactly what you want, IMHO. You just need to pass the references into your mouseUp handler. For example, suppose you had 5 objects, and they were called "kreis1" through "kreis5". You could do this in your mouseUp handler (I'm assuming a field to hold the results called "resultfld": on mouseUp repeat with x = 1 to 5 put item 1 of the loc of graphic ("kreis" & x) into x1 put item 2 of the loc of graphic ("kreis" & x) into y1 repeat with y = 1 to 5 -- Don't need to compare to itself, so skip when x=y if x=y then next repeat put item 1 of the loc of graphic ("kreis" & y) into x2 put item 2 of the loc of graphic ("kreis" & y) into y2 put getDistance(x1,y1,x2,y2) into tDist put cr & "Distance from 'kreis" & x & "' to 'kreis" & \ y & "' = " & tDist after fld "resultfld" end repeat end repeat end mouseUp This is off the top of my head, but it should work... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Malte Brill" To: Sent: Friday, December 06, 2002 4:17 AM Subject: Function Newbie question... > Hi list, > > I wrote a small function that returns the distance between two Points. > > Function getDistance x1,y1,x2,y2 > put sqrt((X1 - X2) ^ 2 + (Y1 - Y2) ^ 2) into theDistance > return theDistance > end getDistance > > It works for me if I pass the values to it on a mouseUp event. > > on mouseUp > put item 1 of the loc of graphic "kreis1" into x1 > put item 1 of the loc of graphic "kreis2" into x2 > put item 2 of the loc of graphic "kreis1" into y1 > put item 2 of the loc of graphic "kreis2" into y2 > put getDistance (x1,y1,x2,y2) > end mouseUp > > O.K., but if I have more than two objects (lets say about 5). how could I > check the distances between all of them efficiantly? > > 1->2 2->1 > 1->3 2->3 > 1->4 2->4 > 1->5 2->5 ... 5->4 > > Using a repeat structure seams not being a good idea to me. So here I am > stuck, as the number of objects I want to check might vary from time to > time. > > Any Ideas? > > Regards, > > Malte > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jhurley at infostations.com Fri Dec 6 10:49:01 2002 From: jhurley at infostations.com (Jim Hurley) Date: Fri Dec 6 10:49:01 2002 Subject: Function Newbie question... In-Reply-To: <200212061313.IAA05523@www.runrev.com> References: <200212061313.IAA05523@www.runrev.com> Message-ID: >Hi list, > >I wrote a small function that returns the distance between two Points. > >Function getDistance x1,y1,x2,y2 > put sqrt((X1 - X2) ^ 2 + (Y1 - Y2) ^ 2) into theDistance > return theDistance >end getDistance > >It works for me if I pass the values to it on a mouseUp event. > >on mouseUp > put item 1 of the loc of graphic "kreis1" into x1 > put item 1 of the loc of graphic "kreis2" into x2 > put item 2 of the loc of graphic "kreis1" into y1 > put item 2 of the loc of graphic "kreis2" into y2 > put getDistance (x1,y1,x2,y2) >end mouseUp > >O.K., but if I have more than two objects (lets say about 5). how could I >check the distances between all of them efficiantly? > >1->2 2->1 >1->3 2->3 >1->4 2->4 >1->5 2->5 ... 5->4 > >Using a repeat structure seams not being a good idea to me. So here I am >stuck, as the number of objects I want to check might vary from time to >time. > >Any Ideas? > >Regards, > >Malte Malte, The distance function is a little bit easier to work with if you use the 2 values of the loc() as input rather than the the 4 individual coordinates. The following will determine the distance between the 5 graphics "kreis1" to "kreis5". on mouseUP put empty into field 1 repeat with i = 1 to 4 repeat with j = i+1 to 5 put "kreis" & i into n put "kreis" & j into m put i & comma & j && distance(the loc of graphic n, the loc of graphic m )& return after field 1 end repeat end repeat end mouseUP function distance pt1,pt2 put item 1 of pt1 into x1 put item 2 of pt1 into y1 put item 1 of pt2 into x2 put item 2 of pt2 into y2 return sqrt((x1-x2)^2 + (y1-y2)^2) end distance Jim -- Jim Hurley From David.Glasgow at cstone-tr.nwest.nhs.uk Fri Dec 6 10:52:01 2002 From: David.Glasgow at cstone-tr.nwest.nhs.uk (Glasgow, David) Date: Fri Dec 6 10:52:01 2002 Subject: Foregroundcolor stuck? Message-ID: <92C2FCA79EE22F4B98185EB58BF2D3B351B9D8@mercury.cstone-tr.nwest.nhs.uk> I have a field that I want to display in grey and then change word by word to black. In a preopencard handler I have: if there is a field itemshow then send greyme to field itemshow Then in field itemshow I have: on greyme set the foregroundcolor of me to gray end greyme on showme wait 40 ticks repeat with j=1 to the number of words of me set the foregroundColor of word j of me to black wait 30 ticks end repeat end showme The text doesn't go grey. I don't even seem able to change the text colour via the colour palette or the colour options in the text menu. It just stays stubbornly black. If I 'put' the foregroundcolor it returns a grey (232,232,232). I would shrug my shoulders and make a new field, but it appears on many cards with different text on each, and I don't want to type it all in again. I have duplicated the field, and the duplicate stays stuck. I have made a new field with a bit of text, and I can change text colour no problem. Is there some weird property I have set by mistake? (incidentally, full version, 1.1.1 on Win 2000) Best wishes, David Glasgow Courses HTTP://www.i-Psych.co.uk From mcompanys at mac.com Fri Dec 6 10:55:00 2002 From: mcompanys at mac.com (Manuel Companys) Date: Fri Dec 6 10:55:00 2002 Subject: Inserting accented characters In-Reply-To: <200212051106.GAA31007@www.runrev.com> Message-ID: Le 5/12/02 11:59, ??Bernard Devlin?? a ?crit?: > know that in word-processing apps there are key combinations (e.g. "control+, > (pause) c" ) in Wordpad. Some of my users are quite accustomed to this. > However even this does not appear to work in a Rev field. Why not? We use to enter accents for french, spanish and portuguese. In the flds. Manuel From janschenkel at yahoo.com Fri Dec 6 11:20:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Dec 6 11:20:00 2002 Subject: Foregroundcolor stuck? In-Reply-To: <92C2FCA79EE22F4B98185EB58BF2D3B351B9D8@mercury.cstone-tr.nwest.nhs.uk> Message-ID: <20021206161358.74091.qmail@web11908.mail.yahoo.com> --- "Glasgow, David" wrote: > I have a field that I want to display in grey and > then change word by word to black. > > In a preopencard handler I have: > > if there is a field itemshow then send greyme to > field itemshow > > Then in field itemshow I have: > > on greyme > set the foregroundcolor of me to gray > end greyme > > on showme > wait 40 ticks > repeat with j=1 to the number of words of me > set the foregroundColor of word j of me to black > wait 30 ticks > end repeat > end showme > > > The text doesn't go grey. I don't even seem able to > change the text colour via the colour palette or the > colour options in the text menu. It just stays > stubbornly black. If I 'put' the foregroundcolor it > returns a grey (232,232,232). > > I would shrug my shoulders and make a new field, but > it appears on many cards with different text on > each, and I don't want to type it all in again. I > have duplicated the field, and the duplicate stays > stuck. I have made a new field with a bit of text, > and I can change text colour no problem. > > Is there some weird property I have set by mistake? > > (incidentally, full version, 1.1.1 on Win 2000) > > Best wishes, > > David Glasgow > Hi David, The thing is that once you set the colour of certain words, you have to reset the colour of the entire "chunk" of text, because otherwise it's overridden by the colour of the individual words. Try this: on greyme set the textColor of char 1 to -1 of me to "gray" end greyme 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Fri Dec 6 11:22:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Dec 6 11:22:01 2002 Subject: Printing problems... In-Reply-To: Message-ID: <20021206161630.23242.qmail@web11906.mail.yahoo.com> --- Andre Rombauts wrote: > I1m testing RunRev capabilities. I1m encountring > several problems. > I wrote the following script attached to a single > button; there is an input > field (info) on the stack. > > on mouseUp > if the platform is "MacOS" then > revShowPrintDialog false, true > else > revShowPrintDialog true > end if > revPrintText the htmlText of field "info", "<%the > long date%>", "B" > end mouseUp > > I added the following as a stack script to resolve > problems on Windows > platform (as told in the help). > > on startup > set the formatForPrinting of stack "tstprint" to > true > end startup > > > 1) Whatever is the text size in the info field, the > printing is done at the > same size on Mac > > 2) On windows the text is nearly invisible (1 or 2 > points height)! I tested > on 2 different printers: same result. > > What am I missing?... :-( > > Andr? > Hi Andre, Have a look at the following entry in the archives of the use-revolution mailing list: http://lists.runrev.com/pipermail/use-revolution/2002-April/003834.html Hope this helped, Jan Schenkel. PS: if you want to search the archives, use the following URL: http://www.google.com/advanced_search?q=site:lists.runrev.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From mcompanys at mac.com Fri Dec 6 11:48:01 2002 From: mcompanys at mac.com (Manuel Companys) Date: Fri Dec 6 11:48:01 2002 Subject: inserting accented characters In-Reply-To: Message-ID: Le 6/12/02 8:12, ??Signe Marie Sanne?? a ?crit?: >> field should >> receive the character - I take it if the user has clicked in a field that >> this >> can direct the output of the palette button. Sure i have done this with hyperCard, for exemple On mouseUp -- a handler in the card Global whichfield if the target contains "fld" Then Put short name of the target into whichfield Else if whichfld ? "" -- is not empty then do "put short name of the target after fld" && whichfield End mouseUp From rodmc at runrev.com Fri Dec 6 11:51:01 2002 From: rodmc at runrev.com (Rod McCall) Date: Fri Dec 6 11:51:01 2002 Subject: 2.0 In-Reply-To: References: Message-ID: <5.1.0.14.2.20021206163826.02ba4ab8@mail.spamcop.net> At 01:22 06/12/2002 +0100, Wolfgang M. Bereuter wrote: >On Montag, Dezember 2, 2002, at 10:31 Uhr, Heather Williams wrote: > >>Definitely! Please don't do that, we can't afford to have our user base >>decimated by pneumonia. >If we do not need kilts...;) For those of you who visited MacWorld New York you may have (horrible) memories of myself and Kevin sporting kilts for most (if not all) of the show! I have to say that due to protecting the public from such evil I have not worn one since :-) >>>(note to self: bring thermal blanket, and leave the American whiskey at >>>home.) >> >>Mmm scotch is good. >Scotch?? brrrrr - in "the" land of single Malt???;) Well its cold over here right now and Scotch is the ideal way to warm up! :-) Kind regards, Rod Rod McCall BSc MSc PhD (pending) Runtime Revolution Ltd Revolution - The Solution for Software Development tel: +44 (0) 870 747 1165 fax: +44 (0) 131 718 4334 Shameless book plug: Designing Information Spaces: The Social Navigation Approach From dan at clearvisiontech.com Fri Dec 6 11:58:01 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri Dec 6 11:58:01 2002 Subject: inserting accented characters Message-ID: > I would like to make it as easy for users to insert accented characters. I had this same problem... I just put a little popup menu next to the field (you could also put it in the menubar) that displays the special characters: ? ? ? ? - ? ? ? ? - ? ? ? ? - ? ? ? ? - ? ? ? ? - ? ? Then I use this script in the button: on menuPick theItem put the id of the selectedField into tFieldID put word 4 of the selectedChunk into tChunk put theItem after char tChunk of field id tFieldID end menuPick Hope this helps... Dan From kkaufman at snet.net Fri Dec 6 12:45:00 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Fri Dec 6 12:45:00 2002 Subject: how to trap for the quote key Message-ID: <8CAC03AD-0941-11D7-9C9D-0003936D1F12@snet.net> In the case of the comma key, the following works: ... case "," Do "say " "e& "comma" "e& " using " "e& selVoice "e as Applescript break ... But how do I trap the " key for the same purpose? quote"quote obviously isn't the solution. Thanks, Kurt From rcozens at pon.net Fri Dec 6 12:54:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Dec 6 12:54:01 2002 Subject: Enter & Preserve UNIX linefeeds on Mac OSX In-Reply-To: <3EFB3AE4-08DB-11D7-95DE-003065FB9830@hindu.org> References: <3EFB3AE4-08DB-11D7-95DE-003065FB9830@hindu.org> Message-ID: >How To Enter and Preserve char(10) line breaks on a file saved on Max OSX? Aloha Sannyasin, switch conversionType case cancelIt exit menuPick break case "MacOS" replace return with numToChar(13) in sourceText break case "Win32" replace return with numToChar(13)&numToChar(10) in sourceText break -- Unix needs no conversion: internal line ends are char(10) on all -- platforms end switch put sourceText into URL ("binfile:"&convertedFile) The key is "binfile": the prevents the MC engine from saving the text with platform-specific line ending. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From switchedon at hsj.com Fri Dec 6 12:54:11 2002 From: switchedon at hsj.com (Bill Lynn) Date: Fri Dec 6 12:54:11 2002 Subject: Imported Images Are Darker Message-ID: I am converting a number of my older projects from Director to Rev. To prepare the art, I copy it from the Director cast and paste it into Graphic Convertor where I can do the necessary scaling, trimming and conversion to .png format. When I import these images into Rev as controls, however, I notice that they are noticeably darker than the original art. Has anyone experienced this? Could it be related to the difference in bit depths between the images and my stack? Cheers... Bill Lynn Simtech Publications www.hsj.com From dsc at swcp.com Fri Dec 6 13:01:00 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 6 13:01:00 2002 Subject: Function Newbie question... In-Reply-To: Message-ID: On Friday, December 6, 2002, at 03:17 AM, Malte Brill wrote: > O.K., but if I have more than two objects (lets say about 5). how > could I > check the distances between all of them efficiantly? > > 1->2 2->1 > 1->3 2->3 > 1->4 2->4 > 1->5 2->5 ... 5->4 > > Using a repeat structure seams not being a good idea to me. What about 20? 300? If you want to _calculate_ the distances among n objects you will need to to calculate n(n-1)/2 distances. It may be the easiest way to do this is to do n^2 calculations, or n(n-1) calculations as Ken Ray suggested. One way to do the n(n-1)/2 calculations is to have a list of objects and go through the list calculating the distances of each object to the objects below it. However, if you want to _check_ distances, say find out which pairs are closer than some threshold, there are probably ways to cut down on the number of calculations. You can sort them into bins and only check pairs in the same or adjacent bins. If you need to calculate/check only a few, then something like Ken's example should work. (If you want to tweak that, try changing the start value for y to x+1 and leaving out the equality test. And the last loop for x is not needed.) Note that his example used your distance function and built upon it. To calculate the pairs of distances, the repeat is probably the best way to go. If you are comfortable with recursion, then you might want to try that. Dar Scott From dsc at swcp.com Fri Dec 6 13:07:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 6 13:07:01 2002 Subject: how to trap for the quote key In-Reply-To: <8CAC03AD-0941-11D7-9C9D-0003936D1F12@snet.net> Message-ID: <8D32E8A2-0944-11D7-9F8B-0050E4C0B205@swcp.com> On Friday, December 6, 2002, at 10:38 AM, Kurt Kaufman wrote: > In the case of the comma key, the following works: > ... > case "," > Do "say " "e& "comma" "e& " using " "e& selVoice "e > as Applescript > break > ... > But how do I trap the " key for the same purpose? > quote"quote obviously isn't the solution. Is this what you want? ... case quote Do "say " "e& "quote" "e& " using " "e& selVoice "e as Applescript break ... Dar Scott From jeanne at runrev.com Fri Dec 6 13:14:00 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Fri Dec 6 13:14:00 2002 Subject: how to trap for the quote key In-Reply-To: <8CAC03AD-0941-11D7-9C9D-0003936D1F12@snet.net> Message-ID: At 9:38 AM -0800 12/6/02, Kurt Kaufman wrote: >In the case of the comma key, the following works: >... >case "," > Do "say " "e& "comma" "e& " using " "e& selVoice "e >as Applescript > break >... >But how do I trap the " key for the same purpose? >quote"quote obviously isn't the solution. Just use case quote The quote constant is the same as ". -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jacque at hyperactivesw.com Fri Dec 6 13:28:00 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Dec 6 13:28:00 2002 Subject: 2.0 In-Reply-To: <200212061659.LAA12624@www.runrev.com> References: <200212061659.LAA12624@www.runrev.com> Message-ID: <3DF0EAF7.7050104@hyperactivesw.com> Rod McCall wrote: > For those of you who visited MacWorld New York you may have (horrible) > memories of myself and Kevin sporting kilts for most (if not all) of the > show! I have to say that due to protecting the public from such evil I have > not worn one since :-) Speaking of which, is there going to be a Rev gathering at MacWorld SF in January? I'll be there and would like to meet everyone. I'd also like to see you guys in kilts, since I missed it in NY. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kkaufman at snet.net Fri Dec 6 13:37:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Fri Dec 6 13:37:01 2002 Subject: how to trap for the quote key Message-ID: Thanks Dar and Jeanne! I didn't realize that the word "quote" could stand in for the " key in that manner. -Kurt -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 162 bytes Desc: not available URL: From rcozens at pon.net Fri Dec 6 13:59:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Dec 6 13:59:00 2002 Subject: MacWorld SF [was 2.0] In-Reply-To: <3DF0EAF7.7050104@hyperactivesw.com> References: <200212061659.LAA12624@www.runrev.com> <3DF0EAF7.7050104@hyperactivesw.com> Message-ID: >is there going to be a Rev gathering at MacWorld SF in January? Jacque, et al: As last year, I'll participate in a gathering; but probably not in MacWorld...unless Kevin thinks anything I've done is worth showing off. :{`) -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From katir at hindu.org Fri Dec 6 15:58:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Fri Dec 6 15:58:01 2002 Subject: Enter & Preserve UNIX linefeeds on Mac OSX In-Reply-To: <3DF039A1.8030104@hyperactivesw.com> Message-ID: Ha. "binfile:" works I think I asked this question and had it answered six months ago, but the answer slipped off the end of a gray whisker. Good case for documentation: in the "See also" list for "return" add an item: "binfile" and then in the write up for "binfile:" add: ====== The "binfile" keyword can also be used to block auto-translation of return constants to the platform specific return character(s) in a saved text file. For example, if you are working on the Mac OS and want to save your text file so that linefeeds appear in the same places when viewed on a Unix machine, do this: replace numToChar(13) with numToChar(10) in tData put tData into URL "binfile:someFile.txt" ======= Thanks Sivakatirswami On Thursday, December 5, 2002, at 07:46 PM, J. Landman Gay wrote: > If you use url "file" you get the automatic line-endings translations. > To keep the line endings intact with no translation when writing to > disk, use "binfile" instead: > > put tTemplate into URL "binfile:index.shtml" From erikhans08 at yahoo.com Fri Dec 6 16:35:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Dec 6 16:35:01 2002 Subject: Image Editor In-Reply-To: Message-ID: <20021206212937.18011.qmail@web20007.mail.yahoo.com> --- "Wolfgang M. Bereuter" wrote: > I can send you a list of icon editors - mail me > of line ich auch, bitte! ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Fri Dec 6 16:38:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Dec 6 16:38:01 2002 Subject: Printing problems... In-Reply-To: Message-ID: <20021206213210.18678.qmail@web20001.mail.yahoo.com> --- Andre Rombauts wrote: > on startup > set the formatForPrinting of stack "tstprint" > to true > end startup dans quel script est "on startup" svp? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Fri Dec 6 16:52:00 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Dec 6 16:52:00 2002 Subject: Function Newbie question... In-Reply-To: <006201c29d3a$c06d5590$6701a8c0@mckinley.dom> Message-ID: <20021206214618.26544.qmail@web20006.mail.yahoo.com> --- Ken Ray wrote: > repeat with y = 1 to 5 > -- Don't need to compare to itself, > -- so skip when x=y > if x=y then next repeat > ... -- 4 lines of code > end repeat > end repeat > This is off the top of my head, but it should > work... this is picayune, but in general is it worth executing something like "if x=y then next repeat" in each loop for a rare occurance when the 4 lines will give an acceptable result? with the faster & faster hardware, i have been choosing less lines of script in exchange for... less lines of script. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Fri Dec 6 16:54:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Dec 6 16:54:01 2002 Subject: Function Newbie question... In-Reply-To: Message-ID: <20021206214817.76681.qmail@web20008.mail.yahoo.com> --- Jim Hurley wrote: > >I wrote a small function that returns the > distance between two Points. does this pertain to Turtle Graphics? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Fri Dec 6 17:09:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Dec 6 17:09:01 2002 Subject: 2.0 In-Reply-To: <3DF0EAF7.7050104@hyperactivesw.com> Message-ID: <20021206220306.29818.qmail@web20006.mail.yahoo.com> --- "J. Landman Gay" wrote: > Speaking of which, is there going to be a Rev > gathering at MacWorld SF > in January? I'll be there and would like to > meet everyone. I'd also like > to see you guys in kilts, since I missed it in > NY. shades of "Save HyperCard". it would be good to turn that memory around. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From wmb at internettrainer.com Fri Dec 6 17:42:00 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Fri Dec 6 17:42:00 2002 Subject: 2.0 - (OT) Malt In-Reply-To: <5.1.0.14.2.20021206163826.02ba4ab8@mail.spamcop.net> Message-ID: <2231A83D-096B-11D7-91C0-003065430226@internettrainer.com> On Freitag, Dezember 6, 2002, at 05:44 Uhr, Rod McCall wrote: >>>> (note to self: bring thermal blanket, and leave the American >>>> whiskey at >>>> home.) >>> >>> Mmm scotch is good. >> Scotch?? brrrrr - in "the" land of single Malt???;) > > Well its cold over here right now and Scotch is the ideal way to warm > up! :-) I tried to say: Why (blended) Scotch whiskey, which is made from anything - even potatoes or frozen cows feeds - and you can get everywhere.., if you have the best whiskey of the world (Malt) in front of your doors..;)) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From dsc at swcp.com Fri Dec 6 22:00:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 6 22:00:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: <3DEFD760.4000706@hyperactivesw.com> Message-ID: <17483382-098F-11D7-BCC3-0050E4C0B205@swcp.com> On Thursday, December 5, 2002, at 03:46 PM, J. Landman Gay wrote: > Next, of course, we'll want to know just what it is you are doing > exactly. ;) I'm tinkering with a library that would help me in handling bundled up Revolution values. I would like to make this available to the Revolution community when the right time comes. I'm not sure exactly what that means and I'm open ot ideas. Here is a tease: I am using the terms "node" and "node sequence", the same or similar to what Monte suggested. The question is still open; there might be an overwhelming fondness for "gaggle" among Revolutionaries. Data can be wrapped to become a node. A node can be unwrapped to get the data back. The process is transparent for all values including every-day strings, binary strings, internal numbers and arrays. (Optional compromises increase the speed, but can't handle special cases.) There might be a few holes. Nodes can be chained together to form a node sequence. A node is a node sequence of length one. The value that a node wraps around can be a node sequence. This can be nested indefinitely. These are explicitly made known to the user: The empty node sequence is the Revolution empty. Node sequences are concatenated with the Revolution operator &. Node sequences can be chunked just as characters or lines can be. You can refer to a single node in a node sequence or to a range. The indexes you use work just the same as those for the chunks you are used to. So, if you might use "line 5 to -2 of myList", then in the node world you can think "node 5 to -2 of myNodeSeq" and write "nodeOf(myNodeSeq, 5, -2)" or something like that. Just as it costs a little in time to access lines that are not near the front or back of a list, it costs a little to access nodes not near the front or back of a node sequence. You can find the type of node and even add types beyond the built-in ones for both leaf types and node sequences. If the analogy to chunks is helpful, I'll try to continue along that way. I don't have the cool Revolution syntax, though. I have to use functions and commands. I'm open to suggestions for what function or functions would be appropriate to represent these example node "chunks": node 5 to -1 of mySeq node 3 of mySeq node 1 of mySeq I can use node() & unNode(), node() & value(), valToNode() & nodeToVal(), wrap() & unwrap() or some other pair to wrap and unwrap data to make or break open nodes. I'm not sure which. Maybe there can be a value prefix in the name of the chunk function to pull the value from the chunk. Would node equivalents of these chunk-like expressions below be handy? delete node 2 to 8 of mySeq put into node -7 to -1 of mySeq These would have to be defined as handlers and will not have the pretty syntax. Maybe there can be some functions to help in this kind of thing: repeat for each node n in mySeq With certain options set or with certain assumptions, node sequences are actually (somewhat) readable, making debugging easier. One can easily make a pretty printer for them, too. Node sequences can be stored to files or transmitted to other programs. They can be put into array elements. They can be nested. They can be passed as parameters and returned as function results. With certain options set, they can be put into fields and removed without loss of data. If small enough, they can probably be property values. If small enough and with certain options set, they can be passed as null-terminated strings to externals and returned from externals. I see no reason why they can't be copied and pasted, especially in 2.0. I'll run experiments on nodes and stdin/stdout and on "open process for update". Maybe objects can be flattened to node sequences. Packing and unpacking arrays in general is a little expensive to get right and best for I/O or other rare times, but for other uses node sequences are handy for adding structure where arrays don't work out. An example is nesting. Arrays are better for larger tables of data especially for random access. Node sequences can work for simple structures or records. You would use them the same way you would interpret a list as a structure. Set a constant for each node number. For example, if you have a structure that always has 7 nodes, then assign names to 1, 2, 3, 4, -3, -2, -1. You can then refer to each by name. (This is not unique to nodes, you can do this with lines or items, too. With nodes you can have large documents, numbers and images as values, though.) You can also use node sequences for stacks, queues and other interesting sequential collections. (As you can with lists.) If you enjoyed lisp, you can use node sequences as lisp lists. CONS, CAR and CDR away. What makes nodes most especially useful to me is the ability to keep up with binary data and to package up data and move it around. Arrays may have binary element values, I think, but lack nesting and are harder to ship off or store as files. Node Sequences do not share data. They do not use global arrays. Each value is simply a string underneath and is independent of all others. You cannot have recursive data structures. Only under certain circumstances can you mutalate values; the method encourages a functional approach. This will be the first Revolution library to leave my desk. I welcome comments now and when this is at a point where people can try it. Dar Scott From bornstein at designeq.com Fri Dec 6 22:16:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Fri Dec 6 22:16:01 2002 Subject: Imported Images Are Darker Message-ID: <200212070309.gB739qk27608@mailout6-0.nyroc.rr.com> > When I import these images into Rev as controls, however, I >notice that they are noticeably darker than the original art. Has anyone >experienced this? Bill, I also noticed this when I created art in Photoshop and imported it into my Rev stack as background art. However, in my case, the art was lighter and less saturated in Rev than in Photoshop. This was on a Mac. I do not have a clue as to why this happened, but would like to know since I had the colors fine-tuned in PS and was then disappointed that they didn't look the same in Rev. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From ambassador at fourthworld.com Fri Dec 6 22:19:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Dec 6 22:19:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: <17483382-098F-11D7-BCC3-0050E4C0B205@swcp.com> Message-ID: Dar Scott wrote: > I am using the terms "node" and "node sequence", the same or similar to > what Monte suggested. The question is still open; there might be an > overwhelming fondness for "gaggle" among Revolutionaries. I prefer we call it a shrewdness, as we do with gorillas. :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From revolution at knowledgeworks.plus.com Fri Dec 6 22:39:01 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Fri Dec 6 22:39:01 2002 Subject: inserting accented characters Message-ID: <200212070338.WAA25771@www.runrev.com> Thanks people for helping me :-) It is kind of you to go into such detail with your recommendations. However, it does look like there is something odd happening with Rev in my setup. I have attempted to at least do things the way that Signe does them, but to no avail. 1. The I beam is in the field. 2. Following the format that Signe has used for Metacard on Win32 does not work - when I press the 'AltGr' key it opens the Script Editor! When I try the 'circumflex' key followed by 'a', I just get 'a'. Ditto with 'shift'+^ - only 'a' appears. After reading up on the ways in which Mac OS and Win32 provide different shortcuts to the insertion of 'international' characters, and the strange discrepancies between my installation of Rev on Win32 and Signe's experience with Metacard on Win32, I'm going with the palette idea. As the issues are more generic now, I'm going to re-post with a new topic. I have a few problems with this palette idea also,but I think the solutions may be of wider interest. The mechanism I am working on may be of interest to other transcripters (beyond the issue of accented characters). If I can't solve the issues that have arisen with this design decision, I may revert to using a user-definable menubutton (popup or pulldown). From revolution at knowledgeworks.plus.com Fri Dec 6 22:40:28 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Fri Dec 6 22:40:28 2002 Subject: Sequential Layout of Script-created Objects Message-ID: <200212070338.WAA25774@www.runrev.com> I am generating a palette of buttons based on the items in a text field (one button per item). The text is in one stack, and the palette is a separate stack. I can generate the buttons (and set properties of them by setting the templateButton). However, all the buttons are generated in the palette at the same location. How can I generate them so that they are laid out sequentially: a) in one long line b) in a table format (dynamically re-laid if the palette is re-sized). From revolution at knowledgeworks.plus.com Fri Dec 6 22:41:54 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Fri Dec 6 22:41:54 2002 Subject: Passing selectedField Location between Stacks Message-ID: <200212070338.WAA25777@www.runrev.com> I have two stacks. Stack T contains text fields, and Stack B contains buttons. Whilst typing in Stack T, if the user requires input from Stack B I want the user to be able to just click on an item in Stack B, and have the text associated with the clicked button inserted at the place in the field in Stack T where s/he was typing. My understanding is that it is the use of two stacks that is preventing me from using the selectedField or selectedChunk to determine where the label of the button should be placed. Is this correct? From dsc at swcp.com Fri Dec 6 22:58:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 6 22:58:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: <17483382-098F-11D7-BCC3-0050E4C0B205@swcp.com> Message-ID: <24D0B040-0997-11D7-BCC3-0050E4C0B205@swcp.com> On Friday, December 6, 2002, at 07:53 PM, Dar Scott wrote: > You cannot have recursive data structures. I mean you can't have a node sequence embedded in itself. And it has no built-in mechanism for pointing to a parent node Sequence. You can define (in your favorite style) recursive data definitions and use node sequences to implement instances of those. Want to parse prepositional phrases? Go for it. Dar Scott From troy at rpsystems.net Fri Dec 6 23:24:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Dec 6 23:24:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: <24D0B040-0997-11D7-BCC3-0050E4C0B205@swcp.com> Message-ID: On Friday, December 6, 2002, at 10:51 PM, Dar Scott wrote: > >> You cannot have recursive data structures. > > I mean you can't have a node sequence embedded in itself. And it has > no built-in mechanism for pointing to a parent node Sequence. You can > define (in your favorite style) recursive data definitions and use node > sequences to implement instances of those. Want to parse prepositional > phrases? Go for it. > Ah. Yeah. I was going to call you on that one. Glad you clarified it. (Joking... mostly. ;-) -- Troy RPSystems, LTD www.rpsystems.net From katir at hindu.org Sat Dec 7 00:01:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat Dec 7 00:01:01 2002 Subject: libUrlFtpUploadFile time out issues Message-ID: <481547E0-09A0-11D7-AF1D-003065FB9830@hindu.org> Dave Cragg (or anyone...) Working using the new libUrlFtpUploadFile tSourcePath, tUrl, "loadDone" for uploads to an FTP server... it works fine but 1) Timeout issues: if I get the following socket time out (now sure if libURL is generating this or the ftp server??) ... then I have to try again... ======= 220 Welcome to mahiai.aloha.net's FTP server 331 Password required for gurudeva. 230 User gurudeva logged in. Access restrictions apply. 257 "/" is current directory. 200 Type set to I. socket timeout 64.75.176.66:21|6926 CLOSED 64.75.176.66:21|6926 =========== If I can get through this far: 200 Type set to I. 227 Entering Passive Mode (64,75,176,66,94,98) 150 Opening BINARY mode data connection for /export/vhost/org/g/gurudeva/www/public_html/01-Bodhinatha-12-06.JPG. CLOSED 64.75.176.66:24162|6924 226 Transfer complete. then, (obviously) it works and then I can do successive uploads on that same connection without logging in again. so, how to handle that time out business...?? 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 From dsc at swcp.com Sat Dec 7 00:16:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 7 00:16:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: Message-ID: On Friday, December 6, 2002, at 09:18 PM, Troy Rollins wrote: > I was going to call you on that one. Glad you clarified it. > > (Joking... mostly. ;-) I tend to babble on about unimportant things. I should have simply said this: I'm working on a way to pack some values together and take them apart. It seems to have potential. Dar From jswitte at bloomington.in.us Sat Dec 7 01:01:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Sat Dec 7 01:01:01 2002 Subject: Encoding for HTML pages?? In-Reply-To: <009f01c298e8$477379e0$6601a8c0@mckinley.dom> Message-ID: <13817EA9-09A6-11D7-9B31-000A27D93820@bloomington.in.us> Doesn't work. The source says it uses the 'windows-1252' character set encoding, if that has anything to do with it. Jim > Try: > set the htmlText of fld "code" to url "http://www.hotornot.com/" >> 'm making a Revolution browser for the HotOrNot site (what a better >> way to learn revolution.. ;-). But whenever I do the following (for >> example), "put URL "http://www.hotornot.com/" into cd fld "code" the From chipp at chipp.com Sat Dec 7 02:16:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Sat Dec 7 02:16:00 2002 Subject: Imported Images Are Darker In-Reply-To: <200212070309.gB739qk27608@mailout6-0.nyroc.rr.com> Message-ID: Photoshop has a different gamma setting. You can reset it to NONE or Windows if you like. I don't like using Photoshops gamma setting for those very reasons. It is good for print work, but not digital web and interface design. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Howard > Bornstein > Sent: Friday, December 06, 2002 9:10 PM > To: use-revolution at lists.runrev.com > Subject: Re: Imported Images Are Darker > > > > When I import these images into Rev as controls, however, I > >notice that they are noticeably darker than the original art. Has anyone > >experienced this? > > Bill, > > I also noticed this when I created art in Photoshop and imported it into > my Rev stack as background art. However, in my case, the art was lighter > and less saturated in Rev than in Photoshop. This was on a Mac. > > I do not have a clue as to why this happened, but would like to know > since I had the colors fine-tuned in PS and was then disappointed that > they didn't look the same in Rev. > > Regards, > > Howard Bornstein > ____________________ > D E S I G N E Q > www.designeq.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dcragg at lacscentre.co.uk Sat Dec 7 04:36:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat Dec 7 04:36:01 2002 Subject: libUrlFtpUploadFile time out issues In-Reply-To: <481547E0-09A0-11D7-AF1D-003065FB9830@hindu.org> References: <481547E0-09A0-11D7-AF1D-003065FB9830@hindu.org> Message-ID: At 6:56 pm -1000 6/12/02, Sannyasin Sivakatirswami wrote: >Dave Cragg (or anyone...) > >Working using the new > >libUrlFtpUploadFile tSourcePath, tUrl, "loadDone" > >for uploads to an FTP server... it works fine but > >1) Timeout issues: > >if I get the following socket time out (now sure if libURL is >generating this or the ftp server??) ... then I have to try again... >======= >220 Welcome to mahiai.aloha.net's FTP server >331 Password required for gurudeva. >230 User gurudeva logged in. Access restrictions apply. >257 "/" is current directory. >200 Type set to I. >socket timeout 64.75.176.66:21|6926 >CLOSED 64.75.176.66:21|6926 > >=========== > >If I can get through this far: > >200 Type set to I. >227 Entering Passive Mode (64,75,176,66,94,98) >150 Opening BINARY mode data connection for >/export/vhost/org/g/gurudeva/www/public_html/01-Bodhinatha-12-06.JPG. >CLOSED 64.75.176.66:24162|6924 >226 Transfer complete. > >then, (obviously) it works and then I can do successive uploads on >that same connection without logging in again. > >so, how to handle that time out business...?? Try setting the socketTimeoutInterval to a higher value. (e.g. 20000) However, if the timeout is occurring before you think it should (i.e. within the socketTimeoutInterval which is set to 10 seconds by default) let me know. Cheers Dave From malte.brill at t-online.de Sat Dec 7 05:21:01 2002 From: malte.brill at t-online.de (Malte Brill) Date: Sat Dec 7 05:21:01 2002 Subject: Function Newbie Question: In-Reply-To: <200212061316.IAA05732@www.runrev.com> Message-ID: Thanks to all of you for your fast replies. Now I?m on my way. >does this pertain to Turtle Graphics? This function checks the distance between any 2 given points. In my case I check the location of some objects to obtain the distance between their middle points. I want to use it in an attack/fleeing algorithm and collision detection for circular objects. I?m trying to set up a small codebase, if I find the time I will be trying to create a game... So I allready have a function that returns the distance and I have a function that returns the angle between two objects. (But I still have to implement heading to it and that still gives me some head(ing)aches) >To calculate the pairs of distances, the repeat is probably the best way >to go. If you are comfortable with recursion, then you might want to >try that. Hi Dar, I defenitly want to learn more about recursion. Are there any tutorials on the web, that could help me getting startet? From miscdas at boxfrog.com Sat Dec 7 06:13:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sat Dec 7 06:13:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: References: Message-ID: <20021207110801.98749.qmail@www.boxfrog.com> Dar Scott writes: [snip] > > I'm working on a way to pack some values together and take them apart. Seems to me you just found your name and function names. The object is a package. The functions are pack and unpack. To string them together or unstring, tie and untie. miscdas From revolution at knowledgeworks.plus.com Sat Dec 7 08:04:01 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sat Dec 7 08:04:01 2002 Subject: Sequential Layout of Script-created Objects In-Reply-To: <200212070338.WAA25774@www.runrev.com> References: <200212070338.WAA25774@www.runrev.com> Message-ID: <200212071303.IAA02478@www.runrev.com> I've managed to get this dynamic layout working (though it may not be the most efficient way to do it!) on mouseUp -- set style and location of new buttons set the threeD of the templateButton to false set the height of the templateButton to 26 set the width of the templateButton to the width of graphic "grfButtonsBorder" of group "grpButtons" of stack "Map" set the left of the templateButton to the left of graphic "grfButtonsBorder" of group "grpButtons" of stack "Map" set the top of the templateButton to the top of graphic "grfButtonsBorder" of group "grpButtons" of stack "Map" set the tooltip of the templateButton to "click here to place this text at the insertion point" repeat for each line currentLine in field "fdPaletteButtonSource" of stack "Mapping Source" --create buttons from text field create button currentLine in group "grpButtons" of stack "Map" set the label of it to currentLine put the bottom of it into lastButtonBottom set the top of the templateButton to lastButtonBottom end repeat reset the templateButton end mouseUp I have a couple of questions: 1) do created buttons have to be placed in a group? (The Transcript documentation seems to say so, and playing around with permutations of the examples didn't work). 2) the above code lays any new buttons on top of the old buttons when the code is run again. I am sure I can get hold of the contents of the group "grpButtons" in order to delete each old button, but I don't know how. > I am generating a palette of buttons based on the items in a text field (one > button per item). > > The text is in one stack, and the palette is a separate stack. I can generate > the buttons (and set properties of them by setting the templateButton). > However, all the buttons are generated in the palette at the same location. > > How can I generate them so that they are laid out sequentially: > a) in one long line > b) in a table format (dynamically re-laid if the palette is re-sized). > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From RGould8 at aol.com Sat Dec 7 10:21:02 2002 From: RGould8 at aol.com (RGould8 at aol.com) Date: Sat Dec 7 10:21:02 2002 Subject: Anything special about Mac OS 8.1 and revGoURL? Message-ID: <65.3d1e933.2b236a53@aol.com> I've successfully launched Internet Explorer on all Mac OS's using the "revGoURL" command - - - however on Mac OS 8.1, this does not seem to work. I get no error messages, and I get no Internet Explorer - - - it's almost like Rev "skips" that line of code in OS 81. I'm trying to figure out if it's something that Revolution doesn't like about Mac OS 8.1, or something that's not configured properly with OS 8.1's Internet Explorer. Has anyone else had any problems with this, or know why this might be happening? -------------- next part -------------- An HTML attachment was scrubbed... URL: From RGould8 at aol.com Sat Dec 7 10:29:02 2002 From: RGould8 at aol.com (RGould8 at aol.com) Date: Sat Dec 7 10:29:02 2002 Subject: Any way to launch shell in Mac OS 10.0.4? Message-ID: <112.1b792c54.2b236c5a@aol.com> I've got a Mac OS 8/9/X app that I've written for a client that works, except in Mac OS 10.0.4. This project is for an ISP that insists that it work on all versions of OS X, even this version, which I've been telling them no one uses, but that doesn't seem to matter to the client - - - they just want it working. I need to launch a unix command and grep the results and pass it back to Revolution. Is this possible with OS 10.0.4? Applescript doesn't appear to have a working do shell method for that version of the OS. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhurley at infostations.com Sat Dec 7 12:15:01 2002 From: jhurley at infostations.com (Jim Hurley) Date: Sat Dec 7 12:15:01 2002 Subject: Function Newbie question... In-Reply-To: <200212070302.WAA24136@www.runrev.com> References: <200212070302.WAA24136@www.runrev.com> Message-ID: > >--- Jim Hurley wrote: > >> >I wrote a small function that returns the >> distance between two Points. > >does this pertain to Turtle Graphics? > >===== >erik at erikhansen.org http://www.erikhansen.org Eric, there is a function "distance" in Turtle Graphics but it relates to the distance between the current location of the turtle (cursor element) and some chosen point. For example, if the turtle were at the origin (center of the screen), the function "distance(30,40)" would return 50--the hypotenuse of a right triangle whose legs are 30, 40 is 50. In some versions of TG there are multiple turtles--called sprites. And so in a game with multiple, moving objects, one would need a function to determine distance between each of the turtles. The very basics in TG might be the following set of commands and functions, which I hope are self explanatory: Commands: forward 100 back 100 right 30 left 30 setHeading 45 setXY 30,40 incXY 3,4 --increment the x and y coordinates Functions: xCor() yCor() heading ( ) distance (xTemp, yTemp) This is all quite simple to implement in Transcript. But the beauty of TG, like Transcript itself, is that it is extensible. I know that RunRev is looking eventually to expand its market in education. When it does, I think it will be helpful to include examples of how Transcript and Turtle Graphics might be employed by students as problem solving tools. For example, with sufficient background, the students would write their own program to simulate planetary motion using only the TG defined above: constant G = 8000 on orbitTheSun forward 90 -- Move the plant 90 units from the sun put 0 into vx -- Initial horizontal velocity of planet put 12 into vy -- Initial vertical velocity of planet repeat until mouseClick() -- My apologies for polling the mouse. incXY vx, vy -- Move the turtle (planet) a distance v (distance/second) in each second add accx() to vx add accy() to vy end repeat end orbitTheSun function accx -- Newton's inverse square law of gravity return -G * xcor()/ distance(0,0)^3 -- The sun is at 0,0 end accx function accy return -G * ycor()/ distance(0,0)^3 end accy The result is an ellipse. The emphasis would not necessarily be programing for its own sake, but for programing (Transcript + TG) as a problem solving tool in a variety of disciplines--in fact, getting back to the original function of programming. Sorry Eric: That's probably a lot more than your wanted to know about the distance function. Jim Hurley -------------- next part -------------- An HTML attachment was scrubbed... URL: From ambassador at fourthworld.com Sat Dec 7 12:25:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 7 12:25:01 2002 Subject: Tucows, Revolution plug-ins, and you In-Reply-To: Message-ID: I just got the latest newsletter from Tucows, which contains this interesting item: ----------------------------------------------------------- News regarding add-ons ---------------------- Tucows has opened the door to add-on submissions! Now, the only prerequisite for evaluation is that the program that your add-on enhances is currently hosted by Tucows. ----------------------------------------------------------- Since Rev is carried at Tucows, it would seem w have another venue for distributing plug-ins for Revolution. By posting your plug-ins to sites like Tucows and VersionTracker in addition to the runrev.com listing, you not only raise the visibility for your tool but for Revolution as well. In fact, given the frequency with which Mac news sites like MacNN and MacCentral post notices for RealBASIC plug-ins, you may also consider sending a press release to those news sites as well. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Sat Dec 7 12:29:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 7 12:29:00 2002 Subject: Function Newbie question... In-Reply-To: Message-ID: Jim Hurley wrote: > I know that RunRev is looking eventually to expand its market in education. > When it does, I think it will be helpful to include examples of how Transcript > and Turtle Graphics might be employed by students as problem solving tools. Very glad to see you're still workingon Turtle Graohics in Rev. Has the addition of paint tools to the Mac and Win engines resolved most of your earlier issues? Will you be releasing this when you're done? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dsc at swcp.com Sat Dec 7 13:08:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 7 13:08:01 2002 Subject: It's a list! It's an array! No, it's... In-Reply-To: <20021207110801.98749.qmail@www.boxfrog.com> Message-ID: On Saturday, December 7, 2002, at 04:08 AM, miscdas at boxfrog.com wrote: >> I'm working on a way to pack some values together and take them apart. > > Seems to me you just found your name and function names. > The object is a package. > The functions are pack and unpack. > To string them together or unstring, tie and untie. Great idea! One problem is the 7 letters. Maybe box is better for sticking into function names. And it can be a noun or a verb. I think most of us can read names of the form xxxPkgyyyy, though. Now this sequence of packages... Is it a package string? shipment? Pallet? Multipackage? Bundle? 12DaysOfChristmas? I had thought of pack earlier. It is a little misleading. It doesn't make data representation smaller. If readability options are used, it makes them larger. Even so, one can have _one_ value that contains lots of things, so with that kind of path, it is pack. More... page and book (Page might work as the next higher chunk name, right above line) page and pages envelope and ??? box and boxes Hmmm. box(val) ==> box box(val, typeCode) ==> box unbox(box) ==> val unbox(boxes) ==> val of first boxOf(boxes, index) ==> box boxOf(boxes, indexStart, indexEnd) ==> boxes or box unBoxOf(boxes, index) ==> val put empty into noBoxes put box1 & box2 into myBoxes deleteBoxOf(boxesRef, index) deleteBoxOf(boxesRef, indexStart, indexEnd) putBoxOf(newBox2, myBoxes, -1) -- Replaces last box of myBoxes with new box(es) function dequeue global myQ local temp put boxOf(myQ,-1) into temp deleteBoxOf(myQ,-1) return unbox(temp) end dequeue on enqueue val global myQ put box(val) & myQ into myQ end dequeue Does that sound right? Dar From tedl at voyager.net Sat Dec 7 14:19:01 2002 From: tedl at voyager.net (Ted) Date: Sat Dec 7 14:19:01 2002 Subject: Imported Images Are Darker Message-ID: <002201c29e24$e0185ee0$dace59cf@egl> Bill Lynn wrote in part: >> I am converting a number of my older projects from Director to Rev. To prepare the art, I copy it from the Director cast and paste it into Graphic Convertor where I can do the necessary scaling, trimming and conversion to ..png format. When I import these images into Rev as controls, however, I notice that they are noticeably darker than the original art. >> Bill, have you tried setting the gamma correction value of your PNG images in Graphic Converter? The standard setting for Mac OS 9 is 1.8, and for Windows it's 2.2. Many graphic artists set their images to 2.0--right between the two standard settings. An advantage to using gamma correction is that, once it's set to your liking, your images should display almost identically across platforms. Ted From katir at hindu.org Sat Dec 7 17:09:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat Dec 7 17:09:01 2002 Subject: libUrlFtpUploadFile time out issues In-Reply-To: Message-ID: Well, I'll try to increase the time out, but for sure it was returning the time out error way under 10 seconds... I'll confirm that later today. On Friday, December 6, 2002, at 11:29 PM, Dave Cragg wrote: > Try setting the socketTimeoutInterval to a higher value. (e.g. 20000) > > However, if the timeout is occurring before you think it should (i.e. > within the socketTimeoutInterval which is set to 10 seconds by > default) let me know. > > Cheers > Dave > From: Dave Cragg > Date: Fri Dec 6, 2002 11:29:48 PM Pacific/Honolulu > To: use-revolution at lists.runrev.com > Subject: Re: libUrlFtpUploadFile time out issues > Reply-To: use-revolution at lists.runrev.com > > At 6:56 pm -1000 6/12/02, Sannyasin Sivakatirswami wrote: >> Dave Cragg (or anyone...) >> >> Working using the new >> >> libUrlFtpUploadFile tSourcePath, tUrl, "loadDone" >> >> for uploads to an FTP server... it works fine but >> >> 1) Timeout issues: >> >> if I get the following socket time out (now sure if libURL is >> generating this or the ftp server??) ... then I have to try again... >> ======= >> 220 Welcome to mahiai.aloha.net's FTP server >> 331 Password required for gurudeva. >> 230 User gurudeva logged in. Access restrictions apply. >> 257 "/" is current directory. >> 200 Type set to I. >> socket timeout 64.75.176.66:21|6926 >> CLOSED 64.75.176.66:21|6926 >> >> =========== >> >> If I can get through this far: >> >> 200 Type set to I. >> 227 Entering Passive Mode (64,75,176,66,94,98) >> 150 Opening BINARY mode data connection for >> /export/vhost/org/g/gurudeva/www/public_html/01-Bodhinatha-12-06.JPG. >> CLOSED 64.75.176.66:24162|6924 >> 226 Transfer complete. >> >> then, (obviously) it works and then I can do successive uploads on >> that same connection without logging in again. >> >> so, how to handle that time out business...?? > From JamesHBeckmann at aol.com Sat Dec 7 18:15:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Sat Dec 7 18:15:01 2002 Subject: Create Image, Hide Image Message-ID: <1a6.d3b6059.2b23d99b@aol.com> Bear with this new user: I created a NEW stack, placed one fld "pictfld" and one button "Display" on it. I put the following script into the button: on mouseUp answer file empty put it into thisPict set the rect of templateimage to the rect of fld pictFld set the filename of templateimage to thisPict set the lockLoc of templateimage to true create image "Holder" wait 3 secs hide image "Holder" send "choose browse tool" to me in 1 tick end mouseUp So the script works on the first run, showing the image and hiding the image. Press the button again and the next image does not "hide". So I opened the Properties of the button, and then noted on the Editing scrolling button that there is an object "Image Holder" that is never killed. I was under the impression that this use of "create" did not permanently store an object. What can I change? Thanks, Jim From dsc at swcp.com Sat Dec 7 18:20:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 7 18:20:01 2002 Subject: Function Newbie Question: In-Reply-To: Message-ID: <76CBAB1E-0A39-11D7-982B-0050E4C0B205@swcp.com> On Saturday, December 7, 2002, at 03:15 AM, Malte Brill wrote: >> To calculate the pairs of distances, the repeat is probably the best >> way >> to go. If you are comfortable with recursion, then you might want to >> try that. > > Hi Dar, I defenitly want to learn more about recursion. Are there any > tutorials on the web, that could help me getting startet? I don't know of any. Here is an example using your distance problem (off the top of my head): **************************** -- An object is specified by the long id -- An object list has an object spec on each line -- and represents multiple objects -- Returns a one line (with lf) report on the distance function distanceTweenObjects( firstObj, secondObj) ... end distanceBetweenObjects -- Returns a muliline report -- on distances between an object and a list of objects function distanceObjToObjList( theObj, objList) if objList is empty then return empty else return distanceBetweenObjects( theOBJ, line 1 of objList) & \ distanceObjToObjList( theObj, line 2 to -1 of objList) end if end distanceObjToObjList -- Returns a multiline report -- on distance among objects in a list -- The report should have n(n-1)/2 lines for n objects function distanceAmongObjects (objList) if objList is empty then return empty else return distanceObjToObjects( line 1 of objList, line 2 to -1 of objList) & \ distanceAmongObjects( line 2 to -1 of objList) end if end distanceAmongObjects ****************************** This is completely untested, but should give you an idea of how recursion might apply. You might find this fun or you might decide you like repeat after all. Dar Scott From jeanne at runrev.com Sat Dec 7 18:39:02 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 7 18:39:02 2002 Subject: "grabbing a tool" In-Reply-To: <05FEB0C1-06F4-11D7-9161-000393AAEF66@macosx.com> References: <200212011048.FAA19086@www.runrev.com> Message-ID: At 11:18 AM -0800 12/3/02, Barry Levine wrote: >Now I'm wondering how to determine when the object ("me") I am dragging >touches another object. In other words, if I drag "me" over an image >object that is moving around the stack window on its own accord (I have >set it into motion), how do I know if I have successfully "touched" it? Check out the intersect function (not to be confused with the intersect command...). -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Dec 7 18:39:13 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 7 18:39:13 2002 Subject: Image Editor In-Reply-To: <20021204021521.51182.qmail@web20008.mail.yahoo.com> References: <20021204004104.37136.qmail@web20003.mail.yahoo.com> Message-ID: At 6:15 PM -0800 12/3/02, erik hansen wrote: >this should probably wait until after RR 2.0, but >is there an internal image editor in RR? Well, you can edit images, certainly, using the paint tools. But there's no separate window to edit images in. (This might make a good plugin - copy the data from an image into a separate window for editing, then copy it back to the original image.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Dec 7 18:39:23 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 7 18:39:23 2002 Subject: Imported Images Are Darker In-Reply-To: Message-ID: At 9:48 AM -0800 12/6/02, Bill Lynn wrote: >I am converting a number of my older projects from Director to Rev. To >prepare the art, I copy it from the Director cast and paste it into Graphic >Convertor where I can do the necessary scaling, trimming and conversion to >.png format. When I import these images into Rev as controls, however, I >notice that they are noticeably darker than the original art. Has anyone >experienced this? Could it be related to the difference in bit depths >between the images and my stack? As Chipp and Ted mention, this may be due to gamma differences. If you don't want to re-encode the images, you might want to check out the Revolution screenGamma property. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Dec 7 18:40:05 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 7 18:40:05 2002 Subject: Passing selectedField Location between Stacks In-Reply-To: <200212070338.WAA25777@www.runrev.com> Message-ID: At 7:31 PM -0800 12/6/02, Bernard Devlin wrote: >I have two stacks. Stack T contains text fields, and Stack B contains >buttons. > >Whilst typing in Stack T, if the user requires input from Stack B I want the >user to be able to just click on an item in Stack B, and have the text >associated with the clicked button inserted at the place in the field in >Stack T >where s/he was typing. > >My understanding is that it is the use of two stacks that is preventing me >from >using the selectedField or selectedChunk to determine where the label of the >button should be placed. Is this correct? It shouldn't. I'm going to guess that the objects in stack B are buttons; clicking buttons can lose the text selection under some circumstances. If you turn the traversalOn property of the buttons off, the text selection should be retained when you click them - even if they're in another stack. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Dec 7 18:40:13 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 7 18:40:13 2002 Subject: Question Icon on OS X In-Reply-To: References: <55904DCE-0676-11D7-ABD8-0003937A97B8@genesearch.com.au> Message-ID: At 8:35 PM -0800 12/2/02, Monte Goulding wrote: >> I think the OS X standard is to use the application's icon in dialog >> boxes. > >OK... do you know if Rev 2.0 will support this? Perhaps an application icon >property in the distro builder? There will be a global property, gREVAppIcon, to specify the image ID of the app icon. I'm not sure whether it will be part of the Distribution Builder, but it seems like a good idea to me. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Dec 7 18:40:25 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 7 18:40:25 2002 Subject: Sequential Layout of Script-created Objects In-Reply-To: <200212071303.IAA02478@www.runrev.com> References: <200212070338.WAA25774@www.runrev.com> <200212070338.WAA25774@www.runrev.com> Message-ID: At 4:56 AM -0800 12/7/02, Bernard Devlin wrote: >I have a couple of questions: >1) do created buttons have to be placed in a group? (The Transcript >documentation seems to say so, and playing around with permutations of the >examples didn't work). Not unless you want them to behave as a radio button cluster, or otherwise want them in a group for whatever reason. (What part of the docs are you looking at? It sounds like something was confusing and may need to be rephrased.) >2) the above code lays any new buttons on top of the old buttons when the code >is run again. I am sure I can get hold of the contents of the group >"grpButtons" in order to delete each old button, but I don't know how. You can run through each button in a repeat loop: repeat with x = 1 to the number of controls of group "grpButtons" of stack "Map" delete control x of group "grpButtons" of stack "Map" end repeat If you decide the buttons don't need to be grouped, you can repeat over the number of controls in the stack, and delete the control only if it's a button (or use whatever criterion you need to make sure you don't accidentally delete objects you want to keep): repeat with x = 1 to the number of controls of this card of stack "Map" if word 1 of the name of control x of this card of stack "Map" is "button" then delete control x of this card of stack "Map" end repeat -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Dec 7 18:40:40 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 7 18:40:40 2002 Subject: Create Image, Hide Image In-Reply-To: <1a6.d3b6059.2b23d99b@aol.com> Message-ID: At 3:09 PM -0800 12/7/02, JamesHBeckmann at aol.com wrote: >Bear with this new user: > >I created a NEW stack, placed one fld "pictfld" and one button "Display" on >it. I put the following script into the button: > >on mouseUp > answer file empty > put it into thisPict > set the rect of templateimage to the rect of fld pictFld > set the filename of templateimage to thisPict > set the lockLoc of templateimage to true > create image "Holder" > wait 3 secs > hide image "Holder" > send "choose browse tool" to me in 1 tick >end mouseUp > >So the script works on the first run, showing the image and hiding the image. > Press the button again and the next image does not "hide". > >So I opened the Properties of the button, and then noted on the Editing >scrolling button that there is an object "Image Holder" that is never killed. > >I was under the impression that this use of "create" did not permanently >store an object. > >What can I change? "Create" just creates the new object, so it is stored in the stack (and is saved the next time you save the stack). If you want to get rid of it, just use the delete command: delete image "Holder" Or in this case, you can just keep the image "Holder" around permanently, and instead of issuing a new "create" command, simply change "Holder"'s properties to suit: on mouseUp answer file empty put it into thisPict set the rect of image "Holder" to the rect of field pictFld set the filename of image "Holder" to thisPict show image "Holder" wait 3 seconds hide image "Holder" end mouseUp -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From alanIra9 at mac.com Sat Dec 7 19:13:01 2002 From: alanIra9 at mac.com (Alan Gayne) Date: Sat Dec 7 19:13:01 2002 Subject: intersect function (was) "grabbing a tool" In-Reply-To: Message-ID: <264B3466-0A41-11D7-8414-000393158950@mac.com> I know that the intersect function returns whether or not two known objects overlap - but Is there any way to determine whether a single specifically known object (e.g. a newly created button) overlaps any other objects, and the identities of these previously unknown objects? something like: put intersectsWith (the target) into the IntersectingObjects Any help would be appreciated. Thanks is advance, Alan On Saturday, December 7, 2002, at 02:30 PM, Jeanne A. E. DeVoto wrote: > At 11:18 AM -0800 12/3/02, Barry Levine wrote: >> Now I'm wondering how to determine when the object ("me") I am >> dragging >> touches another object. In other words, if I drag "me" over an image >> object that is moving around the stack window on its own accord (I >> have >> set it into motion), how do I know if I have successfully "touched" >> it? > > Check out the intersect function (not to be confused with the intersect > command...). > > -- > Jeanne A. E. DeVoto ~ jeanne at runrev.com > Runtime Revolution Limited - The Solution for Software Development > http://www.runrev.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From wmb at internettrainer.com Sat Dec 7 19:20:00 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sat Dec 7 19:20:00 2002 Subject: Question Icon on OS X In-Reply-To: Message-ID: <0E4198DC-0A42-11D7-BB4A-003065430226@internettrainer.com> On Samstag, Dezember 7, 2002, at 11:40 Uhr, Jeanne A. E. DeVoto wrote: > I'm not sure whether it will be part of the Distribution Builder, but > it > seems like a good idea to me. Not a good idea. A *very* good idea;) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From erikhans08 at yahoo.com Sat Dec 7 19:28:00 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Dec 7 19:28:00 2002 Subject: Image Editor In-Reply-To: Message-ID: <20021208002216.76140.qmail@web20008.mail.yahoo.com> --- "Jeanne A. E. DeVoto" wrote: > Well, you can edit images, certainly, using the > paint tools. But there's no separate window to > edit images in. do you mean paint on top of the image or actually modifying the image's parameters? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Sat Dec 7 19:50:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Dec 7 19:50:01 2002 Subject: Function Newbie question... In-Reply-To: Message-ID: <20021208004405.6366.qmail@web20005.mail.yahoo.com> --- Jim Hurley wrote: > Eric, there is a function "distance" in Turtle > Graphics but it > relates to the distance between the current > location of the turtle > (cursor element) and some chosen point. For > example, if the turtle > were at the origin (center of the screen), the > function > "distance(30,40)" would return 50--the > hypotenuse of a right triangle > whose legs are 30, 40 is 50. > > In some versions of TG there are multiple > turtles--called sprites. > And so in a game with multiple, moving objects, > one would need a > function to determine distance between each of > the turtles. > > The very basics in TG might be the following > set of commands and > functions, which I hope are self explanatory: > > Commands: > forward 100 > back 100 > right 30 > left 30 > setHeading 45 > setXY 30,40 > incXY 3,4 --increment the x and y coordinates > > Functions: > xCor() > yCor() > heading ( ) > distance (xTemp, yTemp) > > This is all quite simple to implement in > Transcript. But the beauty > of TG, like Transcript itself, is that it is > extensible. > > I know that RunRev is looking eventually to > expand its market in > education. When it does, I think it will be > helpful to include > examples of how Transcript and Turtle Graphics > might be employed by > students as problem solving tools. For example, > with sufficient > background, the students would write their own > program to simulate > planetary motion using only the TG defined > above: > > constant G = 8000 > > on orbitTheSun > forward 90 -- Move the plant 90 units from > the sun > put 0 into vx -- Initial horizontal velocity > of planet > put 12 into vy -- Initial vertical velocity > of planet > > repeat until mouseClick() -- My apologies > for polling the mouse. > incXY vx, vy -- Move the turtle (planet) a > distance v > (distance/second) in each second > add accx() to vx > add accy() to vy > end repeat > > end orbitTheSun > > function accx > -- Newton's inverse square law of gravity > return -G * xcor()/ distance(0,0)^3 -- The > sun is at 0,0 > end accx > > function accy > return -G * ycor()/ distance(0,0)^3 > end accy > > The result is an ellipse. > > The emphasis would not necessarily be > programing for its own sake, > but for programing (Transcript + TG) as a > problem solving tool in a > variety of disciplines--in fact, getting back > to the original > function of programming. > > Sorry Eric: That's probably a lot more than > your wanted to know about > the distance function. just right in fact. wasn't there something about a bouncing ball? anyway, as soon as i get converted to RunRev, there are some dancers ("sprites") that i am now moving around linearly, but want to eventually move parabolicly. the funny thing is that the danceSprites to move in a curvaceous fashion. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From dsc at swcp.com Sat Dec 7 19:54:00 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 7 19:54:00 2002 Subject: Pairs (was It's a list!...) (was Function Newbie...) In-Reply-To: Message-ID: On Friday, December 6, 2002, at 10:08 PM, Dar Scott wrote: > I'm working on a way to pack some values together and take them apart. On Saturday, December 7, 2002, at 03:15 AM, Malte Brill wrote: > Hi Dar, I defenitly want to learn more about recursion. Are there any > tutorials on the web, that could help me getting startet? Here are my simple functions that inspired my alternative to lists, be they boxes, nodes or whatever. They are much simpler than what I'm working on now and in many ways are better. They simply form a pair from two values and extract the values. This is the basis of lisp lists. From this can be built all kinds of structures and functions to handle them. Traditionally, functions built upon pairs are recursive. The values for pairing can be any strings including binary strings. No arrays. Numbers may lose something. Pairing can be nested, of course, and especially stringed together to make "lists". Put empty into the right side of the last pair when making a "list". Have fun! ***************** -- Rev 1.1.1 OS X 10.15 -- Pairs -- Dar Scott thunked this up 2002 -- -- Make a pair with P(a,b), extract with L(p)-->a, R(p)-->b -- create a pair from two strings, the left and the right function P A B local lenBytes put A & empty into A put binaryEncode("N",length(A)) into lenBytes return lenBytes & A & B end P -- get the left side of a pair function L thePair local lenBytes, lenNum, numConverted put char 1 to 4 of thePair into lenBytes put binaryDecode("N",lenBytes,lenNum) into numConverted if numConverted is not 1 then return empty return char 5 to (lenNum+4) of thePair end L --get the right side of a pair function R thePair local lenBytes, lenNum, numConverted put char 1 to 4 of thePair into lenBytes put binaryDecode("N",lenBytes,lenNum) into numConverted if numConverted is not 1 then return empty return char (lenNum+5) to -1 of thePair end R ******************* Dar Scott From erikhans08 at yahoo.com Sat Dec 7 20:04:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Dec 7 20:04:01 2002 Subject: Pairs (was It's a list!...) (was Function Newbie...) In-Reply-To: Message-ID: <20021208005815.79950.qmail@web20008.mail.yahoo.com> --- Dar Scott wrote: > -- Rev 1.1.1 OS X 10.15 > > -- Pairs > -- Dar Scott thunked this up 2002 > -- > -- Make a pair with P(a,b), extract with > L(p)-->a, R(p)-->b > > -- create a pair from two strings, the left and > the right > function P A B > local lenBytes > put A & empty into A > put binaryEncode("N",length(A)) into > lenBytes > return lenBytes & A & B > end P > > -- get the left side of a pair > function L thePair > local lenBytes, lenNum, numConverted > put char 1 to 4 of thePair into lenBytes > put binaryDecode("N",lenBytes,lenNum) into > numConverted > if numConverted is not 1 then return empty > return char 5 to (lenNum+4) of thePair > end L > > --get the right side of a pair > function R thePair > local lenBytes, lenNum, numConverted > put char 1 to 4 of thePair into lenBytes > put binaryDecode("N",lenBytes,lenNum) into > numConverted > if numConverted is not 1 then return empty > return char (lenNum+5) to -1 of thePair > end R if all of this "binary" business relates to MIDI, please comment. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From monte at sweattechnologies.com Sat Dec 7 20:14:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Dec 7 20:14:00 2002 Subject: Question Icon on OS X In-Reply-To: Message-ID: > There will be a global property, gREVAppIcon, to specify the image ID of > the app icon. > > I'm not sure whether it will be part of the Distribution Builder, but it > seems like a good idea to me. > That's the answer I was looking for ;-) Thanks Monte From simran at teleline.es Sat Dec 7 20:15:01 2002 From: simran at teleline.es (Peter Lundh) Date: Sat Dec 7 20:15:01 2002 Subject: Mac RunRev can't open Win .rev file... Message-ID: Hi all- I wanted to check some Windows compatibility issues with the RunRev application I'd just made on the Mac platform. I opened the .rev file with Revolution for Windows, made a couple of changes and saved and closed file. When I tried to open it again with Mac Revolution it wouldn't recognise the file. I'm desperate to open it with Macintosh RunRev since I have to build the app for the Mac platform. I can still double-click the file to run it as a stand-alone application on Mac, but I can't open it from WITHIN Revolution. Can anyone please tell me how to fix the file so that it can be opened with Revolution on Mac. Many thanks in advance. -Peter -- Peter Lundh simran at teleline.es Derby, UK From jhurley at infostations.com Sat Dec 7 20:19:02 2002 From: jhurley at infostations.com (Jim Hurley) Date: Sat Dec 7 20:19:02 2002 Subject: Function Newbie question/Use of Transcript and Turtle Graphics in education Message-ID: > >Jim Hurley wrote: > >> I know that RunRev is looking eventually to expand its market in education. >> When it does, I think it will be helpful to include examples of >>how Transcript >> and Turtle Graphics might be employed by students as problem solving tools. > >Very glad to see you're still workingon Turtle Graohics in Rev. Has the >addition of paint tools to the Mac and Win engines resolved most of your >earlier issues? Will you be releasing this when you're done? > >-- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge 2.1: Publish any database on any site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > Richard, Actually, TG in Revolution is pretty much a finished product. The biggest problem I was having was drawing speed. The real breakthrough came when Scott Rossi suggested using the pencil tool rather than the line tool. Remarkably, the pencil is nearly 6 times as fast as the line tool. I have no idea why. I have a demo stack which I could post to RunRev's Educator's web page as soon as it becomes operational. I assume that is where this material should go. In this demo stack there are examples of: Planetary motion, Voyager's slingshot motion around Jupiter, Kepler's laws, Physics of the rainbow, Predator-prey theory and the incest taboo in biology, Illustration of a few geometrical theorems, and, just for fun, Some examples of recursive construction of fractals.. Again, the intention is not to dazzle students with these programs, but to illustrate to teachers the potential for Transcript and TG to be used in a high school science/programming course, allowing the *students* to develop these programs for themselves. P.S. I noticed a lot of garbage following my last posting. I hope this doesn't happen again. If it does, somebody let me know where it is coming from and how I might avoid it. -- Jim Hurley -------------- next part -------------- An HTML attachment was scrubbed... URL: From monte at sweattechnologies.com Sat Dec 7 20:36:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Dec 7 20:36:01 2002 Subject: Mac RunRev can't open Win .rev file... In-Reply-To: Message-ID: try opening it with answer file "open";toplevel it in the message box If you save once it's open the correct file type will be saved with it. > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Peter Lundh > Sent: Sunday, 8 December 2002 11:39 AM > To: use-revolution at lists.runrev.com > Subject: Mac RunRev can't open Win .rev file... > > > Hi all- > > I wanted to check some Windows compatibility issues with the RunRev > application I'd just made on the Mac platform. I opened the .rev file with > Revolution for Windows, made a couple of changes and saved and > closed file. > When I tried to open it again with Mac Revolution it wouldn't > recognise the > file. I'm desperate to open it with Macintosh RunRev since I have to build > the app for the Mac platform. I can still double-click the file > to run it as > a stand-alone application on Mac, but I can't open it from WITHIN > Revolution. > > Can anyone please tell me how to fix the file so that it can be > opened with > Revolution on Mac. > > Many thanks in advance. > > -Peter > -- > Peter Lundh > simran at teleline.es > Derby, UK > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Sat Dec 7 20:38:07 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat Dec 7 20:38:07 2002 Subject: Faceless CGI challenge/print incoming text-email files Message-ID: <18568BBE-0A4D-11D7-8D83-003065FB9830@hindu.org> OK, well maybe it's not a challenge maybe it asking if someone has done this already: Goal: have a faceless metacard/revolution process running on a OSX server that will check a directory for files (deposited there by an email server), on a timed interval, if files are found, format these to letter size in a particular font and print to a specific networked printer in another office on the LAN. I think i could set this up with an open stack in the GUI, but don't know how to script to choose a specific printer without having previously selected that printer as the default printer for the whole server. Use of a "page set up" request... returns a system dialog box... but this has to run without human interaction i.e. need to be able to poke, by script, the values that are usually entered from the system print set up dialog box. Can do? 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 Sat Dec 7 20:55:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat Dec 7 20:55:01 2002 Subject: Create Image, Hide Image In-Reply-To: <200212072341.SAA14530@www.runrev.com> References: <200212072341.SAA14530@www.runrev.com> Message-ID: <3DF2A508.3060304@hyperactivesw.com> JamesHBeckmann at aol.com wrote: > So the script works on the first run, showing the image and hiding the image. > Press the button again and the next image does not "hide". > > So I opened the Properties of the button, and then noted on the Editing > scrolling button that there is an object "Image Holder" that is never killed. > > I was under the impression that this use of "create" did not permanently > store an object. The create command does create a new object, which it doesn't sound like you need to do. Changing the filename property of an existing image will change the image it displays, so all you need is a single, permanent image object that a script can update to contain different image content. Assuming you have an image object named "holder": on mouseUp answer file empty put it into thisPict set the filename of image "Holder" to it show image "holder" wait 3 secs hide image "Holder" end mouseUp -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 7 21:11:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat Dec 7 21:11:01 2002 Subject: Mac RunRev can't open Win .rev file... In-Reply-To: <200212080120.UAA19721@www.runrev.com> References: <200212080120.UAA19721@www.runrev.com> Message-ID: <3DF2A8E2.90601@hyperactivesw.com> Peter Lundh wrote: > Can anyone please tell me how to fix the file so that > it can be opened with Revolution on Mac. Macs use something called "type" and "creator" codes, attributes Windows doesn't use, to recognize which files belong to an application. Revolution normally filters out files which are not of type "RSTK" and "MSTK" which means that non-stack files are dimmed in the open file dialog. But because stacks transferred from a Windows machine also lack these file attributes, Rev does not recognize them. You can use a utility tool such as ResEdit (and there are other ways too) to assign the type and creator codes so that the files will be selectable in Rev's open file dialog. However, since Rev will automatically save the file with the correct attributes if you can just get it open once, the easiest way is to open the file from the message box the first time, which bypasses Rev's filtering scheme. After the stack is open, save it normally and Rev will assign the correct creator and type codes for you. After that, Rev will recognize it as a stack. To open any file from the message box type this: answer file "Choose a stack:";go stack it -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Dec 7 21:27:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 7 21:27:01 2002 Subject: Mac RunRev can't open Win .rev file... In-Reply-To: <3DF2A8E2.90601@hyperactivesw.com> Message-ID: > Can anyone please tell me how to fix the file so that > it can be opened with Revolution on Mac. You can compile this in Apple's Applescript editor, making it into an applet that you can drop files onto: on open theList tell application "Finder" set selectionLength to number of items of selection if selectionLength = 0 then say "Nothing is [[emph +]] selected." else -- first change all the files selected set the creator type of every file of selection to "Revo" set the file type of every file of selection to "RSTK" end if end tell end open -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dsc at swcp.com Sat Dec 7 22:08:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 7 22:08:01 2002 Subject: Pairs (was It's a list!...) (was Function Newbie...) In-Reply-To: <20021208005815.79950.qmail@web20008.mail.yahoo.com> Message-ID: <50AEC5A0-0A59-11D7-982B-0050E4C0B205@swcp.com> On Saturday, December 7, 2002, at 05:58 PM, erik hansen wrote: > if all of this "binary" business relates to MIDI, > please comment. If you want to make a MIDI file or send MIDI out a serial port you need to have full control of each byte. You have several tools at your disposal including the binaryEncode() and binaryDecode functions. However, you might be best off with numToChar() and maybe bit functions (bitAnd, bitOr, bitXor). If you don't do binary or hex to decimal in your head, look at baseConvert(). Your primary tool will be numToChar(). Each character is really an 8-bit byte. You can represent every possible value that a byte can have with a number from 0 to 255. Using numToChar() with such a number you can create the byte. Then "all" you have to do is make the right bytes and use "&" to paste them all together to make what you want. You can make any kind of file you want. Dar Scott From katir at hindu.org Sat Dec 7 22:49:00 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat Dec 7 22:49:00 2002 Subject: Set up GUI stack on OSX server that handles STDIN/STDOUT Message-ID: <7AC58A04-0A5F-11D7-8D83-003065FB9830@hindu.org> General Question is: How does one set up a stack on an OSX server that can act like a UNIX program where any other [Program A] can set a path: /usr/sbin/myFilter.mc where myFilter.mc is an open stack running in GUI mode, such that output from Program A is read as standardIn incoming data by 'myFilter.mc" to which myFilter.mc can send our responses which are seen by Program A as data coming from myFilter.mc's standardOut? Specific Context is: We want to have more control over incoming email on the email server, not only for virus scanning but for many other purposes. Communigate Pro (our mail server) can set up a path to an external program and using its "External Filter API" which is a simple set or request/response codes, it will send a request to the external program and expect responses. I would like the external program to be a metacard stack if possible, with a GUI interface. Is that doable? In this scenario Apache or any web CGI interfaces are not involved. But i think it must be a similar concept as Pierre Sohores "long running process" i know how to use the faceless script to "read from stnin" but how do you do that in a GUI stack ... which must be some how set up a pipe to "listen" ? mmm. somehow. I think we may have come full circle here back to Metacard's roots? examples stack and scripts would be very helpful... 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 revolution at knowledgeworks.plus.com Sat Dec 7 23:01:01 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sat Dec 7 23:01:01 2002 Subject: Passing selectedField Location between Stacks Message-ID: <200212080400.XAA24494@www.runrev.com> Thanks for jumping in Jeanne. You're right that the objects referenced on Stack B are buttons. I've "set the traversalOn of the templateButton to false" prior to the creation of the buttons, but still when I have the insertion point in Stack T and click on a button, the "onMouseup" of the button does not put the label of the button into the field where the selection point was. However, I noticed that when I actually _selected_ a character it DID work... the label of the button is placed after the selected character. Here is the Transcript from the background group enclosing the buttons: >> on mouseUp put the label of the target after the selectedField end mouseUp << If no character is actually selected, this is the error message: >> Error description: Chunk: no target found Object: group id 1004 of card id 1002 of stack "Map" of stack "C:/rev111/keyboardMappings.rev" -------------------- put the label of the target after the selectedField -------------------- Value: mouseUp << And this is what the error details says: >> Error description: Chunk: no target found put the label of the target after the selectedField Line: 6 Character: 29 Value: << As my usage scenario envisages the user wanting to insert (rather than replace) a character, I would like to be able to find out what I am doing wrong here. I had begun to think I had misunderstood the interactions between stacks, and that this was why Signe was recommending against using a Palette stack. I'll be very chuffed if this turns out to work (as I envisage using it in another application too). > >My understanding is that it is the use of two stacks that is preventing me > >from > >using the selectedField or selectedChunk to determine where the label of the > >button should be placed. Is this correct? > > It shouldn't. I'm going to guess that the objects in stack B are buttons; > clicking buttons can lose the text selection under some circumstances. If > you turn the traversalOn property of the buttons off, the text selection > should be retained when you click them - even if they're in another stack. From kray at sonsothunder.com Sat Dec 7 23:11:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Dec 7 23:11:01 2002 Subject: Passing selectedField Location between Stacks References: <200212070338.WAA25777@www.runrev.com> Message-ID: <01a501c29e6e$55081760$6701a8c0@mckinley.dom> Bernard, Actually anything that removes the focus from the field will prevent selectedField or selectedChunk from working. For example if you have on a single card a field and a button and put text in the field and ask (in the button script) for the selectedField, you'll get nothing. The reason for *this* occurrence is because the normal button has its 'traversalOn' property set to true, which gives the button the focus before it executes its script. If you turn the 'traversalOn' of the button off, the button can retrieve the selectedField just fine. In the case of another stack, if the other stack is a toplevel stack (not a palette), the focus will shift to the stack. If you have a palette, and the buttons have their 'traversalOn' set to false, you should be OK. Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Bernard Devlin" To: "use-revolution" Sent: Friday, December 06, 2002 9:31 PM Subject: Passing selectedField Location between Stacks > I have two stacks. Stack T contains text fields, and Stack B contains buttons. > > Whilst typing in Stack T, if the user requires input from Stack B I want the > user to be able to just click on an item in Stack B, and have the text > associated with the clicked button inserted at the place in the field in Stack T > where s/he was typing. > > My understanding is that it is the use of two stacks that is preventing me from > using the selectedField or selectedChunk to determine where the label of the > button should be placed. Is this correct? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Sat Dec 7 23:14:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Dec 7 23:14:00 2002 Subject: Any way to launch shell in Mac OS 10.0.4? References: <112.1b792c54.2b236c5a@aol.com> Message-ID: <01c401c29e6e$ad2ec5b0$6701a8c0@mckinley.dom> Rev 2 will have that ability, as it leverages the shell() function from MetaCard. I can't remember if 1.1.1 has a fully functional shell command for OS X, but if it does, you can use that. (Or wait for 2.0, which WILL have this ability.) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: To: Sent: Saturday, December 07, 2002 9:23 AM Subject: Any way to launch shell in Mac OS 10.0.4? > I've got a Mac OS 8/9/X app that I've written for a client that works, except > in Mac OS 10.0.4. This project is for an ISP that insists that it work on > all versions of OS X, even this version, which I've been telling them no one > uses, but that doesn't seem to matter to the client - - - they just want it > working. I need to launch a unix command and grep the results and pass it > back to Revolution. Is this possible with OS 10.0.4? Applescript doesn't > appear to have a working do shell method for that version of the OS. > > From dvk at dvkconsult.com.au Sat Dec 7 23:39:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sat Dec 7 23:39:01 2002 Subject: Any way to launch shell in Mac OS 10.0.4? In-Reply-To: <01c401c29e6e$ad2ec5b0$6701a8c0@mckinley.dom> Message-ID: <23C7D6E6-0A66-11D7-B8F1-000393598038@dvkconsult.com.au> On Sunday, December 8, 2002, at 03:02 PM, Ken Ray wrote: > Rev 2 will have that ability, as it leverages the shell() function from > MetaCard. I can't remember if 1.1.1 has a fully functional shell > command for > OS X, but if it does, you can use that. No, not 1.1.1. From 1.5A on does. Wait for 2.0. cheers David > (Or wait for 2.0, which WILL have > this ability.) > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: > To: > Sent: Saturday, December 07, 2002 9:23 AM > Subject: Any way to launch shell in Mac OS 10.0.4? > > >> I've got a Mac OS 8/9/X app that I've written for a client that works, > except >> in Mac OS 10.0.4. This project is for an ISP that insists that it >> work on >> all versions of OS X, even this version, which I've been telling them >> no > one >> uses, but that doesn't seem to matter to the client - - - they just >> want > it >> working. I need to launch a unix command and grep the results and >> pass it >> back to Revolution. Is this possible with OS 10.0.4? Applescript >> doesn't >> appear to have a working do shell method for that version of the OS. >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From DVGlasgow at aol.com Sun Dec 8 06:30:01 2002 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Sun Dec 8 06:30:01 2002 Subject: Foregroundcolor stuck? Message-ID: <25.32193261.2b2485c2@aol.com> In a message dated 6/12/02 4:58:17 PM, use-revolution-request at lists.runrev.com writes: << The thing is that once you set the colour of certain words, you have to reset the colour of the entire "chunk" of text, because otherwise it's overridden by the colour of the individual words. Try this: on greyme set the textColor of char 1 to -1 of me to "gray" end greyme Hope this helped, Jan Schenkel. >> Of course! Thanks Jan. I don't even need to try this to be sure you are right! I am not sure it is entirely logical though ----Standing by for someone to explain to me why it is ;-) Best wishes, David Glasgow Home/ forensic assessments --> DVGlasgow Courses --> i-Psych From janschenkel at yahoo.com Sun Dec 8 06:44:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Dec 8 06:44:01 2002 Subject: Foregroundcolor stuck? In-Reply-To: <25.32193261.2b2485c2@aol.com> Message-ID: <20021208113757.92929.qmail@web11904.mail.yahoo.com> --- DVGlasgow at aol.com wrote: > > In a message dated 6/12/02 4:58:17 PM, > use-revolution-request at lists.runrev.com writes: > > << The thing is that once you set the colour of > certain > > words, you have to reset the colour of the entire > > "chunk" of text, because otherwise it's overridden > by > > the colour of the individual words. > > > Try this: > > > on greyme > > set the textColor of char 1 to -1 of me to "gray" > > end greyme > > > Hope this helped, > > > Jan Schenkel. >> > > Of course! > > Thanks Jan. I don't even need to try this to be > sure you are right! > > I am not sure it is entirely logical though > ----Standing by for someone to > explain to me why it is ;-) > > > Best wishes, > > David Glasgow > Look at it this way: you can 'layer' one coat of paint onto another. By default, the text uses the colour settings of the field (or, if these settings haven't been specified, the colour setting "up the chain") ; but when you set the colour of a specific chunk, it saves this colour with the chunk. So when the engine draws the text, it first looks at the settings of the chunk, then the settings of the field, then higher "up the chain" to determine the applicable colour settings. Which means that in order to make all the words in a field gray after their colour was changed, you have to change their individual settings. Hope this cleared a few 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From wmb at internettrainer.com Sun Dec 8 07:42:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Dec 8 07:42:01 2002 Subject: Function Newbie question/Use of Transcript and Turtle Graphics in education In-Reply-To: Message-ID: On Sonntag, Dezember 8, 2002, at 02:12 Uhr, Jim Hurley wrote: > Again, the intention is not to dazzle students with these programs, > but to illustrate to teachers the potential for Transcript and TG to > be used in a high school science/programming course, allowing the > *students* to develop these programs for themselves. > Sounds very interesting for me. Is it ready now? Do you a URL for me (us)? regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From MFitz53 at cs.com Sun Dec 8 11:16:01 2002 From: MFitz53 at cs.com (MFitz53 at cs.com) Date: Sun Dec 8 11:16:01 2002 Subject: Newbie wants to know if one can run two handlers simultaneously Message-ID: <141.4890332.2b24c8d6@cs.com> I'm attempting to make a simple little shootem up game. I have the basic shoot button that draws a line from one loc to the loc of button"enemy" and plays a sound effect. What I'd like to do is initiate a handler to move the button around the screen(I have that covered) and use the mouseUp handler from the shoot btn to stop the first handler from running it shoots, sounds off and changes the btn icon. At this point, I have to wait until the first handler finishes running before being able to shoot at a motionless target. I'm making this for a kid just turned 4 years old, but I think even that would be pretty unexciting for him. All ideas are appreciated. mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From rcozens at pon.net Sun Dec 8 11:40:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Dec 8 11:40:01 2002 Subject: Newbie wants to know if one can run two handlers simultaneously In-Reply-To: <141.4890332.2b24c8d6@cs.com> References: <141.4890332.2b24c8d6@cs.com> Message-ID: Hi Mike, There is no provision in X-Talks for multi-threading; so you'll have to approach it another way. One can place wait statements in a handler so mouseUp or other pending messages/events can grab the CPU (and not give it up until finished or in wait state); but otherwise the engine will not send any message until the current handler (and any handlers that called it) finish execution. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From dsc at swcp.com Sun Dec 8 13:13:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 8 13:13:01 2002 Subject: Newbie wants to know if one can run two handlers simultaneously In-Reply-To: <141.4890332.2b24c8d6@cs.com> Message-ID: On Sunday, December 8, 2002, at 09:09 AM, MFitz53 at cs.com wrote: > I'm attempting to make a simple little shootem up game. I have the > basic shoot button that draws a line from one loc to the loc of > ?button"enemy" and plays a sound effect. What I'd like to do is > initiate a handler to move the button around the screen(I have that > covered) and use the mouseUp handler from the shoot btn to stop the > first handler from running it shoots, sounds off and changes the btn > icon. At this point, I have to wait until the first handler finishes > running before being able to shoot at a motionless target. I'm making > this for a kid just turned 4 years old, but I think even that would be > pretty unexciting for him. All ideas are appreciated. > You are about to enter the Revolution way of doing real-time programming. It might take a new way of thinking. It will require rewriting how you move the button around the screen. It will be worth the effort. 1. Limit the time it takes to execute a handler. Don't wait around in handlers. 2. Use a handler to change the state of your game, start moves and then get out of there. 3. Use game messages to execute the handers: A. Mouse messages (as you are doing) B. "send ... in time" messages (might be new) Read about "send" and "cancel" commands. To stop a cycle of sends, use cancel or clear a flag. Here is an example for a flashing light. It is a simplification of one of my first scripts using send. I put this script in a circle: ************************* local flashingID on change if backgroundColor of me is red then set backgroundColor of me to green else set backgroundColor of me to red end if end change on startFlashing if flashingID is empty then cycle end startFlashing on cycle change send cycle to me in 333 milliseconds put the result into flashingID end cycle on stopFlashing cancel flashingID -- don't bother testing for empty put empty into flashingID end stopFlashing **************************** My "Start" button has this script: ****************************** on mouseUp send startFlashing to graphic "Flasher" end mouseUp ******************************* The stop button is similar. You should be able to adapt that to your moving enemy. Dar Scott From scott at tactilemedia.com Sun Dec 8 13:34:00 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Sun Dec 8 13:34:00 2002 Subject: Newbie wants to know if one can run two handlers simultaneously In-Reply-To: <141.4890332.2b24c8d6@cs.com> Message-ID: Recently, MFitz53 at cs.com wrote: > I'm attempting to make a simple little shootem up game. I have the basic shoot > button that draws a line from one loc to the loc of button"enemy" and plays a > sound effect. What I'd like to do is initiate a handler to move the button > around the screen(I have that covered) and use the mouseUp handler from the > shoot btn to stop the first handler from running it shoots, sounds off and > changes the btn icon. At this point, I have to wait until the first handler > finishes running before being able to shoot at a motionless target. I'm making > this for a kid just turned 4 years old, but I think even that would be pretty > unexciting for him. All ideas are appreciated. Sure. One technique I've used is to give each "sprite" object (button, graphic, whatever) its own behavior script. Then you bring each sprite to life using "send to btn sprite1". I've run up to nine sprites simultaneously with barely noticeable slow down on moderately fast machines. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From dvk at dvkconsult.com.au Sun Dec 8 15:00:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sun Dec 8 15:00:01 2002 Subject: Newbie wants to know if one can run two handlers simultaneously In-Reply-To: Message-ID: On Monday, December 9, 2002, at 05:28 AM, Scott Rossi wrote: > Recently, MFitz53 at cs.com wrote: > >> I'm attempting to make a simple little shootem up game. I have the >> basic shoot >> button that draws a line from one loc to the loc of button"enemy" >> and plays a >> sound effect. What I'd like to do is initiate a handler to move the >> button >> around the screen(I have that covered) and use the mouseUp handler >> from the >> shoot btn to stop the first handler from running it shoots, sounds >> off and >> changes the btn icon. At this point, I have to wait until the first >> handler >> finishes running before being able to shoot at a motionless target. >> I'm making >> this for a kid just turned 4 years old, but I think even that would >> be pretty >> unexciting for him. All ideas are appreciated. > > Sure. One technique I've used is to give each "sprite" object (button, > graphic, whatever) its own behavior script. Then you bring each > sprite to > life using "send to btn sprite1". I've run up to nine > sprites > simultaneously with barely noticeable slow down on moderately fast > machines. Send-in-time statements are the best approach now but risk locking out mouse events. The pseudo-threading I wrote about two days ago handles this type of programming easily from both a technical and coding perspective. In HC I have a 'Beer game' which demonstrates it - supply and demand shift in the background and provide graphical reporting while you pull the levers of commerce. regards David > > Regards, > > Scott Rossi > Creative Director > > Tactile Media, Multimedia & Design > Email: scott at tactilemedia.com > Web: www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Sun Dec 8 15:42:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Sun Dec 8 15:42:01 2002 Subject: Newbie wants to know if one can run two handlers simultaneously In-Reply-To: Message-ID: >>> I'm attempting to make a simple little shootem up game. I have the >>> basic shoot >>> button that draws a line from one loc to the loc of button"enemy" >>> and plays a >>> sound effect. What I'd like to do is initiate a handler to move the >>> button >>> around the screen(I have that covered) and use the mouseUp handler >>> from the >>> shoot btn to stop the first handler from running it shoots, sounds >>> off and >>> changes the btn icon. At this point, I have to wait until the first >>> handler >>> finishes running before being able to shoot at a motionless target. >> Sure. One technique I've used is to give each "sprite" object (button, >> graphic, whatever) its own behavior script. Then you bring each >> sprite to >> life using "send to btn sprite1". I've run up to nine >> sprites >> simultaneously with barely noticeable slow down on moderately fast >> machines. > Send-in-time statements are the best approach now but risk locking out > mouse events. I haven't found this is to be the case -- what reproducible problem have you run up against? I once created a project that ran around 40 "self-aware" animated sprites that traveled from the bottom to the top of the screen and reset themselves autonomously, all while mouse down and up events were captured. I never encountered any mouse event problems. (BTW, the project ran fine on Macs but slowed Windows boxes to a crawl or even a system error :-) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From JamesHBeckmann at aol.com Sun Dec 8 16:05:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Sun Dec 8 16:05:01 2002 Subject: Create and hide Message-ID: <21.2861e0fc.2b250ca6@aol.com> In a message dated 12/07/02 6:47:48 PM, use-revolution-request at lists.runrev.com writes: Jeanne wrote: >"Create" just creates the new object, so it is stored in the stack (and >is > >saved the next time you save the stack). If you want to get rid of it, >just > >use the delete command: > > > > delete image "Holder" and Jacque wrote: >Changing the filename property of an existing image will >change the image it displays, so all you need is a single, permanent >image object that a script can update to contain different image >content. Assuming you have an image object named "holder": Thanks Jeane and Jacque! Jim From dvk at dvkconsult.com.au Sun Dec 8 16:18:14 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sun Dec 8 16:18:14 2002 Subject: Newbie wants to know if one can run two handlers simultaneously In-Reply-To: Message-ID: On Monday, December 9, 2002, at 07:37 AM, Scott Rossi wrote: > >> Send-in-time statements are the best approach now but risk locking out >> mouse events. > > I haven't found this is to be the case -- what reproducible problem > have you > run up against? > > I once created a project that ran around 40 "self-aware" animated > sprites > that traveled from the bottom to the top of the screen and reset > themselves > autonomously, all while mouse down and up events were captured. I > never > encountered any mouse event problems. > > (BTW, the project ran fine on Macs but slowed Windows boxes to a crawl > or > even a system error :-) Scott Sorry, the discussion was actually on the improve list but I erroneously posted the above to this one because the highlighting I have set for "common thread" in Mail is a bit close to that for "improve" messages. On that list, see the discussion between Dar and I on "events and pending messages" for our investigations and reproducible problems, and "pseudo-threading" for my optimistic feature request. If your script above was structured as a despatcher for the sprite methods rather than the sprites reiterating themselves then that would work, and would be a Transcript implementation of the pseudo-threading I am discussing (I did one myself) although at that point I would like to discuss on the other list the effective difference between idle (deprecated) and a send-in metronome of the same frequency. I will cross-post this. regards David > Regards, > > Scott Rossi > Creative Director > > Tactile Media, Multimedia & Design > Email: scott at tactilemedia.com > Web: www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at knowledgeworks.plus.com Sun Dec 8 16:28:00 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sun Dec 8 16:28:00 2002 Subject: Passing selectedField Location between Stacks In-Reply-To: <01a501c29e6e$55081760$6701a8c0@mckinley.dom> References: <200212070338.WAA25777@www.runrev.com> <01a501c29e6e$55081760$6701a8c0@mckinley.dom> Message-ID: <200212082127.QAA12478@www.runrev.com> Thanks for the pointers Ken and Jeanne. Here's what I've found. If there is actually some selected text in the field with the insertion point, then the label of the button can be inserted after the text (using "after the selectedChunk"). However, if I intercept the processing of the handler in the button palette, unless there _is_ selected text, the following all return empty: the selectedChunk the selectedField the selectedLine the selection. If there is selected text, then they all display some value. Because they are empty, the button's label cannot be inserted after anything (there is no target), and I get the "chunk: no target found" error. My understanding is that the selectedChunk should return something even if nothing is selected. Am I wrong? According to the Transcript Dictionary: >> If no text is selected but the text insertion point is in a field, the startChar is the character after the insertion point, and the endChar is the character before the insertion point. In this case, the endChar is one less than the startChar. << Am i misunderstanding something about the way in which the target works? Or is this a bug? I have made the button stack into a palette, and set the traversalOn to false for all the buttons. > Actually anything that removes the focus from the field will prevent > selectedField or selectedChunk from working. For example if you have on a > single card a field and a button and put text in the field and ask (in the > button script) for the selectedField, you'll get nothing. The reason for > *this* occurrence is because the normal button has its 'traversalOn' > property set to true, which gives the button the focus before it executes > its script. If you turn the 'traversalOn' of the button off, the button can > retrieve the selectedField just fine. > > In the case of another stack, if the other stack is a toplevel stack (not a > palette), the focus will shift to the stack. If you have a palette, and the > buttons have their 'traversalOn' set to false, you should be OK. From revolution at knowledgeworks.plus.com Sun Dec 8 16:28:48 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sun Dec 8 16:28:48 2002 Subject: Sequential Layout of Script-created Objects Message-ID: <200212082127.QAA12481@www.runrev.com> [My apologies Jeanne - I re-checked the Transcript Dictionary to on the term "create" and I have no idea where I got the notion that buttons had to be created in a group. It is quite clear from the text there that most of the samples do not create the buttons in a group. Thank you for your forebearance.] I used (a slightly modified version of) Jeanne's code, and I'm seeing some strange effects. This is the code that loops through the controls and (conditionally) deletes them: repeat with x = 1 to the number of controls of group "grpButtons" of stack "Map" put the name of control x of group "grpButtons" of stack "Map" into theControl if word 1 of theControl is "button" then delete control theControl of group "grpButtons" of stack "Map" end if end repeat However, after a few iterations (and whilst there are still buttons in the group that are not deleted) I get this error: >> ? There was an Execution Error at 8:35:42 PM Error description: Chunk: no such object Object: button id 1021 of card id 1002 of stack "Mapping Source" of stack "C:/rev111/keyboardMappings.rev" -------------------- put the name of control x of group "grpButtons" of stack "Map" into theControl -------------------- Value: 4 << What appears to be happening is that the number of controls is being reduced because of the deletions, and after a certain point the control to which the next x refers has been deleted. This seems like strange behaviour to me. Should "the number of controls" be re-evaluated on each iteration of the loop? But the number of iterations of x has been set at the start, and that does not get re-evaluated. I have checked this in the debugger and this is what is happening. About halfway through the process, the number of controls falls below the number of the next control to be deleted. What is the best way round this in Transcript? > >2) the above code lays any new buttons on top of the old buttons when the code > >is run again. I am sure I can get hold of the contents of the group > >"grpButtons" in order to delete each old button, but I don't know how. Of course, after my stupidity about thinking I have to create buttons in groups, I think I must be wrong in my analysis of this problem! From monte at sweattechnologies.com Sun Dec 8 17:13:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Dec 8 17:13:01 2002 Subject: Dialog Icons for XP Message-ID: Hi All Does anyone have or know where I can get the dialog icons for Windows XP? Cheers Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From ambassador at fourthworld.com Sun Dec 8 17:24:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Dec 8 17:24:01 2002 Subject: Sequential Layout of Script-created Objects In-Reply-To: <200212082127.QAA12481@www.runrev.com> Message-ID: Bernard Devlin wrote: > This is the code that loops through the controls and (conditionally) deletes > them: > > repeat with x = 1 to the number of controls of group "grpButtons" of stack > "Map" > put the name of control x of group "grpButtons" of stack "Map" into > theControl > if word 1 of theControl is "button" then > delete control theControl of group "grpButtons" of stack "Map" > end if > end repeat ... > What appears to be happening is that the number of controls is being reduced > because of the deletions, and after a certain point the control to which the > next x refers has been deleted. This seems like strange behaviour to me. > Should "the number of controls" be re-evaluated on each iteration of the loop? > But the number of iterations of x has been set at the start, and that does not > get re-evaluated. I have checked this in the debugger and this is what is > happening. About halfway through the process, the number of controls falls > below the number of the next control to be deleted. > > What is the best way round this in Transcript? repeat with x = the number of controls of group "grpButtons" of stack down to 1 -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dvk at dvkconsult.com.au Sun Dec 8 17:27:02 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sun Dec 8 17:27:02 2002 Subject: Newbie wants to know if one can run two handlers simultaneously Message-ID: <5C1C9C0E-0AFB-11D7-B8F1-000393598038@dvkconsult.com.au> (Seems sending to both lists at once puts the message twice to the use- list) On Monday, December 9, 2002, at 07:37 AM, Scott Rossi wrote: > >> Send-in-time statements are the best approach now but risk locking out >> mouse events. > > I haven't found this is to be the case -- what reproducible problem > have you > run up against? > > I once created a project that ran around 40 "self-aware" animated > sprites > that traveled from the bottom to the top of the screen and reset > themselves > autonomously, all while mouse down and up events were captured. I > never > encountered any mouse event problems. > > (BTW, the project ran fine on Macs but slowed Windows boxes to a crawl > or > even a system error :-) Scott Sorry, the discussion was actually on the improve list but I erroneously posted the above to this one because the highlighting I have set for "common thread" in Mail is a bit close to that for "improve" messages. On that list, see the discussion between Dar and I on "events and pending messages" for our investigations and reproducible problems, and "pseudo-threading" for my optimistic feature request. If your script above was structured as a despatcher for the sprite methods rather than the sprites reiterating themselves then that would work, and would be a Transcript implementation of the pseudo-threading I am discussing (I did one myself) although at that point I would like to discuss on the other list the effective difference between idle (deprecated) and a send-in metronome of the same frequency. I will cross-post this. regards David > Regards, > > Scott Rossi > Creative Director > > Tactile Media, Multimedia & Design > Email: scott at tactilemedia.com > Web: www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ improve-revolution mailing list improve-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/improve-revolution From dsc at swcp.com Sun Dec 8 17:37:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 8 17:37:01 2002 Subject: Newbie wants to know if one can run two handlers simultaneously In-Reply-To: Message-ID: On Sunday, December 8, 2002, at 01:37 PM, Scott Rossi wrote: >> Send-in-time statements are the best approach now but risk locking out >> mouse events. > > I haven't found this is to be the case -- what reproducible problem > have you > run up against? If the ready messages in pending messages is never empty, event messages are not processed. (By ready, I mean time-stamped for before or at now.) This can happen at (perhaps abnormal) heavy processing loads. It also makes it harder to write efficient background tasks. I don't think newbies need worry about these. I mention that because of the original question. Dar Scott From themacguy at macosx.com Sun Dec 8 17:42:00 2002 From: themacguy at macosx.com (Barry Levine) Date: Sun Dec 8 17:42:00 2002 Subject: flushEvents() problem Message-ID: <232DFDC9-0AFD-11D7-BC0C-000393AAEF66@macosx.com> I'm trying to trap for errant mouseUp events (like the user clicking twice on a button). I've added the following line of code to my scripts: get flushEvents (mouseUp) The result is that Rev crashes (v1.1.1 under MacOSX). I then try replacing that line of code with: put flushEvents (mouseUp) into trashVar Same result: *boom* Any advice would be appreciated. Thanks, Barry From ambassador at fourthworld.com Sun Dec 8 17:44:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Dec 8 17:44:00 2002 Subject: Dialog Icons for XP In-Reply-To: Message-ID: Monte Goulding wrote: > Does anyone have or know where I can get the dialog icons for Windows XP? There are some helpful GIFs included in this archive from MS: None as separate ready-to-go files, but quite easily trimmable. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From gb1 at twcny.rr.com Sun Dec 8 18:21:01 2002 From: gb1 at twcny.rr.com (G B) Date: Sun Dec 8 18:21:01 2002 Subject: answer dialog background color problems Message-ID: <000501c29f0f$d84bd750$6401a8c0@bigbox> If anyone can offer some advice to fix this, I would be very grateful... I am creating a Windows standalone (developing on XP), and every time I build the distribution with the box "Copy default colors" NOT checked, the background of (some of) my answer dialog boxes is black, not the grey I have set for the respective parent object that is calling the dialog... I'm very confused... I've tried everything I can think of, and am at a loss of ideas... Any suggestions? Thank you very much for your help George From monte at sweattechnologies.com Sun Dec 8 18:37:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Dec 8 18:37:00 2002 Subject: answer dialog background color problems In-Reply-To: <000501c29f0f$d84bd750$6401a8c0@bigbox> Message-ID: What's th ebackgroundCOlor of the standalone mainstack? > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of G B > Sent: Monday, 9 December 2002 9:47 AM > To: use-revolution at lists.runrev.com > Subject: answer dialog background color problems > > > If anyone can offer some advice to fix this, I would be very grateful... > > I am creating a Windows standalone (developing on XP), and every time I > build the distribution with the box "Copy default colors" NOT > checked, the > background of (some of) my answer dialog boxes is black, not the > grey I have > set for the respective parent object that is calling the > dialog... I'm very > confused... I've tried everything I can think of, and am at a loss of > ideas... > > Any suggestions? > > Thank you very much for your help > > > George > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gb1 at twcny.rr.com Sun Dec 8 18:40:01 2002 From: gb1 at twcny.rr.com (G B) Date: Sun Dec 8 18:40:01 2002 Subject: answer dialog background color problems References: Message-ID: <000e01c29f12$8fc62370$6401a8c0@bigbox> 208,208,208 ----- Original Message ----- From: "Monte Goulding" To: Sent: Sunday, December 08, 2002 6:31 PM Subject: RE: answer dialog background color problems > What's th ebackgroundCOlor of the standalone mainstack? > > > -----Original Message----- > > From: use-revolution-admin at lists.runrev.com > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of G B > > Sent: Monday, 9 December 2002 9:47 AM > > To: use-revolution at lists.runrev.com > > Subject: answer dialog background color problems > > > > > > If anyone can offer some advice to fix this, I would be very grateful... > > > > I am creating a Windows standalone (developing on XP), and every time I > > build the distribution with the box "Copy default colors" NOT > > checked, the > > background of (some of) my answer dialog boxes is black, not the > > grey I have > > set for the respective parent object that is calling the > > dialog... I'm very > > confused... I've tried everything I can think of, and am at a loss of > > ideas... > > > > Any suggestions? > > > > Thank you very much for your help > > > > > > George > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From monte at sweattechnologies.com Sun Dec 8 19:11:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Dec 8 19:11:01 2002 Subject: answer dialog background color problems In-Reply-To: <000e01c29f12$8fc62370$6401a8c0@bigbox> Message-ID: Hmm... Try doing just a file build and then open it and poke around the stack hierarchy. > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of G B > Sent: Monday, 9 December 2002 10:06 AM > To: use-revolution at lists.runrev.com > Subject: Re: answer dialog background color problems > > > 208,208,208 > ----- Original Message ----- > From: "Monte Goulding" > To: > Sent: Sunday, December 08, 2002 6:31 PM > Subject: RE: answer dialog background color problems > > > > What's th ebackgroundCOlor of the standalone mainstack? > > > > > -----Original Message----- > > > From: use-revolution-admin at lists.runrev.com > > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of G B > > > Sent: Monday, 9 December 2002 9:47 AM > > > To: use-revolution at lists.runrev.com > > > Subject: answer dialog background color problems > > > > > > > > > If anyone can offer some advice to fix this, I would be very > grateful... > > > > > > I am creating a Windows standalone (developing on XP), and > every time I > > > build the distribution with the box "Copy default colors" NOT > > > checked, the > > > background of (some of) my answer dialog boxes is black, not the > > > grey I have > > > set for the respective parent object that is calling the > > > dialog... I'm very > > > confused... I've tried everything I can think of, and am at a loss of > > > ideas... > > > > > > Any suggestions? > > > > > > Thank you very much for your help > > > > > > > > > George > > > > > > _______________________________________________ > > > 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 gb1 at twcny.rr.com Sun Dec 8 19:14:00 2002 From: gb1 at twcny.rr.com (G B) Date: Sun Dec 8 19:14:00 2002 Subject: answer dialog background color problems References: Message-ID: <001501c29f17$3ac0e720$6401a8c0@bigbox> Thanks, will do! ----- Original Message ----- From: "Monte Goulding" To: Sent: Sunday, December 08, 2002 7:05 PM Subject: RE: answer dialog background color problems > Hmm... Try doing just a file build and then open it and poke around the > stack hierarchy. > > > -----Original Message----- > > From: use-revolution-admin at lists.runrev.com > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of G B > > Sent: Monday, 9 December 2002 10:06 AM > > To: use-revolution at lists.runrev.com > > Subject: Re: answer dialog background color problems > > > > > > 208,208,208 > > ----- Original Message ----- > > From: "Monte Goulding" > > To: > > Sent: Sunday, December 08, 2002 6:31 PM > > Subject: RE: answer dialog background color problems > > > > > > > What's th ebackgroundCOlor of the standalone mainstack? > > > > > > > -----Original Message----- > > > > From: use-revolution-admin at lists.runrev.com > > > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of G B > > > > Sent: Monday, 9 December 2002 9:47 AM > > > > To: use-revolution at lists.runrev.com > > > > Subject: answer dialog background color problems > > > > > > > > > > > > If anyone can offer some advice to fix this, I would be very > > grateful... > > > > > > > > I am creating a Windows standalone (developing on XP), and > > every time I > > > > build the distribution with the box "Copy default colors" NOT > > > > checked, the > > > > background of (some of) my answer dialog boxes is black, not the > > > > grey I have > > > > set for the respective parent object that is calling the > > > > dialog... I'm very > > > > confused... I've tried everything I can think of, and am at a loss of > > > > ideas... > > > > > > > > Any suggestions? > > > > > > > > Thank you very much for your help > > > > > > > > > > > > George > > > > > > > > _______________________________________________ > > > > use-revolution mailing list > > > > use-revolution at lists.runrev.com > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jeanne at runrev.com Sun Dec 8 19:24:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Dec 8 19:24:01 2002 Subject: Sequential Layout of Script-created Objects In-Reply-To: <200212082127.QAA12481@www.runrev.com> Message-ID: At 1:19 PM -0800 12/8/02, Bernard Devlin wrote: >I used (a slightly modified version of) Jeanne's code, and I'm seeing some >strange effects. Richard is right, and I made a novice mistake in the repeat loop I posted (that'll teach me not to test first): it should be repeat with x = the number of controls of group "grpButtons" \ of stack "Map" down to 1 >What appears to be happening is that the number of controls is being reduced >because of the deletions, and after a certain point the control to which the >next x refers has been deleted. This seems like strange behaviour to me. >Should "the number of controls" be re-evaluated on each iteration of the loop? No - it's only evaluated once. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From monte at sweattechnologies.com Sun Dec 8 19:26:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Dec 8 19:26:01 2002 Subject: Dialog Icons for XP In-Reply-To: Message-ID: Thanks that's a handy resource to have > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Richard > Gaskin > Sent: Monday, 9 December 2002 9:09 AM > To: use-revolution at lists.runrev.com > Subject: Re: Dialog Icons for XP > > > Monte Goulding wrote: > > > Does anyone have or know where I can get the dialog icons for > Windows XP? > > There are some helpful GIFs included in this archive from MS: > > S/WindowsX > P_DesignGuidelines.exe> > > None as separate ready-to-go files, but quite easily trimmable. > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge 2.1: Publish any database on any site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at knowledgeworks.plus.com Sun Dec 8 20:44:02 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sun Dec 8 20:44:02 2002 Subject: Sequential Layout of Script-created Objects In-Reply-To: References: <200212082127.QAA12481@www.runrev.com> Message-ID: <200212090143.UAA20402@www.runrev.com> > repeat with x = the number of controls of group "grpButtons" of stack down > to 1 Cool... works beautifully. I really, really like the HC paradigm, and xTalk, and the principle of Metacard, and the implementation in Rev. Thanks Jeanne and Richard for your help on this branch of my difficulties. It is fantastic to have such a patient and knowledgeable group to help those of us new to HC to get up to speed. I am anticipating distributing my first commercial apps implemented in Rev in the next few months. And Jeanne, I have the "Hypertalk 2.2 Book" by my bed. It is very good, and I'm working my way through all 700+ pages! (Incidentally, if anyone else would like a copy of this to supplement their knowledge of Transcript, the iHUG is selling them for $10 - see http://www.ihug.org/iHUGStore.html). Regards, Bernard From pixelbird at interisland.net Sun Dec 8 20:54:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Dec 8 20:54:01 2002 Subject: Newbie wants to know if one can run two handlers simultaneously In-Reply-To: <200212081701.MAA07181@www.runrev.com> Message-ID: > From: MFitz53 at cs.com > Date: Sun, 8 Dec 2002 11:09:58 EST > Subject: Newbie wants to know if one can run two handlers simultaneously > I'm attempting to make a simple little shootem up game. I have the basic > shoot button that draws a line from one loc to the loc of button"enemy" and > plays a sound effect. What I'd like to do is initiate a handler to move the > button around the screen(I have that covered) and use the mouseUp handler > from the shoot btn to stop the first handler from running it shoots, sounds > off and changes the btn icon. At this point, I have to wait until the first > handler finishes running before being able to shoot at a motionless target. > I'm making this for a kid just turned 4 years old, but I think even that > would be pretty unexciting for him. All ideas are appreciated. ---------- The replies so far are all great, but I'm wondering if it isn't overkill. I'm not really sure from your description what is supposed to happen, so I'm thinking we should simplify this. The answer to the question is "sure", but one of them needs to be an idle handler (I'll probably get yelled at for suggesting an idle handler). What, exactly, is the goal of the gameplay? Can you describe the desired action a little more? What I see so far is that you could have 3 buttons and an idle handler: The "fire" button, the enemy "target" button, and a "temp" that is a copy of the target button. I'll let you write the script, but here's the basic outline: 1) Start with the Temp button hidden. Move the Target button with an idle handler. 2) Shoot with the Fire button. The Fire button gets the current loc of the Target button, temporarily hides it and shows the Temp button, stationary at that loc. 3) When you fire, the "ray" goes at the loc of the stationary Temp button. 4) After it "hits", hide the Temp button and show the Target button (which has actually been in motion the whole time, but invisible. Of course, I don't see any possibility of missing with this, which is why I asked about the gameplay. How about an alternative. Make a progress bar that just moves by time, starts by clicking it or another "start" button, set it to run out in 60 seconds. Make a Target button that hides and shows at random locs in timed intervals. You have to run at it with the mouse and click on it before it moves elsewhere. Record the number of hits before the clock runs out. That basic idea was designed and the primary scripts written by an eight-year-old. HTH, Ken N. From sarahr at genesearch.com.au Sun Dec 8 21:18:00 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Dec 8 21:18:00 2002 Subject: Create Image, Hide Image In-Reply-To: Message-ID: <996B4630-0B1B-11D7-8D2E-0003937A97B8@genesearch.com.au> To vary the responses you have so far, how about checking to see if image "Holder" exists first and only creating it if it isn't there already. Then you are covered for all possibilities. I have also added a send command so that the whole stack is not frozen for the 3 seconds delay. on mouseUp answer file empty put it into thisPict if there is not an image "Holder" then create invisible image "Holder" set the rect of it to the rect of fld pictFld set the lockLoc of it to true end if set the filename of image "Holder" to thisPict show image "Holder" send "choose browse tool" to me in 1 tick send hideImage to me in 3 seconds end mouseUp on hideImage hide image "Holder" end hideImage Cheers, Sarah On Sunday, December 8, 2002, at 09:12 am, JamesHBeckmann at aol.com wrote: > Bear with this new user: > > I created a NEW stack, placed one fld "pictfld" and one button > "Display" on > it. I put the following script into the button: > > on mouseUp > answer file empty > put it into thisPict > set the rect of templateimage to the rect of fld pictFld > set the filename of templateimage to thisPict > set the lockLoc of templateimage to true > create image "Holder" > wait 3 secs > hide image "Holder" > send "choose browse tool" to me in 1 tick > end mouseUp > > So the script works on the first run, showing the image and hiding the > image. > Press the button again and the next image does not "hide". > > So I opened the Properties of the button, and then noted on the Editing > scrolling button that there is an object "Image Holder" that is never > killed. > > I was under the impression that this use of "create" did not > permanently > store an object. > > What can I change? > > Thanks, > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Sun Dec 8 21:46:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Sun Dec 8 21:46:01 2002 Subject: Newbie wants to know if one can run two handlers simultaneously In-Reply-To: Message-ID: > The answer to the question is "sure", but one of them needs to be an idle > handler (I'll probably get yelled at for suggesting an idle handler). Not yelled at, just reminded that it's unnecessary in MC/Rev. :-) The bottom line is, the developers of the tools have stated on numerous occasions that "send in..." is a better to achieve the same result as idle, both in terms of efficiency and accuracy. So it would seem worth your while to adopt the practice and get in the habit of using "send in...". Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From kee at kagi.com Sun Dec 8 22:10:01 2002 From: kee at kagi.com (kee nethery) Date: Sun Dec 8 22:10:01 2002 Subject: Faceless CGI challenge/print incoming text-email files In-Reply-To: <18568BBE-0A4D-11D7-8D83-003065FB9830@hindu.org> Message-ID: On Saturday, December 7, 2002, at 05:33 PM, Sannyasin Sivakatirswami wrote: > OK, well maybe it's not a challenge maybe it asking if someone has > done this already: > > Goal: have a faceless metacard/revolution process running on a OSX > server that will check a directory for files (deposited there by an > email server), on a timed interval, if files are found, format these > to letter size in a particular font and print to a specific networked > printer in another office on the LAN. If I understand part of your question, according to earlier posts, you do not need a faceless process for Xserve. You won't be interacting with it visually but it can have a face, no one will see it. Kee Nethery From bornstein at designeq.com Sun Dec 8 22:18:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Sun Dec 8 22:18:01 2002 Subject: Imported Images Are Darker Message-ID: <200212090312.gB93CEF18431@mailout5-0.nyroc.rr.com> >Photoshop has a different gamma setting. You can reset it to NONE or Windows >if you like. Thanks Chipp! In PS 5.5, I changed the gamma from 2.2 to 1.8 and the images in photoshop now look the same as in Rev. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From jeanne at runrev.com Sun Dec 8 22:26:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Dec 8 22:26:01 2002 Subject: Image Editor In-Reply-To: <20021208002216.76140.qmail@web20008.mail.yahoo.com> References: Message-ID: At 4:22 PM -0800 12/7/02, erik hansen wrote: >--- "Jeanne A. E. DeVoto" wrote: >> Well, you can edit images, certainly, using the >> paint tools. But there's no separate window to >> edit images in. > >do you mean paint on top of the image or actually >modifying the image's parameters? I mean editing the image. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From JamesHBeckmann at aol.com Sun Dec 8 22:39:00 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Sun Dec 8 22:39:00 2002 Subject: Create Image, Hide Image Message-ID: In a message dated 12/08/02 7:44:45 PM, Sarah writes: >To vary the responses you have so far, how about checking to see if >image "Holder" exists first and only creating it if it isn't there >already. Then you are covered for all possibilities. I have also added > >a send command so that the whole stack is not frozen for the 3 seconds > >delay. Fantastic! Works beautifully. Jim From ambassador at fourthworld.com Mon Dec 9 01:46:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Dec 9 01:46:01 2002 Subject: Imported Images Are Darker In-Reply-To: <200212090312.gB93CEF18431@mailout5-0.nyroc.rr.com> Message-ID: Howard Bornstein wrote: >> Photoshop has a different gamma setting. You can reset it to NONE or Windows >> if you like. > > Thanks Chipp! In PS 5.5, I changed the gamma from 2.2 to 1.8 and the > images in photoshop now look the same as in Rev. ...on a Mac. I think the default gamma setting was changed in PS to more closely match the default setting for the other 95% of computer users. I'd be interested in hearing how the images appear in Windows. Personally, I run my Mac at 2.2 so I can see the world as most others will see it. I've long wondered: does the Mac use the non-standard gamma for an objectively verifiable benefit, or was this just another Jobs thang? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From Esa.Kivela at ncrc.fi Mon Dec 9 01:55:00 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Mon Dec 9 01:55:00 2002 Subject: VS: Mac RunRev can't open Win .rev file... Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6F0C@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: J. Landman Gay [mailto:jacque at hyperactivesw.com] > L?hetetty: 8. joulukuuta 2002 4:05 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: Mac RunRev can't open Win .rev file... > > > Peter Lundh wrote: > > > Can anyone please tell me how to fix the file so that > > it can be opened with Revolution on Mac. Hmm I assumed that Runrev is crosspaltform and that means that RRs stack can be also opened in pc, mac or linux? EsaK From malte.brill at t-online.de Mon Dec 9 02:20:01 2002 From: malte.brill at t-online.de (Malte Brill) Date: Mon Dec 9 02:20:01 2002 Subject: Was Function Newbie Question Message-ID: Thanks to all of you for replying. @Dar: I believe I will have to read a lot more until I completely understand the recursion principle. So I guess I?ll stick to the repeat method at first. I have re-read your post for quite a few times and feel like I have never written a programm before. @Jim: I am very interested in your work on turtle graphics/physics/fractals. Do you plan to release the stack when it is ready? Regards, Malte From michael-kristensen at dsa-net.dk Mon Dec 9 03:09:01 2002 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Mon Dec 9 03:09:01 2002 Subject: Pagenumbering and printing In-Reply-To: <200212090249.VAA22174@www.runrev.com> Message-ID: <5705E742-0B4C-11D7-A88A-0050E405EA7D@dsa-net.dk> Hi all I would like to have pagenumbers when I print from a field. How to do that? Kind regards Michael Kristensen From michael-kristensen at dsa-net.dk Mon Dec 9 03:12:01 2002 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Mon Dec 9 03:12:01 2002 Subject: Export from a field and fonts In-Reply-To: <200212090249.VAA22174@www.runrev.com> Message-ID: Hi all When I export text from a field I end up with the Monaco font (Mac). How to avoid that? Kind regards Michael Kristensen From signe.sanne at roman.uib.no Mon Dec 9 03:46:01 2002 From: signe.sanne at roman.uib.no (Signe Marie Sanne) Date: Mon Dec 9 03:46:01 2002 Subject: inserting accented characters In-Reply-To: <200212070338.WAA25771@www.runrev.com> References: <200212070338.WAA25771@www.runrev.com> Message-ID: >Thanks people for helping me :-) It is kind of you to >go into such detail with your recommendations. > >However, it does look like there is something odd happening with Rev in my >setup. I have attempted to at least do things the way that Signe does them, >but to no avail. > >1. The I beam is in the field. > >2. Following the format that Signe has used for Metacard on Win32 >does not work >- when I press the 'AltGr' key it opens the Script Editor! When I try the >'circumflex' key followed by 'a', I just get 'a'. Ditto with >'shift'+^ - only >'a' appears. Without having tested this, I guess this happens in the development mode. If your stack is to be used as a standalone, I think it will work. -- 1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no Romansk Institutt tel: +47 55 58 21 27 Oysteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/hjem/default.html Norway From pixelbird at interisland.net Mon Dec 9 04:26:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Dec 9 04:26:01 2002 Subject: Newbie wants to know if one can run two handlers In-Reply-To: <200212090247.VAA22023@www.runrev.com> Message-ID: > Date: Sun, 08 Dec 2002 18:41:24 -0800 > Subject: Re: Newbie wants to know if one can run two handlers > simultaneously > From: Scott Rossi >> The answer to the question is "sure", but one of them needs to be an idle >> handler (I'll probably get yelled at for suggesting an idle handler). > > Not yelled at, just reminded that it's unnecessary in MC/Rev. :-) > > The bottom line is, the developers of the tools have stated on numerous > occasions that "send in..." is a better to achieve the same result as idle, > both in terms of efficiency and accuracy. So it would seem worth your while > to adopt the practice and get in the habit of using "send in...". ---------- Yes, you're right of course. thanks for reminding me. I don't want to send someone down bunny trails. Many of my solutions are one-offs, quick and dirty. If they work, I can always clean them up and "do it right". You have to experiment with the timing of a "send in.." solution, but the wonderful thing is: it should work anywhere, relatively independent of platform speeds. Very nice. Ken N. From heather at runrev.com Mon Dec 9 05:55:01 2002 From: heather at runrev.com (Heather Williams) Date: Mon Dec 9 05:55:01 2002 Subject: Function Newbie question/Use of Transcript and Turtle In-Reply-To: <200212080120.UAA19721@www.runrev.com> Message-ID: > P.S. I noticed a lot of garbage following my last posting. I hope > this doesn't happen again. If it does, somebody let me know where it > is coming from and how I might avoid it. Ah, that would be the html formatting that the list digest can't, ahem, digest. The solution is to post as plain text only, when posting to the list. You should be able to find a setting for this in your mail client preferences. Regards, Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Wearing the ListMom hat From rodmc at runrev.com Mon Dec 9 07:25:01 2002 From: rodmc at runrev.com (Rod McCall) Date: Mon Dec 9 07:25:01 2002 Subject: Tucows, Revolution plug-ins, and you In-Reply-To: References: Message-ID: <5.1.0.14.2.20021209121526.03c5b570@mail.spamcop.net> >In fact, given the frequency with which Mac news sites like MacNN and >MacCentral post notices for RealBASIC plug-ins, you may also consider >sending a press release to those news sites as well. Yes believe me we have noticed this and will (when people send us info) make sure the plug-in gets maximum coverage!! The issue of plug-ins has been mentioned in the past on the lists. Hence if anyone would like help in promoting their plug in please get in touch with me and I will try to make sure the news gets into as many places as possible. Kind regards, Rod Rod McCall Runtime Revolution Ltd Revolution - The Solution for Software Development tel: +44 (0) 870 747 1165 fax: +44 (0) 131 718 4334 Shameless book plug: Designing Information Spaces: The Social Navigation Approach From janschenkel at yahoo.com Mon Dec 9 07:28:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Dec 9 07:28:01 2002 Subject: Export from a field and fonts In-Reply-To: Message-ID: <20021209122226.2969.qmail@web11901.mail.yahoo.com> --- Michael Kristensen wrote: > Hi all > > When I export text from a field I end up with the > Monaco font (Mac). > > How to avoid that? > > Kind regards > Michael Kristensen > Hi Michael, When you use something like : put field "foo" into URL ("file:"&path&"bar.txt") then that is internally equivalent to : put the text of field "foo" into URL \ ("file:"&path&"bar.txt") and as you know, there's no styling in a text file. RunRev version 2.0 will have the ability to export the RTFText of a field. In the meantime you can bypass this limitation by exporting to an HTML file: put "" & return into tHeader put the htmlText of field "foo" into tBody put return & " into tFooter put tHeader & tBody & tFooter into URL \ ("file:"&path&"bar.htm") 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From rodmc at runrev.com Mon Dec 9 07:39:00 2002 From: rodmc at runrev.com (Rod McCall) Date: Mon Dec 9 07:39:00 2002 Subject: 2.0 - (OT) Malt In-Reply-To: <2231A83D-096B-11D7-91C0-003065430226@internettrainer.com> References: <5.1.0.14.2.20021206163826.02ba4ab8@mail.spamcop.net> Message-ID: <5.1.0.14.2.20021209122645.03c65a30@mail.spamcop.net> >>>> >>>>Mmm scotch is good. >>>Scotch?? brrrrr - in "the" land of single Malt???;) >> >>Well its cold over here right now and Scotch is the ideal way to warm up! :-) > >I tried to say: Why (blended) Scotch whiskey, which is made from anything >- even potatoes or frozen cows feeds - and you can get everywhere.., if >you have the best whiskey of the world (Malt) in front of your doors..;)) Ok, for what its worth I couldn't agree more. Even better for me though I live next door (well for another month) to the Scottish Malt Whiskey Society! Lets put it this way their menu is large and isn't usually for food! Cheers, Rod Rod McCall Runtime Revolution Ltd Revolution - The Solution for Software Development tel: +44 (0) 870 747 1165 fax: +44 (0) 131 718 4334 Shameless book plug: Designing Information Spaces: The Social Navigation Approach From janschenkel at yahoo.com Mon Dec 9 07:47:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Dec 9 07:47:01 2002 Subject: Pagenumbering and printing In-Reply-To: <5705E742-0B4C-11D7-A88A-0050E405EA7D@dsa-net.dk> Message-ID: <20021209124112.29709.qmail@web11907.mail.yahoo.com> --- Michael Kristensen wrote: > Hi all > > I would like to have pagenumbers when I print from a > field. > > How to do that? > > Kind regards > Michael Kristensen > Hi Michael, You'll be interested in the following entries in the use-revolution archives: http://lists.runrev.com/pipermail/use-revolution/2002-August/006805.html http://lists.runrev.com/pipermail/use-revolution/2002-May/004830.html Hope this helped, Jan Schenkel. PS: it's very easy to search the archives from the following link -- definitely worth a bookmark :-) http://www.google.com/advanced_search?q=site:lists.runrev.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From richmond at mail.maclaunch.com Mon Dec 9 09:03:01 2002 From: richmond at mail.maclaunch.com (Mathewson) Date: Mon Dec 9 09:03:01 2002 Subject: Mac OS 9 reading from a CD Message-ID: I have developed a program that uses 352 substacks that are extremely graphic intensive. The WINDOWS build works perfectly directly from the CD-ROM. The Mac OS (Classic) build 'loses' most of the graphics (NO GOOD): IF the Mac files are copied onto the Mac Hard Disk the build works perfectly. Does anybody know how to solve this problem??? Richmond Mathewson --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From Doug_Ivers at lord.com Mon Dec 9 09:12:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Dec 9 09:12:01 2002 Subject: my own font for ask & answer Message-ID: How can I change the font (family, style, lineHeight, etc.) used in the standard ask and answer dialogs? -- D From Doug_Ivers at lord.com Mon Dec 9 09:31:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Dec 9 09:31:01 2002 Subject: Foregroundcolor and chunk formatting in general Message-ID: How do I remove any chunk-specific coloring that may exist in a field? set the textColor of char 1 to -1 of me to empty ??? How do I remove other chunk-specific formatting? set the textFont of char 1 to -1 of me to empty set the textStyle of char 1 to -1 of me to plain Note that, if the FIELD's textStyle is bold, then I want to revert to that. -- D > -----Original Message----- > From: Jan Schenkel [mailto:janschenkel at yahoo.com] > Sent: Sunday, December 08, 2002 6:38 AM > To: use-revolution at lists.runrev.com > Subject: Re: Foregroundcolor stuck? > > > --- DVGlasgow at aol.com wrote: > > > > In a message dated 6/12/02 4:58:17 PM, > > use-revolution-request at lists.runrev.com writes: > > > > << The thing is that once you set the colour of > > certain > > > > words, you have to reset the colour of the entire > > > > "chunk" of text, because otherwise it's overridden > > by > > > > the colour of the individual words. > > > > > > Try this: > > > > > > on greyme > > > > set the textColor of char 1 to -1 of me to "gray" > > > > end greyme > > > > > > Hope this helped, > > > > > > Jan Schenkel. >> > > > > Of course! > > > > Thanks Jan. I don't even need to try this to be > > sure you are right! > > > > I am not sure it is entirely logical though > > ----Standing by for someone to > > explain to me why it is ;-) > > > > > > Best wishes, > > > > David Glasgow > > > > Look at it this way: you can 'layer' one coat of paint > onto another. By default, the text uses the colour > settings of the field (or, if these settings haven't > been specified, the colour setting "up the chain") ; > but when you set the colour of a specific chunk, it > saves this colour with the chunk. > So when the engine draws the text, it first looks at > the settings of the chunk, then the settings of the > field, then higher "up the chain" to determine the > applicable colour settings. > Which means that in order to make all the words in a > field gray after their colour was changed, you have to > change their individual settings. > > Hope this cleared a few 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! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Doug_Ivers at lord.com Mon Dec 9 09:38:00 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Dec 9 09:38:00 2002 Subject: Is there a traceback? Message-ID: I'd like that too. -- D > -----Original Message----- > From: Dar Scott [mailto:dsc at swcp.com] > Sent: Thursday, December 05, 2002 10:35 PM > To: use-revolution at lists.runrev.com > Subject: Re: Is there a traceback? > > > > On Friday, March 8, 2002, at 02:00 PM, Victor Eijkhout wrote: > > > (I may have asked this before, but don't remember seeing an answer) > > > > Is there a way to get a list of "through what handler calls > did I get > > here" if I run into an error? > > I'd be interested in even a partial answer of "what is the long id of > the object with the script with the handler that called me." > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From malte.brill at t-online.de Mon Dec 9 09:43:01 2002 From: malte.brill at t-online.de (Malte Brill) Date: Mon Dec 9 09:43:01 2002 Subject: Mac OS 9 reading from a CD Message-ID: >The Mac OS (Classic) build 'loses' most of the graphics (NO >GOOD): IF the Mac files are copied onto the Mac Hard Disk >the build works perfectly. Hi Richmond, I guess you have been using Jpegs? I noticed, when I build for OS 9, only JPGs refuse to display directly from CD Rom. Using another Format (PNG in my case, but really big) solved the problem. Hope that helps, Malte From David.Glasgow at cstone-tr.nwest.nhs.uk Mon Dec 9 09:51:00 2002 From: David.Glasgow at cstone-tr.nwest.nhs.uk (Glasgow, David) Date: Mon Dec 9 09:51:00 2002 Subject: Foregroundcolor stuck? Message-ID: <92C2FCA79EE22F4B98185EB58BF2D3B351B9DB@mercury.cstone-tr.nwest.nhs.uk> Thanks again, Jan. I have now got round to trying your suggestion, and of course it worked. I also see your explanation of the hierarchy for setting and changing text colour. I think part of my confusion is that the colour palette doesn't reflect the effective text colour, but the setting for the field object or inherited colour. Most of the time that is fine, but when text colour has been changed directly it would be handy to have some way of knowing that part or all of the text was not going to respond to the changes made via the palette. Best wishes, David Glasgow Courses HTTP://www.i-Psych.co.uk >Try this: > > >on greyme > > set the textColor of char 1 to -1 of me to "gray" > >end greyme > > >Hope this helped, > > >Jan Schenkel. >> > >Of course! > >Thanks Jan. I don't even need to try this to be sure you are right! > >I am not sure it is entirely logical though ----Standing by >for someone to >explain to me why it is ;-) > > >Best wishes, > >David Glasgow >Home/ forensic assessments --> HREF="http://members.aol.com/dvglasgow/"> >DVGlasgow >Courses --> i-Psych > >--__--__-- > >Message: 13 >Date: Sun, 8 Dec 2002 03:37:57 -0800 (PST) >From: Jan Schenkel >Subject: Re: Foregroundcolor stuck? >To: use-revolution at lists.runrev.com >Reply-To: use-revolution at lists.runrev.com > >--- DVGlasgow at aol.com wrote: >> >> In a message dated 6/12/02 4:58:17 PM, >> use-revolution-request at lists.runrev.com writes: >> >> << The thing is that once you set the colour of >> certain >> >> words, you have to reset the colour of the entire >> >> "chunk" of text, because otherwise it's overridden >> by >> >> the colour of the individual words. >> >> >> Try this: >> >> >> on greyme >> >> set the textColor of char 1 to -1 of me to "gray" >> >> end greyme >> >> >> Hope this helped, >> >> >> Jan Schenkel. >> >> >> Of course! >> >> Thanks Jan. I don't even need to try this to be >> sure you are right! >> >> I am not sure it is entirely logical though >> ----Standing by for someone to >> explain to me why it is ;-) >> >> >> Best wishes, >> >> David Glasgow >> > >Look at it this way: you can 'layer' one coat of paint >onto another. By default, the text uses the colour >settings of the field (or, if these settings haven't >been specified, the colour setting "up the chain") ; >but when you set the colour of a specific chunk, it >saves this colour with the chunk. >So when the engine draws the text, it first looks at >the settings of the chunk, then the settings of the >field, then higher "up the chain" to determine the >applicable colour settings. >Which means that in order to make all the words in a >field gray after their colour was changed, you have to >change their individual settings. > >Hope this cleared a few things up, > >Jan Schenkel. From rcozens at pon.net Mon Dec 9 10:18:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Dec 9 10:18:01 2002 Subject: System Language In-Reply-To: References: Message-ID: >>My Australian XP and OS X systems both have Sunday as the first line of the >>weekdayNames Hi Again, Monte, Since I don't have an Australian OS, I asked Igor Couto in Sydney to test this with system weekDayNames. His response(s): "It returns: Saturday Sunday Monday Tuesday Wednesday Thursday Friday Odd, why is Saturday the first day? I'll switch system languages, and see if the same happens with them..." and "I am using MacOS X, 10.2. I tried switching the system language to Brazilian Portuguese, Australian English and Esperanto, and the result of weeDayNames is always the same list - always starting with 'Saturday', and always in English..." There is definitely something amiss somewhere. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From martin at harbourtown.co.uk Mon Dec 9 10:35:01 2002 From: martin at harbourtown.co.uk (Martin Baxter) Date: Mon Dec 9 10:35:01 2002 Subject: Mac Gamma In-Reply-To: <200212091434.JAA05032@www.runrev.com> Message-ID: >Richard Gaskin wrote: >I've long wondered: does the Mac use the non-standard gamma for an >objectively verifiable benefit, or was this just another Jobs thang? As I understand it, standard RGB monitor gamma (as defined by the hardware) gives a non-linear brightness response to voltage. Hence mid grey value 127,127,127 would appear on the monitor noticeably lighter than 'mid grey'. Mac gamma attempts to compensate for this so that increases in numeric tonal value produces a linear increase in screen brightness. So IMO it's a case of the Mac got it right in this case, but unfortunately 'most computer users' don't seem bothered if 'dark blue' (#000033) looks indistinguishable from black (#000000), near enough seems to be good enough, ho hum. martin baxter From Jacques.Hausser at ie-zea.unil.ch Mon Dec 9 10:42:01 2002 From: Jacques.Hausser at ie-zea.unil.ch (Jacques Hausser) Date: Mon Dec 9 10:42:01 2002 Subject: Image Editor In-Reply-To: <200212060534.AAA26250@www.runrev.com> Message-ID: >> Yes, Rev will never be all of those. I would just like a simple icon >> editor, much like HyperCard had. > > And, um, uh, and a smart distribution builder to allow some to be icons > for the standalone and doc files. > > Dar Scott THAT would be splendid for lazybones like me - I have an array (or a list, or a collection, or a bag, what you like) of anonymous little "R" with red belts on my dock, and it becomes difficult to find RR itself... Jacques Hausser From rcozens at pon.net Mon Dec 9 11:07:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Dec 9 11:07:01 2002 Subject: VS: Mac RunRev can't open Win .rev file... In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6F0C@ktk7.ad.kuluttajatutkimuskeskus.fi > References: <961D94BBE7448D4C8E4440CB7920D9E01B6F0C@ktk7.ad.kuluttajatutkimuskeskus.fi > Message-ID: > >Hmm I assumed that Runrev is crosspaltform and that means that RRs >stack can be also opened in pc, mac or linux? That's true, Esa, But until a stack is saved on Mac OS, it will not contain the Mac OS Creator & File Types that designate it as a Revolution document; so it must be opened via the message box instead of clicking on it. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From janschenkel at yahoo.com Mon Dec 9 11:56:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Dec 9 11:56:01 2002 Subject: Foregroundcolor and chunk formatting in general In-Reply-To: Message-ID: <20021209165022.37926.qmail@web11901.mail.yahoo.com> --- "Ivers, Doug E" wrote: > How do I remove any chunk-specific coloring that may > exist in a field? > > set the textColor of char 1 to -1 of me to empty > ??? > > How do I remove other chunk-specific formatting? > > set the textFont of char 1 to -1 of me to empty > set the textStyle of char 1 to -1 of me to plain > > Note that, if the FIELD's textStyle is bold, then I > want to revert to that. > > > -- D > Hi Doug, Actually, the simplest way to erase all attributes for the entire content of the field, is : set the text of fld "foo" to the text of fld "foo" This resets the htmlText property where all the formatting per chunk is stored. Hope this helped, Jan Schenkel. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From Doug_Ivers at lord.com Mon Dec 9 12:11:00 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Dec 9 12:11:00 2002 Subject: Foregroundcolor and chunk formatting in general Message-ID: > -----Original Message----- > From: Jan Schenkel [mailto:janschenkel at yahoo.com] > Sent: Monday, December 09, 2002 11:50 AM > To: use-revolution at lists.runrev.com > Subject: RE: Foregroundcolor and chunk formatting in general > > > --- "Ivers, Doug E" wrote: > > How do I remove any chunk-specific coloring that may > > exist in a field? > > > > set the textColor of char 1 to -1 of me to empty > > ??? > > > > How do I remove other chunk-specific formatting? > > > > set the textFont of char 1 to -1 of me to empty > > set the textStyle of char 1 to -1 of me to plain > > > > Note that, if the FIELD's textStyle is bold, then I > > want to revert to that. > > > > > > -- D > > > > Hi Doug, > > Actually, the simplest way to erase all attributes for > the entire content of the field, is : > set the text of fld "foo" to the text of fld "foo" > This resets the htmlText property where all the > formatting per chunk is stored. > > Hope this helped, > > Jan Schenkel. > Wow, that's a useful tip -- thanks! What if one wants to reset only the color and leave other formatting intact? -- D From livfoss at blueyonder.co.uk Mon Dec 9 14:30:01 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Dec 9 14:30:01 2002 Subject: Newbie Mac sound questions Message-ID: I'm converting some SuperCard projects which have sounds (and maybe other stuff) in the Resource Fork. I don't have a copy of ResEdit any more (does it run on MacOS 9.2.2 - doesn't seem to be in the Apple archive). Can anyone suggest a way to extract these resources? I tried a shareware app called 'SndSampler' but it claims there aren't any 'snd' resources in my SC file (there are). ?lso, AFAICS the Revo documentation doesn't seem to say much about what sound files one can play - I have already gathered that Mac-native sounds are a no-no. Apart from aif (is '.aif' the correct extension for Windows systems?), what other formats are allowed (clearly one can play a QuickTime soundtrack, for example)? What is the most efficient way of playing a short sound with no delay, to give the effect of a system beep, or a rollover sound like you'd have in a Flash movie? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From k_major at os.surf2000.de Mon Dec 9 15:09:00 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Mon Dec 9 15:09:00 2002 Subject: Newbie Mac sound questions In-Reply-To: Message-ID: <75140B64-0BB1-11D7-AA8B-000A27B49A96@os.surf2000.de> Hi Graham, > I'm converting some SuperCard projects which have sounds (and maybe > other stuff) in the Resource Fork. I don't have a copy of ResEdit any > more (does it run on MacOS 9.2.2 - doesn't seem to be in the Apple > archive). Can anyone suggest a way to extract these resources? I > tried a shareware app called 'SndSampler' but it claims there aren't > any 'snd' resources in my SC file (there are). ResEdit works here on 9.2.2 in classic mode. Drop a line and i will send you ResEdit... > ?lso, AFAICS the Revo documentation doesn't seem to say much about > what sound files one can play - I have already gathered that > Mac-native sounds are a no-no. Apart from aif (is '.aif' the correct > extension for Windows systems?), Yes. > what other formats are allowed Without QuickTIme installed on the target machine you should stay with .aif, .au or .wav files. NO compressed aif and wav, if i remember right. With QuickTime you can use everything that QT can play !!! (...and that's a lot !!!) > (clearly one can play a QuickTime soundtrack, for example) Sure, see above... > What is the most efficient way of playing a short sound with no delay, > to give the effect of a system beep, or a rollover sound like you'd > have in a Flash movie? Use a player. Really, works fine, is fast..., trust me :-) > TIA > > Graham Hope that helps... Regards Klaus Major k_major at os.surf2000.de From kray at sonsothunder.com Mon Dec 9 15:21:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Dec 9 15:21:00 2002 Subject: Newbie Mac sound questions References: Message-ID: <034801c29fbf$02f73300$6701a8c0@mckinley.dom> SoundEdit 16 2.0 from Macromedia can open sounds in the resource fork and then save them in other formats. You can play 'aif', 'au', 'wav' and those supported by QT (that's all I know of). Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Graham Samuel" To: "Revolution user discussion" Sent: Monday, December 09, 2002 1:23 PM Subject: Newbie Mac sound questions > I'm converting some SuperCard projects which have sounds (and maybe > other stuff) in the Resource Fork. I don't have a copy of ResEdit any > more (does it run on MacOS 9.2.2 - doesn't seem to be in the Apple > archive). Can anyone suggest a way to extract these resources? I > tried a shareware app called 'SndSampler' but it claims there aren't > any 'snd' resources in my SC file (there are). > > ?lso, AFAICS the Revo documentation doesn't seem to say much about > what sound files one can play - I have already gathered that > Mac-native sounds are a no-no. Apart from aif (is '.aif' the correct > extension for Windows systems?), what other formats are allowed > (clearly one can play a QuickTime soundtrack, for example)? What is > the most efficient way of playing a short sound with no delay, to > give the effect of a system beep, or a rollover sound like you'd have > in a Flash movie? > > TIA > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Mon Dec 9 15:37:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Dec 9 15:37:01 2002 Subject: VS: Mac RunRev can't open Win .rev file... In-Reply-To: Message-ID: Hey Rob, My PC-using students have been wondering this also... so you say the steps are: (1) Launch Rev (on the Mac) (2) Open the message box (3) type "open stack "StackName" (or some such thing) ?? BTW, I tried resetting the creator/file types info using DropInfo but that still didn't do the trick, so perhaps the problem is more than just that? Regards, Judy On Mon, 9 Dec 2002, Rob Cozens wrote: > But until a stack is saved on Mac OS, it will not contain the Mac OS > Creator & File Types that designate it as a Revolution document; so > it must be opened via the message box instead of clicking on it. From jperryl at ecs.fullerton.edu Mon Dec 9 15:41:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Dec 9 15:41:01 2002 Subject: Newbie Mac sound questions In-Reply-To: <75140B64-0BB1-11D7-AA8B-000A27B49A96@os.surf2000.de> Message-ID: Klaus, Did I miss something? Every WAV file that I and a couple-dozen of my students has tried has sounded either like nothing or what has previously been described here as "holy hellish scratching". Just wondering... Judy On Mon, 9 Dec 2002, Klaus Major wrote: > Without QuickTIme installed on the target machine > you should stay with .aif, .au or .wav files. > > NO compressed aif and wav, if i remember right. From dsc at swcp.com Mon Dec 9 15:43:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 9 15:43:01 2002 Subject: Mac Gamma In-Reply-To: Message-ID: On Monday, December 9, 2002, at 08:29 AM, Martin Baxter wrote: > As I understand it, standard RGB monitor gamma (as defined by the > hardware) > gives a non-linear brightness response to voltage. Hence mid grey value > 127,127,127 would appear on the monitor noticeably lighter than 'mid > grey'. I'm pleased to be learning about gamma. It seems to me that a measure of "brightness" for a particular color must have a profile or wavelength band associated with it. One would hope this profile matches a typical response for a healthy human. In general though, it may depend on some standard. Dar Scott From ambassador at fourthworld.com Mon Dec 9 15:43:08 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Dec 9 15:43:08 2002 Subject: Mac Gamma In-Reply-To: Message-ID: Martin Baxter wrote: >> Richard Gaskin wrote: >> I've long wondered: does the Mac use the non-standard gamma for an >> objectively verifiable benefit, or was this just another Jobs thang? > > As I understand it, standard RGB monitor gamma (as defined by the hardware) > gives a non-linear brightness response to voltage. Hence mid grey value > 127,127,127 would appear on the monitor noticeably lighter than 'mid grey'. > > Mac gamma attempts to compensate for this so that increases in numeric > tonal value produces a linear increase in screen brightness. > > So IMO it's a case of the Mac got it right in this case, but unfortunately > 'most computer users' don't seem bothered if 'dark blue' (#000033) looks > indistinguishable from black (#000000), near enough seems to be good > enough, ho hum. Excellent explanation, Martin - thank you. Seems my friend's distinction seems to hold true: differences between Mac OS and the rest of the world that started before NeXT have a logical basis. ;) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From livfoss at blueyonder.co.uk Mon Dec 9 15:51:01 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Dec 9 15:51:01 2002 Subject: why won't my videoclip play? Message-ID: More newbie blues - On a Mac (OS 9.2.2) I imported a video clip into a stack - it was a little QT movie which plays fine in the QT Player. I then tried to play it from the Application Overview and also via the message box. In both cases I got a black rectangle on the card of the top stack, and then some white nonsense letters flashing in the black rectangle for longer than the original movie duration. And no sound. What did I do wrong? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From monte at sweattechnologies.com Mon Dec 9 16:11:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Dec 9 16:11:01 2002 Subject: my own font for ask & answer In-Reply-To: Message-ID: When you build your distrobution they will take on the properties of the standalone mainstack. > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ivers, Doug E > Sent: Tuesday, 10 December 2002 12:33 AM > To: use-revolution at lists.runrev.com > Subject: my own font for ask & answer > > > How can I change the font (family, style, lineHeight, etc.) used > in the standard ask and answer dialogs? > > > -- D > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Mon Dec 9 16:35:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Dec 9 16:35:01 2002 Subject: System Language In-Reply-To: Message-ID: Maybe it's another setting that's changed? Actually I think that for some reason the engine thinks my system is en_us even though I have the little Australian flag in the menubar. > > >>My Australian XP and OS X systems both have Sunday as the first > line of the > >>weekdayNames > > Hi Again, Monte, > > Since I don't have an Australian OS, I asked Igor Couto in Sydney to > test this with system weekDayNames. His response(s): > > "It returns: > > Saturday > Sunday > Monday > Tuesday > Wednesday > Thursday > Friday > > Odd, why is Saturday the first day? I'll switch system languages, and > see if the same happens with them..." > > and > > "I am using MacOS X, 10.2. I tried switching the system language to > Brazilian Portuguese, Australian English and Esperanto, and the > result of weeDayNames is always the same list - always starting with > 'Saturday', and always in English..." > > There is definitely something amiss somewhere. > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.com/who.htm > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From themacguy at macosx.com Mon Dec 9 16:40:01 2002 From: themacguy at macosx.com (Barry Levine) Date: Mon Dec 9 16:40:01 2002 Subject: How to avoid errant mouse events? Message-ID: I posted this question under another subject name but will ask again as I have not received any response yet. How do I prevent my app from registering that a second mouseUp event has happened on an object while it is already performing the handler that resulted from the first mouseUp? I've tried flushEvents(all) and flushEvents(mouseUp) but it seems to crash Rev every time. Perhaps I'm calling this at the wrong time? I'm now using lockMessages and it seems to work but I'm wondering if I'm introducing something that will come back to haunt me later on in the development process. Thanks, Barry From k_major at os.surf2000.de Mon Dec 9 16:45:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Mon Dec 9 16:45:01 2002 Subject: Newbie Mac sound questions In-Reply-To: Message-ID: Hi Judy, > Klaus, > > Did I miss something? Every WAV file that I and a couple-dozen of my > students has tried has sounded either like nothing or what has > previously > been described here as "holy hellish scratching". > > Just wondering... Hmmmm, let tme think... If i remember right the sound has to have the right sample-rate (like 44.1 khz, 22.05, 11.025 etc...) and the right bit-depth (like 16 bit or 8 bit). All other values and/or types of compression will cause this "house"-sound of MC deVille ;-) > Judy Regards Klaus Major k_major at os.surf2000.de P.S. Remember that a "windows media" compressed file can also be a *.wav file. Definitively NOT supported by MC/RR... From dsc at swcp.com Mon Dec 9 16:47:02 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 9 16:47:02 2002 Subject: Was Function Newbie Question In-Reply-To: Message-ID: On Monday, December 9, 2002, at 12:14 AM, Malte Brill wrote: > @Dar: I believe I will have to read a lot more until I completely > understand > the recursion principle. So I guess I?ll stick to the repeat method at > first. I have re-read your post for quite a few times and feel like I > have > never written a programm before. Here is a little description. You might want to put this aside until you feel up to looking at recursion again. When you see "line 1 of xxx" in the example code, think "the first line of xxx". When you see "line 2 to -1 of xxx", think "the rest of the lines". So the recursive functions I showed say this: A report on the distances among a list of objects is a report on the distances between the first object & the rest followed by a report on the distances among the rest. If there is no first object, then the report is empty. A report on the distance between an object and a list of objects is the report on the distance between the object and the first object in the list followed by a report on the distance between that object and the rest of the list. If the list is empty, though, the report is empty. A report on the distance between two objects is .... The code is a translation of the above sentences. (You should watch out; I rattled the code off the top of my head and it probably has errors.) If you try this, you should first try it on creating a line of two words instead of distances and then testing on a list of words. This will create all pairs ignoring order of the pair. Sometimes you see, in studying recursion, the factorial as an example. That is a good example in Revolution, so try that if you run across it in your reading. Dar Scott From monte at sweattechnologies.com Mon Dec 9 17:10:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Dec 9 17:10:01 2002 Subject: How to avoid errant mouse events? In-Reply-To: Message-ID: Well if you want to avoid a double-click then you can just put on mouseDoubleUp end mouseDoubleUp into your script. > > I posted this question under another subject name but will ask again as > I have not received any response yet. > > How do I prevent my app from registering that a second mouseUp event > has happened on an object while it is already performing the handler > that resulted from the first mouseUp? I've tried flushEvents(all) and > flushEvents(mouseUp) but it seems to crash Rev every time. Perhaps I'm > calling this at the wrong time? I'm now using lockMessages and it seems > to work but I'm wondering if I'm introducing something that will come > back to haunt me later on in the development process. > > Thanks, > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rcozens at pon.net Mon Dec 9 17:19:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Dec 9 17:19:01 2002 Subject: VS: Mac RunRev can't open Win .rev file... In-Reply-To: References: Message-ID: >My PC-using students have been wondering this also... so you say the steps >are: Hi Judy, There seem to be two or three solutions recommended by different folks. I believe Richard or Sarah has published an AppleScript script to set the file type & creator (which is all that was needed here the couple of times I've encountered a stack from Windows). You might try double-clicking on the stack and telling Mac OS to use Rev to open it, or starting Rev and opening the stack from the message box. And once it's opened, it must be saved to be flagged as a Revolution document. Or you can use Serendipity Library's SDB Utilities to compress the stack on Windows and decompress it on a Mac, in which case the creator & file type are included automatically for .txt, .rev, and .mc (MetaCard) documents. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From derek.huby at ntlworld.com Mon Dec 9 17:27:01 2002 From: derek.huby at ntlworld.com (Derek Huby) Date: Mon Dec 9 17:27:01 2002 Subject: What goes around... revolutions in Revolution In-Reply-To: <200212091701.MAA10227@www.runrev.com> Message-ID: Dear all, I think it's nice to have something new to play with while waiting for 2.0 ;-) If anybody's interested, I've been taking some polygons for a spin... The ability to rotate an image is built in to Rev, of course; but rotating a polygon-style graphic seems to offer a lot more flexibility. Imagine - you could build an arrow 'pointer' that swings around a scale, rotate a 'forearm' around an 'elbow', model the listing of a ship's hull... oh, lots of good stuff, really. So, how to do it? My attempt (script below) rotates a graphic by a given angle, using another small graphic to mark the centre of rotation. I'd be interested to know whether I'm reinventing the wheel here; however, even if I am, I enjoyed doing it! Here's the card script: *************** on rotateshape shapename, angle -- this will rotate gc shapename through 'angle' degrees anticlockwise -- check the graphic exists if there is not a graphic shapename then exit rotateshape end if --"CoR" (centre of rotation) is a small cicular 'grabbable' gc marking the centre put item 1 of the loc of graphic "CoR" into XCentre put item 2 of the loc of graphic "CoR" into YCentre --"origPts" is a custom property containing the original point list. --You can't just rotate from the 'current' point list; rounding errors will 'degrade' the shape. if the origPts of graphic shapename = empty then set the origPts of graphic shapename to the points of graphic shapename end if --"rotAngle" is a custom property that tells you how far the shape is --currently rotated if the rotAngle of graphic shapename = empty then set the rotAngle of graphic shapename to 0 end if put empty into newPointList put the origPts of graphic shapename into pointList -- Build new list of coords relative to CoR as origin repeat for each line k in pointlist put (item 1 of k)- Xcentre & "," & (item 2 of k)- Ycentre & return after newPointList end repeat set the rotangle of graphic shapename to (the rotangle of graphic shapename + angle) mod 360 put sin(the rotangle of graphic shapename * pi/180) into S put cos(the rotangle of graphic shapename * pi/180) into C put empty into rotptlist --Now do the actual rotation repeat for each line k in newPointlist put round(c*(item 1 of k)+ s*(item 2 of k) + xCentre) after rotptlist put "," after rotptlist put round(c*(item 2 of k) - s*(item 1 of k)+ Ycentre)after rotptlist put return after rotPtList end repeat set the points of graphic shapename to rotPtlist end rotateshape *************** I've also got a button to call this handler; its script is: *************** on mouseup repeat 180 rotateshape "arrow1", 2 wait 1 millisecond end repeat end mouseup *************** This rotates a graphic called "arrow1" through 360 degrees. Finally, I have a small circular graphic called CoR. It's script is (predictably): *************** on mousedown grab me end mousedown *************** This could all do with a bit more work - changing the centre of rotation doesn't work properly, for example. But it does show the possibilities... Derek -- Derek Huby KS3 Mathematics Consultant East Sussex County Council From monte at sweattechnologies.com Mon Dec 9 17:31:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Dec 9 17:31:01 2002 Subject: VS: Mac RunRev can't open Win .rev file... In-Reply-To: Message-ID: A long term solution is to use the File Exchange to associate rev with .rev files. As far as I know when rev was installed it should have updated the file exchange for you. Perhaps there was a problem at the time and it didn't happen. > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Rob Cozens > Sent: Tuesday, 10 December 2002 8:46 AM > To: use-revolution at lists.runrev.com > Subject: Re: VS: Mac RunRev can't open Win .rev file... > > > >My PC-using students have been wondering this also... so you say > the steps > >are: > > Hi Judy, > > There seem to be two or three solutions recommended by different folks. > > I believe Richard or Sarah has published an AppleScript script to set > the file type & creator (which is all that was needed here the couple > of times I've encountered a stack from Windows). > > You might try double-clicking on the stack and telling Mac OS to use > Rev to open it, or starting Rev and opening the stack from the > message box. And once it's opened, it must be saved to be flagged as > a Revolution document. > > Or you can use Serendipity Library's SDB Utilities to compress the > stack on Windows and decompress it on a Mac, in which case the > creator & file type are included automatically for .txt, .rev, and > .mc (MetaCard) documents. > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.com/who.htm > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From erikhans08 at yahoo.com Mon Dec 9 17:42:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Dec 9 17:42:01 2002 Subject: Create Image, Hide Image In-Reply-To: <3DF2A508.3060304@hyperactivesw.com> Message-ID: <20021209223652.60430.qmail@web20006.mail.yahoo.com> --- "J. Landman Gay" wrote: > Changing the filename property of an existing > image will change the image it displays, so all > you need is a single, permanent image object > that a script can update to contain different > image content. is this in any way different from setting a permanent btn to a changing icon? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From livfoss at blueyonder.co.uk Mon Dec 9 17:44:00 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Dec 9 17:44:00 2002 Subject: How can I make transparency stick? Message-ID: First, thanks to Klaus and Ken for the very quick replies to my recent question about sounds. Now for another newbie query: I have some graphics (technically, images) with white backgrounds which I want to make transparent. As far as I understand the documentation, this should happen if I uncheck the 'Opaque' box in the grc's Properties palette. This doesn't seem to work - firstly the white bits just stay (solid) white and secondly when I click on the object again, the 'Opaque' box is checked again. I can't seem to be able to tell the object that I want its properties permanently changed - there is of course no 'apply' button, but I guess 'enter' or just changing focus should do it. What now? Do I have to convert all these types of grc to transparent GIFs - it doesn't seem to be what the Transcript Dictionary is suggesting. Another approach might be to set the object's Ink property, but this doesn't seem to appear in the Properties palette at all. An attempt to set this via the Message Box doesn't do anything either. TIA to anyone who can unconfuse me. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From scott at tactilemedia.com Mon Dec 9 17:59:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Dec 9 17:59:01 2002 Subject: What goes around... revolutions in Revolution In-Reply-To: Message-ID: Recently, "Derek Huby" wrote: > If anybody's interested, I've been taking some polygons for a spin... > > The ability to rotate an image is built in to Rev, of course; but rotating a > polygon-style graphic seems to offer a lot more flexibility. Imagine - you > could build an arrow 'pointer' that swings around a scale, rotate a > 'forearm' around an 'elbow', model the listing of a ship's hull... oh, lots > of good stuff, really. > > So, how to do it? My attempt (script below) rotates a graphic by a given > angle, using another small graphic to mark the centre of rotation. I'd be > interested to know whether I'm reinventing the wheel here; however, even if > I am, I enjoyed doing it! Not sure if it's the same as what you've created, but here's another option, called Tangram, originally developed by Carl Manaster for SuperCard (see the Tangram link at the bottom of the following page): http://www.tactilemedia.com/download/ This stack features a group of tangram-style objects that you can drag and rotate by dragging the corner of each object. The cool thing Carl did was to enable the objects to rotate relative to the direction of drag. A fun little stack to play with... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From monte at sweattechnologies.com Mon Dec 9 18:05:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Dec 9 18:05:00 2002 Subject: How can I make transparency stick? In-Reply-To: Message-ID: What now? Do I have to convert > all these types of grc to transparent GIFs - it doesn't seem to be > what the Transcript Dictionary is suggesting. From dvk at dvkconsult.com.au Mon Dec 9 18:08:00 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Mon Dec 9 18:08:00 2002 Subject: Was Function Newbie Question In-Reply-To: Message-ID: <4D9F0365-0BCA-11D7-B8F1-000393598038@dvkconsult.com.au> On Tuesday, December 10, 2002, at 08:40 AM, Dar Scott wrote: > > On Monday, December 9, 2002, at 12:14 AM, Malte Brill wrote: > >> @Dar: I believe I will have to read a lot more until I completely >> understand >> the recursion principle. So I guess I?ll stick to the repeat method at >> first. I have re-read your post for quite a few times and feel like I >> have >> never written a programm before. > > Here is a little description. You might want to put this aside until > you feel up to looking at recursion again. > snip > > Sometimes you see, in studying recursion, the factorial as an example. > That is a good example in Revolution, so try that if you run across > it in your reading. A thought from a computing teaching acquaintance on understanding a recursive routine: When you see within the recursive handler the call to itself, assume it works, do not pursue it. That is, if the loop works once, it works for all depths. regards David > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dvk at dvkconsult.com.au Mon Dec 9 18:11:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Mon Dec 9 18:11:01 2002 Subject: How to avoid errant mouse events? In-Reply-To: Message-ID: On Tuesday, December 10, 2002, at 09:04 AM, Monte Goulding wrote: > > > Well if you want to avoid a double-click then you can just put > on mouseDoubleUp > end mouseDoubleUp I think it was Sarah who previously suggested a refinement where you put in the card or stack script: on mouseDoubleUp send mouseUp to the target end mouseDoubleUp which ensures all the clicks are captured, if that is what you want. regards David > > into your script. > >> >> I posted this question under another subject name but will ask again >> as >> I have not received any response yet. >> >> How do I prevent my app from registering that a second mouseUp event >> has happened on an object while it is already performing the handler >> that resulted from the first mouseUp? I've tried flushEvents(all) and >> flushEvents(mouseUp) but it seems to crash Rev every time. Perhaps I'm >> calling this at the wrong time? I'm now using lockMessages and it >> seems >> to work but I'm wondering if I'm introducing something that will come >> back to haunt me later on in the development process. >> >> Thanks, >> Barry >> >> _______________________________________________ >> 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 erikhans08 at yahoo.com Mon Dec 9 18:16:00 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Dec 9 18:16:00 2002 Subject: Sequential Layout of Script-created Objects In-Reply-To: Message-ID: <20021209231004.39140.qmail@web20003.mail.yahoo.com> --- Richard Gaskin wrote: > repeat with x = the number of controls of group > "grpButtons" of stack down to 1 or put (the number of controls of group "grpButtons" of stack) into tot repeat with x = tot down to 1 a little faster and you can see the total. from the Winkler book. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From livfoss at blueyonder.co.uk Mon Dec 9 18:19:01 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Dec 9 18:19:01 2002 Subject: why won't my videoclip play? Message-ID: At 20:45 +0000 9/12/02, I wrote: >More newbie blues - > >On a Mac (OS 9.2.2) I imported a video clip into a stack - it was a >little QT movie which plays fine in the QT Player. I then tried to >play it from the Application Overview and also via the message box. >In both cases I got a black rectangle on the card of the top stack, >and then some white nonsense letters flashing in the black rectangle >for longer than the original movie duration. And no sound. What did >I do wrong? After a tussle with the defaultFolder property (you can't just set it to the filepath of the folder containing this stack...) I got a different but equally unsatisfactory phenomenon by trying to run the original QT movie (not the clip) using the 'play' command in the Message box. No picture, and the sound was the "holy hellish scratching" described by Judy Perry. The sampling rate was maybe 'wrong' (it's 22.255 KHz with a depth of 8 bits), but where was the picture? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From bornstein at designeq.com Mon Dec 9 19:39:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Dec 9 19:39:01 2002 Subject: Imported Images Are Darker Message-ID: <200212100033.gBA0XFk02231@mailout6-0.nyroc.rr.com> >> Thanks Chipp! In PS 5.5, I changed the gamma from 2.2 to 1.8 and the >> images in photoshop now look the same as in Rev. > >...on a Mac. > >I think the default gamma setting was changed in PS to more closely match >the default setting for the other 95% of computer users. > >I'd be interested in hearing how the images appear in Windows. > >Personally, I run my Mac at 2.2 so I can see the world as most others will >see it. Yes Richard, you're correct. This was on a Mac. I sort of forgot about the whole gamma issue and was glad to be able to know why the images appeared differently in PS and in Rev. In fact, the images in Rev while on Windows look the same as they do in PS, but not the same in Rev on a Mac. Now that I understand the issues, I think in the future I'll use the 2.2 gamma in photoshop and for my cross-platform applications, design for Windows. Then I'll use the screengamma command when the app detects it's on a Mac to make the color appearance the same. >I've long wondered: does the Mac use the non-standard gamma for an >objectively verifiable benefit, or was this just another Jobs thang? Good question. I have no idea. :-) Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From tedl at voyager.net Mon Dec 9 19:53:01 2002 From: tedl at voyager.net (Ted) Date: Mon Dec 9 19:53:01 2002 Subject: flushEvents() problem Message-ID: <004701c29fe5$c9872680$94ce59cf@egl> Barry, flushEvents works fine for me in Mac 0S 9 and Windows 98, when I place this near the end of the handler: put flushEvents(mouseUp) into temp I haven't tried it in OS X. Can you test your script in OS 9 to see whether it works there? Ted >> Original Message: Date: Sun, 8 Dec 2002 15:33:56 -0700 Subject: flushEvents() problem From: Barry Levine To: use-revolution at lists.runrev.com Reply-To: use-revolution at lists.runrev.com I'm trying to trap for errant mouseUp events (like the user clicking twice on a button). I've added the following line of code to my scripts: get flushEvents (mouseUp) The result is that Rev crashes (v1.1.1 under MacOSX). I then try replacing that line of code with: put flushEvents (mouseUp) into trashVar Same result: *boom* Any advice would be appreciated. Thanks, Barry << From dsc at swcp.com Mon Dec 9 20:12:03 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 9 20:12:03 2002 Subject: Sequential Layout of Script-created Objects In-Reply-To: <20021209231004.39140.qmail@web20003.mail.yahoo.com> Message-ID: <7ACFB87A-0BDB-11D7-9825-0050E4C0B205@swcp.com> On Monday, December 9, 2002, at 04:10 PM, erik hansen wrote: >> repeat with x = the number of controls of group >> "grpButtons" of stack down to 1 > or > put (the number of controls of group "grpButtons" > of stack) into tot > repeat with x = tot down to 1 > a little faster and you can see the total. > from the Winkler book. On my system the first takes 30 microseconds and the second takes about 100. I get similar results if I include the entire loop in the timing. Maybe this applies to an earlier 'card or the book example is confusing. Dar Scott From revolution at knowledgeworks.plus.com Mon Dec 9 20:29:01 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Mon Dec 9 20:29:01 2002 Subject: inserting accented characters In-Reply-To: References: <200212070338.WAA25771@www.runrev.com> Message-ID: <200212100128.UAA26788@www.runrev.com> Signe, I thought this was a plausible explanation, so I built a distribution for Win32 and tried it, but still a Rev app does not trap these key combinations and translate them into 'international' characters. I think this is starting to look like a bug. > >- when I press the 'AltGr' key it opens the Script Editor! When I try the > >'circumflex' key followed by 'a', I just get 'a'. Ditto with > >'shift'+^ - only > >'a' appears. > > Without having tested this, I guess this happens in the development > mode. If your stack is to be used as a standalone, I think it will > work. From revolution at knowledgeworks.plus.com Mon Dec 9 20:29:10 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Mon Dec 9 20:29:10 2002 Subject: Passing selectedField Location between Stacks In-Reply-To: <200212082127.QAA12478@www.runrev.com> References: <200212070338.WAA25777@www.runrev.com> <01a501c29e6e$55081760$6701a8c0@mckinley.dom> <200212082127.QAA12478@www.runrev.com> Message-ID: <200212100128.UAA26791@www.runrev.com> I'm still trying to solve the problem of passing the field reference of the insertion point to my palette so that I can insert the label of a palette button into the field. (All the buttons and groups of the palette have "traversal on is false"). I still don't understand why the selectedChunk below is empty when the Transcript documentation suggests that it should contain the location of the insertion point. > If there is actually some selected text in the field with the insertion point, > then the label of the button can be inserted after the text (using "after the > selectedChunk"). However, if I intercept the processing of the handler in the > button palette, unless there _is_ selected text, the following all return empty: > > the selectedChunk > the selectedField > the selectedLine > the selection. > > If there is selected text, then they all display some value. > > Because they are empty, the button's label cannot be inserted after anything > (there is no target), and I get the "chunk: no target found" error. > > My understanding is that the selectedChunk should return something even if > nothing is selected. Am I wrong? According to the Transcript Dictionary: > >> > If no text is selected but the text insertion point is in a field, the > startChar is the character after the insertion point, and the endChar is the > character before the insertion point. In this case, the endChar is one less than > the startChar. > << > > Am i misunderstanding something about the way in which the target works? Or is > this a bug? > In the absence of a clear understanding of why this is not working, I am trying to work around it. (I'm sure it has something to do with operations between stacks). I'm using a mouseLeave handler to save the selectedChunk and stack details into the palette's custom properties. However, when i try to address the stack from these properties e.g. using "open stack" it doesn't work. Here is the kind of script I am using: >> put word 2 of the cpInsLocStack of stack "Map" into aStack answer aStack open stack aStack << "answer aStack" presents the stack's name (which is "Target"). If I type 'open stack "Target" ' in the message box the stack opens; if I paste the above script into the message box, I get the answer dialog, but the stack doesn't open. What am I doing wrong here? From themacguy at macosx.com Mon Dec 9 20:51:01 2002 From: themacguy at macosx.com (Barry Levine) Date: Mon Dec 9 20:51:01 2002 Subject: flushEvents() In-Reply-To: <200212100113.UAA26024@www.runrev.com> Message-ID: Ted, I ran Rev in the "Classic" environment (while booted in OSX) and found the same results. However, as this was not truly booted into OS9, the same issue may be rearing its head. I changed the handler to begin with the line "set the lockMessages to true" which seems to prevent any mouseClicks that occur during the handler (which may take up to 8 seconds to complete due to various sounds starting and pictures appearing and disappearing with visual effects) from being recognized by any of the objects that contain mouseUp handlers. If using the "lockMessages" property doesn't cause any other unforseen issues, I'll stick with that as it seems to have a more simple (HyperCard-like) syntax. Thanks, Barry On Monday, December 9, 2002, at 06:13 PM, use-revolution-request at lists.runrev.com wrote: > Message: 13 > From: "Ted" > To: > Subject: Re: flushEvents() problem > Date: Mon, 9 Dec 2002 19:46:57 -0500 > Reply-To: use-revolution at lists.runrev.com > > Barry, flushEvents works fine for me in Mac 0S 9 and Windows 98, when > I place > this near the end of the handler: > > put flushEvents(mouseUp) into temp > > I haven't tried it in OS X. > > Can you test your script in OS 9 to see whether it works there? > > Ted > > ------------------------------------------- From ambassador at fourthworld.com Mon Dec 9 21:03:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Dec 9 21:03:00 2002 Subject: Imported Images Are Darker In-Reply-To: <200212100033.gBA0XFk02231@mailout6-0.nyroc.rr.com> Message-ID: Howard Bornstein wrote: >> I've long wondered: does the Mac use the non-standard gamma for an >> objectively verifiable benefit, or was this just another Jobs thang? > > Good question. I have no idea. :-) As Martin Baxtor pointed out: > As I understand it, standard RGB monitor gamma (as defined by the > hardware) > gives a non-linear brightness response to voltage. Hence mid grey value > 127,127,127 would appear on the monitor noticeably lighter than 'mid > grey'. So for print work it seems Apple's choice is a good one. For multimedia work, though, the difference leaves us having to choose between making things pretty for the Mac audience or the Windows audience, but I don't know of a way to get optimal results for both. :( -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From sarahr at genesearch.com.au Mon Dec 9 21:13:00 2002 From: sarahr at genesearch.com.au (Sarah) Date: Mon Dec 9 21:13:00 2002 Subject: VS: Mac RunRev can't open Win .rev file... In-Reply-To: Message-ID: <0BD82B0D-0BE4-11D7-8D2E-0003937A97B8@genesearch.com.au> > I believe Richard or Sarah has published an AppleScript script to set > the file type & creator (which is all that was needed here the couple > of times I've encountered a stack from Windows). Yes, I published a droplet on the USer Contributions section of the Rev web site which allows you to set the file type & creator of a single file or a folder of files. > > You might try double-clicking on the stack and telling Mac OS to use > Rev to open it, or starting Rev and opening the stack from the message > box. And once it's opened, it must be saved to be flagged as a > Revolution document. If you are using a recent version of OS X, the contextual menu for a document file has an "Open with..." menu item that allows you to specify what to use. Another option is to open Revolution and drop the document on top of the application icon, either in the Finder or in the Dock. Then as Rob says, saving again will save that info with the file. Get Info in OS X also allows you to specify the associated application and set it for all files of the specified type. Cheers, Sarah From scott at tactilemedia.com Mon Dec 9 22:34:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Dec 9 22:34:01 2002 Subject: Imported Images Are Darker In-Reply-To: Message-ID: Recently, Richard Gaskin wrote: >> As I understand it, standard RGB monitor gamma (as defined by the >> hardware) >> gives a non-linear brightness response to voltage. Hence mid grey value >> 127,127,127 would appear on the monitor noticeably lighter than 'mid >> grey'. > > So for print work it seems Apple's choice is a good one. > > For multimedia work, though, the difference leaves us having to choose > between making things pretty for the Mac audience or the Windows audience, > but I don't know of a way to get optimal results for both. :( It's even more complicated than this. Many Windows users have never adjusted their monitors and have horrendously low brightness settings, not to mention the fact that yet more users do not even know that they can set their monitors to display higher than 8 bit color (256 colors). There are so many variables to this equation that it's not worth pulling your hair out: optimize for the majority of your audience (which will probably be mostly Windows) and leave it at that. Also, remember that it's unlikely that users of one platform will be able to compare one gamma display against the other -- without any point of reference, they won't know that any difference exists. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From kray at sonsothunder.com Tue Dec 10 00:01:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Dec 10 00:01:01 2002 Subject: why won't my videoclip play? References: Message-ID: <039801c2a007$a48b19f0$6701a8c0@mckinley.dom> Graham, What you should do is: 1) Start with a card (in a new stack if you're just testing things out). 2) Grab the player object tool (the one in the lower-right corner of the tool palette), and drag out a rectangle. 3) Double-click on the player object to open the Properties palette. Click on the "Player" tab. 4) Click the "Browse" button and find the quicktime movie you want to play. Select it and click OK in the file picker. What will happen is that the player object will resize itself to fit the dimensions of the movie. The contents will still be blank (white), however, but that's OK. 5) Determine whether you want to turn the buffer on - if you want to overlap objects on top of the movie, or you want to be able to transition seamlessly from one card to another at the end of the playback of a movie, turn the buffer ON. Otherwise, leave it off. (Leaving it off means that QT will play the movie directly to the screen in the rectangle, and Rev won't have any "control" over it to allow it to layer other objects. This provides much better performance (especially with larger movies)). 6) Determine if you want a controller. If you do, turn on the "Show Controller" checkbox. You can manipulate the movies without the controller just as easily, so don't feel you need to turn this on unless you want the user to have control over the movie. Note that you can't use a controller on a movie with the buffer turned on; it will show up, but you can't click on the controller. 7) Choose the browse tool. (If the player object is still white, choose the pointer tool and click the movie again. If the buffer is on, you'll see the movie dispalyed.) In any event, you can open the message box and type "play player 1" and you'll see the movie run (if you have the controller displayed and buffer off, you can now manipulate the movie with the controller). You can use the "stop player " command to stop (pause) the player, etc. Check out play, stop, currentTime, endTime, stopTime, etc. tokens for more capabilities. If you need any more help, let us know, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Graham Samuel" To: "Revolution user discussion" Sent: Monday, December 09, 2002 5:13 PM Subject: Re: why won't my videoclip play? > At 20:45 +0000 9/12/02, I wrote: > >More newbie blues - > > > >On a Mac (OS 9.2.2) I imported a video clip into a stack - it was a > >little QT movie which plays fine in the QT Player. I then tried to > >play it from the Application Overview and also via the message box. > >In both cases I got a black rectangle on the card of the top stack, > >and then some white nonsense letters flashing in the black rectangle > >for longer than the original movie duration. And no sound. What did > >I do wrong? > > After a tussle with the defaultFolder property (you can't just set it > to the filepath of the folder containing this stack...) I got a > different but equally unsatisfactory phenomenon by trying to run the > original QT movie (not the clip) using the 'play' command in the > Message box. No picture, and the sound was the "holy hellish > scratching" described by Judy Perry. The sampling rate was maybe > 'wrong' (it's 22.255 KHz with a depth of 8 bits), but where was the > picture? > > TIA > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From signe.sanne at roman.uib.no Tue Dec 10 03:08:00 2002 From: signe.sanne at roman.uib.no (Signe Marie Sanne) Date: Tue Dec 10 03:08:00 2002 Subject: inserting accented characters In-Reply-To: <200212100128.UAA26788@www.runrev.com> References: <200212070338.WAA25771@www.runrev.com> <200212100128.UAA26788@www.runrev.com> Message-ID: >Signe, I thought this was a plausible explanation, so I built a distribution >for Win32 and tried it, but still a Rev app does not trap these key >combinations >and translate them into 'international' characters. > >I think this is starting to look like a bug. > > >> >- when I press the 'AltGr' key it opens the Script Editor! When I try the >> >'circumflex' key followed by 'a', I just get 'a'. Ditto with >> >'shift'+^ - only >> >'a' appears. >> >> Without having tested this, I guess this happens in the development >> mode. If your stack is to be used as a standalone, I think it will > > work. Bernard, I just downloaded Revolution on my Windows 2000, made a standalone and tested the accented letters. Here on my (Norwegian) keyboard everything works fine. In development mode there's a problem with accent aigu (?), since AltGr + accent key opens the Properties window. Kevin, what can be done with this? Both French and Spanish make extensive use of this accent! -- 1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no Romansk Institutt tel: +47 55 58 21 27 Oysteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/hjem/default.html Norway From revolution at knowledgeworks.plus.com Tue Dec 10 03:42:01 2002 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Tue Dec 10 03:42:01 2002 Subject: inserting accented characters Message-ID: <20021210083548.knowledgeworks@Plus.Net> Signe. Thank you for going to the trouble of doing that. I think that this indicates that it is some setting in Windows 2000. Given that one cannot know what the user's settings are (and that as an application developer one probably shouldn't rely on being able to reconfigure these), and given that different OSs use different keyboard-combo shortcuts to display these characters, I think that I am right to go with my character-to-button palette mapping. I want to have a technique that is easy for the user to use and that is cross-platform and that is independent of any settings on the machine on which my app runs. It also has the benefit that it can be used for other purposes e.g. for applications where users have key phrases that they need to insert often - these could be placed in the list and then generate a selection palette. Incidentally, I remember earlier on you seemed to think the palette idea was not the way to go. Was this because you thought it important to protect the screen real-estate or because you knew I would run into technical difficulties on transferring the text between stacks? I think I will eventually get round the final technical difficulty I am having. But if not, I will start to look at ways of putting the list of 'international' character on the card itself. Regards Bernard I just downloaded Revolution on my Windows 2000, made a >standalone and tested the accented letters. Here on my (Norwegian) >keyboard everything works fine. In development mode there's a >problem with accent aigu (?), since AltGr + accent key opens the >Properties window. > >Kevin, what can be done with this? Both French and Spanish make >extensive use of this accent! > >-- > >1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no >Romansk Institutt tel: +47 55 58 21 27 >Oysteins gt. 1 >5007 Bergen http://www.hf.uib.no/hfolk/mlab/hjem/default.html >Norway > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > From mcompanys at mac.com Tue Dec 10 03:45:01 2002 From: mcompanys at mac.com (Manuel Companys) Date: Tue Dec 10 03:45:01 2002 Subject: inserting accented characters In-Reply-To: Message-ID: Le mardi, 10 d?c 2002, ? 09:02 Europe/Paris, Signe Marie Sanne a ?crit : > > Bernard, I just downloaded Revolution on my Windows 2000, made a > standalone and tested the accented letters. Here on my (Norwegian) > keyboard everything works fine. In development mode there's a problem > with accent aigu (?), since AltGr + accent key opens the Properties > window. > > Kevin, what can be done with this? Both French and Spanish make > extensive use of this accent! > The best bet would be to have an ergonomically designed keuboard definition. I did this for macOS: a KCHR ressource adapted to the national keyboard habits (I did this chiefly for the french azerty, but then I could adapt it very easily to other keyborards). This originated a new choise with an esperanto flag in the language menu. It made it possible to type all the accented characters for almost all the latin alphabet languages, using my 1 byute-per-char fonts. All the esperanto ?apelitaj were true one ASCI chars (no use of 0-offset superposition for them); you could type them, both using the circumflex key, as in french, or the option-. Now, you can have your custumized keyboard map made by Apple. But the process is much more boresome and error inducing, than when you could do it by yourself! Who will give us an equivalent of resEdit? Manuel From signe.sanne at roman.uib.no Tue Dec 10 04:48:01 2002 From: signe.sanne at roman.uib.no (Signe Marie Sanne) Date: Tue Dec 10 04:48:01 2002 Subject: inserting accented characters In-Reply-To: <20021210083548.knowledgeworks@Plus.Net> References: <20021210083548.knowledgeworks@Plus.Net> Message-ID: >Signe. Thank you for going to the trouble of doing that. > >I think that this indicates that it is some setting in Windows 2000. >Given that one cannot know what the user's settings are (and that as >an application developer one probably shouldn't rely on being able >to reconfigure these), and given that different OSs use different >keyboard-combo shortcuts to display these characters, I think that I >am right to go with my character-to-button palette mapping. I want >to have a technique that is easy for the user to use and that is >cross-platform and that is independent of any settings on the >machine on which my app runs. > >It also has the benefit that it can be used for other purposes e.g. >for applications where users have key phrases that they need to >insert often - these could be placed in the list and then generate a >selection palette. > >Incidentally, I remember earlier on you seemed to think the palette >idea was not the way to go. Was this because you thought it >important to protect the screen real-estate or because you knew I >would run into technical difficulties on transferring the text >between stacks? I think I will eventually get round the final >technical difficulty I am having. But if not, I will start to look >at ways of putting the list of 'international' character on the card >itself. Hello again Bernard (I thought you were asleep at this hour? Are you in Europe?) You really got me thinking. First of all, what you say about settings in Windows 2000, I do not think is the case. Will, please, users on other Window platforms chime in and confirm the use of the accented letters in standalones? Or is it the English keyboard which creates the problem, but you do have the two accent keys available? Only if you are sure the users can not make use of the accent keys, then I would go for a palette or a specific card. The most user friendly way would be to have the users click on an accented letter and let scripting insert it in the text field. But I would use a palette or a card for the rest of "strange" letters, such as c cedille, o+e in French, tilde in Spanish. If you then want to give the user the possibility to "save" key phrases, I would have made a button "Insert new phrase" or "Insert new accented letter" (on a card). This would open an Ask window in which the user writes what he needs, and then your scripting would add this to the list, or insert a new button or whatever you choose. Now I think this is getting complicated, so I'll stop here. -- 1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no Romansk Institutt tel: +47 55 58 21 27 Oysteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/hjem/default.html Norway From Jacques.Hausser at ie-zea.unil.ch Tue Dec 10 04:55:01 2002 From: Jacques.Hausser at ie-zea.unil.ch (Jacques Hausser) Date: Tue Dec 10 04:55:01 2002 Subject: revGoURL.. and after that ? In-Reply-To: <200212092215.RAA19141@www.runrev.com> Message-ID: Dear all, I'm opening a local server with revGoURL "afp://username:password at servername/volumename" and my program reads and writes happily from or to several files on this server, nicely considering it as a volume. (it doesn't work with URL, but with "open file" and so on, it is OK). my problem is, I want to disconnect the server from inside the program (I do not want people putting their nose in the files directly, what they can do if the server remains on the desk). I tried to disconnect (and to connect) with every other method I found in the doc, but it got only error messages. I looked in the use-rev archives without finding the solution (the archives are big enough to miss it, sorry if it's the case). How to do "revLeaveURL" ? and by the way, would the server open with revGoURL also be considered as a volume on Windows (unknown world for me) ? Many thanks in advance - Jacques Hausser From livfoss at blueyonder.co.uk Tue Dec 10 05:29:01 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Dec 10 05:29:01 2002 Subject: why won't my videoclip play? Message-ID: >On Mon, 9 Dec 2002 22:50:19 -0600 "Ken Ray" wrote: >Organization: Sons of Thunder Software >Reply-To: use-revolution at lists.runrev.com > >Graham, > >What you should do is: [then - as ever - a very clear explanation] I'm now doing what you say - but I am not clear where this leaves the idea of a video clip or movie played directly, i.e. not in a player object. Maybe I should simply forget about it. As far as I can see, my player object is playing a QT file (external to the player) not a clip - is this right? Also, is the player object the only way to play a movie? I didn't read this into the Transcript dictionary's entry for the 'play' command, which doesn't mention player objects at all. Still interested Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From jbradshaw at blueyonder.co.uk Tue Dec 10 06:36:01 2002 From: jbradshaw at blueyonder.co.uk (Jez) Date: Tue Dec 10 06:36:01 2002 Subject: Checkboxes Message-ID: <000801c2a03f$93e8b340$65adc050@Jez2> Please someone tell me how I can set and retrieve the status of a checkbox ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From janschenkel at yahoo.com Tue Dec 10 06:44:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Dec 10 06:44:01 2002 Subject: Checkboxes In-Reply-To: <000801c2a03f$93e8b340$65adc050@Jez2> Message-ID: <20021210113758.77240.qmail@web11904.mail.yahoo.com> --- Jez wrote: > Please someone tell me how I can set and retrieve > the status of a checkbox ! Hi Jez, Check the 'hilite' property in the Transcript Dictionary. 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From dvk at dvkconsult.com.au Tue Dec 10 06:45:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue Dec 10 06:45:01 2002 Subject: Checkboxes In-Reply-To: <000801c2a03f$93e8b340$65adc050@Jez2> Message-ID: On Tuesday, Dec 10, 2002, at 22:30 Australia/Sydney, Jez wrote: > Please someone tell me how I can set and retrieve the status of a > checkbox ! > set the hilite of button <> to true | false get the hilite of button << checkboxname>> or put the hilite of << checkboxname>> into <> regards David -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 416 bytes Desc: not available URL: From dvk at dvkconsult.com.au Tue Dec 10 07:01:02 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue Dec 10 07:01:02 2002 Subject: Checkboxes In-Reply-To: Message-ID: <3A254A3B-0C36-11D7-93C4-000393598038@dvkconsult.com.au> On Tuesday, Dec 10, 2002, at 22:38 Australia/Sydney, David Vaughan wrote: > > On Tuesday, Dec 10, 2002, at 22:30 Australia/Sydney, Jez wrote: > >> Please someone tell me how I can set and retrieve the status of a >> checkbox ! >> > set the hilite of button <> to true | false > get the hilite of button << checkboxname>> > or > put the hilite of button << checkboxname>> into <> > (put statement corrected) > regards > David -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 567 bytes Desc: not available URL: From kkaufman at snet.net Tue Dec 10 10:41:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue Dec 10 10:41:01 2002 Subject: QT player and controller Message-ID: I am using a player object to play externally-referenced videoclips. I have the buffer turned off, "receive focus" turned on, and "show controller" turned on. In the RunRev editing environment, the controller responds to mouseclicks, etc. for volume adjustment, pause, on so on. However, in the standalone, the controller does not repsond to mouse button activity. Why would this be? thanks, Kurt From alex at mindlube.com Tue Dec 10 11:52:01 2002 From: alex at mindlube.com (Alex Rice) Date: Tue Dec 10 11:52:01 2002 Subject: System Language Message-ID: On Monday, December 9, 2002, at 02:29 PM, Monte Goulding wrote: > > Maybe it's another setting that's changed? Actually I think that for > some > reason the engine thinks my system is en_us even though I have the > little > Australian flag in the menubar. I think you guys are confusing several different issues. 1) The input method language - The app menu with flags in it is for the input method 2) The language selection for applications and dialogs - $LANG environment variable - NSGlobalDomain 3) The weekday names 1) The application menu with flags on it is the "Input Menu". This is for setting input methods and keyboard layouts. One can switch input methods without switching the system & application language selection itself. For example if you had a Spanish keyboard but wanted apps to Display their UI in English. As far as I can tell, the Input Menu selection has no effect on either language selection itself. See the "Input Menu" tab on the International preferences panel. 2) Language selection. `defaults read NSGlobalDomain AppleLanguages` will always get you the current list. $LANG will show the 1st language in the list, but ONLY after a logout. I am surprised that $LANG is synchronized at all. In OS X, a lot of the BSD stuff is not exactly as one would expect, because it's just another layer along with Mach, Carbon and Cocoa. Anyways, the command `defaults read NSGlobalDomain AppleLanguages` will get the current setting, no logout required. See the "Language" tab on the International preferences panel. I tried find out the connection between $LANG and NSGlobalDomain but wound up in some pretty hairy "Unicode locale" API documentation. Oh well. If anyone is really interested in Unicode, maybe it would be a good way to waste a day. :-) 3) The weekday names. Although it's not exposed in the Preferences panel this IS a user default, and it's customizable. Don't depend on it for finding the language. The Apple developer docs say NSWeekDayNameArray is "An array that gives the names for the days of the week. Sunday should be the first day of the week." So, one could override the names of the days of the week and it would still work. However, I don't know if this is the same weekDayNames that RunRev is returning with it's system command. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From jacque at hyperactivesw.com Tue Dec 10 11:54:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Dec 10 11:54:01 2002 Subject: Create Image, Hide Image In-Reply-To: <200212100113.UAA26024@www.runrev.com> References: <200212100113.UAA26024@www.runrev.com> Message-ID: <3DF61AC2.9020809@hyperactivesw.com> erik hansen wrote: > --- "J. Landman Gay" > wrote: > >>> Changing the filename property of an existing >>> image will change the image it displays, so all >>> you need is a single, permanent image object >>> that a script can update to contain different >>> image content. > > > is this in any way different from setting a > permanent btn to a changing icon? The concept is the same, but the execution is different. Icons must be referred to by an ID number, which means the images must be stored in the stack (only MC objects have IDs.) The filename property of an image is a reference to a file on disk. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 10 12:06:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Dec 10 12:06:01 2002 Subject: How can I make transparency stick? In-Reply-To: <200212100113.UAA26024@www.runrev.com> References: <200212100113.UAA26024@www.runrev.com> Message-ID: <3DF61D18.60603@hyperactivesw.com> "Monte Goulding" wrote: >>From the Transcript Dictionary's opaque property entry: > > If the object is an image, the setting of the opaque property has no effect. > Instead, painted areas of the image are opaque, and areas with no paint are > not opaque. > > You will need to change them to transparent GIFs I usually just make images transparent by importing them as transparent GIFs. But it is also possible to edit an existing image so that white areas become transparent. Use the paint bucket tool and right-click (or on Macs, control-click) on the areas that need to be transparent. That will remove the paint. You may need to set the fill color to white; I can't remember if that's required. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rodmc at runrev.com Tue Dec 10 12:24:01 2002 From: rodmc at runrev.com (Rod McCall) Date: Tue Dec 10 12:24:01 2002 Subject: [OT] All this talk of Whisky... Message-ID: <5.1.0.14.2.20021210162604.017df7f0@mail.spamcop.net> As the word "whisky" has popped up on this list a bit recently we've decided to give away a bottle of single malt to one of our users. Basically all you have to do is post a *relevant* message to this list between now and Christmas day. We will then pick a person at random and send them a bottle of single malt whisky! Cheers, Rod Please note we cannot send the whisky to countries where legal issues may prevent the importing of alcohol. E&OE Rod McCall Runtime Revolution Ltd Revolution - The Solution for Software Development tel: +44 (0) 870 747 1165 fax: +44 (0) 131 718 4334 Shameless book plug: Designing Information Spaces: The Social Navigation Approach From rcozens at pon.net Tue Dec 10 13:00:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Dec 10 13:00:01 2002 Subject: Create Image, Hide Image In-Reply-To: <3DF61AC2.9020809@hyperactivesw.com> References: <200212100113.UAA26024@www.runrev.com> <3DF61AC2.9020809@hyperactivesw.com> Message-ID: >Icons must be referred to by an ID number, which means the images >must be stored in the stack (only MC objects have IDs.) The filename >property of an image is a reference to a file on disk. Jacque, et al: Perhaps it's not supported in MC, but in the RunRev dev menu I can select "New Referenced Control", designate a gif file in a folder, and assign a specific id to the referenced image in its properties palette. I assign that id as a button's icon, and it works just fine. I have not, however, tried changing the fileName of any of my referenced images. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From mcompanys at mac.com Tue Dec 10 13:04:00 2002 From: mcompanys at mac.com (Manuel Companys) Date: Tue Dec 10 13:04:00 2002 Subject: [OT] All this talk of Whisky... In-Reply-To: <5.1.0.14.2.20021210162604.017df7f0@mail.spamcop.net> Message-ID: Le mardi, 10 d?c 2002, ? 17:46 Europe/Paris, Rod McCall a ?crit : > As the word "whisky" has popped up on this list a bit recently we've > decided to give away a bottle of single malt to one of our users. > Basically all you have to do is post a *relevant* message to this list > between now and Christmas day. We will then pick a person at random > and send them a bottle of single malt whisky! Gee! Sounds wonderful! But how many plural persons are going to get that nectar? Just to know wether it's worth to be relevant enough... ;-) Besides, that's a good example. Wouldn't it be nice to have plenty of bottles of Jerez, Vodka, Schnaps, Slivovitsa, Champagne, Akvavit , Raki ... eMailed to our tables? Manuel -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 814 bytes Desc: not available URL: From rcozens at pon.net Tue Dec 10 13:17:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Dec 10 13:17:01 2002 Subject: [OT] All this talk of Whisky... In-Reply-To: <5.1.0.14.2.20021210162604.017df7f0@mail.spamcop.net> References: <5.1.0.14.2.20021210162604.017df7f0@mail.spamcop.net> Message-ID: >Basically all you have to do is post a *relevant* message to this >list between now and Christmas day. Hi Rod, Does that mean *relevant* to whisky? If it isn't wine, tequila or gran manier, I couldn't possibly comment. :{`) Happy Holidays to all at Run Rev! -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rodmc at runrev.com Tue Dec 10 13:27:01 2002 From: rodmc at runrev.com (Rod McCall) Date: Tue Dec 10 13:27:01 2002 Subject: [OT] All this talk of Whisky... In-Reply-To: References: <5.1.0.14.2.20021210162604.017df7f0@mail.spamcop.net> <5.1.0.14.2.20021210162604.017df7f0@mail.spamcop.net> Message-ID: <5.1.0.14.2.20021210181903.02f13d90@mail.spamcop.net> At 10:13 10/12/2002 -0800, Rob Cozens wrote: >>Basically all you have to do is post a *relevant* message to this list >>between now and Christmas day. > >Hi Rod, > >Does that mean *relevant* to whisky? By relevant I mean chatting about something to do with Revolution and not simply posting a message which reads "I want the whisky!" :-) Anyway good luck to everyone. cheers, rod Rod McCall Runtime Revolution Ltd Revolution - The Solution for Software Development tel: +44 (0) 870 747 1165 fax: +44 (0) 131 718 4334 Shameless book plug: Designing Information Spaces: The Social Navigation Approach From jmac at consensustech.com Tue Dec 10 13:47:00 2002 From: jmac at consensustech.com (Jim MacConnell) Date: Tue Dec 10 13:47:00 2002 Subject: [OT] Relevant but not unrelated to All this talk of Whisky... In-Reply-To: <5.1.0.14.2.20021210181903.02f13d90@mail.spamcop.net> Message-ID: Hoping for 2.0 really soon.... especially since lots? of people will be looking for it due to the January MacWorld - Productivity Beat - (page 20) US edition? Blurb for Rev 2.0 and SuperCard 4.0..... Not the best time to have to say... coming soon.... Jim PS I know this doesn't really count as a relevant comment but I'll try to do better next time and "I want the whisky!". > From: Rod McCall > Reply-To: use-revolution at lists.runrev.com > Date: Tue, 10 Dec 2002 18:21:45 +0000 > To: use-revolution at lists.runrev.com > Subject: Re: [OT] All this talk of Whisky... > > At 10:13 10/12/2002 -0800, Rob Cozens wrote: >>> Basically all you have to do is post a *relevant* message to this list >>> between now and Christmas day. >> >> Hi Rod, >> >> Does that mean *relevant* to whisky? > > By relevant I mean chatting about something to do with Revolution and not > simply posting a message which reads "I want the whisky!" :-) > > > Anyway good luck to everyone. > > cheers, > > rod > > > > Rod McCall > Runtime Revolution Ltd > Revolution - The Solution for Software Development > tel: +44 (0) 870 747 1165 fax: +44 (0) 131 718 4334 > > Shameless book plug: Designing Information Spaces: The Social Navigation > Approach > 5974166-0650224> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alex at mindlube.com Tue Dec 10 13:55:00 2002 From: alex at mindlube.com (Alex Rice) Date: Tue Dec 10 13:55:00 2002 Subject: Runrev as an expert system shell Message-ID: <01C5568E-0C70-11D7-8944-000393529642@mindlube.com> Below is an expert system which comes with CLIPS. It's for selecting a wine based on the user's preferences. If someone will write a similar system for scotch & whiskey, I will translate it into CLIPS and write a RunRev GUI for it (next year sometime). All you would need to write is a bunch of english assertions and if-then rules, not actual CLIPS rules. Or locate one on the web if it already exists in the public domain. ;;;====================================================== ;;; Wine Expert Sample Problem ;;; ;;; WINEX: The WINe EXpert system. ;;; This example selects an appropriate wine ;;; to drink with a meal. ;;; ;;; CLIPS Version 6.0 Example ;;; ;;; To execute, merely load, reset and run. ;;;====================================================== (defmodule MAIN (export ?ALL)) ;;**************** ;;* DEFFUNCTIONS * ;;**************** (deffunction MAIN::ask-question (?question ?allowed-values) (printout t ?question) (bind ?answer (read)) (if (lexemep ?answer) then (bind ?answer (lowcase ?answer))) (while (not (member ?answer ?allowed-values)) do (printout t ?question) (bind ?answer (read)) (if (lexemep ?answer) then (bind ?answer (lowcase ?answer)))) ?answer) ;;***************** ;;* INITIAL STATE * ;;***************** (deftemplate MAIN::attribute (slot name) (slot value) (slot certainty (default 100.0))) (defrule MAIN::start (declare (salience 10000)) => (set-fact-duplication TRUE) (focus QUESTIONS CHOOSE-QUALITIES WINES PRINT-RESULTS)) (defrule MAIN::combine-certainties "" (declare (salience 100) (auto-focus TRUE)) ?rem1 <- (attribute (name ?rel) (value ?val) (certainty ?per1)) ?rem2 <- (attribute (name ?rel) (value ?val) (certainty ?per2)) (test (neq ?rem1 ?rem2)) => (retract ?rem1) (modify ?rem2 (certainty (/ (- (* 100 (+ ?per1 ?per2)) (* ?per1 ?per2)) 100)))) ;;****************** ;;* QUESTION RULES * ;;****************** (defmodule QUESTIONS (import MAIN ?ALL) (export ?ALL)) (deftemplate QUESTIONS::question (slot attribute (default ?NONE)) (slot the-question (default ?NONE)) (multislot valid-answers (default ?NONE)) (slot already-asked (default FALSE)) (multislot precursors (default ?DERIVE))) (defrule QUESTIONS::ask-a-question ?f <- (question (already-asked FALSE) (precursors) (the-question ?the-question) (attribute ?the-attribute) (valid-answers $?valid-answers)) => (modify ?f (already-asked TRUE)) (assert (attribute (name ?the-attribute) (value (ask-question ?the-question ?valid-answers))))) (defrule QUESTIONS::precursor-is-satisfied ?f <- (question (already-asked FALSE) (precursors ?name is ?value $?rest)) (attribute (name ?name) (value ?value)) => (if (eq (nth 1 ?rest) and) then (modify ?f (precursors (rest$ ?rest))) else (modify ?f (precursors ?rest)))) (defrule QUESTIONS::precursor-is-not-satisfied ?f <- (question (already-asked FALSE) (precursors ?name is-not ?value $?rest)) (attribute (name ?name) (value ~?value)) => (if (eq (nth 1 ?rest) and) then (modify ?f (precursors (rest$ ?rest))) else (modify ?f (precursors ?rest)))) ;;******************* ;;* WINEX QUESTIONS * ;;******************* (defmodule WINE-QUESTIONS (import QUESTIONS ?ALL)) (deffacts WINE-QUESTIONS::question-attributes (question (attribute main-component) (the-question "Is the main component of the meal meat, fish, or poultry? ") (valid-answers meat fish poultry unknown)) (question (attribute has-turkey) (precursors main-component is turkey) (the-question "Does the meal have turkey in it? ") (valid-answers yes no unknown)) (question (attribute has-sauce) (the-question "Does the meal have a sauce on it? ") (valid-answers yes no unknown)) (question (attribute sauce) (precursors has-sauce is yes) (the-question "Is the sauce for the meal spicy, sweet, cream, or tomato? ") (valid-answers sauce spicy sweet cream tomato unknown)) (question (attribute tastiness) (the-question "Is the flavor of the meal delicate, average, or strong? ") (valid-answers delicate average strong unknown)) (question (attribute preferred-body) (the-question "Do you generally prefer light, medium, or full bodied wines? ") (valid-answers light medium full unknown)) (question (attribute preferred-color) (the-question "Do you generally prefer red or white wines? ") (valid-answers red white unknown)) (question (attribute preferred-sweetness) (the-question "Do you generally prefer dry, medium, or sweet wines? ") (valid-answers dry medium sweet unknown))) ;;****************** ;; The RULES module ;;****************** (defmodule RULES (import MAIN ?ALL) (export ?ALL)) (deftemplate RULES::rule (slot certainty (default 100.0)) (multislot if) (multislot then)) (defrule RULES::throw-away-ands-in-antecedent ?f <- (rule (if and $?rest)) => (modify ?f (if ?rest))) (defrule RULES::throw-away-ands-in-consequent ?f <- (rule (then and $?rest)) => (modify ?f (then ?rest))) (defrule RULES::remove-is-condition-when-satisfied ?f <- (rule (certainty ?c1) (if ?attribute is ?value $?rest)) (attribute (name ?attribute) (value ?value) (certainty ?c2)) => (modify ?f (certainty (min ?c1 ?c2)) (if ?rest))) (defrule RULES::remove-is-not-condition-when-satisfied ?f <- (rule (certainty ?c1) (if ?attribute is-not ?value $?rest)) (attribute (name ?attribute) (value ~?value) (certainty ?c2)) => (modify ?f (certainty (min ?c1 ?c2)) (if ?rest))) (defrule RULES::perform-rule-consequent-with-certainty ?f <- (rule (certainty ?c1) (if) (then ?attribute is ?value with certainty ?c2 $?rest)) => (modify ?f (then ?rest)) (assert (attribute (name ?attribute) (value ?value) (certainty (/ (* ?c1 ?c2) 100))))) (defrule RULES::perform-rule-consequent-without-certainty ?f <- (rule (certainty ?c1) (if) (then ?attribute is ?value $?rest)) (test (or (eq (length$ ?rest) 0) (neq (nth 1 ?rest) with))) => (modify ?f (then ?rest)) (assert (attribute (name ?attribute) (value ?value) (certainty ?c1)))) ;;******************************* ;;* CHOOSE WINE QUALITIES RULES * ;;******************************* (defmodule CHOOSE-QUALITIES (import RULES ?ALL) (import QUESTIONS ?ALL) (import MAIN ?ALL)) (defrule CHOOSE-QUALITIES::startit => (focus RULES)) (deffacts the-wine-rules ; Rules for picking the best body (rule (if has-sauce is yes and sauce is spicy) (then best-body is full)) (rule (if tastiness is delicate) (then best-body is light)) (rule (if tastiness is average) (then best-body is light with certainty 30 and best-body is medium with certainty 60 and best-body is full with certainty 30)) (rule (if tastiness is strong) (then best-body is medium with certainty 40 and best-body is full with certainty 80)) (rule (if has-sauce is yes and sauce is cream) (then best-body is medium with certainty 40 and best-body is full with certainty 60)) (rule (if preferred-body is full) (then best-body is full with certainty 40)) (rule (if preferred-body is medium) (then best-body is medium with certainty 40)) (rule (if preferred-body is light) (then best-body is light with certainty 40)) (rule (if preferred-body is light and best-body is full) (then best-body is medium)) (rule (if preferred-body is full and best-body is light) (then best-body is medium)) (rule (if preferred-body is unknown) (then best-body is light with certainty 20 and best-body is medium with certainty 20 and best-body is full with certainty 20)) ; Rules for picking the best color (rule (if main-component is meat) (then best-color is red with certainty 90)) (rule (if main-component is poultry and has-turkey is no) (then best-color is white with certainty 90 and best-color is red with certainty 30)) (rule (if main-component is poultry and has-turkey is yes) (then best-color is red with certainty 80 and best-color is white with certainty 50)) (rule (if main-component is fish) (then best-color is white)) (rule (if main-component is-not fish and has-sauce is yes and sauce is tomato) (then best-color is red)) (rule (if has-sauce is yes and sauce is cream) (then best-color is white with certainty 40)) (rule (if preferred-color is red) (then best-color is red with certainty 40)) (rule (if preferred-color is white) (then best-color is white with certainty 40)) (rule (if preferred-color is unknown) (then best-color is red with certainty 20 and best-color is white with certainty 20)) ; Rules for picking the best sweetness (rule (if has-sauce is yes and sauce is sweet) (then best-sweetness is sweet with certainty 90 and best-sweetness is medium with certainty 40)) (rule (if preferred-sweetness is dry) (then best-sweetness is dry with certainty 40)) (rule (if preferred-sweetness is medium) (then best-sweetness is medium with certainty 40)) (rule (if preferred-sweetness is sweet) (then best-sweetness is sweet with certainty 40)) (rule (if best-sweetness is sweet and preferred-sweetness is dry) (then best-sweetness is medium)) (rule (if best-sweetness is dry and preferred-sweetness is sweet) (then best-sweetness is medium)) (rule (if preferred-sweetness is unknown) (then best-sweetness is dry with certainty 20 and best-sweetness is medium with certainty 20 and best-sweetness is sweet with certainty 20)) ) ;;************************ ;;* WINE SELECTION RULES * ;;************************ (defmodule WINES (import MAIN ?ALL)) (deffacts any-attributes (attribute (name best-color) (value any)) (attribute (name best-body) (value any)) (attribute (name best-sweetness) (value any))) (deftemplate WINES::wine (slot name (default ?NONE)) (multislot color (default any)) (multislot body (default any)) (multislot sweetness (default any))) (deffacts WINES::the-wine-list (wine (name Gamay) (color red) (body medium) (sweetness medium sweet)) (wine (name Chablis) (color white) (body light) (sweetness dry)) (wine (name Sauvignon-Blanc) (color white) (body medium) (sweetness dry)) (wine (name Chardonnay) (color white) (body medium full) (sweetness medium dry)) (wine (name Soave) (color white) (body light) (sweetness medium dry)) (wine (name Riesling) (color white) (body light medium) (sweetness medium sweet)) (wine (name Geverztraminer) (color white) (body full)) (wine (name Chenin-Blanc) (color white) (body light) (sweetness medium sweet)) (wine (name Valpolicella) (color red) (body light)) (wine (name Cabernet-Sauvignon) (color red) (sweetness dry medium)) (wine (name Zinfandel) (color red) (sweetness dry medium)) (wine (name Pinot-Noir) (color red) (body medium) (sweetness medium)) (wine (name Burgundy) (color red) (body full)) (wine (name Zinfandel) (color red) (sweetness dry medium))) (defrule WINES::generate-wines (wine (name ?name) (color $? ?c $?) (body $? ?b $?) (sweetness $? ?s $?)) (attribute (name best-color) (value ?c) (certainty ?certainty-1)) (attribute (name best-body) (value ?b) (certainty ?certainty-2)) (attribute (name best-sweetness) (value ?s) (certainty ?certainty-3)) => (assert (attribute (name wine) (value ?name) (certainty (min ?certainty-1 ?certainty-2 ?certainty-3))))) ;;***************************** ;;* PRINT SELECTED WINE RULES * ;;***************************** (defmodule PRINT-RESULTS (import MAIN ?ALL)) (defrule PRINT-RESULTS::header "" (declare (salience 10)) => (printout t t) (printout t " SELECTED WINES" t t) (printout t " WINE CERTAINTY" t) (printout t " -------------------------------" t) (assert (phase print-wines))) (defrule PRINT-RESULTS::print-wine "" ?rem <- (attribute (name wine) (value ?name) (certainty ?per)) (not (attribute (name wine) (certainty ?per1&:(> ?per1 ?per)))) => (retract ?rem) (format t " %-24s %2d%%%n" ?name ?per)) (defrule PRINT-RESULTS::remove-poor-wine-choices "" ?rem <- (attribute (name wine) (certainty ?per&:(< ?per 20))) => (retract ?rem)) (defrule PRINT-RESULTS::end-spaces "" (not (attribute (name wine))) => (printout t t)) Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From revolution at knowledgeworks.plus.com Tue Dec 10 14:47:00 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Tue Dec 10 14:47:00 2002 Subject: Passing selectedField Location between Stacks In-Reply-To: References: <200212070338.WAA25777@www.runrev.com> <01a501c29e6e$55081760$6701a8c0@mckinley.dom> <200212082127.QAA12478@www.runrev.com> <200212100128.UAA26791@www.runrev.com> Message-ID: <200212101946.OAA17999@www.runrev.com> Thanks for the suggestion. It was a "mouseUp" handler, so I changed it to "mouseDown" but it didn't make any difference. I think the issue is actually to do with moving from stack to stack: the selectedChunk only refers to the character numbers in a (numbered) field. There is no reference to a stack. So it seems logical to me that if one is to click on another stack, that the selectedChunk cannot know about the stack that the character numbers and field refer to. This is a pity, but I have posted another question which when solved will, I hope, provide a workaround. > What handler is checking the selectedChunk? It should be mouseDown. > Once you are in mouseUp, the selection reflects your mouseclick and > the old selection is lost. This could explain why you get an empty > chunk. > > > Robert Regards, Bernard From revolution at knowledgeworks.plus.com Tue Dec 10 14:47:25 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Tue Dec 10 14:47:25 2002 Subject: inserting accented characters In-Reply-To: References: <20021210083548.knowledgeworks@Plus.Net> Message-ID: <200212101946.OAA18002@www.runrev.com> Hi Signe, I live in the UK - so I'm almost in Europe ;-) The PC is configured with "English (United Kingdom)" as the input locale. I've developed the palette (with some help from the kind people here). It works very satisfactorily, and very similar to your description. If I can get the final problem ironed out, I will offer it to Runrev as a user contribution. Regards, Bernard From jacque at hyperactivesw.com Tue Dec 10 15:08:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Dec 10 15:08:01 2002 Subject: Create Image, Hide Image In-Reply-To: <200212101948.OAA18374@www.runrev.com> References: <200212101948.OAA18374@www.runrev.com> Message-ID: <3DF64839.5030706@hyperactivesw.com> Rob Cozens wrote: > Perhaps it's not supported in MC, but in the RunRev dev menu I can > select "New Referenced Control", designate a gif file in a folder, > and assign a specific id to the referenced image in its properties > palette. I assign that id as a button's icon, and it works just fine. Yes, it works because you have assigned the ID of an image as an icon. Icons require ID numbers. The referenced control is the image, not the button icon. Images can take referenced files as content. However, you can't assign a file reference as an icon. For example, this won't work: set the icon of btn 1 to "/myDisk/folder/icon.jpg" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 10 15:13:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Dec 10 15:13:01 2002 Subject: Passing selectedField Location between Stacks In-Reply-To: <200212101948.OAA18374@www.runrev.com> References: <200212101948.OAA18374@www.runrev.com> Message-ID: <3DF64997.6070804@hyperactivesw.com> Bernard Devlin wrote: > I think the issue is actually to do with moving from stack to stack: the > selectedChunk only refers to the character numbers in a (numbered) field. There > is no reference to a stack. So it seems logical to me that if one is to click > on another stack, that the selectedChunk cannot know about the stack that the > character numbers and field refer to. This is untested, but have you tried setting the defaultstack to the one with the selection? For example, if you have a stack "main" with a field containing the insertion point, and another stack "floater" that's a palette, in the script in the "floater" stack try: set the defaultstack to "main" get the selectedchunk -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dan at clearvisiontech.com Tue Dec 10 15:18:01 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue Dec 10 15:18:01 2002 Subject: Saving the clipboard Message-ID: Hello! My standalone contains several stacks files. During the course of activity in my standalone, I copy objects from one stack to another. I want to preserve the clipboard text during the copy/paste of objects. Here are the calls I am using to save the clipboard text: on aLongRoutine --a whole bunch of stuff --focus is now on a stack file that is not in the standalone put saveClipboard() into isCBSaved --copy some objects --focus on another stack --paste objects if isCBSaved then restoreClipboard end if end aLongRoutine function saveClipboard if the clipboard is "text" then select text of field "tempClipboard" of stack "aStack" --stack "aStack" is the mainStack of the standalone paste return true else return false end if end saveClipboard on restoreClipboard select text of field "tempClipboard" of stack "aStack" copy end restoreClipboard The problem is the focus. The text is not being pasted or copied from field "tempClipboard" of stack "aStack". Anyone have any ideas of what I am doing wrong? Thank you in advance, Dan From kray at sonsothunder.com Tue Dec 10 15:25:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Dec 10 15:25:01 2002 Subject: why won't my videoclip play? References: Message-ID: <046101c2a088$c5debae0$6701a8c0@mckinley.dom> > I'm now doing what you say - but I am not clear where this leaves the > idea of a video clip or movie played directly, i.e. not in a player > object. Maybe I should simply forget about it. As far as I can see, > my player object is playing a QT file (external to the player) not a > clip - is this right? Also, is the player object the only way to play > a movie? I didn't read this into the Transcript dictionary's entry > for the 'play' command, which doesn't mention player objects at all. Yes, the QT file is external to the player and being referenced by Rev (it's not embedded) in this instance. The player object is not the only way to play a movie, but I've found it to be the most flexible. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From harrison at all-auctions.com Tue Dec 10 15:28:00 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Tue Dec 10 15:28:00 2002 Subject: Primitive Rev. WebBrowser In-Reply-To: <3DF61AC2.9020809@hyperactivesw.com> Message-ID: Someone on this list once mentioned that they had constructed a primitive Revolution WebBrowser using socket routines etc. I'm starting a project using sockets and I thought it might be good idea to see this example before getting into hours of frustration. Any help is greatly appreciated in advance! Rick Harrison From dvk at dvkconsult.com.au Tue Dec 10 15:34:00 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue Dec 10 15:34:00 2002 Subject: [OT] All this talk of Whisky... In-Reply-To: Message-ID: On Wednesday, Dec 11, 2002, at 04:58 Australia/Sydney, Manuel Companys wrote: > > Le mardi, 10 d?c 2002, ? 17:46 Europe/Paris, Rod McCall a ?crit : > >> As the word "whisky" has popped up on this list a bit recently we've >> decided to give away a bottle of single malt to one of our users. >> Basically all you have to do is post a *relevant* message to this >> list between now and Christmas day. We will then pick a person at >> random and send them a bottle of single malt whisky! > > Gee! Sounds wonderful! > > But how many plural persons are going to get that nectar? Manuel A peculiarity of English; Rod's use of "person" and "them" was grammatically correct in the above sentence. It is also quite appropriate as it is gender-free. English lacks a singular gender-free (rather than neuter) term and uses a plural form to deal with it. Another example is "To send the winner their whisky, we will need their address." Not offered as a relevant posting. I just happen to know my English better than my Revolution. cheers David > > Manuel -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1195 bytes Desc: not available URL: From ambassador at fourthworld.com Tue Dec 10 15:35:03 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Dec 10 15:35:03 2002 Subject: Saving the clipboard In-Reply-To: Message-ID: Dan Friedman wrote: > My standalone contains several stacks files. During the course of activity > in my standalone, I copy objects from one stack to another. I want to > preserve the clipboard text during the copy/paste of objects. You could also use "copy to " option or the "clone" command to replicate objects without disturbing the clipboard. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From rjb at rz.uni-potsdam.de Tue Dec 10 15:39:00 2002 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Dec 10 15:39:00 2002 Subject: Passing selectedField Location between Stacks In-Reply-To: <200212101946.OAA17999@www.runrev.com> References: <200212070338.WAA25777@www.runrev.com> <01a501c29e6e$55081760$6701a8c0@mckinley.dom> <200212082127.QAA12478@www.runrev.com> <200212100128.UAA26791@www.runrev.com> <200212101946.OAA17999@www.runrev.com> Message-ID: >Thanks for the suggestion. It was a "mouseUp" handler, so I changed it to >"mouseDown" but it didn't make any difference. > >I think the issue is actually to do with moving from stack to stack: the >selectedChunk only refers to the character numbers in a (numbered) >field. There >is no reference to a stack. So it seems logical to me that if one >is to click >on another stack, that the selectedChunk cannot know about the stack that the >character numbers and field refer to. This is a pity, but I have >posted another >question which when solved will, I hope, provide a workaround. > Oh, you did not mentioned that this occurs between two stacks (or I missed that). Have you tried using message watcher to see what messages are sent as you change the context? You may be able to use one to pick up the selectedchunk and stuff it into a global for usage in the other stack. Robert From monte at sweattechnologies.com Tue Dec 10 16:07:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Dec 10 16:07:01 2002 Subject: System Language In-Reply-To: Message-ID: Thanks Alex for clearing up the issue. I'm actually expecting Raney will chime in at some point and tell us that it's a bug in OS X not anything with Australians being a day ahead of the pack ;-) Cheers & beers from down under Monte From wmb at internettrainer.com Tue Dec 10 18:11:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Tue Dec 10 18:11:01 2002 Subject: Runrev as an expert system shell In-Reply-To: <01C5568E-0C70-11D7-8944-000393529642@mindlube.com> Message-ID: On Dienstag, Dezember 10, 2002, at 07:48 Uhr, Alex Rice wrote: > Below is an expert system which comes with CLIPS. It's for selecting a > wine based on the user's preferences. If someone will write a similar > system for scotch & whiskey, I will translate it into CLIPS and write > a RunRev GUI for it (next year sometime). All you would need to write > is a bunch of english assertions and if-then rules, not actual CLIPS > rules. Or locate one on the web if it already exists in the public > domain. This offer sounds great... Therefore the winner of the malt should imho be: Alex Rice! ;) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From alex at mindlube.com Tue Dec 10 18:35:01 2002 From: alex at mindlube.com (Alex Rice) Date: Tue Dec 10 18:35:01 2002 Subject: Runrev as an expert system shell In-Reply-To: Message-ID: <353D9920-0C97-11D7-8944-000393529642@mindlube.com> On Tuesday, December 10, 2002, at 04:06 PM, Wolfgang M. Bereuter wrote: > This offer sounds great... > Therefore the winner of the malt should imho be: Alex Rice! > ;) Thanks I appreciate that, unfortunately I quit drinking alcohol a few years ago. I would want the person providing the expert knowledge of scotch selection should get the prize, not me. I would donate the app to the User Contributions site. After thinking about the wine expert system vs. scotch, I am wondering if people usually drink scotch with meals or not? It could start out with a question like this What is the occasion? 1) lounging at the club 2) cards or billiards game 3) with a meal 4) after a meal 5) getting schnockered with some old pals Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From wmb at internettrainer.com Tue Dec 10 18:37:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Tue Dec 10 18:37:01 2002 Subject: 2.0 - (OT) Malt In-Reply-To: <5.1.0.14.2.20021209122645.03c65a30@mail.spamcop.net> Message-ID: <90EE0319-0C97-11D7-AE9F-003065430226@internettrainer.com> On Montag, Dezember 9, 2002, at 01:33 Uhr, Rod McCall wrote: > Ok, for what its worth I couldn't agree more. Even better for me > though I live next door (well for another month) to the Scottish Malt > Whiskey Society! Lets put it this way their menu is large and isn't > usually for food! I would not have said that from your point of view, because now you are on my "Malt-Guide"-search list, if I ever come to Scotland to "see" the Lagavulins life...;)) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From ambassador at fourthworld.com Tue Dec 10 18:49:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Dec 10 18:49:00 2002 Subject: Runrev as an expert system shell In-Reply-To: <353D9920-0C97-11D7-8944-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > After thinking about the wine expert system vs. scotch, I am wondering > if people usually drink scotch with meals or not? It could start out > with a question like this > > What is the occasion? > 1) lounging at the club > 2) cards or billiards game > 3) with a meal > 4) after a meal > 5) getting schnockered with some old pals You forgot: 6) All of the above :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From erikhans08 at yahoo.com Tue Dec 10 18:50:00 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Dec 10 18:50:00 2002 Subject: Create Image, Hide Image In-Reply-To: <3DF61AC2.9020809@hyperactivesw.com> Message-ID: <20021210234446.23643.qmail@web20007.mail.yahoo.com> --- "J. Landman Gay" wrote: > >>> Changing the filename property of an > existing > >>> image will change the image it displays, so > all > >>> you need is a single, permanent image > object > >>> that a script can update to contain > different > >>> image content. > > > > is this in any way different from setting a > > permanent btn to a changing icon? > > The concept is the same, but the execution is > different. Icons must be > referred to by an ID number, which means the > images must be stored in > the stack (only MC objects have IDs.) The > filename property of an image > is a reference to a file on disk. thank you for your patient response. one of RunRev's strengths is the willingness of advanced programmers to respond to the less advanced. we do appreciate it. are there any problems with bringing in an image as an icon or saving an icon as an image? HC has a useful 2-tone editor, MC i don't know about for editting icons and/or images. all of my HC>MC icons have somehow become images in a RunRev group. maybe there is a workaround here. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From jperryl at ecs.fullerton.edu Tue Dec 10 19:32:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Dec 10 19:32:01 2002 Subject: Runrev as an expert system shell In-Reply-To: Message-ID: You know, people might actually be interested in such a thing, especially if it paired wine suggestions to foods. Judy -- who likes just about any kind of wine other than White Zinfandel. > Alex Rice wrote: > > > What is the occasion? From alex at mindlube.com Tue Dec 10 19:38:00 2002 From: alex at mindlube.com (Alex Rice) Date: Tue Dec 10 19:38:00 2002 Subject: how to share cards between substacks? Message-ID: <13DABEA9-0CA0-11D7-8944-000393529642@mindlube.com> I have a few cards which I need to reuse in several substacks. I could put the cards in the mainstack, or their own substack. How can I programmatically do something like this? insert card "the card" of stack "sharedCards" into this stack set the script of card "the card" to "..." What's the best way to approach this? groups? templateCard? copy/paste? Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From ambassador at fourthworld.com Tue Dec 10 19:47:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Dec 10 19:47:01 2002 Subject: how to share cards between substacks? In-Reply-To: <13DABEA9-0CA0-11D7-8944-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > I have a few cards which I need to reuse in several substacks. I could > put the cards in the mainstack, or their own substack. How can I > programmatically do something like this? > > insert card "the card" of stack "sharedCards" into this stack > set the script of card "the card" to "..." > > What's the best way to approach this? groups? templateCard? copy/paste? copy to -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From alex at mindlube.com Tue Dec 10 19:57:01 2002 From: alex at mindlube.com (Alex Rice) Date: Tue Dec 10 19:57:01 2002 Subject: how to share cards between substacks? In-Reply-To: Message-ID: On Tuesday, December 10, 2002, at 05:41 PM, Richard Gaskin wrote: > copy to Aha! I should have figured it was as easy as that. Also I overlooked the "How To move cards from one stack to another" in the online docs :-) Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From monte at sweattechnologies.com Tue Dec 10 19:58:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Dec 10 19:58:00 2002 Subject: how to share cards between substacks? In-Reply-To: <13DABEA9-0CA0-11D7-8944-000393529642@mindlube.com> Message-ID: you can open a card of one stack in the window of another stack so that may provide the effect you want. You will just need to keep track of which stack you opened it in so you can return to the correct card. > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Alex Rice > Sent: Wednesday, 11 December 2002 11:03 AM > To: use-revolution at lists.runrev.com > Subject: how to share cards between substacks? > > > I have a few cards which I need to reuse in several substacks. I could > put the cards in the mainstack, or their own substack. How can I > programmatically do something like this? > > insert card "the card" of stack "sharedCards" into this stack > set the script of card "the card" to "..." > > What's the best way to approach this? groups? templateCard? copy/paste? > > Thanks, > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > alrice at ARCplanning.com > alrice at swcp.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at knowledgeworks.plus.com Tue Dec 10 20:12:01 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Tue Dec 10 20:12:01 2002 Subject: Passing selectedField Location between Stacks In-Reply-To: References: <200212070338.WAA25777@www.runrev.com> <01a501c29e6e$55081760$6701a8c0@mckinley.dom> <200212082127.QAA12478@www.runrev.com> <200212100128.UAA26791@www.runrev.com> <200212101946.OAA17999@www.runrev.com> Message-ID: <200212110111.UAA30232@www.runrev.com> Jacqueline, I tried this, but to no avail: >have you tried seting the defaultstack to the one >with the selection? Robert, I did have something like this in mind as my workaround. I managed to save the selectedChunk, field and stacks into the other stack, and then use these to reconstruct the selection and paste the user's chosen text into that place. > Have you tried using message watcher to see what > messages are sent as you change the context? You may be able to use > one to pick up the selectedchunk and stuff it into a global for usage > in the other stack. Finally, it works as I wanted it to :-)) I learned a lot about Rev in the process, so that was good too. Thanks everyone for your help. Regards Bernard From alex at mindlube.com Tue Dec 10 20:30:01 2002 From: alex at mindlube.com (Alex Rice) Date: Tue Dec 10 20:30:01 2002 Subject: how to share cards between substacks? Message-ID: <3A257881-0CA7-11D7-B9DB-000393529642@mindlube.com> On Tuesday, December 10, 2002, at 05:51 PM, Monte Goulding wrote: > you can open a card of one stack in the window of another stack so > that may > provide the effect you want. You will just need to keep track of which > stack > you opened it in so you can return to the correct card. That is an elegant way. But I think in my situation "copy" is better because I have already written handlers that scan for custom properties across all the cards in a stack. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From jacque at hyperactivesw.com Tue Dec 10 20:45:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Dec 10 20:45:01 2002 Subject: Create Image, Hide Image In-Reply-To: <200212110033.TAA27500@www.runrev.com> References: <200212110033.TAA27500@www.runrev.com> Message-ID: <3DF69692.7050002@hyperactivesw.com> erik hansen wrote: > are there any problems with bringing in an image > as an icon or saving an icon as an image? HC has > a useful 2-tone editor, MC i don't know about > for editting icons and/or images. all of my > HC>MC icons have somehow become images in a > RunRev group. > maybe there is a workaround here. When Rev does a HyperCard import, it looks in the HC stack's resource fork, grabs each icon as an image, and imports it into the new Rev stack. For convenience, it groups the HC images together. If you import an image from disk manually, it's essentially the same thing. So there is no disadvantage to importing images, and in fact, that's the usual way of getting custom icons into a stack. An icon isn't any different from any other image in the stack. Often though, images used as icons are kept hidden, or placed in a substack, or put on an unused card so they don't get in the way. All that's needed to use them as icons is to assign the ID of their image object to the button's icon property. The images themselves don't have to be visible, and don't even have to be in the same stack as long as they are somewhere in the stack hierarchy. Also, I just figured out what Rob was pointing out (getting the list in digest mode makes it hard to follow threads sometimes) -- so I should clarify my original statement that images have to "be in the stack". He's right that they don't. What I meant was, an image object containing the image content must be in the stack so that there is an ID number to use for the button icon. Whether the actual content of the image object is referenced from disk or stored in the stack isn't important. I probably just muddled up that explanation even worse. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From erikhans08 at yahoo.com Tue Dec 10 21:10:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Dec 10 21:10:01 2002 Subject: Sequential Layout of Script-created Objects In-Reply-To: <7ACFB87A-0BDB-11D7-9825-0050E4C0B205@swcp.com> Message-ID: <20021211020451.28658.qmail@web20004.mail.yahoo.com> --- Dar Scott wrote: > >> repeat with x = the number of controls of > group > >> "grpButtons" of stack down to 1 > > or > > put (the number of controls of group > "grpButtons" > > of stack) into tot > > repeat with x = tot down to 1 > > a little faster and you can see the total. > > from the Winkler book. > > On my system the first takes 30 microseconds > and the second takes about > 100. I get similar results if I include the > entire loop in the timing. > > Maybe this applies to an earlier 'card or the > book example is confusing. i was afraid something like this would happen. a recent DeVoto (co-author of The Book) posted that x is only calculated once. maybe that lets the former go faster. i still like seeing the total in a local variable when trouble shooting. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Tue Dec 10 21:21:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Dec 10 21:21:01 2002 Subject: Sequential Layout of Script-created Objects In-Reply-To: <20021211020451.28658.qmail@web20004.mail.yahoo.com> Message-ID: <20021211021549.50166.qmail@web20007.mail.yahoo.com> --- erik hansen wrote: > > --- Dar Scott wrote: > > >> repeat with x = the number of controls of > > group > > >> "grpButtons" of stack down to 1 > > > or > > > put (the number of controls of group > > "grpButtons" > > > of stack) into tot > > > repeat with x = tot down to 1 > > > a little faster and you can see the total. > > > from the Winkler book. > > > > On my system the first takes 30 microseconds > > and the second takes about > > 100. I get similar results if I include the > > entire loop in the timing. > > > > Maybe this applies to an earlier 'card or the > > book example is confusing. > > i was afraid something like this would happen. > a recent DeVoto (co-author of The Book) posted > that x is only calculated once. maybe that lets > the former go faster. i still like seeing the > total in a local variable when trouble > shooting. another thought: maybe size of the total has something to do with it. the former might be faster for 1000 loops slower for 10. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From dsc at swcp.com Tue Dec 10 21:25:00 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Dec 10 21:25:00 2002 Subject: Sequential Layout of Script-created Objects In-Reply-To: <20021211020451.28658.qmail@web20004.mail.yahoo.com> Message-ID: On Tuesday, December 10, 2002, at 07:04 PM, erik hansen wrote: > i was afraid something like this would happen. > a recent DeVoto (co-author of The Book) posted > that x is only calculated once. maybe that lets > the former go faster. Maybe the poster was thinking of something like this: repeat while n < the number of controls of group "grpbuttons" The "number of controls" function seems to be pretty fast, but there might be others not fast and it would be faster to not repeatedly count. An example might be "number of lines" for lots of lines. Dar Scott From erikhans08 at yahoo.com Tue Dec 10 21:44:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Dec 10 21:44:01 2002 Subject: Function Newbie question/Use of Transcript and Turtle Graphics in education In-Reply-To: Message-ID: <20021211023833.34108.qmail@web20010.mail.yahoo.com> --- Jim Hurley wrote: > Actually, TG in Revolution is pretty much a > finished product. The > biggest problem I was having was drawing speed. > The real breakthrough > came when Scott Rossi suggested using the > pencil tool rather than the > line tool. Remarkably, the pencil is nearly 6 > times as fast as the > line tool. I have no idea why. > > I have a demo stack which I could post to > RunRev's Educator's web > page as soon as it becomes operational. I > assume that is where this > material should go. In this demo stack there > are examples of: > > Planetary motion, > Voyager's slingshot motion around Jupiter, > Kepler's laws, > Physics of the rainbow, > Predator-prey theory and the incest taboo in > biology, > Illustration of a few geometrical theorems, > and, just for fun, > Some examples of recursive construction of > fractals.. > > Again, the intention is not to dazzle students > with these programs, > but to illustrate to teachers the potential for > Transcript and TG to > be used in a high school science/programming > course, allowing the > *students* to develop these programs for > themselves. > Jim Hurley Turtle Graphics (no longer just LOGO) got a lot of buzz a few years ago. math for the rest of us. i visited the Lamplighter School in Dallas, Texas. the program,supplied with many PCs by Texas Instruments, had been set up by Seymour Papert and enthusiasticly covered by Steward Brand in his book The Media Lab. when i was graciously given a tour, the Turtle Graphics users comprised one kid designing an arcade style video game and another noodling around without writing code. all the energy had moved over to Multimedia. the same thing was happening in the teaching lab at Cal Poly SLO, Califas. from what i have seen, it takes a teacher who loves math, loves graphic design, loves programming and loves teaching. when mac came out with LOGO for Mac, i was expecting clickable objects and programs that would let students learn even without that special teacher. what i saw was mainly line driven. not really much different than non-object oriented programming. to get Turtle Graphics back on the map will require standalone teacher-proof teaching sequences that capable teachers can extend in their own way. i still think TG is the most intuitive way to learn geometry and programming and look forward to the new release. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From alrice at swcp.com Wed Dec 11 03:57:01 2002 From: alrice at swcp.com (Alex Rice) Date: Wed Dec 11 03:57:01 2002 Subject: System Language In-Reply-To: Message-ID: On Monday, December 9, 2002, at 02:29 PM, Monte Goulding wrote: > > Maybe it's another setting that's changed? Actually I think that for > some > reason the engine thinks my system is en_us even though I have the > little > Australian flag in the menubar. I think you guys are confusing several different issues. 1) The input method language - The app menu with flags in it is for the input method 2) The language selection for applications and dialogs - $LANG environment variable - NSGlobalDomain 3) The weekday names 1) The application menu with flags on it is the "Input Menu". This is for setting input methods and keyboard layouts. One can switch input methods without switching the system & application language selection itself. For example if you had a Spanish keyboard but wanted apps to Display their UI in English. As far as I can tell, the Input Menu selection has no effect on either language selection itself. See the "Input Menu" tab on the International preferences panel. 2) Language selection. `defaults read NSGlobalDomain AppleLanguages` will always get you the current list. $LANG will show the 1st language in the list, but ONLY after a logout. I am surprised that $LANG is synchronized at all. In OS X, a lot of the BSD stuff is not exactly as one would expect, because it's just another layer along with Mach, Carbon and Cocoa. Anyways, the command `defaults read NSGlobalDomain AppleLanguages` will get the current setting, no logout required. See the "Language" tab on the International preferences panel. I tried find out the connection between $LANG and NSGlobalDomain but wound up in some pretty hairy "Unicode locale" API documentation. Oh well. If anyone is really interested in Unicode, maybe it would be a good way to waste a day. :-) 3) The weekday names. Although it's not exposed in the Preferences panel this IS a user default, and it's customizable. Don't depend on it for finding the language. The Apple developer docs say NSWeekDayNameArray is "An array that gives the names for the days of the week. Sunday should be the first day of the week." So, one could override the names of the days of the week and it would still work. However, I don't know if this is the same weekDayNames that RunRev is returning with it's system command. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From alrice at swcp.com Wed Dec 11 03:57:28 2002 From: alrice at swcp.com (Alex Rice) Date: Wed Dec 11 03:57:28 2002 Subject: how to share cards between substacks? In-Reply-To: Message-ID: On Tuesday, December 10, 2002, at 05:51 PM, Monte Goulding wrote: > you can open a card of one stack in the window of another stack so > that may > provide the effect you want. You will just need to keep track of which > stack > you opened it in so you can return to the correct card. That is an elegant way. But I think in my situation "copy" is better because I have already written handlers that scan for custom properties across all the cards in a stack. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From mike at flightline.co.uk Wed Dec 11 03:57:39 2002 From: mike at flightline.co.uk (Michael Foy) Date: Wed Dec 11 03:57:39 2002 Subject: 2.0 - (OT) Malt References: <90EE0319-0C97-11D7-AE9F-003065430226@internettrainer.com> Message-ID: <002a01c2a0ed$da7095e0$1965a4c2@essexweb.com> my little heart goes pitter-patter everytime I see a subject of "2.0", I will say no more here, since any response might delay it's arrival miock From richmond at mail.maclaunch.com Wed Dec 11 04:55:01 2002 From: richmond at mail.maclaunch.com (Mathewson) Date: Wed Dec 11 04:55:01 2002 Subject: PING-PONG-PANG Message-ID: Thank you very much for your advice: >> Hi Richmond, I guess you have been using Jpegs? I noticed, when I build for OS 9, only JPGs refuse to display directly from CD Rom. Using another Format (PNG in my case, but really big) solved the problem. Hope that helps, Malte >> DAMN: surely there must be a way not to have to convert and reimport 1000+ jpegs? The content is exactly the same on the CD-ROM as when it has been copied to a hard drive. Richmond Mathewson --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From wmb at internettrainer.com Wed Dec 11 05:18:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Dec 11 05:18:01 2002 Subject: Runrev as an expert system shell In-Reply-To: Message-ID: <274AF105-0CF1-11D7-88DE-003065430226@internettrainer.com> On Mittwoch, Dezember 11, 2002, at 12:43 Uhr, Richard Gaskin wrote: > Re: Runrev as an expert system shell > Reply-To: use-revolution at lists.runrev.com > > Alex Rice wrote: > >> After thinking about the wine expert system vs. scotch, I am wondering >> if people usually drink scotch with meals or not? It could start out >> with a question like this >> >> What is the occasion? >> 1) lounging at the club >> 2) cards or billiards game >> 3) with a meal >> 4) after a meal >> 5) getting schnockered with some old pals > > You forgot: > > 6) All of the above LOL and between of all ;) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From wmb at internettrainer.com Wed Dec 11 05:25:00 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Dec 11 05:25:00 2002 Subject: PING-PONG-PANG In-Reply-To: Message-ID: <0AA0172D-0CF2-11D7-88DE-003065430226@internettrainer.com> On Mittwoch, Dezember 11, 2002, at 10:14 Uhr, Mathewson wrote: > DAMN: surely there must be a way not to have to convert and > reimport 1000+ jpegs? There is a function in GraphicConverter to do convertion with a batch Maybe this helps to do this job... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From mcmanusm at kramergraphics.com Wed Dec 11 07:23:01 2002 From: mcmanusm at kramergraphics.com (Mike McManus) Date: Wed Dec 11 07:23:01 2002 Subject: send to program debuging In-Reply-To: Message-ID: How would you debug "send to program" commands used to send commands to other stacks when you are developing? To be more clear. My main stack sends commands to other freestanding stacks, which will be independent applications when built. Buut during the development process I don't want to compile things everytime I want to test it. Using IAC to create a server application that controls other stacks. They will talk between each other. Sending and replying after the complication of certain activities. The send command isn't exactly the same...and of course then I would have to go back and change the commands before I built the standalones. Ideas? From revolution at knowledgeworks.plus.com Wed Dec 11 07:32:00 2002 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Wed Dec 11 07:32:00 2002 Subject: Sequential Layout of Script-created Objects In-Reply-To: References: <20021211020451.28658.qmail@web20004.mail.yahoo.com> Message-ID: <200212111231.HAA11015@www.runrev.com> Dar, I am the original poster, and I am using something like you mention. > Maybe the poster was thinking of something like this: > > repeat while n < the number of controls of group "grpbuttons" > > The "number of controls" function seems to be pretty fast, but there > might be others not fast and it would be faster to not repeatedly > count. An example might be "number of lines" for lots of lines. I don't envisage the users including more than a few hundred lines (which in turn would require the deletion/creation of a few hundred controls). I've just done a test with 1000 lines. Refreshing the palette of buttons (deleting then creating the same number of controls) with 1000 lines. The whole operation takes about 7 seconds. This is far more entities than I envisage the user's requiring, and as this is a maintainenance operation that I don't think users will do more than once a day, I think the speed is probably acceptable. However, I noticed that sorting the lines of text is itself very much faster, so I may look at ways of bypassing the deletion/creation of all the buttons if there is a speed issue. It may be that it is better to re-layout the controls rather than to re-create them. From sschofield at computing.dundee.ac.uk Wed Dec 11 08:30:02 2002 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Wed Dec 11 08:30:02 2002 Subject: 2.0 - (OT) Malt Message-ID: <31C6D68FA597D411B04D00E02965883B010BABAA@mailhost> Just to be boringly pedantic, whiskey is US or Ireland, here in Scotland it's whisky. We're too stingy to waste an extra letter! Susie Dundee -----Original Message----- From: Wolfgang M. Bereuter [mailto:wmb at internettrainer.com] Sent: 10 December 2002 23:32 To: use-revolution at lists.runrev.com Subject: Re: 2.0 - (OT) Malt On Montag, Dezember 9, 2002, at 01:33 Uhr, Rod McCall wrote: > Ok, for what its worth I couldn't agree more. Even better for me > though I live next door (well for another month) to the Scottish Malt > Whiskey Society! Lets put it this way their menu is large and isn't > usually for food! I would not have said that from your point of view, because now you are on my "Malt-Guide"-search list, if I ever come to Scotland to "see" the Lagavulins life...;)) regards Wolfgang M. Bereuter Learn easy with trainingsmaps(c) INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From Timothy_Hart at umit.maine.edu Wed Dec 11 09:13:01 2002 From: Timothy_Hart at umit.maine.edu (Timothy Hart) Date: Wed Dec 11 09:13:01 2002 Subject: Another 2.0 Question Message-ID: Not to sounds impatient or anything. But where is it? I wouldn't be so curious if it wasn't for the fact that it was supposed to appear in November. We are now 11 days into December and it still isn't here. Just curious of what the hold up is. I know you want it perfect but something had to throw development of track if you thought it was going to be out in November. Just wondering what that is. -Tim From wmb at internettrainer.com Wed Dec 11 10:25:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Dec 11 10:25:01 2002 Subject: 2.0 - (OT) Malt In-Reply-To: <31C6D68FA597D411B04D00E02965883B010BABAA@mailhost> Message-ID: On Mittwoch, Dezember 11, 2002, at 02:22 Uhr, sschofield wrote: > Just to be boringly pedantic, whiskey is US or Ireland, here in > Scotland > it's whisky. We're too stingy to waste an extra letter! I know that ;)) But my other english fault are are not intended =;o) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From rcozens at pon.net Wed Dec 11 10:37:04 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Dec 11 10:37:04 2002 Subject: send to program debuging In-Reply-To: References: Message-ID: >My main stack sends commands to other freestanding stacks, which >will be independent applications when built. Hi Mike, From the Rev Dictionary: "The send command sends a message to an object." [Emphasis on "object"] I do not believe the send command can be used to communicate between to independent applications. Check out socket connections (all platforms), Apple events (Mac OS), and process commands (Windows & Unix) -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From mcompanys at mac.com Wed Dec 11 10:45:00 2002 From: mcompanys at mac.com (Manuel Companys) Date: Wed Dec 11 10:45:00 2002 Subject: Another 2.0 Question In-Reply-To: Message-ID: Le mercredi, 11 d?c 2002, ? 15:07 Europe/Paris, Timothy Hart a ?crit : > > I know you want it perfect > I'd like it at least to be able to sort not only by ASCII. Back in the eighties HyperCard could sort "International" (ignoring diacritics and case) and later on, also, according to the language the system was set to. Dealing with languages we need the choice between ASCI, "International" and "Language(s)" At least using externals. Too bad english has no accents! Manuel From janschenkel at yahoo.com Wed Dec 11 11:26:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Dec 11 11:26:01 2002 Subject: send to program debuging In-Reply-To: Message-ID: <20021211162038.72951.qmail@web11906.mail.yahoo.com> --- Mike McManus wrote: > How would you debug "send to program" commands used > to send commands to > other stacks when you are developing? To be more > clear. My main stack > sends commands to other freestanding stacks, which > will be independent > applications when built. Buut during the development > process I don't > want to compile things everytime I want to test it. > Using IAC to create > a server application that controls other stacks. > They will talk between > each other. Sending and replying after the > complication of certain > activities. The send command isn't exactly the > same...and of course > then I would have to go back and change the commands > before I built the > standalones. > > Ideas? > Well, like Rob pointed out, this will only work on a Mac. My approach to this particular situation would be to get hold of a second Mac, and run the 'main' and 'separate' stacks in a RunRev on each machine -- you _do_ have two licenses, don't you? *grin* Enter Script Debug Mode on each, and put a breakpoint on the AppleEvent handler in the stack script so that you can trap what message is actually sent and how it works its way from there. Reason: when you 'send to program', this is translated into sending an AppleEvent of class "misc" and type "dosc" -- unless you specify your own classID. You will have to resort to using AppleScript in order to get the correct name of the target program for the 'send to program' instruction, as the 'answer program' command is not supported in RunRev. Potentially useful link in the archives: http://lists.runrev.com/pipermail/use-revolution/2002-March/002882.html Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From pixelbird at interisland.net Wed Dec 11 11:49:00 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Wed Dec 11 11:49:00 2002 Subject: PING-PONG-PANG In-Reply-To: <200212110956.EAA07623@www.runrev.com> Message-ID: From: "Mathewson" Subject: PING-PONG-PANG To: use-revolution at lists.runrev.com Date: Wed, 11 Dec 2002 04:14:58 -0500 > DAMN: surely there must be a way not to have to convert and > reimport 1000+ jpegs? > > The content is exactly the same on the CD-ROM as when it has > been copied to a hard drive. ---------- Drop it onto QT's "Picture Viewer", or write a routine that does it. HTH, Ken N. From jhurley at infostations.com Wed Dec 11 11:57:01 2002 From: jhurley at infostations.com (Jim Hurley) Date: Wed Dec 11 11:57:01 2002 Subject: Use of Transcript and Turtle Graphics in education In-Reply-To: <200212110956.EAA07632@www.runrev.com> References: <200212110956.EAA07632@www.runrev.com> Message-ID: Erik Hansen wrote: > >to get Turtle Graphics back on the map will >require standalone teacher-proof teaching >sequences that capable teachers can extend in >their own way. i still think TG is the most >intuitive way to learn geometry and programming >and look forward to the new release. > >===== >erik at erikhansen.org http://www.erikhansen.org Ah, a kindred spirit! I have long had a special interest in using xTalk & TG as means to teach programing to science students. In 1985 I wrote a short book (Logo Physics, Holt Rinehart & Winston) hoping to kick start the process. It didn't fare very well. I don't think Logo is the right language. The primary appeal of Logo (a poor man's version of LISP) was TG. I have translated/revamped that book into a text for High School students but it exists only as a Word document at the present time. I am sure Erik is right about the serious roadblocks to putting x-Talk and TG into the the school curriculum. Most High Schools are very rigidly institutions. I have sent a Transcript/TG Demo stack to Heather to post on the Rev web site. (I hope it goes into the Educators page. I don't think this will have much appeal to developers. My apologies for taking up this much space already.) I can also include the Word ms. which might serve as an open-source text for such a course. As a physicist, you might imagine that the book is dominated by physics, and you would be right, but there is some biology and a fair bit of mathematics. Jim Hurley Emeritus Prof. of Physics, Univ. of Calif. -- Jim Hurley From bornstein at designeq.com Wed Dec 11 12:30:02 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Wed Dec 11 12:30:02 2002 Subject: PING-PONG-PANG (probs with jpegs on CD-ROM) Message-ID: <200212111724.gBBHOmk16944@mailout6-0.nyroc.rr.com> >I guess you have been using Jpegs? >I noticed, when I build for OS 9, only JPGs refuse to >display directly from >CD Rom. Using another Format (PNG in my case, but really >big) solved the >problem. > >Hope that helps, > >Malte >>> > >DAMN: surely there must be a way not to have to convert and >reimport 1000+ jpegs? Just as a point of reference, I released a CD-based app a few months ago with all the graphics as jpegs and they all work fine directly from the CD-ROM under OS9. Your problem may lay elsewhere. Are your graphics imported into the stacks or are they referenced? Also, which program did you create the jpegs in? I remember a strange problem with certain jpegs where when created in Photoshop, they wouldn't display in Rev. I had to read them into GraphicsConverter and save them back as jpegs. Then for some reason, Rev had no problem with them. Of course, this isn't much better than converting them to PNG. :-( You might try this with one of the jpegs that got "lost" to see if this is the case. Maybe the RR team can comment on Rev's sensitivity to certain jpeg formats. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From jswitte at bloomington.in.us Wed Dec 11 12:48:01 2002 From: jswitte at bloomington.in.us (James Witte) Date: Wed Dec 11 12:48:01 2002 Subject: Use of Transcript and Turtle Graphics in education In-Reply-To: Message-ID: > I have long had a special interest in using xTalk & TG as means to > teach programing to science students. In 1985 I wrote a short book What about a set of externals (or other IAC communication) to connect Revolution and StarLogo (http://education.mit.edu/starlogo/)? Jim From dan at clearvisiontech.com Wed Dec 11 13:06:00 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed Dec 11 13:06:00 2002 Subject: Saving the clipboard Message-ID: Richard, > You could also use "copy to " option or the "clone" command to > replicate objects without disturbing the clipboard. Thank you so much for the suggestion! It worked beautifully! - Dan From dsc at swcp.com Wed Dec 11 13:42:00 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Dec 11 13:42:00 2002 Subject: Use of Transcript and Turtle Graphics in education In-Reply-To: Message-ID: <4466A34A-0D37-11D7-95A8-0050E4C0B205@swcp.com> On Wednesday, December 11, 2002, at 10:42 AM, James Witte wrote: >> I have long had a special interest in using xTalk & TG as means to >> teach programing to science students. In 1985 I wrote a short book > > What about a set of externals (or other IAC communication) to connect > Revolution and StarLogo (http://education.mit.edu/starlogo/)? If network StarLogo has a published protocol and it is TCP/IP based, then this can probably be done without resorting to an external. Dar Scott From jacque at hyperactivesw.com Wed Dec 11 14:34:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Dec 11 14:34:01 2002 Subject: PING-PONG-PANG In-Reply-To: <200212110956.EAA07632@www.runrev.com> References: <200212110956.EAA07632@www.runrev.com> Message-ID: <3DF791D2.3000407@hyperactivesw.com> "Mathewson" wrote: > DAMN: surely there must be a way not to have to convert and > reimport 1000+ jpegs? > > The content is exactly the same on the CD-ROM as when it has > been copied to a hard drive. You know, I've been using jpgs in stacks which run from CDs for lots of projects and never had a problem with them, so I'd be surprised if the file format itself is the culprit. I can't think what it might be exactly, but some things to check are: 1. If the images are loaded from disk, check to make sure the file paths are correct when loaded from the CD. 2. Try setting the monitor's color depth to thousands. Does Rev display the images if you manually load one into a stack? Maybe they weren't saved in a standard jpg format? I'm pretty sure the problem has to be something other than the fact that they are jpgs. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From RGould8 at aol.com Wed Dec 11 14:38:00 2002 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed Dec 11 14:38:00 2002 Subject: Rev app to get HTML source from IE Message-ID: I'm trying to write a Revolution app that will get the HTML source from whatever page is presently displayed in IE. I need to have Revolution detect when the user has reached a certain page on a web-site, and react to that page after the user lands on it) Normally, this would not be a problem - - - I'd just have Revolution run an Applescript that says tell application "Internet Explorer" set htmlsource to GetSource end tell However, Applescript has a hard time with older versions of the Mac OS (8.1, 8.5, 8.6), where it displays that annoying "where is" dialog. Since I'm running Rev in OS 8.1, 8.5, 8.6, I also cannot use the "using terms from" command to allow Revolution to compile the GetSource call. GetSource in IE is apparently <> as a raw code call. I'm getting a "compiler error" in Revolution when I try to run this script. Since this is my first attempt at using raw codes, I could be just getting the syntax wrong. Here's what I've got so far: set creaType to "MSIE" tell application "Finder" to open application file id creaType tell application "Finder" to set appOfMine to (the first process whose creator type is (creaType as type class)) as <> tell application appOfMine ???? set theSource to <> ???? return theSource end tell -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan at clearvisiontech.com Wed Dec 11 14:52:01 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed Dec 11 14:52:01 2002 Subject: Saving the clipboard Message-ID: Whoops... I spoke to soon. I have a stack with 6 cards -- Stack "groupTemp". On each card is a group. The group on each card is named the same "objGroup" So, I do: Go card X of stack "groupTemp" Copy group "objGroup" of card X of stack "groupTemp" to card 1 of stack "myStack" Now, if we are on card 1 of stack "groupTemp", then everything is fine. However, if it is any other card, then the group is copied to stack "myStack" but the text property of fields in the objects within the copied group are empty. Any ideas? Thanks, Dan > Richard, > >> You could also use "copy to " option or the "clone" command to >> replicate objects without disturbing the clipboard. > > Thank you so much for the suggestion! It worked beautifully! > > - Dan From RGould8 at aol.com Wed Dec 11 15:03:00 2002 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed Dec 11 15:03:00 2002 Subject: Rev app to get HTML source from IE Message-ID: <5a.1559fc4c.2b28f278@aol.com> In a message dated 12/11/02 2:32:02 PM, RGould8 writes: > I'm trying to write a Revolution app that will get the HTML source from > whatever page is presently displayed in IE.? I need to have Revolution > detect when the user has reached a certain page on a web-site, and react to > that page after the user lands on it)? Normally, this would not be a > problem - - - I'd just have Revolution run an Applescript that says > > tell application "Internet Explorer" > set htmlsource to GetSource > end tell > > However, Applescript has a hard time with older versions of the Mac OS > (8.1, 8.5, 8.6), where it displays that annoying "where is" dialog.? Since > I'm running Rev in OS 8.1, 8.5, 8.6, I also cannot use the "using terms > from" command to allow Revolution to compile the GetSource call.? GetSource > in IE is apparently <> as a raw code call.? I'm getting a > "compiler error" in Revolution when I try to run this script.? Since this > is my first attempt at using raw codes, I could be just getting the syntax > wrong.? Here's what I've got so far: > > set creaType to "MSIE" > tell application "Finder" to open application file id creaType > > tell application "Finder" to set appOfMine to (the first process whose > creator type is (creaType as type class)) as <> > > tell application appOfMine > ???? set theSource to <> > ???? return theSource > end tell > Whoops - - - realized I mistyped - - - that should say <>, which fixes the problem with that raw code - - - - althought I still have an error with line 3. -------------- next part -------------- An HTML attachment was scrubbed... URL: From RGould8 at aol.com Wed Dec 11 15:08:01 2002 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed Dec 11 15:08:01 2002 Subject: Rev app to get HTML source from IE - SOLVED! Message-ID: <1a4.d5fdc1d.2b28f381@aol.com> Thanks to some kind folks over at the AppleScript listerve, I finally got this script working in Revolution. Ignore my previous question - - - it's all answered now. Line 3 needed to say NAME OF the first process.... set creaType to "MSIE" tell application "Finder" to open application file id creaType tell application "Finder" to set appOfMine to (the name of the first process whose creator type is "MSIE") tell application appOfMine set theSource to ?event MSIESORC? display dialog "source = " & theSource end tell -------------- next part -------------- An HTML attachment was scrubbed... URL: From monte at sweattechnologies.com Wed Dec 11 16:22:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Dec 11 16:22:01 2002 Subject: Another 2.0 Question In-Reply-To: Message-ID: Just a stab in the dark but I'd say they are waiting for the engine to be complete. Raney's on Beta 1 so they probably have a few more weeks yet. Cheers Monte From mcompanys at mac.com Wed Dec 11 16:29:01 2002 From: mcompanys at mac.com (Manuel Companys) Date: Wed Dec 11 16:29:01 2002 Subject: 2.0 - (OT) Malt In-Reply-To: <31C6D68FA597D411B04D00E02965883B010BABAA@mailhost> Message-ID: > Just to be boringly pedantic, whiskey is US or Ireland, here in > Scotland > it's whisky. We're too stingy to waste an extra letter! > > On Montag, Dezember 9, 2002, at 01:33 Uhr, Rod McCall wrote: > >> Ok, for what its worth I couldn't agree more. Even better for me >> though I live next door (well for another month) to the Scottish Malt >> Whiskey Society! Lets put it this way their menu is large and isn't >> usually for food The first time I went to the United States I was surprised to get Burbon no mater I had ordered Wiskey or Whisky [ my foreign accent wouldn't make it possible to recognize wether or not the E was there, anyway ;-) ]. 'Whisk(e)y is used for Rye or Burbon', I was told. 'If you want scotch, then say scotch' Moreover, I want pure malt Scotch! Manuel -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 862 bytes Desc: not available URL: From Timothy_Hart at umit.maine.edu Wed Dec 11 16:31:00 2002 From: Timothy_Hart at umit.maine.edu (Timothy Hart) Date: Wed Dec 11 16:31:00 2002 Subject: Another 2.0 Question In-Reply-To: References: Message-ID: use-revolution at lists.runrev.com writes: >Just a stab in the dark but I'd say they are waiting for the engine to be >complete. Raney's on Beta 1 so they probably have a few more weeks yet. So how did they think that it was going to ship in November. -Tim From monte at sweattechnologies.com Wed Dec 11 16:49:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Dec 11 16:49:01 2002 Subject: Another 2.0 Question In-Reply-To: Message-ID: > use-revolution at lists.runrev.com writes: > >Just a stab in the dark but I'd say they are waiting for the engine to be > >complete. Raney's on Beta 1 so they probably have a few more weeks yet. > > So how did they think that it was going to ship in November. > Well I'd say that the expected date for the engine was about then but a 2 month discussion about the Drag and Drop API on the xTalks list slowed everything down. But it could have been anything. With 2.0 the RunRev team is attempting to close the gap between MC builds and Rev builds. That means there is two development timelines that need to converge. Two lots of testing. A hell of a lot of work to deliver a stable product. If we see it before Jan then it will be a miracle! It will be a great product and well worth the wait. Cheers Monte From info at pixelmedia.com.au Wed Dec 11 17:00:02 2002 From: info at pixelmedia.com.au (Igor de Oliveira Couto) Date: Wed Dec 11 17:00:02 2002 Subject: Copying a group does not copy all properties of group items Message-ID: Hey, all! I have been working solidly with Revolution for the last couple of days, and have noticed some very, very strange things happening. I was wondering whether the more experienced users could shed some light. I created a stack with several cards. Card 1 has a scrollable list field on the left, and a couple of buttons above - one for adding items to the list, another for deleting. Every time the user ADDS an item to the list, I need a GROUP of objects to be added to the card - these are the objects that specify parameters for the item the user has selected in the list. Each group has a several fields, a few checkboxes, and a radio button sub-group. Instead of having to setup each new group that is created via script, I went to the last card in the stack, and made a 'template' group. This group is setup with the appropriate default values for its items (some checkboxes are ticked, one of the radio buttons is selected). Back on the first card of the stack, all I do in my script is COPY the group from the last card to the first, and then rename it, when the user adds an item to their list. The problem: when the template group is copied from the last card to the first, the checkboxes and radio button settings are LOST - the group appears with all items deselected. Checking the stored value of these items' properties by using the messagebox, I see that they are either empty, or set to false - even though the group they were supposed to be copying had these properties as 'true'. More to the point: if I manually (not via script) go to the last card, select the group, copy it, go to the first card, and paste it, the items in the group KEEP their hilites! Can anyone tell me what is going on? Will I have to write a script to check the hilites, one by one, of all items in the copied group, and make sure that they are the same as the original group? Many thanks, -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From dan at clearvisiontech.com Wed Dec 11 17:10:01 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed Dec 11 17:10:01 2002 Subject: Copying a group does not copy all properties of group items Message-ID: Igor, I have the same problem. If I use: Copy group "x" of card y to card z It performs just as you are describing. However, if I do this: Lock screen Go cd y Select group "x" Copy Go cd 1 paste Then it works fine. This behavior is not good for me because I don't want to destroy the clipboard. But, perhaps it will work for you. -Dan > The problem: when the template group is copied from the last card to > the first, the checkboxes and radio button settings are LOST - the > group appears with all items deselected. Checking the stored value of > these items' properties by using the messagebox, I see that they are > either empty, or set to false - even though the group they were > supposed to be copying had these properties as 'true'. More to the > point: if I manually (not via script) go to the last card, select the > group, copy it, go to the first card, and paste it, the items in the > group KEEP their hilites! From info at pixelmedia.com.au Wed Dec 11 17:10:11 2002 From: info at pixelmedia.com.au (Igor de Oliveira Couto) Date: Wed Dec 11 17:10:11 2002 Subject: Keeping the hilitedLine of a scrolling list field Message-ID: <5711AD6A-0D54-11D7-9C24-000393AD9396@pixelmedia.com.au> Dear Rev Friends, I need to keep the hilitedLine of a certain scrolling list field of a card, so that if the user leaves the card while an item in the list is selected, then comes back to the same card later, the same item is still selected in the list. I also need to save the hilitedLine from session to session, so that next time the user opens the stack that line will still be selected. I tried saving the hilitedLine into a custom property, whenever it is changed (selectionChanged, arrowKey, mouseRelease). That part is working fine - it does, indeed, know which line is SUPPOSED to be hilited. However, the problem for me has been to try and get the *&^%^*#@#$ line to hilite when the user re-enters the card! I've tried putting commands to set the hilitedLine on openCard and on preOpenCard, but it just does not work... Interesting side note: if the user moves from card to card by using the arrow keys on the keyboard, Revolution AUTOMATICALLY 'saves' the hilitedLine. If the user uses a background button group (which is what I am doing) then it does not... All help/suggestions are greatly appreciated. Kind Regards, -- Igor ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From info at pixelmedia.com.au Wed Dec 11 17:17:01 2002 From: info at pixelmedia.com.au (Igor de Oliveira Couto) Date: Wed Dec 11 17:17:01 2002 Subject: Copying a group does not copy all properties of group items In-Reply-To: Message-ID: <4306A648-0D55-11D7-9C24-000393AD9396@pixelmedia.com.au> Dear Dan, Thank you for your response! On Thursday, December 12, 2002, at 08:51 AM, Dan Friedman wrote: > Then it works fine. This behavior is not good for me because I don't > want > to destroy the clipboard. But, perhaps it will work for you. > Same here - I need to keep the user's clipboard... I was really excited to read the description of the 'copy' command in the Transcript Dictionary because it specifically mentions that the clipboard will be untouched! I wonder if anyone else has found a workaround? Kind Regards, -- Igor ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From info at pixelmedia.com.au Wed Dec 11 17:24:01 2002 From: info at pixelmedia.com.au (Igor de Oliveira Couto) Date: Wed Dec 11 17:24:01 2002 Subject: Geometry Manager Problems Message-ID: <43FFDE60-0D56-11D7-9C24-000393AD9396@pixelmedia.com.au> Has anyone else noticed quirky behaviour with the Geometry Manager? I have a stack with several objects, which - according to the Geometry Manager - are supposed to resize when the card/stack resizes. I've made sure that I've got these objects to resize to a SPECIFIC distance to the stack border, NOT a percentage. Two problems: 1) Some objects simply do not resize. I have a horizontal line, for instance, which is part of a group in card 'A'. There are 2 other horizontal lines in the same group. All 3 lines are supposed to scale to 2 pixels from the right border of the card, whenever the card resizes. 2 lines do it, one doesn't. I've tried checking all properties of the 3 lines, to see if there is any difference between them, but...zilch... 2) My objects that are set to resize automatically are in card 'A'. If I resize the stack while in card 'A', they (mostly) resize. If I go to card 'B', and THEN resize the stack, then come back to card 'A', NONE of them have resized... What gives? Should I abandon the Geometry Manager and hard-code the resizing? Am I missing out on something obvious and doing something silly? Any help appreciated! Cheers, -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From dan at clearvisiontech.com Wed Dec 11 17:29:00 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed Dec 11 17:29:00 2002 Subject: Spool Format Message-ID: Hello again... Does anyone know the format of a spooled print file that is produced by Revolution on Windows? Is it PostScript? Is it encoded in anyway? ANY insight would be helpful! Thank you!! Dan From gslj at intergate.ca Wed Dec 11 17:36:01 2002 From: gslj at intergate.ca (Gareth Jones) Date: Wed Dec 11 17:36:01 2002 Subject: (no subject) Message-ID: Hello, people I have an Address stack that I use daily. Too often, however, I click on it with the arrow cursor instead of the "hand" cursor. I would like to add a command to the OpenStack handler that would set the cursor to "hand." Unfortunately, this doesn't do the trick: on openStack set the cursor to "hand" end openStack Any suggestions? -Gareth From info at pixelmedia.com.au Wed Dec 11 17:48:01 2002 From: info at pixelmedia.com.au (Igor de Oliveira Couto) Date: Wed Dec 11 17:48:01 2002 Subject: Hand/Arrow Cursors In-Reply-To: Message-ID: Dear Gareth, > I have an Address stack that I use daily. Too often, however, I click > on it with the arrow cursor instead of the "hand" cursor. I would like > to add a command to the OpenStack handler that would set the cursor to > "hand." Unfortunately, this doesn't do the trick: > > on openStack > set the cursor to "hand" > end openStack > > Any suggestions? > I think, if I understood correctly, that you have the POINTER TOOL selected (which gives you an 'arrow' cursor), instead of the BROWSER TOOL (which gives you the 'hand' cursor). If that is the case, try this: on openStack choose browse tool end openStack I hope this helps. Kind Regards, -- Igor ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From alex at mindlube.com Wed Dec 11 17:52:00 2002 From: alex at mindlube.com (Alex Rice) Date: Wed Dec 11 17:52:00 2002 Subject: report printing advice Message-ID: <68259694-0D5A-11D7-894E-000393529642@mindlube.com> Looks like I'm going to have to tackle this in 1.1.1 and not wait for the new printing features in 2.0. I've got a scrolling group with about 20 fields in it. This is a report with several sections, and both right aligned columns and left aligned columns. That's why it's not one single field. I must print the group with headers and footers on each page. It's probably going to be several pages. It seems like the best way to go would be to lock the screen and copy each field onto a blank card, and then use "print card [from topleft to rightbottom] [into pageRect]" and "print break" commands to lay out the pages one chunk at a time. Print the headers and footers in a similar manner. This is going to be a problem because I have fields that are side by side columns, that are going to cross page boundaries. Any suggestions? Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From erikhans08 at yahoo.com Wed Dec 11 18:01:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Dec 11 18:01:01 2002 Subject: Use of Transcript and Turtle Graphics in education In-Reply-To: Message-ID: <20021211225529.51259.qmail@web20010.mail.yahoo.com> --- Jim Hurley wrote: > Erik Hansen wrote: > > > >to get Turtle Graphics back on the map will > >require standalone teacher-proof teaching > >sequences that capable teachers can extend in > >their own way. i still think TG is the most > >intuitive way to learn geometry and > programming > >and look forward to the new release. > Ah, a kindred spirit! > > I have long had a special interest in using > xTalk & TG as means to > teach programing to science students. In 1985 I > wrote a short book > (Logo Physics, Holt Rinehart & Winston) hoping > to kick start the > process. > > It didn't fare very well. I don't think Logo is > the right language. The primary appeal of Logo > (a poor man's version of LISP) was TG. i used your book from the Cal Poly SLO library and got a lot out of it. the bouncing ball... > I have translated/revamped that book into a > text for High School students but it exists > only as a Word document at the present time. > > I am sure Erik is right about the serious > roadblocks to putting > x-Talk and TG into the the school curriculum. > Most High Schools are > very rigidly institutions. i was thinking more about the need for tutorials that would stand alone in case capable teachers are absent. > I have sent a Transcript/TG Demo stack to > Heather to post on the Rev > web site. (I hope it goes into the Educators > page. I don't think > this will have much appeal to developers. My > apologies for taking up > this much space already.) if students learn to program, they will get more out of the developers' work! > I can also include the Word ms. which might > serve as an open-source text for such a course. > > As a physicist, you might imagine that the book > is dominated by > physics, and you would be right, but there is > some biology and a fair > bit of mathematics. > > Jim Hurley > Emeritus Prof. of Physics, Univ. of Calif. > -- > Jim Hurley ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From bvlahos at mac.com Wed Dec 11 18:10:00 2002 From: bvlahos at mac.com (Bill Vlahos) Date: Wed Dec 11 18:10:00 2002 Subject: Printing parameters Message-ID: Can Rev 1.1.1 get information from the Print Setup parameters? I would like to be able to know from the print driver what the size and paper orientation is. I don't see any reference to it in the docs. Thanks, Bill Vlahos From monte at sweattechnologies.com Wed Dec 11 18:14:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Dec 11 18:14:01 2002 Subject: (no subject) In-Reply-To: Message-ID: open it as a palette > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Gareth Jones > Sent: Thursday, 12 December 2002 8:55 AM > To: use-revolution at lists.runrev.com > Subject: (no subject) > > > Hello, people > > I have an Address stack that I use daily. Too often, however, I click > on it with the arrow cursor instead of the "hand" cursor. I would > like to add a command to the OpenStack handler that would set the > cursor to "hand." Unfortunately, this doesn't do the trick: > > on openStack > set the cursor to "hand" > end openStack > > Any suggestions? > > -Gareth > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From erikhans08 at yahoo.com Wed Dec 11 18:20:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Dec 11 18:20:01 2002 Subject: Another 2.0 Question In-Reply-To: Message-ID: <20021211231445.55470.qmail@web20010.mail.yahoo.com> --- Timothy Hart wrote: > use-revolution at lists.runrev.com writes: > >Just a stab in the dark but I'd say they are > waiting for the engine to be > >complete. Raney's on Beta 1 so they probably > have a few more weeks yet. > > So how did they think that it was going to ship > in November. i would assume they had the kind of unanticipated debugging problems we all run into x 100K. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From alanIra9 at mac.com Wed Dec 11 20:27:01 2002 From: alanIra9 at mac.com (Alan Gayne) Date: Wed Dec 11 20:27:01 2002 Subject: Keeping the hilitedLine of a scrolling list field In-Reply-To: <5711AD6A-0D54-11D7-9C24-000393AD9396@pixelmedia.com.au> Message-ID: Hi Igor you might want to try this: on mouseUp -- in the list fld - fld "myList" put word 2 of the clickline into lineNum set the cHilitedLine of this card to lineNum end mouseUp on preOpenCard set the hilitedLines of fld "myList" to cHilitedLine of this card end preOpenCard I think that should do the trick since I have successfully used a variation of this in a list dialog I've built Let me know how you make out. Alan On Wednesday, December 11, 2002, at 05:03 PM, Igor de Oliveira Couto wrote: > Dear Rev Friends, > > I need to keep the hilitedLine of a certain scrolling list field of a > card, so that if the user leaves the card while an item in the list is > selected, then comes back to the same card later, the same item is > still selected in the list. I also need to save the hilitedLine from > session to session, so that next time the user opens the stack that > line will still be selected. > > I tried saving the hilitedLine into a custom property, whenever it is > changed (selectionChanged, arrowKey, mouseRelease). That part is > working fine - it does, indeed, know which line is SUPPOSED to be > hilited. However, the problem for me has been to try and get the > *&^%^*#@#$ line to hilite when the user re-enters the card! I've tried > putting commands to set the hilitedLine on openCard and on > preOpenCard, but it just does not work... > > Interesting side note: if the user moves from card to card by using > the arrow keys on the keyboard, Revolution AUTOMATICALLY 'saves' the > hilitedLine. If the user uses a background button group (which is what > I am doing) then it does not... > > All help/suggestions are greatly appreciated. > > Kind Regards, > -- > Igor > ---------------------------------- > igor at pixelmedia.com.au > ---------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Jmicha5059 at aol.com Wed Dec 11 21:38:01 2002 From: Jmicha5059 at aol.com (Jmicha5059 at aol.com) Date: Wed Dec 11 21:38:01 2002 Subject: Whiskey vs Whiskey Message-ID: <189.12679194.2b294f15@aol.com> As a reformed American bartender, I would like to add my 2 cents. In the American South, Whiskey means Burbon. There are essentially two Burbons, Sour Mash, like Jack Daniels, or Straight Burbon. In other parts of the US, Whiskey means Rye Whiskey. If you want Irish or Scottish Whiskey, then preface your order with these names, or mention the specific brand name. Since early American settlers drank cheap corn and grain whiskeys like water, the moonshine they made in the back yard acquired the generic name "Whiskey". Americans have a long, honorable history of making cheap potent home brew and grain whiskey is probably the easiest to make. Let's not forget the Great Whiskey Rebelion. Mike Williams http://www.brainmetric.com From mdswindell at charter.net Wed Dec 11 21:47:00 2002 From: mdswindell at charter.net (Mark Swindell) Date: Wed Dec 11 21:47:00 2002 Subject: Adding splash screen as main stack In-Reply-To: <31C6D68FA597D411B04D00E02965883B010BABAA@mailhost> Message-ID: How do I exchange the status of main stack and substack? I need to main a splash be the main stack... right now it isn't. Where can I set this, or must I start over and import the current mainstack as a substack or somesuch? Thanks, Mark From monte at sweattechnologies.com Wed Dec 11 22:07:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Dec 11 22:07:01 2002 Subject: Adding splash screen as main stack In-Reply-To: Message-ID: Click on the stackFile icon in App Overview Flip out the properties bit click on the show stack mover widget at the bottom Click on the Select... button next to the field labeled main stack Choose your new mainstack Cheers Monte > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Mark Swindell > Sent: Thursday, 12 December 2002 1:11 PM > To: use-revolution at lists.runrev.com > Subject: Adding splash screen as main stack > > > How do I exchange the status of main stack and substack? I need to main a > splash be the main stack... right now it isn't. Where can I set this, or > must I start over and import the current mainstack as a substack or > somesuch? > > Thanks, > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From themacguy at macosx.com Wed Dec 11 22:31:01 2002 From: themacguy at macosx.com (Barry Levine) Date: Wed Dec 11 22:31:01 2002 Subject: Groups Message-ID: <5A6316A6-0D81-11D7-BD51-000393AAEF66@macosx.com> Does anyone else think that the following explanation of this property is counter-intuitive? > When you click a grouped control, you can select either the control > itself or the group of which it?s a part. Which one is selected is > controlled by the selectGroupedControls property. If this property is > true, clicking a grouped control selects only the control. If it is > false, clicking any control in a group selects the group. Hmmm.... so if the selectGroupedControls is true my ability to select the group is false but if the property is false my ability to do so is true. Are you sure that an accountant didn't define this property? Debits and credits and bears, oh my! ;-) From ambassador at fourthworld.com Wed Dec 11 22:46:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Dec 11 22:46:01 2002 Subject: Groups In-Reply-To: <5A6316A6-0D81-11D7-BD51-000393AAEF66@macosx.com> Message-ID: Barry Levine wrote: > Does anyone else think that the following explanation of this property > is counter-intuitive? > >> When you click a grouped control, you can select either the control >> itself or the group of which it?s a part. Which one is selected is >> controlled by the selectGroupedControls property. If this property is >> true, clicking a grouped control selects only the control. If it is >> false, clicking any control in a group selects the group. > > Hmmm.... so if the selectGroupedControls is true my ability to select > the group is false but if the property is false my ability to do so is > true. Seems clear enough: it's the controls within the group being discussed, not the group itself. Think of it as the subselect tool in most drawing programs (that's how I've implemented it in a drawing package I'm working on). > Are you sure that an accountant didn't define this property? Debits and > credits and bears, oh my! It gets worse if you work in a bank, as the difinitions od debits and credits flip depending on which side of the teller window you're on. ;) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From monte at sweattechnologies.com Wed Dec 11 22:51:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Dec 11 22:51:00 2002 Subject: Groups In-Reply-To: <5A6316A6-0D81-11D7-BD51-000393AAEF66@macosx.com> Message-ID: > > > Does anyone else think that the following explanation of this property > is counter-intuitive? > > > When you click a grouped control, you can select either the control > > itself or the group of which it?s a part. Which one is selected is > > controlled by the selectGroupedControls property. If this property is > > true, clicking a grouped control selects only the control. If it is > > false, clicking any control in a group selects the group. > > Hmmm.... so if the selectGroupedControls is true my ability to select > the group is false but if the property is false my ability to do so is > true. > > Are you sure that an accountant didn't define this property? Debits and > credits and bears, oh my! > I think it's quite clear. The property allows you to select grouped controls. If it allowed you to select groups then that would be it's name selectGroups. From jmac at consensustech.com Wed Dec 11 23:51:01 2002 From: jmac at consensustech.com (Jim MacConnell) Date: Wed Dec 11 23:51:01 2002 Subject: Bourbon vs Burbon (OT) In-Reply-To: <189.12679194.2b294f15@aol.com> Message-ID: > In the American South, Whiskey means Burbon. Okay.... you got me going now. I grew up in the deep South and my mark of distinction as a young lad was drinking Bourbon and Coke... God knows why as I look back on it through the fog of too many decades. But I never ever had a Burbon and Coke. While the Scots may be frugal with letters, let's not over do it and ruin a perfectly good whiskey. From the dictionary.... Bourbon definition #4) Also called bourbon whiskey. a straight whiskey distilled from a mash having 51% or more corn: orig. the corn whiskey produced in Bourbon County, Kentucky (USA)..... The first three definitions all have to do with royalty and political persuasion... So... Wisk me to the whiskey cuz the bourbon's a burden..... Sorry about the bad pun-like fun. Better than wining. jim From switchedon at hsj.com Thu Dec 12 00:14:01 2002 From: switchedon at hsj.com (Bill Lynn) Date: Thu Dec 12 00:14:01 2002 Subject: Scotch By Any Other Name [was Re: 2.0 - (OT) Malt] In-Reply-To: <200212112315.SAA30394@www.runrev.com> Message-ID: > 'If you want scotch, then say scotch' > Moreover, I want pure malt Scotch! Here in the US if you simply ask for "scotch" you're more likely to get blended scotch (i.e. a blend of malt and grain whiskies). They're the highest selling scotch whiskies in the US (e.g. Chivas Regal, Cutty Sark, J&B, Johnny Walker, Dewars and many others). If you want a single malt scotch you have to ask for it specifically. There are more than 100 single malt distilleries in Scotland. The two highest selling single malts here in the U.S. are Glen Livet and Glen Fiddich, both Speyside malts. I've also seen one or two varieties of Glenmorangie (a Highland malt) at some specialty liquor stores here in Connecticut. It's not that easy to get a wide range of single malts here due to the import laws. Cheers... Bill Lynn Simtech Publications www.hsj.com From monte at sweattechnologies.com Thu Dec 12 01:10:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Dec 12 01:10:01 2002 Subject: Scotch By Any Other Name [was Re: 2.0 - (OT) Malt] In-Reply-To: Message-ID: Anyone would think this was an AA list ;-) > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Bill Lynn > Sent: Thursday, 12 December 2002 3:38 PM > To: use-revolution at lists.runrev.com > Subject: Scotch By Any Other Name [was Re: 2.0 - (OT) Malt] > > > > 'If you want scotch, then say scotch' > > Moreover, I want pure malt Scotch! > > Here in the US if you simply ask for "scotch" you're more likely to get > blended scotch (i.e. a blend of malt and grain whiskies). They're the > highest selling scotch whiskies in the US (e.g. Chivas Regal, Cutty Sark, > J&B, Johnny Walker, Dewars and many others). If you want a single malt > scotch you have to ask for it specifically. There are more than 100 single > malt distilleries in Scotland. The two highest selling single > malts here in > the U.S. are Glen Livet and Glen Fiddich, both Speyside malts. I've also > seen one or two varieties of Glenmorangie (a Highland malt) at some > specialty liquor stores here in Connecticut. It's not that easy to get a > wide range of single malts here due to the import laws. > > Cheers... Bill Lynn > Simtech Publications > www.hsj.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From carstenlist at itinfo.dk Thu Dec 12 01:43:01 2002 From: carstenlist at itinfo.dk (Carsten Levin) Date: Thu Dec 12 01:43:01 2002 Subject: Release scedule ... etc In-Reply-To: <200212112316.SAA30525@www.runrev.com> Message-ID: > So how did they think that it was going to ship in November. > > -Tim Its always very difficult to scedule a sw-development process. I just think that maybe RunRev should keep us a little more updated on whats causing the delays, and thereby making us understand the situaition. And please, lets not build up to a situation where the developers are demanding fast or precise release scedules. We need the released product to be thrustworty and safe ... so that we can put our development of existing and near existing systems into it without risking our work! Keep up the good work, and keep us informed. Best regards Carsten Levin From dvk at dvkconsult.com.au Thu Dec 12 01:44:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Thu Dec 12 01:44:01 2002 Subject: Scotch By Any Other Name [was Re: 2.0 - (OT) Malt] In-Reply-To: Message-ID: <50037AF2-0D9C-11D7-B4C1-000393598038@dvkconsult.com.au> On Thursday, Dec 12, 2002, at 17:04 Australia/Sydney, Monte Goulding wrote: > > Anyone would think this was an AA list ;-) > snip >> There are more than 100 single >> malt distilleries in Scotland. The two highest selling single >> malts here in >> the U.S. are Glen Livet and Glen Fiddich, both Speyside malts. I've >> also >> seen one or two varieties of Glenmorangie (a Highland malt) at some >> specialty liquor stores ... After the "Glens" try Lagavulin and Laphroaig for completely different tastes, especially the latter one. 5 down, more than 95 to go... cheers David >> >> Cheers... Bill Lynn >> Simtech Publications >> www.hsj.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 wmb at internettrainer.com Thu Dec 12 04:51:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Dec 12 04:51:01 2002 Subject: Release scedule ... etc In-Reply-To: Message-ID: <8C63C10E-0DB6-11D7-9590-003065430226@internettrainer.com> On Donnerstag, Dezember 12, 2002, at 07:37 Uhr, Carsten Levin wrote: > Keep up the good work, and keep us informed. *Yes pls... keep us informed!!!* regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From peter.fink at tiscali.ch Thu Dec 12 06:24:00 2002 From: peter.fink at tiscali.ch (Peter Fink) Date: Thu Dec 12 06:24:00 2002 Subject: menus: menu item numbers? Message-ID: <000001c2a1cf$f71a66c0$020ca8c0@ego> Is it possible to work with menu items by item number, instead of by name (label)? I would need it - to set the currently selected item ("set the menuItem of btn "optionmenu" to 3") - to find the currently selected item ("put the menuItem of btn "optionmenu" into V") instead of the scripted workarounds: - setting the label myself ("set the label of btn "optionmenu" to line 3 of btn "optionmenu") and on menupick pItem - finding the item number myself ("put lineoffset(pItem,text of btn "optionmenu") into V") Peter From janschenkel at yahoo.com Thu Dec 12 06:55:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Dec 12 06:55:01 2002 Subject: menus: menu item numbers? In-Reply-To: <000001c2a1cf$f71a66c0$020ca8c0@ego> Message-ID: <20021212114949.85025.qmail@web11901.mail.yahoo.com> --- Peter Fink wrote: > Is it possible to work with menu items by item > number, instead of by name > (label)? > > I would need it > - to set the currently selected item ("set the > menuItem of btn "optionmenu" > to 3") > - to find the currently selected item ("put the > menuItem of btn "optionmenu" > into V") > > instead of the scripted workarounds: > - setting the label myself ("set the label of btn > "optionmenu" to line 3 of > btn "optionmenu") > and on menupick pItem > - finding the item number myself ("put > lineoffset(pItem,text of btn > "optionmenu") into V") > > Peter > Hi Peter, Have a look at the entry for the 'menuHistory' property in the Transcript Dictionary. 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From jamesjrichards at lineone.net Thu Dec 12 07:30:01 2002 From: jamesjrichards at lineone.net (James Richards) Date: Thu Dec 12 07:30:01 2002 Subject: use-revolution digest, Vol 1 #927 - 16 msgs In-Reply-To: <200212112315.SAA30380@www.runrev.com> Message-ID: on Wed, 11 Dec 2002 22:23:01 +0100, Manuel Companys wrote: >> Just to be boringly pedantic, whiskey is US or Ireland, here in >> Scotland it's whisky. > The first time I went to the United States I was surprised to get > 'Whisk(e)y is used for Rye or Burbon', I was told. > > 'If you want scotch, then say scotch' Like other staple goods ;-) the name gets applied to the indiginised prodcut - corn can be maize wheat or oats (others too for all I know). In Banffshire (Scot.) in my youth 'bread' meant oatcakes. If you wanted a leavened wheat loaf it was 'loaf'. Could 'Revolution' become the default term for application development software (obvious attempt to introduce on-topic element and to improve chances of gaining whisky) James -- James J Richards jamesjrichards at lineone.net Tel. +44 (0)15394 43063 From rodmc at runrev.com Thu Dec 12 08:12:01 2002 From: rodmc at runrev.com (Rod McCall) Date: Thu Dec 12 08:12:01 2002 Subject: Scotch By Any Other Name [was Re: 2.0 - (OT) Malt] In-Reply-To: <50037AF2-0D9C-11D7-B4C1-000393598038@dvkconsult.com.au> References: Message-ID: <5.1.0.14.2.20021212124627.029649d8@mail.spamcop.net> At 17:38 12/12/2002 +1100, David Vaughan wrote: >On Thursday, Dec 12, 2002, at 17:04 Australia/Sydney, Monte Goulding wrote: >After the "Glens" try Lagavulin and Laphroaig for completely different >tastes, especially the latter one. > >5 down, more than 95 to go... >cheers There are quite a few and I am sure I've not tasted all of them yet :-) The two you mention are among my favorites although I am sure there are some better ones. If anyone is interested you can do a whisky tour of Scotland and savour our many (alcoholic) delights. Also if anyone wants more information have a look at the Scottish Malt Whisky Society: http://www.smws.com/ As well as offering whisky they have a nice place to meet and offer cheap accommodation to members. You can also join if you don't live in the UK as they have various branches abroad. For those who prefer beer why not try those brewed by the Caledonian brewery (http://www.caledonian-brewery.co.uk/), or if you want something stronger try Orkney Skull Splitter :-) I can assure you it lives up to its name! (http://www.beerme.com/breweries/gb/sc/3071.shtml) cheers, rod Rod McCall Runtime Revolution Ltd Revolution - The Solution for Software Development tel: +44 (0) 870 747 1165 fax: +44 (0) 131 718 4334 Shameless book plug: Designing Information Spaces: The Social Navigation Approach From steve at messimercomputing.com Thu Dec 12 09:12:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Thu Dec 12 09:12:01 2002 Subject: Copying groups In-Reply-To: <200212112315.SAA30394@www.runrev.com> Message-ID: on 12/11/02 6:15 PM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > The problem: when the template group is copied from the last card to > the first, the checkboxes and radio button settings are LOST - the > group appears with all items deselected. Checking the stored value of > these items' properties by using the messagebox, I see that they are > either empty, or set to false - even though the group they were > supposed to be copying had these properties as 'true'. More to the > point: if I manually (not via script) go to the last card, select the > group, copy it, go to the first card, and paste it, the items in the > group KEEP their hilites! Igor, I have run into problems like this myself. While your application of grps is probably a bit different then mine what follows may be of some assistance to you. I have found that when I copy a grp all of the group's component objects get completely new id numbers ( makes sense when you stop to think about it). If you aren't naming the grp's components there can be a problem. This arises most often in the situation where you are using object ids to reference the grps component objects in scripts. In your template the scripts are all refeerring to object ids. When you copy the template Revolution dutifully copies all ther grp's components AND gives each one a unique id. Your script is now useless. Naming all the component objects in your template grp prevents this. Hope this helps. Regards Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com PS Rod -- Please make mine 21 year old Glen Goyne :-) From steve at messimercomputing.com Thu Dec 12 09:47:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Thu Dec 12 09:47:01 2002 Subject: Groups In-Reply-To: <200212121156.GAA10121@www.runrev.com> Message-ID: Barry, I would tend to agree with you. While I have no problem with the use of these tools now, when I began using Rev I was somewhat confused about the distinction. For those new users who are still at a loss in this regard I offer this simplified explanation. Use the "Select Grouped Controls" menu item of the Rev "EDIT" menu or the "SGC" button of the Rev task bar when you want to make changes to the *EXISTING* components of a group. If you want to make changes to a group Object be sure that the SGC btn is unselected. Double clicking the group in that state will invoke the group properties window. You may also edit the group ( change is size add objects etc. ) by selecting the "Edit Group" btn of the Rev task bar or the "Edit Gourp" menu item of the "Objects" menu. I used to make most of these changes using the Edit and Objects menu. Now I find that using the Rev Task bar really speeds things up. *Key idea* The "SGC" button of the Rev Task Bar is the most important tool for working with groups. When its "ON" (Hilited) you work with the selected grp's component objects. When its "Off" (unhilited) you work with the selected grp as an object. Regards, Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com PS Rod -- Please make mine 21 year old Glen Goyne ... none of that Isla swill for me! From rcozens at pon.net Thu Dec 12 10:55:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Dec 12 10:55:00 2002 Subject: Groups In-Reply-To: <5A6316A6-0D81-11D7-BD51-000393AAEF66@macosx.com> References: <5A6316A6-0D81-11D7-BD51-000393AAEF66@macosx.com> Message-ID: >so if the selectGroupedControls is true my ability to select the >group is false but if the property is false my ability to do so is >true. Hi Barry, If the property is true, your ability to select a grouped control (rather than the entire group) is true, and vice versa. IMFO, what's missing is a note that the Rev dev UI includes a menuItem to toggle selectGroupedControls. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Thu Dec 12 10:55:52 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Dec 12 10:55:52 2002 Subject: Release scedule ... etc In-Reply-To: <8C63C10E-0DB6-11D7-9590-003065430226@internettrainer.com> References: <8C63C10E-0DB6-11D7-9590-003065430226@internettrainer.com> Message-ID: >>Keep up the good work, and keep us informed. > >*Yes pls... keep us informed!!!* Hi All, If you're not coming from a Mac background, you don't know how lucky we are to receive any sort of progress report and anticipated delivery date. If it were Apple supporting Revolution instead of RunRevLtd, the only thing we would have heard since last summer is [chant the mantra, Mac folks] "We do not make public comments on any software under development." They probably do that so they won't be questioned about missing a projected delivery date....like what is happening here. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Thu Dec 12 10:56:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Dec 12 10:56:01 2002 Subject: report printing advice In-Reply-To: <68259694-0D5A-11D7-894E-000393529642@mindlube.com> References: <68259694-0D5A-11D7-894E-000393529642@mindlube.com> Message-ID: >I must print the group with headers and footers on each page. It's >probably going to be several pages. > >It seems like the best way to go would be to lock the screen and >copy each field onto a blank card, and then use "print card [from >topleft to rightbottom] [into pageRect]" and "print break" commands >to lay out the pages one chunk at a time. Print the headers and >footers in a similar manner. > >This is going to be a problem because I have fields that are side by >side columns, that are going to cross page boundaries. > >Any suggestions? Hi Alex, The only thought that comes to mind is to consolidate the report text into a single field and use the revPrintText command. It gives you headers, footers, and pagination. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Thu Dec 12 10:56:13 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Dec 12 10:56:13 2002 Subject: Geometry Manager Problems In-Reply-To: <43FFDE60-0D56-11D7-9C24-000393AD9396@pixelmedia.com.au> References: <43FFDE60-0D56-11D7-9C24-000393AD9396@pixelmedia.com.au> Message-ID: >Should I abandon the Geometry Manager and hard-code the resizing? Hi Igor, I did not experience flaky behavior by individual controls; but I encountered the "resize while at Card A leaves Card B controls untouched" problem. I dropped the GM in favor of hard-coding for SDB because I wanted Serendipity Library to be available for MetaCard developers as well as Revolutionists; but once I took the step, it was not difficult. Tedious, but not difficult. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From ambassador at fourthworld.com Thu Dec 12 11:08:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Dec 12 11:08:01 2002 Subject: Groups In-Reply-To: Message-ID: > so if the selectGroupedControls is true my ability to select the > group is false but if the property is false my ability to do so is > true. I think I may have discovered the source of this cognitive dissonance: the "ed" -- perhaps the original poster was reading that as selectGroupControls rather than selectGroupedControls. Damnable gerunds.... -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Thu Dec 12 11:16:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Dec 12 11:16:01 2002 Subject: Release scedule ... etc In-Reply-To: Message-ID: Rob Cozens wrote: > If it were Apple supporting Revolution instead of RunRevLtd, the only > thing we would have heard since last summer is [chant the mantra, Mac > folks] "We do not make public comments on any software under > development." Sometimes they do, but they forget to clarify when the times change - Apple's last official word on HyperCard was from the CEO himself in '98: "There's also been some rumors about us cancelling HyperCard, which are totally bullshit." - Steve Jobs Keynote speech at CAUSE98 And then there's the one about CarbonLib being finished.... ;) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jacque at hyperactivesw.com Thu Dec 12 11:28:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Dec 12 11:28:01 2002 Subject: Groups In-Reply-To: <200212121156.GAA10121@www.runrev.com> References: <200212121156.GAA10121@www.runrev.com> Message-ID: <3DF8B7B7.6040301@hyperactivesw.com> Barry Levine wrote: > Hmmm.... so if the selectGroupedControls is true my ability to select > the group is false but if the property is false my ability to do so is > true. Think of it as "select(one of the)GroupedControls". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mcdomi at free.fr Thu Dec 12 11:58:01 2002 From: mcdomi at free.fr (Dominique) Date: Thu Dec 12 11:58:01 2002 Subject: PING-PONG-PANG In-Reply-To: Message-ID: <1fn3a41.ve3swmfn7yidM%mcdomi@free.fr> > I noticed, when I build for OS 9, only JPGs refuse to display directly > from CD Rom. I know there was a problem with the "QuickTime JPEG Update" extension on Mac OS 8.6 In fact, I couldn't see jpegs on my system until I fired this extension ;-) But I didn't heard of the problem on a Mac OS 9 system... -- Regards, (-8 Dominique From bornstein at designeq.com Thu Dec 12 13:14:00 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Thu Dec 12 13:14:00 2002 Subject: Adding splash screen as main stack Message-ID: <200212121808.gBCI8ZF26576@mailout5-0.nyroc.rr.com> >How do I exchange the status of main stack and substack? I need to main a >splash be the main stack... right now it isn't. Where can I set this, or >must I start over and import the current mainstack as a substack or >somesuch? As an alternative to Monte's suggestion, here's a procedure Jeanne posted a while back: ------------------------------------------------------------------------- >Sorry if this has come up before. How do you make a copy of a >substack within a stackfile? Both the clone and copy commands will >make a copy of a stack, but they are created as mainstacks. I want >to be able to copy a substack and have it remain subordinated the the >current mainstack. > >Alternatively, is there a way to change a mainstack into a substack? Yes: set the substack-to-be's mainStack property. For instance, if you have two main stacks called "Puffball" and "Hydrant", and you want to make "Hydrant" into a substack of "Puffball", use this: set the mainStack of stack "Hydrant" to "Puffball" ----------------------------------------------------------------------- Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From miscdas at boxfrog.com Thu Dec 12 13:59:45 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Thu Dec 12 13:59:45 2002 Subject: Another 2.0 Question In-Reply-To: References: Message-ID: <20021212185406.2016.qmail@www.boxfrog.com> Monte Goulding writes: >> >Just a stab in the dark but I'd say they are waiting for the engine to be >> >complete. Raney's on Beta 1 so they probably have a few more weeks yet. >> >> So how did they think that it was going to ship in November. >> > Well I'd say that the expected date for the engine was about then but a 2 > month discussion about the Drag and Drop API on the xTalks list slowed > everything down. But it could have been anything. With 2.0 the RunRev team > is attempting to close the gap between MC builds and Rev builds. That means > there is two development timelines that need to converge. Two lots of > testing. A hell of a lot of work to deliver a stable product. If we see it > before Jan then it will be a miracle! > > It will be a great product and well worth the wait. > > Cheers > > Monte > I fail to see the point of all of these posts to the list. Why doesn't someone just go to the source then post the reply rather than continuing all the speculative drivel? miscdas From kevin at runrev.com Thu Dec 12 15:22:01 2002 From: kevin at runrev.com (Kevin Miller) Date: Thu Dec 12 15:22:01 2002 Subject: 2.0 FAQ Message-ID: Hi, In response to the various questions we have received, we have added an FAQ to the page with information about 2.0. The direct link is: http://www.runrev.com/revolution/20faq.html Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From themacguy at macosx.com Thu Dec 12 16:29:01 2002 From: themacguy at macosx.com (Barry Levine) Date: Thu Dec 12 16:29:01 2002 Subject: Groups Message-ID: "selectGroupedControls" - well, I look at it and see "select the entire group". If they wanted it to mean "select individual controls within the group" it might have been better named "selectIndivCntrlInGroup" although I can see that the number of letters in the property (and the number of times I cause anyone else to respond to this diatribe) can get out of hand. (*grin*) The important thing is that I am clear on it now. However, it's interesting that selecting the individual controls that have been grouped once permits you to group them yet again. This gives them an additional script (under the new group ID). I don't see a use for this but I'm sure someone will tell me. (*yet another grin*) Seriously: I really do appreciate all the help I've received from the listas. Problems have been resolved and I've been able to get work out the door. So thank you - all of you. Regards, Barry From miscdas at boxfrog.com Thu Dec 12 17:39:07 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Thu Dec 12 17:39:07 2002 Subject: Groups In-Reply-To: References: Message-ID: <20021212223427.98742.qmail@www.boxfrog.com> Richard Gaskin writes: [snip] > I think I may have discovered the source of this cognitive dissonance: the > "ed" -- perhaps the original poster was reading that as selectGroupControls > rather than selectGroupedControls. > > Damnable gerunds.... > Gerund? Where? Gerunds are nouns that always end in -ing. And no, reading is not a gerund. I believe it is the present participle completing the past progressive. miscdas miscdas From dsc at swcp.com Thu Dec 12 18:03:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 12 18:03:01 2002 Subject: Groups In-Reply-To: <20021212223427.98742.qmail@www.boxfrog.com> Message-ID: On Thursday, December 12, 2002, at 03:34 PM, miscdas at boxfrog.com wrote: > Gerund? Where? Gerunds are nouns that always end in -ing. Like dingaling? > And no, reading is not a gerund. I believe it is the present participle > completing the past progressive. Wow! I guess I have to adjust my morphology or my syntax. Dar From ambassador at fourthworld.com Thu Dec 12 18:58:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Dec 12 18:58:01 2002 Subject: Groups In-Reply-To: <20021212223427.98742.qmail@www.boxfrog.com> Message-ID: miscdas at boxfrog.com wrote: > Richard Gaskin writes: > > [snip] >> I think I may have discovered the source of this cognitive dissonance: the >> "ed" -- perhaps the original poster was reading that as selectGroupControls >> rather than selectGroupedControls. >> >> Damnable gerunds.... >> > > Gerund? Where? Gerunds are nouns that always end in -ing. And no, reading > is not a gerund. I believe it is the present participle completing the past > progressive. Hmmm...could be that I meant "participle". I'm certainly no expert on English; I'm an American. :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From sarahr at genesearch.com.au Thu Dec 12 19:41:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Thu Dec 12 19:41:01 2002 Subject: Printing parameters In-Reply-To: Message-ID: printPaperSize should give you the info you want, but in Rev 1.1.1 I have found that it sometimes forgets that it is in landscape mode and reports the paper size as if it had been set back to portrait (although the resulting printout is landscape). This is fixed in Rev 2.0 Sarah On Thursday, December 12, 2002, at 09:08 am, Bill Vlahos wrote: > Can Rev 1.1.1 get information from the Print Setup parameters? I would > like to be able to know from the print driver what the size and paper > orientation is. > > I don't see any reference to it in the docs. > > Thanks, > > Bill Vlahos > > _______________________________________________ > 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 Dec 12 20:00:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Thu Dec 12 20:00:01 2002 Subject: (no subject) In-Reply-To: Message-ID: As someone else suggested, you need "choose browse tool", however there is a bug to do with this command so it doesn't always work. A workaround is to use: send "choose browse tool" to me in 5 ticks Cheers, Sarah On Thursday, December 12, 2002, at 08:33 am, Gareth Jones wrote: > Hello, people > > I have an Address stack that I use daily. Too often, however, I click > on it with the arrow cursor instead of the "hand" cursor. I would like > to add a command to the OpenStack handler that would set the cursor to > "hand." Unfortunately, this doesn't do the trick: > > on openStack > set the cursor to "hand" > end openStack > > Any suggestions? > > -Gareth > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Thu Dec 12 22:39:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu Dec 12 22:39:01 2002 Subject: IPTC Headers in Photos Message-ID: If any super brain has the time or inclination to figure this out it would be very useful. Parse and poke the IPTC data in headers for photos... Scott Raney says: "I'll add it to the feature-request list, but it should be straightforward to write a script to do this. Just open the file for binary read, read the header, and then decode it. You'll probably need to use the binaryDecode function to convert the bits and bytes in the header to a form you can use. It's not hard to do, but can be tedious and you really need to know your way around a binary file editor/viewer so that you can check your script to make sure it's dealing with the right data as it parses through the header. Regards, Scott" 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 kee at kagi.com Fri Dec 13 01:43:03 2002 From: kee at kagi.com (kee nethery) Date: Fri Dec 13 01:43:03 2002 Subject: IPTC Headers in Photos In-Reply-To: Message-ID: <4E7EE5A1-0E65-11D7-BEEA-003065F25CD4@kagi.com> On Thursday, December 12, 2002, at 07:35 PM, Sannyasin Sivakatirswami wrote: > If any super brain has the time or inclination to figure this out it > would be very useful. Parse and poke the IPTC data in headers for > photos... Scott Raney says: > > "I'll add it to the feature-request list, but it should be > straightforward to write a script to do this. Just open the file for > binary read, read the header, and then decode it. You'll probably > need to use the binaryDecode function to convert the bits and bytes in > the header to a form you can use. It's not hard to do, but can be > tedious and you really need to know your way around a binary file > editor/viewer so that you can check your script to make sure it's > dealing with the right data as it parses through the header. > Regards, > Scott" Been a while since I've played with this but I seem to recall that TIFF images have text in them. Open as a text file and read. Kee Nethery From jiml at netrin.com Fri Dec 13 04:11:02 2002 From: jiml at netrin.com (Jim Lambert) Date: Fri Dec 13 04:11:02 2002 Subject: Scotch By Any Other Name [was Re: 2.0 - (OT) Malt] In-Reply-To: <200212121156.GAA10121@www.runrev.com> Message-ID: < Anyone would think this was an AA list Nope, just RR. And I'll drink to that! Jim Lambert From mcmanusm at kramergraphics.com Fri Dec 13 06:19:01 2002 From: mcmanusm at kramergraphics.com (Mike McManus) Date: Fri Dec 13 06:19:01 2002 Subject: send to program debuging In-Reply-To: <20021211162038.72951.qmail@web11906.mail.yahoo.com> Message-ID: Oh boy..this is not fun sounding. Yes the send command will not work. Need to use "send to program" Being a Mac guy I just understood that. Now The two runrevs, don't like that idea either, but it may come to that. Thinking about this option while I was driving today. I might be able to build a standalone. That simply accepts the send to program command. Puts it into a field, then sends an acknoledgement back to the development stack. This way I should get what you were talking about. Get a clear understanding of what I need to parse and how the variables get passed(yes there will be variables, filenames, process codes, paths). Once I have those mastered in the main stack and the standalone, I will be able to code it properly and compile? Mostly what will be sent out is a command along with the parameters. The response should be a "yes I am done with process 10001" kinda thing or an error. Does that sound reasonable to anybody other than me? On Wednesday, December 11, 2002, at 11:20 AM, Jan Schenkel wrote: > --- Mike McManus wrote: >> How would you debug "send to program" commands used >> to send commands to >> other stacks when you are developing? To be more >> clear. My main stack >> sends commands to other freestanding stacks, which >> will be independent >> applications when built. Buut during the development >> process I don't >> want to compile things everytime I want to test it. >> Using IAC to create >> a server application that controls other stacks. >> They will talk between >> each other. Sending and replying after the >> complication of certain >> activities. The send command isn't exactly the >> same...and of course >> then I would have to go back and change the commands >> before I built the >> standalones. >> >> Ideas? >> > > Well, like Rob pointed out, this will only work on a > Mac. My approach to this particular situation would be > to get hold of a second Mac, and run the 'main' and > 'separate' stacks in a RunRev on each machine -- you > _do_ have two licenses, don't you? *grin* > Enter Script Debug Mode on each, and put a breakpoint > on the AppleEvent handler in the stack script so that > you can trap what message is actually sent and how it > works its way from there. > Reason: when you 'send to program', this is translated > into sending an AppleEvent of class "misc" and type > "dosc" -- unless you specify your own classID. > You will have to resort to using AppleScript in order > to get the correct name of the target program for the > 'send to program' instruction, as the 'answer program' > command is not supported in RunRev. > Potentially useful link in the archives: > http://lists.runrev.com/pipermail/use-revolution/2002-March/002882.html > > Hope this helped, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Esa.Kivela at ncrc.fi Fri Dec 13 06:38:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Dec 13 06:38:01 2002 Subject: newbie question: How clik text field? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6F17@ktk7.ad.kuluttajatutkimuskeskus.fi> Greetings aggain from Finland I like to code standalone where some text field and when button is pressed its randomly select some line from text field and show it. Why? Here is some backround: I have group of my firends and we training some meditations and so one and they succest that we can randomly select wich one training we take at every time. Ok that random seleceted i have coded but how I code follow: When some line in the text field si choosen, then I like to clik that line by mouse and voila a help text field about that specific training pops up. Anyone can help me with this one? I have noticed that ine the RRs manuals there is some clickText function but HOW to use that..there isin't any good example where to learn how to use it... Thanks at advance EsaK From janschenkel at yahoo.com Fri Dec 13 08:10:02 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Dec 13 08:10:02 2002 Subject: send to program debuging In-Reply-To: Message-ID: <20021213130448.26205.qmail@web11904.mail.yahoo.com> --- Mike McManus wrote: > Oh boy..this is not fun sounding. Yes the send > command will not work. > Need to use "send to program" Being a Mac guy I just > understood that. > Now The two runrevs, don't like that idea either, > but it may come to > that. Thinking about this option while I was driving > today. I might be > able to build a standalone. That simply accepts the > send to program > command. Puts it into a field, then sends an > acknoledgement back to the > development stack. > > This way I should get what you were talking about. > Get a clear > understanding of what I need to parse and how the > variables get > passed(yes there will be variables, filenames, > process codes, paths). > Once I have those mastered in the main stack and the > standalone, I will > be able to code it properly and compile? Mostly what > will be sent out > is a command along with the parameters. The response > should be a "yes I > am done with process 10001" kinda thing or an error. > > Does that sound reasonable to anybody other than me? > The easiest way to use the 'send in program' command is touse your own class and type, that way you only have to worry about how to structure the extra data. Example: - class "MIKE" -- short for your own class - id "PRST" -- just a 'process status' candidate - extra data "10001" would translate into: send "10001" to program tOtherProgram with "MINEPRST" In the other program, the card (and then up to the stack, mainstack, etc.) will receive an AppleEvent message: on appleEvent pClass, pID, pSender switch pClass & pID case "MIKEPRST" -- this is an event of class "MIKE" and id "PRST" request appleEvent data -- this will put the actual message data in 'it' reply the uStatus[it] of me break default pass appleEvent break end switch end appleEvent There you have it: you just used your own AppleEvent Class and ID to send a question to the other program, and it replied the content of a custom property. 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From mdswindell at charter.net Fri Dec 13 10:23:01 2002 From: mdswindell at charter.net (Mark Swindell) Date: Fri Dec 13 10:23:01 2002 Subject: Standalone Button Font Bloat In-Reply-To: <20021213130448.26205.qmail@web11904.mail.yahoo.com> Message-ID: What's the trick to maintaining the correct font size for buttons in substacks using when building standalones? When everything is all one stack, things look normal, but when using a splash as my main stack and placing substacks into a data folder, my substack buttons suffer from bloated labels and I can't find documentation to address this, nor do my attempts to alter settings in the standalone builder. Building for MacOS this time around. Thanks for your help. Mark From rcozens at pon.net Fri Dec 13 10:46:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Dec 13 10:46:00 2002 Subject: send to program debuging In-Reply-To: References: Message-ID: >Once I have those mastered in the main stack and the standalone, I >will be able to code it properly and compile? That's the rub, Mike: the handlers that allow two stacks opened with the same RunRev engine to communicate with each other are different from the handlers that let two standalones communicate. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From k_major at os.surf2000.de Fri Dec 13 10:53:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Fri Dec 13 10:53:01 2002 Subject: Standalone Button Font Bloat In-Reply-To: Message-ID: <4DE08B4B-0EB2-11D7-872E-000A27B49A96@os.surf2000.de> Hi Mark, > What's the trick to maintaining the correct font size for buttons in > substacks using when building standalones? When everything is all one > stack, things look normal, but when using a splash as my main stack and sounds like you are using 2 different mainstacks. One when developing and another one (splash screen) when building a standalone, right ? In that case please check if these 2 stacks have the SAME fontsettings. Menu: Objects -> Text Because substacks inherit these setting from their mainstack this might cause your trouble. At least it is worth giving it a try... ;-) > placing substacks into a data folder, my substack buttons suffer from > bloated labels and I can't find documentation to address this, nor do > my > attempts to alter settings in the standalone builder. > > Building for MacOS this time around. Thanks for your help. > > Mark Regards Klaus Major k_major at os.surf2000.de From switchedon at hsj.com Fri Dec 13 10:54:01 2002 From: switchedon at hsj.com (Bill Lynn) Date: Fri Dec 13 10:54:01 2002 Subject: Another 2.0 Question In-Reply-To: <200212131312.IAA07088@www.runrev.com> Message-ID: > I fail to see the point of all of these posts to the list. Why doesn't > someone just go to the source then post the reply rather than continuing all > the speculative drivel? Another option would be to keep the discussion free and open and skip past those posts you consider "drivel." Cheers... Bill Lynn Simtech Publications www.hsj.com From mcmanusm at kramergraphics.com Fri Dec 13 11:05:00 2002 From: mcmanusm at kramergraphics.com (Mike McManus) Date: Fri Dec 13 11:05:00 2002 Subject: send to program debuging In-Reply-To: <20021213130448.26205.qmail@web11904.mail.yahoo.com> Message-ID: <76434211-0EB3-11D7-8B6A-0003936C5FDE@kramergraphics.com> Looks like that is exactly what I need. A very simple solution and elegant actually. Should be able to use it throughout this application...many thanks. On Friday, December 13, 2002, at 08:04 AM, Jan Schenkel wrote: > --- Mike McManus wrote: >> Oh boy..this is not fun sounding. Yes the send >> command will not work. >> Need to use "send to program" Being a Mac guy I just >> understood that. >> Now The two runrevs, don't like that idea either, >> but it may come to >> that. Thinking about this option while I was driving >> today. I might be >> able to build a standalone. That simply accepts the >> send to program >> command. Puts it into a field, then sends an >> acknoledgement back to the >> development stack. >> >> This way I should get what you were talking about. >> Get a clear >> understanding of what I need to parse and how the >> variables get >> passed(yes there will be variables, filenames, >> process codes, paths). >> Once I have those mastered in the main stack and the >> standalone, I will >> be able to code it properly and compile? Mostly what >> will be sent out >> is a command along with the parameters. The response >> should be a "yes I >> am done with process 10001" kinda thing or an error. >> >> Does that sound reasonable to anybody other than me? >> > > The easiest way to use the 'send in program' command > is touse your own class and type, that way you only > have to worry about how to structure the extra data. > > Example: > - class "MIKE" -- short for your own class > - id "PRST" -- just a 'process status' candidate > - extra data "10001" > would translate into: > send "10001" to program tOtherProgram with "MINEPRST" > > In the other program, the card (and then up to the > stack, mainstack, etc.) will receive an AppleEvent > message: > > on appleEvent pClass, pID, pSender > switch pClass & pID > case "MIKEPRST" > -- this is an event of class "MIKE" and id "PRST" > request appleEvent data > -- this will put the actual message data in 'it' > reply the uStatus[it] of me > break > default > pass appleEvent > break > end switch > end appleEvent > > There you have it: you just used your own AppleEvent > Class and ID to send a question to the other program, > and it replied the content of a custom property. > > 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! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Fri Dec 13 12:08:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 13 12:08:01 2002 Subject: Groups In-Reply-To: Message-ID: <9AB94632-0EBB-11D7-9C78-0050E4C0B205@swcp.com> On Thursday, December 12, 2002, at 03:55 PM, Dar Scott wrote: > On Thursday, December 12, 2002, at 03:34 PM, miscdas at boxfrog.com wrote: > >> Gerund? Where? Gerunds are nouns that always end in -ing. > > Like dingaling? Yikes! That looks like it could be read as name-calling. I intended only to come up with a silly counter example for fun. Some others: "Reading" as in "Which is larger, Reading, Pennsylvania, or Reading, Ohio?" "bee sting" as in "When did you get that bee sting?" "_The_Joy_of_Singing_" as in "How long did it take you to write _The_Joy_of_Singing_?" "boing" as in "Where did you here the boing?" I understood the original reference to gerund as a loose reference to processes in which verbs become part of a noun. I didn't read it to have a sense that a language arts teacher might use. I think the particular problem here, related to verbs, is an ambiguity in referring to an aggregate or to multiple individual instances. Dar Scott From k_major at os.surf2000.de Fri Dec 13 12:16:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Fri Dec 13 12:16:01 2002 Subject: Standalone Button Font Bloat In-Reply-To: <4DE08B4B-0EB2-11D7-872E-000A27B49A96@os.surf2000.de> Message-ID: Hi Mark, hit the send button too early, sorry... > Hi Mark, > >> What's the trick to maintaining the correct font size for buttons in >> substacks using when building standalones? When everything is all one >> stack, things look normal, but when using a splash as my main stack >> and > > sounds like you are using 2 different mainstacks. > One when developing and another one (splash screen) when > building a standalone, right ? > > In that case please check if these 2 stacks have the SAME fontsettings. > Menu: Objects -> Text > > Because substacks inherit these setting from their mainstack this might > cause your trouble. > > At least it is worth giving it a try... ;-) > >> placing substacks into a data folder, my substack buttons suffer from >> bloated labels and I can't find documentation to address this, nor do >> my >> attempts to alter settings in the standalone builder. So you should check all the fontsettings of these stacks that are NO substacks anymore. That's what i was missing... Regards Klaus Major k_major at os.surf2000.de From mcompanys at mac.com Fri Dec 13 12:21:01 2002 From: mcompanys at mac.com (Manuel Companys) Date: Fri Dec 13 12:21:01 2002 Subject: Scotch By Any Other Name [was Re: 2.0 - (OT) Malt] In-Reply-To: Message-ID: <64FB517C-0EBE-11D7-8915-003065A81762@mac.com> Le jeudi, 12 d?c 2002, ? 23:18 Europe/Paris, Jim Lambert a ?crit : > < Anyone would think this was an AA list > > Nope, just RR. > And I'll drink to that! So do I, but ... In this list we never had so many irrelevant posts ... to speak of what we can only get by sending relevant ones! Manuel From Doug_Ivers at lord.com Fri Dec 13 12:36:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Fri Dec 13 12:36:01 2002 Subject: palm? Message-ID: I'm sure this has been asked periodically, but... Is there any possibility in the future of Rev building for Palm OS? Or is it such a different kind of platform that it won't ever. -- D From revlists at canelasoftware.com Fri Dec 13 13:49:01 2002 From: revlists at canelasoftware.com (Mark Talluto) Date: Fri Dec 13 13:49:01 2002 Subject: palm? In-Reply-To: Message-ID: On Friday, December 13, 2002, at 09:27 AM, Ivers, Doug E wrote: > I'm sure this has been asked periodically, but... > > Is there any possibility in the future of Rev building for Palm OS? > Or is it such a different kind of platform that it won't ever. > > > -- D > > I have been asking that question for over 2 years now. The short answer is that it could happen, but I think they (Scott & company) are waiting for more powerful and larger memory PDAs to come out. Best regards, Mark Talluto http://www.canelasoftware.com From Roger.E.Eller at sealedair.com Fri Dec 13 14:18:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Fri Dec 13 14:18:01 2002 Subject: palm? Message-ID: > I'm sure this has been asked periodically, but... > Is there any possibility in the future of Rev building for Palm OS? > Or is it such a different kind of platform that it won't ever. Doug, This is from the list archives on Fri Feb 1 00:25:01 2002. >> Wouldn't it be great if we could program in TranScript for PalmOS and >> PocketPC too? :-) > > We're looking at these, though Palm really has a very different OS so is > most unlikely. However the other one wouldn't be so hard and might well > happen if we get enough requests. > > Kind regards, > > Kevin From sims at ezpzapps.com Fri Dec 13 14:25:01 2002 From: sims at ezpzapps.com (sims) Date: Fri Dec 13 14:25:01 2002 Subject: Mac 10.2.2 In-Reply-To: <76434211-0EB3-11D7-8B6A-0003936C5FDE@kramergraphics.com> References: <76434211-0EB3-11D7-8B6A-0003936C5FDE@kramergraphics.com> Message-ID: Anyone with Mac OS 10.2.2 feel like testing a Rev app for me? ( I don't have it yet..) Please reply at: sims at ezpzapps.com tia sims From Doug_Ivers at lord.com Fri Dec 13 15:04:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Fri Dec 13 15:04:01 2002 Subject: palm? Message-ID: I would be willing to work with a reduced feature set for Palm OS builds, and to do more platform-specific coding than is currently necessary for desktops. -- D > -----Original Message----- > From: Roger.E.Eller at sealedair.com [mailto:Roger.E.Eller at sealedair.com] > Sent: Friday, December 13, 2002 2:13 PM > To: use-revolution at lists.runrev.com > Subject: Re: palm? > > > > > I'm sure this has been asked periodically, but... > > > Is there any possibility in the future of Rev building for Palm OS? > > Or is it such a different kind of platform that it won't ever. > > > Doug, > > This is from the list archives on Fri Feb 1 00:25:01 2002. > > >> Wouldn't it be great if we could program in TranScript for > PalmOS and > >> PocketPC too? :-) > > > > We're looking at these, though Palm really has a very > different OS so > is > > most unlikely. However the other one wouldn't be so > hard and might > well > > happen if we get enough requests. > > > > Kind regards, > > > > Kevin > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Fri Dec 13 16:53:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Dec 13 16:53:01 2002 Subject: palm? In-Reply-To: Message-ID: At the risk of writing "speculative drivel" I'd say don't hold your breath for this one ;-) The MC & RunRev teams are flat out developing for desktops. I'm sure they have years worth of feature requests already up their respective sleves. What we need to to do is get Raney cloned and get the clone to implement the language for PDA's. The other alternative would be to work out how to interface between the desktop and currently implemented languages. I've asked before but had no response. That usually means it hasn't been done. Cheers Monte > > > I would be willing to work with a reduced feature set for Palm OS > builds, and to do more platform-specific coding than is currently > necessary for desktops. > > > -- D > > > > -----Original Message----- > > From: Roger.E.Eller at sealedair.com [mailto:Roger.E.Eller at sealedair.com] > > Sent: Friday, December 13, 2002 2:13 PM > > To: use-revolution at lists.runrev.com > > Subject: Re: palm? > > > > > > > > > I'm sure this has been asked periodically, but... > > > > > Is there any possibility in the future of Rev building for Palm OS? > > > Or is it such a different kind of platform that it won't ever. > > > > > > Doug, > > > > This is from the list archives on Fri Feb 1 00:25:01 2002. > > > > >> Wouldn't it be great if we could program in TranScript for > > PalmOS and > > >> PocketPC too? :-) > > > > > > We're looking at these, though Palm really has a very > > different OS so > > is > > > most unlikely. However the other one wouldn't be so > > hard and might > > well > > > happen if we get enough requests. > > > > > > Kind regards, > > > > > > Kevin > > > > > > _______________________________________________ > > 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 mswindel at santacruz.k12.ca.us Fri Dec 13 18:18:01 2002 From: mswindel at santacruz.k12.ca.us (Mark Swindell) Date: Fri Dec 13 18:18:01 2002 Subject: Standalone Button Font Bloat In-Reply-To: Message-ID: on 12/13/02 9:12 AM, Klaus Major at k_major at os.surf2000.de wrote: Klaus, Thank you. I have it working now. Mark > > So you should check all the fontsettings of these stacks > that are NO substacks anymore. That's what i was missing... > > > Regards > > Klaus Major > k_major at os.surf2000.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From mswindel at santacruz.k12.ca.us Fri Dec 13 18:24:00 2002 From: mswindel at santacruz.k12.ca.us (Mark Swindell) Date: Fri Dec 13 18:24:00 2002 Subject: Cascading menu question In-Reply-To: Message-ID: I have a menu which is called Appearance... one of the menuitems is "Set background image to..." and I would like to have a cascading menu coming off this which will display the contents of an image folder. Choosing one of these image files will then set the image of a graphic to that particular file. Can anyone explain to me how to accomplish this? Thanks, Mark From themacguy at macosx.com Fri Dec 13 20:40:10 2002 From: themacguy at macosx.com (Barry Levine) Date: Fri Dec 13 20:40:10 2002 Subject: Animated GIF strangeness Message-ID: <260028AA-0F04-11D7-9598-000393AAEF66@macosx.com> Wondering if anyone has encountered this situation.. I have an image object to which I have assigned the filename of a particular GIF. The path is fine; the GIF does appear. As the GIF is animated, I use the properties box to set a repeatCount of 1. When I close the saved stack and re-open it (leaving Rev running), the GIF appears as it should. However, if I quit Rev (after saving) and re-launch/re-open the stack, the GIF sits a frame 1. When I examine the properties of the image object, the repeatCount has, somehow, been reset to 0. If I build a distribution of the stack (after first verifying that the repeatcount is correct), the compiled app also has the GIF sitting at frame 1. If I set the repeatCount to -1, it does repeat forever. If I set the repeatCount to 2 or 3, it gets set back to 0 as described above, as well. I worked around the problem by using a QT Player object and simply added a "start player..." line to the openCard script but it concerns me that such strangeness has appeared. I had used another GIF earlier (in the same image object) and it worked perfectly. The "bad" GIF was created by another individual using Illustrator for each frame (and "saving for web") and then using GifFun to assemble the frames. I even tried converting the GIF with GraphicConvertor just in case something was wrong with the original (and hoping GC would be able to fix it - as it usually does work miracles). No luck. Is there a GIF spec I need to convey back to the GIF producer? I've used other GIFs in my stacks and have had no problems. I've been using iDraw to create and assemble the whole thing (while my GIF producer has all of his original art in Illustrator). Coulc this be a case of too many colors? (I'm grasping at straws.) Or maybe this is a "fixed in Rev2.0" thing ans I should simply be patient. Thanks, Barry From ambassador at fourthworld.com Fri Dec 13 20:55:09 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Dec 13 20:55:09 2002 Subject: [Semi-OT] Another "They shoulda used Rev/MC" story :) In-Reply-To: Message-ID: Here's what Macintouch calls "an interesting excuse for cancelling Mac software development" from Cerious Software: It has been more difficult that you could ever know to port ThumbsPlus to the Macintosh. Unlike Windows, applications cause many problems on the Mac side. For example Quicktime installations totally crash ThumbsPlus so that the application doesn't even launch. Also, the cross compiler applications don't work any longer with new Mac versions. Any new software install has the ability to take Thumbs to its knees. Sorry we don't have better news. We expect to be taking down all Mac info from the pages in the next few weeks. If they were using Rev or MC they'd still be shipping on Mac, and their Windows effort would cost only a fraction to maintain and enhance. This got me thinking: Do any of you have a Rev- or MC-based image database program? I was tempted to throw one together and send it off to Ric Ford at Macintouch, but I have my hands full at the moment. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From pixelbird at interisland.net Fri Dec 13 21:56:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Dec 13 21:56:01 2002 Subject: Avoiding mouse polls In-Reply-To: Message-ID: Sceneario: Single switch adaptiveware. Works only with mouse switch messages, no buttons. I have objects which hilite (not really, they just change pictures) in a sequencial loop. I want to choose one so I click when it's hilited and that causes further actions/choices. I can't see any way of doing this without polling for the click. Ideas? TIA Ken N. From ro.nagey at gte.net Fri Dec 13 22:18:01 2002 From: ro.nagey at gte.net (Ro Nagey) Date: Fri Dec 13 22:18:01 2002 Subject: [Semi-OT] Another "They shoulda used Rev/MC" story :) In-Reply-To: Message-ID: I have the barest of bones ones...I wouldn't call it a serious app by any means, just one of those projects to learn MC. If you want I could send it to you. I just moved it over to the Mac and I can debug it a bit over the weekend if I get time. Ro On Friday, December 13, 2002, at 03:49 PM, Richard Gaskin wrote: > Here's what Macintouch calls "an interesting excuse for cancelling Mac > software development" from Cerious Software: > > It has been more difficult that you could ever know > to port ThumbsPlus to the Macintosh. Unlike Windows, > applications cause many problems on the Mac side. > For example Quicktime installations totally crash > ThumbsPlus so that the application doesn't even > launch. Also, the cross compiler applications don't > work any longer with new Mac versions. Any new > software install has the ability to take Thumbs to > its knees. Sorry we don't have better news. > We expect to be taking down all Mac info from the > pages in the next few weeks. > > > > If they were using Rev or MC they'd still be shipping on Mac, and their > Windows effort would cost only a fraction to maintain and enhance. > > This got me thinking: Do any of you have a Rev- or MC-based image > database > program? > > I was tempted to throw one together and send it off to Ric Ford at > Macintouch, but I have my hands full at the moment. > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge 2.1: Publish any database on any site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Fri Dec 13 22:30:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 13 22:30:01 2002 Subject: Avoiding mouse polls In-Reply-To: Message-ID: <67C77F5C-0F13-11D7-9C78-0050E4C0B205@swcp.com> On Friday, December 13, 2002, at 08:06 PM, Ken Norris (dialup) wrote: > I can't see any way of doing this without polling for the click. > > Ideas? Is the pointer at some unknown place on the screen, but invisible? Some fixed place? Maybe you can make the stack full screen and catch the mouse messages at the card? Dar From scott at tactilemedia.com Fri Dec 13 22:59:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Dec 13 22:59:01 2002 Subject: Avoiding mouse polls In-Reply-To: Message-ID: Recently, Ken Norris (dialup) wrote: > I have objects which hilite (not really, they just change pictures) in a > sequencial loop. I want to choose one so I click when it's hilited and that > causes further actions/choices. > > I can't see any way of doing this without polling for the click. Don't poll for the click, poll for a single global variable (I prefer user properties myself) whose state is changed by clicking any of the objects. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From pixelbird at interisland.net Fri Dec 13 23:22:00 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Dec 13 23:22:00 2002 Subject: Avoiding mouse polls In-Reply-To: <200212140331.WAA24992@www.runrev.com> Message-ID: on 12/13/02 7:31 PM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > Is the pointer at some unknown place on the screen, but invisible? Some > fixed place? > > Maybe you can make the stack full screen and catch the mouse messages at > the card? ---------- Sure, that's basically the idea. But unless I'm missing something, I don't see any possibility of "catching" a mouse click with out polling for it. I don't think it can be done any other way, but I'd like to know if it can. Maybe there is a special Rev thing which I haven't seen. This is for impaired users who can only use a single switch, and cannot operate a mouse or other motion device. Like Stephen Hawking. No choice about that part. Best regards, Ken N. From curry at kagi.com Sat Dec 14 00:34:00 2002 From: curry at kagi.com (curry) Date: Sat Dec 14 00:34:00 2002 Subject: Avoiding mouse polls In-Reply-To: <200212140332.WAA25191@www.runrev.com> References: <200212140332.WAA25191@www.runrev.com> Message-ID: > > I can't see any way of doing this without polling for the click. >> >> Ideas? > >Is the pointer at some unknown place on the screen, but invisible? Some >fixed place? > >Maybe you can make the stack full screen and catch the mouse messages at >the card? > >Dar Yeah--if you have it full screen, then you just need a message to the card at repeating intervals that changes the hilited object, and mouseup or mousedown in the card that ignores the target and just checks by variable which object is currently hilited. For example, pseudo code, not word for word and not tested: global theobj,whichobj on dohilite add 1 to whichobj if whichobj > numObjs then put 1 into whichobj set hilite of control theobj to false put item which of "abutton,another,agraphic,afield,onemore,somethingelse" into theobj set hilite of control theobj to true send dohilite to me in howevermany seconds end on mousedown answer "oh man, they clicked for" && theobj send theyClicked to control theobj end Curry From dvk at dvkconsult.com.au Sat Dec 14 01:21:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sat Dec 14 01:21:01 2002 Subject: Avoiding mouse polls In-Reply-To: Message-ID: <5EC177F4-0F2B-11D7-8CF1-000393598038@dvkconsult.com.au> On Saturday, Dec 14, 2002, at 15:32 Australia/Sydney, Ken Norris (dialup) wrote: > ---------- > Sure, that's basically the idea. But unless I'm missing something, I > don't > see any possibility of "catching" a mouse click with out polling for > it. I > don't think it can be done any other way, but I'd like to know if it > can. > Maybe there is a special Rev thing which I haven't seen. > > This is for impaired users who can only use a single switch, and cannot > operate a mouse or other motion device. Like Stephen Hawking. No choice > about that part. Ken What is wrong with mouseUp and mouseRelease rather than polling for the mouseClick? You need to catch both because you can not predict (and do not care) where the mouse went down, but these will work, will they not? No object is involved (except for whatever you yourself are highlighting for them). You can highlight objects by using a counter to iterate through the keys of an array from which you take the object IDs. That way, you have easy programmatic control of the object highlight sequence without having to fiddle with the code which actually orders the highlights. Old programming proverb: "You can always add a layer of indirection." regards Aavid > > Best regards, > Ken N. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dvk at dvkconsult.com.au Sat Dec 14 01:24:00 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sat Dec 14 01:24:00 2002 Subject: Avoiding mouse polls In-Reply-To: <5EC177F4-0F2B-11D7-8CF1-000393598038@dvkconsult.com.au> Message-ID: Afterthought: I should have mentioned that the messages would be caught at card or stack level. regards David On Saturday, Dec 14, 2002, at 17:14 Australia/Sydney, David Vaughan wrote: > > On Saturday, Dec 14, 2002, at 15:32 Australia/Sydney, Ken Norris > (dialup) wrote: >> ---------- >> Sure, that's basically the idea. But unless I'm missing something, I >> don't >> see any possibility of "catching" a mouse click with out polling for >> it. I >> don't think it can be done any other way, but I'd like to know if it >> can. >> Maybe there is a special Rev thing which I haven't seen. >> >> This is for impaired users who can only use a single switch, and >> cannot >> operate a mouse or other motion device. Like Stephen Hawking. No >> choice >> about that part. > > Ken > > What is wrong with mouseUp and mouseRelease rather than polling for > the mouseClick? You need to catch both because you can not predict > (and do not care) where the mouse went down, but these will work, will > they not? No object is involved (except for whatever you yourself are > highlighting for them). > > You can highlight objects by using a counter to iterate through the > keys of an array from which you take the object IDs. That way, you > have easy programmatic control of the object highlight sequence > without having to fiddle with the code which actually orders the > highlights. > > Old programming proverb: "You can always add a layer of indirection." > > regards > Aavid >> >> Best regards, >> Ken N. >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > From dsc at swcp.com Sat Dec 14 02:49:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 14 02:49:01 2002 Subject: Avoiding mouse polls In-Reply-To: Message-ID: <9B26C072-0F37-11D7-B9E3-0050E4C0B205@swcp.com> On Friday, December 13, 2002, at 09:32 PM, Ken Norris (dialup) wrote: > Sure, that's basically the idea. But unless I'm missing something, I > don't > see any possibility of "catching" a mouse click with out polling for > it. I > don't think it can be done any other way, but I'd like to know if it > can. > Maybe there is a special Rev thing which I haven't seen. I was thinking something like this: Even though the only control is effectively the mouse button, I am assuming that there really is a (possibly hidden) pointer and that the mouse location is within the screen. The card is effectively a big button. If no mouseDown (or whatever works best) handler is defined in any of your objects then I expect a mouseDown message will get to the card. That is, if the mouse position is over the card. If the mouse position is in the center of the screen, the stack should be centered. If the mouse position is unknown, then the stack should fill the screen. Alternately, you might use the screenMouseLoc property to put the pointer on the card or even on a button if you feel better about this. You can even put it over the "highlighted" image and define the mouse messages as you would for other applications. Dar Scott From tkuypers at pandora.be Sat Dec 14 05:20:01 2002 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Sat Dec 14 05:20:01 2002 Subject: RR & Adobe InDesign Message-ID: I know I must be doing something wrong, but what is the syntax for sending applescripts to Adobe InDesign? Contents of vScript is: tell application "InDesign 2.0.1" activate set theDocument to active document set find preferences to nothing set change preferences to nothing search for "fourth" in theDocument replacing with "4th" end tell But when I use send vScript to program "InDesign 2.0.1" Nothing happens... When running the above script in ScriptMaker nooooooooo proplem... I had the same problem in Supercard a while back... The command in SC is get script(do,"AppleScript",vScript) But this (duhhh) doesn?t work in RR... Who can help, who has experience with this??? Many thanks in advance, Ton -------------- next part -------------- An HTML attachment was scrubbed... URL: From tkuypers at pandora.be Sat Dec 14 05:30:01 2002 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Sat Dec 14 05:30:01 2002 Subject: Ignore RR & Adobe InDesign In-Reply-To: Message-ID: Please ignore my previous mail... Using the Do-command it is solved... -------------- next part -------------- An HTML attachment was scrubbed... URL: From k_major at os.surf2000.de Sat Dec 14 07:31:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Sat Dec 14 07:31:01 2002 Subject: Cascading menu question In-Reply-To: Message-ID: <5480B390-0F5F-11D7-9CDC-000A27B49A96@os.surf2000.de> Hi Mark, > I have a menu which is called Appearance... one of the menuitems is > "Set > background image to..." and I would like to have a cascading menu > coming off > this which will display the contents of an image folder. Choosing one > of > these image files will then set the image of a graphic to that > particular > file. > > Can anyone explain to me how to accomplish this? > > Thanks, > Mark try this: This example presumes that your images are in the active directory. Please drop a line, if they are in another folder. That will require a little bit more scripting. on opencard ## or whenever you want to prepare that button... get the files ##!!! repeat for each line xxx in it put TAB & xxx & CR after my_images end repeat ## "repeat for each" is insanely fast ;-) ## but read-only. So we just fill another variable ## with the stuff that we need... ##Imn this case a TAB for each level of submenus delete char -1 of my_images get btn "Your button name here!" put CR & my_images after line \ lineoffset("Set background image to...", it) of btn "Your button name here!" end opencard Now your button has the correct submenus. Now you will have to script this in that button: on menupick which set the itemdel to "|? ## This is the itemdel for submenus ## Submenus are seen by the engine as "menuitem1|submenu1! switch item 1 of which case "Set background image to..." set the filename of img "Your image here!" to item 2 of which break ... end switch end menupick Hope this helps. Have a nice weekend. Regards Klaus Major k_major at os.surf2000.de From miscdas at boxfrog.com Sat Dec 14 10:01:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sat Dec 14 10:01:01 2002 Subject: Another 2.0 Question In-Reply-To: References: Message-ID: <20021214145524.63862.qmail@www.boxfrog.com> Bill Lynn writes: >> I fail to see the point of all of these posts to the list. Why doesn't >> someone just go to the source then post the reply rather than continuing all >> the speculative drivel? > > Another option would be to keep the discussion free and open and skip past > those posts you consider "drivel." > > Cheers... Bill Lynn > Simtech Publications And how, pray tell, might one determine if a post is of interest and "skip past" when the subject line is "Re: Another 2.0 Question"? That subject is so broad that unless one examines the body of the post, how is it possible? miscdas From tedl at voyager.net Sat Dec 14 11:16:01 2002 From: tedl at voyager.net (Ted) Date: Sat Dec 14 11:16:01 2002 Subject: Groups and Gerunds Message-ID: <008301c2a38b$70e78d40$b5ce59cf@egl> Richard Gaskin wrote: >> I think I may have discovered the source of this cognitive dissonance: the "ed" -- perhaps the original poster was reading that as selectGroupControls rather than selectGroupedControls. Damnable gerunds.... << miscdas replied: >> Gerund? Where? Gerunds are nouns that always end in -ing. And no, reading is not a gerund. I believe it is the present participle completing the past progressive. << It's true that in Richard's sentence, the word *reading* is not a gerund. Paradoxically, in miscdas's sentence--*And no, reading is not a gerund.*--the word *reading* is a gerund. Ted From pixelbird at interisland.net Sat Dec 14 13:02:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sat Dec 14 13:02:01 2002 Subject: Avoiding mouse polls In-Reply-To: <200212141701.MAA01845@www.runrev.com> Message-ID: Date: Fri, 13 Dec 2002 19:54:14 -0800 Subject: Re: Avoiding mouse polls From: Scott Rossi > I can't see any way of doing this without polling for the click. > > Don't poll for the click, poll for a single global variable (I prefer user > properties myself) whose state is changed by clicking any of the objects. ---------- Aha! Yep, this is what I was looking for. This can form the bedrock of all the operations. I love core stuff. But the only object will be probably be the the stack. My intentions are to keep the cursor offscreen, because the users do not have the ability to coordinate motion input devices, so the 'hilited' screen objects take its place. Thanks, Ken N. From themacguy at macosx.com Sat Dec 14 13:19:01 2002 From: themacguy at macosx.com (Barry Levine) Date: Sat Dec 14 13:19:01 2002 Subject: Display progress Message-ID: I have an app that has some processing to do when it reaches a certain card. I have the handler in the openCard script. This can take anywhere from four to eight seconds depending on the speed of the computer. I'd like to display a small progess indicator - even something as simple as a window that tells the user to be patient for a few more seconds. I don't even need to provide a thermometer or a counter. I thought about displaying a modal window but the docs say that doing so will bring all processing to a halt so that's obviously not the answer. I don't want the user to be able to click in the "main" window until the app is ready, however. This is probably four lines of code, right? Any help would be appreciated. Thanks, Barry From pixelbird at interisland.net Sat Dec 14 13:20:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sat Dec 14 13:20:01 2002 Subject: Avoiding mouse polls In-Reply-To: <200212141701.MAA01845@www.runrev.com> Message-ID: Date: Fri, 13 Dec 2002 23:25:32 -0600 From: curry Subject: Re: Avoiding mouse polls > Yeah--if you have it full screen, then you just need a message to the > card at repeating intervals that changes the hilited object, and > mouseup or mousedown in the card that ignores the target and just > checks by variable which object is currently hilited. > > For example, pseudo code, not word for word and not tested: > > global theobj,whichobj > > on dohilite > add 1 to whichobj > if whichobj > numObjs then put 1 into whichobj > set hilite of control theobj to false > put item which of > "abutton,another,agraphic,afield,onemore,somethingelse" into theobj > set hilite of control theobj to true > send dohilite to me in howevermany seconds > end > > on mousedown > answer "oh man, they clicked for" && theobj > send theyClicked to control theobj > end ---------- Thanks Curry, I think this is sort of on the right track. I think you expect the code to be in a loop, right? So it detects a mouse message while it's running via the send command, right? No, that won't quite work either. Thanks, Ken N. From Timothy_Hart at umit.maine.edu Sat Dec 14 13:30:00 2002 From: Timothy_Hart at umit.maine.edu (Timothy Hart) Date: Sat Dec 14 13:30:00 2002 Subject: Another 2.0 Question In-Reply-To: <20021214145524.63862.qmail@www.boxfrog.com> References: <20021214145524.63862.qmail@www.boxfrog.com> Message-ID: use-revolution at lists.runrev.com writes: >>> I fail to see the point of all of these posts to the list. Why doesn't >>> someone just go to the source then post the reply rather than continuing all >>> the speculative drivel? >> >> Another option would be to keep the discussion free and open and skip past >> those posts you consider "drivel." >> >> Cheers... Bill Lynn >> Simtech Publications My apologies. This is a list serve where people ask about the program. I had a quesion it was answered. Sorry I have an interest about when 2.0 comes out. -Tim From pixelbird at interisland.net Sat Dec 14 13:54:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sat Dec 14 13:54:01 2002 Subject: Avoiding mouse polls In-Reply-To: <200212141701.MAA01845@www.runrev.com> Message-ID: Date: Sat, 14 Dec 2002 17:14:57 +1100 Subject: Re: Avoiding mouse polls From: David Vaughan > What is wrong with mouseUp and mouseRelease rather than polling for the > mouseClick? You need to catch both because you can not predict (and do > not care) where the mouse went down, but these will work, will they > not? No object is involved (except for whatever you yourself are > highlighting for them). ---------- Well, if I keep it at the stack level, I won't need to know where the mouse went down anyway. Plus, I'd still have to poll for the mouseRelease. How else can I get the loop that hilites the objects to stop/move on to the next set of objects? I think we must have a way to detect a mouse action within the loop. I tried changing var content, but the loop doesn't receive it while it's running. ---------- > You can highlight objects by using a counter to iterate through the > keys of an array from which you take the object IDs. That way, you have > easy programmatic control of the object highlight sequence without > having to fiddle with the code which actually orders the highlights. ---------- So, you mean to put the loop (which emulates hiliting object choices) in a mouse handler (or another handler that just loops) rather than the operation handlers? Hmmm. That might work. The operation handlers can pass back the appropriate values to go to the next step. But, I still don't think a running loop can be stopped with a mouse switch action unless you poll for it from inside the loop. Still trying... Thanks, Ken N. From pixelbird at interisland.net Sat Dec 14 14:16:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sat Dec 14 14:16:01 2002 Subject: Avoiding mouse polls In-Reply-To: <200212141701.MAA01845@www.runrev.com> Message-ID: Date: Sat, 14 Dec 2002 00:42:33 -0700 Subject: Re: Avoiding mouse polls From: Dar Scott > The card is effectively a big button. If no mouseDown (or whatever > works best) handler is defined in any of your objects then I expect a > mouseDown message will get to the card. ---------- This might have the key in it somewhere. Use a mouseUp to the card (or stack) to set a handler in motion, and a mouseDown to query the state of the objects. I'll try it. The problem is that the each mouse action will have to temporarily kill the action of the other unless it carries the proper value to it, because there will be a mouseUp for every mouseDown. Otherwise, it will do something we don't want. Even If I reverse the procedure Also, there must be a mouseStillDown to scroll some fields. It must ignore the mouseDown, but that can be easily done. Still trying. Thanks to everyone for their ideas. I'm on it. Happy Holidays, Ken N. From dsc at swcp.com Sat Dec 14 14:30:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 14 14:30:01 2002 Subject: Avoiding mouse polls In-Reply-To: Message-ID: <5B2A7F91-0F99-11D7-A49D-0050E4C0B205@swcp.com> On Saturday, December 14, 2002, at 12:04 PM, Ken Norris (dialup) wrote: > But, I still don't think a running loop can be stopped with a mouse > switch > action unless you poll for it from inside the loop. Everybody's style is different. To me this is doing it the hard way. I recommend this: Drop the loop. Use a send cycle to cycle through images (and maybe a short period of no-highlight in between). Use mouseDown to select the current one. Put the mouseDown handler in the card or the stack. (The card will be like a big button.) Is your client area full screen? Then your mouse location is probably fine. Is your window, including decorations, full screen? Set the mouseLoc to 10,40 or something when your open the stack. If neither, do some calculation and put the mouseLoc over the card. Is the pointer visible and distracting? Hide it. Two ways: 1 Set it to your logo and place it where you want your logo. This might be better during debugging; you can test with a regular mouse. 2 Set it to blank. Dar Scott From dsc at swcp.com Sat Dec 14 14:55:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 14 14:55:01 2002 Subject: Display progress In-Reply-To: Message-ID: On Saturday, December 14, 2002, at 11:13 AM, Barry Levine wrote: > I have the handler in the openCard script. This can take anywhere from > four to eight seconds depending on the speed of the computer. I'd like > to display a small progess indicator ... > I don't want the user to be able to click in the "main" window until > the app is ready, however. Some ideas: You can change the cursor or make an image visible during this period. You can flushEvents at the end of openCard. If openCard actually starts a send sequence for this period or you need to do waits with/for messages, you might need to screen mouse events with a front script. Dar Scott From dvk at dvkconsult.com.au Sat Dec 14 15:10:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sat Dec 14 15:10:01 2002 Subject: Avoiding mouse polls In-Reply-To: <5B2A7F91-0F99-11D7-A49D-0050E4C0B205@swcp.com> Message-ID: <34B0E46E-0F9F-11D7-8CF1-000393598038@dvkconsult.com.au> On Sunday, Dec 15, 2002, at 06:22 Australia/Sydney, Dar Scott wrote: > > On Saturday, December 14, 2002, at 12:04 PM, Ken Norris (dialup) wrote: > >> But, I still don't think a running loop can be stopped with a mouse >> switch >> action unless you poll for it from inside the loop. > > Everybody's style is different. To me this is doing it the hard way. > I recommend this: > > Drop the loop. Use a send cycle to cycle through images (and maybe a > short period of no-highlight in between). Use mouseDown to select the > current one. Put the mouseDown handler in the card or the stack. > (The card will be like a big button.) Indeed. This was my message too, Ken. You do not need to poll for mouseDown/Up/Release (whichever). They are events, unlike mouseClick function, and will be caught between the short pieces of code executed by the send-in-time. You do not even need a repeat loop as such. Send-in-time can achieve that by sending itself, with local or global variables or properties holding the object reference for highlighting, and any other state information. cheers David > > Is your client area full screen? Then your mouse location is probably > fine. > > Is your window, including decorations, full screen? Set the mouseLoc > to 10,40 or something when your open the stack. > > If neither, do some calculation and put the mouseLoc over the card. > > Is the pointer visible and distracting? Hide it. Two ways: 1 Set it > to your logo and place it where you want your logo. This might be > better during debugging; you can test with a regular mouse. 2 Set it > to blank. > > Dar Scott > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Cubist at aol.com Sat Dec 14 15:53:01 2002 From: Cubist at aol.com (Cubist at aol.com) Date: Sat Dec 14 15:53:01 2002 Subject: Avoiding mouse polls Message-ID: <73.2a914269.2b2cf2c8@aol.com> sez pixelbird at interisland.net: > I have objects which hilite (not really, they just change pictures) in a > sequencial loop. I want to choose one so I click when it's hilited and that > causes further actions/choices. > I can't see any way of doing this without polling for the click. In MC/Rev, you can do something like this: # in card script local ListHilite,HiliteNumber,StackState # "ListHilite" is a comma-delim. list of the items that get hilited # "HiliteNumber" is the number of the list-item that was most recently hilited # "StackState" contains a string which lets you control what's going on on CycleHilite HiliteOff (item HiliteNumber of ListHilite) # "HiliteOff" is a separate handler that removes your non-standard 'hiliting' put 1 + (HiliteNumber mod (the number of items in ListHilite)) into HiliteNumber HiliteOn (item HiliteNumber of ListHilite) # "HiliteOn" is a separate handler that creates your non-standard 'hiliting' if StackState = "idle" then send "CycleHilite" to me in 1 second # "1 second" or however fast you want the hiliting to change from one item to another # note the use of StackState here end CycleHilite on mouseUp do (item HiliteNumber of "ScrollHorizRt,ScrollHorizLf,ScrollVertUp,ScrollVertDn") # the items in this list are separate handlers # each of these handlers should take care of (re-)setting the value of StackState in an appropriate fashion end mouseUp This way, there's no mouse polling, as the stack waits patiently for the user to click. When the user does click, the stack executes whatever handler is associated with whatever thingie was hilited at the time; otherwise, CycleHilite just chugs quietly along. Hope this helps... From kray at sonsothunder.com Sat Dec 14 17:56:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Dec 14 17:56:01 2002 Subject: Display progress References: Message-ID: <010601c2a3c2$72420f30$6701a8c0@mckinley.dom> Barry, Make a hidden button (I'll call it "BS") that sits in your progress window with a script that has the following in it: on mouseDown end mouseDown on mouseUp end mouseUp Then, call your progress window which will do this on its openCard: insert script of btn "BS" into front Open your progress bar (as a palette or toplevel stack so it doesn't block scripts), and then when it is over, in the closeStack handler execute: remove script of btn "BS" from front This should do it... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Barry Levine" To: Sent: Saturday, December 14, 2002 12:13 PM Subject: Display progress > I have an app that has some processing to do when it reaches a certain > card. I have the handler in the openCard script. This can take anywhere > from four to eight seconds depending on the speed of the computer. I'd > like to display a small progess indicator - even something as simple as > a window that tells the user to be patient for a few more seconds. I > don't even need to provide a thermometer or a counter. > > I thought about displaying a modal window but the docs say that doing > so will bring all processing to a halt so that's obviously not the > answer. I don't want the user to be able to click in the "main" window > until the app is ready, however. This is probably four lines of code, > right? Any help would be appreciated. > > Thanks, > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From erikhans08 at yahoo.com Sat Dec 14 19:35:00 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Dec 14 19:35:00 2002 Subject: Avoiding mouse polls In-Reply-To: <9B26C072-0F37-11D7-B9E3-0050E4C0B205@swcp.com> Message-ID: <20021215002944.87889.qmail@web20007.mail.yahoo.com> --- Dar Scott wrote: > The card is effectively a big button. that is an insight. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Sat Dec 14 19:50:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Dec 14 19:50:01 2002 Subject: Standalone Button Font Bloat In-Reply-To: <4DE08B4B-0EB2-11D7-872E-000A27B49A96@os.surf2000.de> Message-ID: <20021215004426.69235.qmail@web20010.mail.yahoo.com> --- Klaus Major wrote: > sounds like you are using 2 different > mainstacks. One when developing and another one > (splash screen) when building a standalone... is "splash screen" a RunRev term or colloquial? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From john at oneChip.com Sat Dec 14 20:30:00 2002 From: john at oneChip.com (John) Date: Sat Dec 14 20:30:00 2002 Subject: Standalone Button Font Bloat In-Reply-To: <20021215004426.69235.qmail@web20010.mail.yahoo.com> Message-ID: Colloquial. ... sorry to hop into the conversation but I needed a relevant post for my chance to win ; )... John Miskimins On Saturday, December 14, 2002, at 04:44 PM, erik hansen wrote: > --- Klaus Major wrote: >> sounds like you are using 2 different >> mainstacks. One when developing and another one >> (splash screen) when building a standalone... > > is "splash screen" a RunRev term or colloquial? > > ===== > erik at erikhansen.org http://www.erikhansen.org > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From iago at iago.net Sat Dec 14 21:43:01 2002 From: iago at iago.net (Iago) Date: Sat Dec 14 21:43:01 2002 Subject: Another 2.0 Question In-Reply-To: <20021214145524.63862.qmail@www.boxfrog.com> References: <20021214145524.63862.qmail@www.boxfrog.com> Message-ID: <20021215023753.GA668@iago.net> On Sat, 14 Dec 2002, miscdas at boxfrog.com wrote: > And how, pray tell, might one determine if a post is of > interest and "skip past" when the subject line is "Re: > Another 2.0 Question"? That subject is so broad that > unless one examines the body of the post, how is it > possible? One quietly surveys the first few lines, and then one employs one's conveniently available 'D' key, or other applicable keystroke, to expunge the offending message from one's sight. One then graciously maintains silence, rather than airing one's complaints, when the rest of a list population is clearly having no problem with the topic at hand, particularly considering that, when one replies to an 'offending' thread, one is merely giving it an opportunity to grow, which rather increases the presence of irritants in one's sight. This is how one comports oneself in a manner that treats the availability of a mailing list (such as this one) as a privilege, rather than a right. -- Fred Hicks From pixelbird at interisland.net Sat Dec 14 22:30:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sat Dec 14 22:30:01 2002 Subject: Avoiding mouse polls In-Reply-To: <200212141701.MAA01845@www.runrev.com> Message-ID: > Date: Sat, 14 Dec 2002 17:14:57 +1100 > Subject: Re: Avoiding mouse polls > From: David Vaughan > What is wrong with mouseUp and mouseRelease rather than polling for the > mouseClick? You need to catch both because you can not predict (and do > not care) where the mouse went down, but these will work, will they > not? No object is involved (except for whatever you yourself are > highlighting for them). > > You can highlight objects by using a counter to iterate through the > keys of an array from which you take the object IDs. That way, you have > easy programmatic control of the object highlight sequence without > having to fiddle with the code which actually orders the highlights. ---------- Yes, that's true, but I'm not sure I'm being understood. The problem doesn't lie with level location, but with interrupting a continuous loop. The entire sequence mentioned above is in a nested loop. The hilited objects don't just sequence once, but loop continuously until the mouse is clicked. In other words, if no mouseclick occurs, it continues the hiliting sequence until it reaches the last object, then starts over, forever. So far, I have still found no way to interrupt a continuous loop with an action external to the loop. It was suggested that I change a global variable, but I can't see a way to change _anything_ while the loop is still running. Plus, in my case, due to the necessity of a single-switch solution the interrupt must be caused by a click, however it happens. At the most basic level: on anyHandler repeat -- AFAIK, no external action, other than cmd/. on a Mac, -- can interrupt this. end repeat end ...creates an endless loop. How do I interrupt that with a click unless: on anyHandler repeat until the mouseClick -- polls the mouse end repeat end ...or unless there is another way of looping continuously to look for a click? TIA, Ken N. From dvk at dvkconsult.com.au Sat Dec 14 22:50:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sat Dec 14 22:50:01 2002 Subject: Avoiding mouse polls In-Reply-To: Message-ID: <8175B646-0FDF-11D7-8CF1-000393598038@dvkconsult.com.au> On Sunday, Dec 15, 2002, at 14:40 Australia/Sydney, Ken Norris (dialup) wrote: > >> Date: Sat, 14 Dec 2002 17:14:57 +1100 >> Subject: Re: Avoiding mouse polls >> From: David Vaughan > >> What is wrong with mouseUp and mouseRelease rather than polling for >> the >> mouseClick? You need to catch both because you can not predict (and do >> not care) where the mouse went down, but these will work, will they >> not? No object is involved (except for whatever you yourself are >> highlighting for them). >> >> You can highlight objects by using a counter to iterate through the >> keys of an array from which you take the object IDs. That way, you >> have >> easy programmatic control of the object highlight sequence without >> having to fiddle with the code which actually orders the highlights. > ---------- > Yes, that's true, but I'm not sure I'm being understood. The problem > doesn't > lie with level location, but with interrupting a continuous loop. The > entire > sequence mentioned above is in a nested loop. ...which is your first and biggest problem. Don't do it with a repeat loop; use a continual process set via send-in-time. Later posts made by myself, Dar Scott and Cubist should have explained this more clearly. In fact, Cubist basically wrote the code. > So far, I have still found no way to interrupt a continuous loop with > an > action external to the loop. It was suggested that I change a global > variable, but I can't see a way to change _anything_ while the loop is > still > running. > > Plus, in my case, due to the necessity of a single-switch solution the > interrupt must be caused by a click, however it happens. A click still comprises an "on" (mouseDown) and "off" (mouseUp/mouseRelease) so those events can still be used. > > At the most basic level: > > on anyHandler > repeat Do **not** use repeat. Use "send in N seconds" to repeat the message. See Cubist's code and our other descriptions. > . > -- AFAIK, no external action, other than cmd/. on a Mac, > -- can interrupt this. > end repeat > end Actually, send-in-time has some theoretical problems (which you should not encounter on your expected timings) about which I wrote to the improve-list. I am hoping that we will, in V2.1 or 3.0, have a more manageable co-operative multi-processing environment. However, your problem is solvable today. Reread the posts on this topic after this earlier one of mine above and feel free to write to me directly if you think it is still not clear. regards David > > TIA, > Ken N. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From pixelbird at interisland.net Sat Dec 14 22:51:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sat Dec 14 22:51:01 2002 Subject: Avoiding mouse polls In-Reply-To: <200212150244.VAA12176@www.runrev.com> Message-ID: > Date: Sat, 14 Dec 2002 16:29:44 -0800 (PST) > From: erik hansen > Subject: Re: Avoiding mouse polls >> The card is effectively a big button. > > that is an insight. ---------- Well, AFAIK, a card is, after all, really just another object. Ken N. From dsc at swcp.com Sat Dec 14 23:16:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 14 23:16:01 2002 Subject: Avoiding mouse polls In-Reply-To: <8175B646-0FDF-11D7-8CF1-000393598038@dvkconsult.com.au> Message-ID: On Saturday, December 14, 2002, at 08:44 PM, David Vaughan wrote: > Do **not** use repeat. Use "send in N seconds" to repeat the message. > See Cubist's code and our other descriptions. He's right, Ken. If you can't bring yourself to move to using "send", we can advise concerning "wait" options, but "send" is the way to go. I'll put at the end of this mail a simple exercise using "send". It may help in understanding about send and you might be able to adapt it to your need. Dar Scott Here is an example for a flashing light. It is a simplification of one of my first scripts using send. I put this script in a circle graphic: ************************* -- This is empty if flashing is off. -- It is the id (for message cancelation) if on. local flashingID -- Modify this handler when adapting to other uses on change if backgroundColor of me is red then set backgroundColor of me to green else set backgroundColor of me to red end if end change on startFlashing -- don't start cycle if it is already going if flashingID is empty then cycle end startFlashing on cycle change send cycle to me in 333 milliseconds put the result into flashingID end cycle on stopFlashing cancel flashingID -- don't bother testing for empty put empty into flashingID end stopFlashing **************************** My "Start" button has this script: ****************************** on mouseUp send startFlashing to graphic "Flasher" end mouseUp ******************************* The stop button has this script: ******************************* on mouseUp send stopFlashing to graphic "Flasher" end mouseUp ******************************* From pixelbird at interisland.net Sat Dec 14 23:21:00 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sat Dec 14 23:21:00 2002 Subject: Avoiding mouse polls In-Reply-To: <200212150244.VAA12176@www.runrev.com> Message-ID: > From: Cubist at aol.com > Date: Sat, 14 Dec 2002 15:47:04 EST > Subject: re: Avoiding mouse polls > In MC/Rev, you can do something like this: > > # in card script > local ListHilite,HiliteNumber,StackState > # "ListHilite" is a comma-delim. list of the items that get hilited > # "HiliteNumber" is the number of the list-item that was most recently hilited > # "StackState" contains a string which lets you control what's going on > > on CycleHilite > HiliteOff (item HiliteNumber of ListHilite) > # "HiliteOff" is a separate handler that removes your non-standard > 'hiliting' > put 1 + (HiliteNumber mod (the number of items in ListHilite)) into > HiliteNumber > HiliteOn (item HiliteNumber of ListHilite) > # "HiliteOn" is a separate handler that creates your non-standard 'hiliting' ---------- Ohhhh, goodie! I'm such a RR newbie...I was going to suggest maybe some kind of idle thing. This is the _key_ thing I was looking for in RR, but didn't know what it was: ******************************************************************** if StackState = "idle" then send "CycleHilite" to me in 1 second ******************************************************************** Let me look this (StackState) up on the other machine (accessing the RR docs in this old PB is painfully slow, sometimes causes crashes) tomorrow. ---------- > # "1 second" or however fast you want the hiliting to change from one item > to another > # note the use of StackState here > end CycleHilite > > on mouseUp > do (item HiliteNumber of > "ScrollHorizRt,ScrollHorizLf,ScrollVertUp,ScrollVertDn") > # the items in this list are separate handlers > # each of these handlers should take care of (re-)setting the value of > StackState in an appropriate fashion > end mouseUp > > This way, there's no mouse polling, as the stack waits patiently for the > user to click. When the user does click, the stack executes whatever handler > is associated with whatever thingie was hilited at the time; otherwise, > CycleHilite just chugs quietly along. ----------- I see. I didn't know about StackState. WunnerfulThing that. Every one kept telling me things that wouldn't work with a repeat loop, but retrieving "idle" from StackState is the real key. As it is here, it replaces a similar thing which would be done with an "on idle" handler in HC. There's a related thread, "Blink" going on over in the HC group list, which I've been following. Very similar stuff. Thanks much, Ken N. From dvk at dvkconsult.com.au Sun Dec 15 00:37:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sun Dec 15 00:37:01 2002 Subject: Avoiding mouse polls In-Reply-To: Message-ID: <815EFBBC-0FEE-11D7-8CF1-000393598038@dvkconsult.com.au> On Sunday, Dec 15, 2002, at 15:32 Australia/Sydney, Ken Norris (dialup) wrote: > >> From: Cubist at aol.com >> Date: Sat, 14 Dec 2002 15:47:04 EST >> Subject: re: Avoiding mouse polls > >> In MC/Rev, you can do something like this: >> >> # in card script >> local ListHilite,HiliteNumber,StackState >> # "ListHilite" is a comma-delim. list of the items that get hilited >> # "HiliteNumber" is the number of the list-item that was most >> recently hilited >> # "StackState" contains a string which lets you control what's going >> on >> > Ohhhh, goodie! I'm such a RR newbie...I was going to suggest maybe > some kind > of idle thing. This is the _key_ thing I was looking for in RR, but > didn't > know what it was: > ******************************************************************** > if StackState = "idle" then send "CycleHilite" to me in 1 second > ******************************************************************** > Let me look this (StackState) up on the other machine (accessing the > RR docs > in this old PB is painfully slow, sometimes causes crashes) tomorrow. Umm...Ken, you won't find "StackState" in the docs. It is a local variable Cubist happened to declare to use to monitor status. > ----------- > I see. I didn't know about StackState. WunnerfulThing that. Every one > kept > telling me things that wouldn't work with a repeat loop, No, we were telling you not to use a repeat loop at all....and don't use idle either. Unless you have taken in Dar's latest example, you haven't "got it" yet. I am trusting this latest flurry will help. regards David > Thanks much, > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From k_major at os.surf2000.de Sun Dec 15 06:33:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Sun Dec 15 06:33:01 2002 Subject: Standalone Button Font Bloat In-Reply-To: <20021215004426.69235.qmail@web20010.mail.yahoo.com> Message-ID: <5BC1605E-1020-11D7-9626-000A27B49A96@os.surf2000.de> Hi Erik, > --- Klaus Major wrote: >> sounds like you are using 2 different >> mainstacks. One when developing and another one >> (splash screen) when building a standalone... > > is "splash screen" a RunRev term or colloquial? This is colloquial for the method of using a "splash screen" as the mainstack and so being able to save other stacks in a standalone. Regards Klaus Major k_major at os.surf2000.de From kkaufman at snet.net Sun Dec 15 09:24:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun Dec 15 09:24:01 2002 Subject: palm? (OT) Message-ID: <0C7F2E0C-1038-11D7-A6C9-0003936D1F12@snet.net> "...What we need to to do is get Raney cloned and get the clone to implement the language for PDA's...." Ooh! Ooh! I got it! I got it! on portEngineForPalm put copyResource(Raney,moreMoney,"XtraTime","SetPort") into MCRuntimePalm end portEngineForPalm on portEditorForPalm put copyResource(Miller,moreMoney,"XtraTime","SetPort") into RREditorPalm end portEditorForPalm -Kurt From thomas.rodriguez at free.fr Sun Dec 15 12:47:01 2002 From: thomas.rodriguez at free.fr (Thomas Rodriguez) Date: Sun Dec 15 12:47:01 2002 Subject: Avoiding mouse polls References: <200212151706.MAA25473@www.runrev.com> Message-ID: <3DFCBEC0.412C2E6C@free.fr> Hello everyone, this is my first step in this mail-list :) Ken, I do have some ideas about what you want to do. I recommend you doing "idle-interception": set the idle delay of Rev to some good value, which will be your highlight delay, and implement something like this: ObjectsList might be a comma-delimited string or an array ********************************** global LastObjectHighlighted,ObjectsList,MouseWasClicked on idle if MouseWasClicked then -- reactivate the loop now to avoid repeating bugs if ever the target's script has any put false into MouseWasClicked -- do the click-commanded stuff, IE send a message to the LastObjectHighlighted send "DoMyStuff" to [object type] (item LastObjectHighlighted of ObjectsList) end if -- clear current object highlight, if ever send "UnHighlightMe" to [object type] (item LastObjectHighlighted of ObjectsList) -- check for last object and switch to next if LastObjectHighlighted = number of items of ObjectsList then put 0 into LastObjectHighlighted -- 0 as we always add 1 after add 1 to LastObjectHighlighted -- here, highlight the next object send "HighlightMe" to [object type] (item LastObjectHighlighted of ObjectsList) pass idle -- never to forget ! end idle on mouseUp put true into MouseWasClicked end mouseUp ********************************** Note that using custom properties causes a hard-drive access in most cases AFAIK. Prefer global variables where you don't need to share data with other objects/cards/stacks Kind regards. Thomas Rodriguez oldtimer from the massive HyperCard users community worldwide :) From scott at tactilemedia.com Sun Dec 15 14:14:00 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Sun Dec 15 14:14:00 2002 Subject: Avoiding mouse polls In-Reply-To: Message-ID: As a followup to the thread about interrupting a looping action with a mouse click, I posted a small demo stack called "Click Detector" on our site which illustrates one method of doing this. http://www.tactilemedia.com/download When the stack is opened, it should orient itself to cover the entire screen. Click anywhere to start the loop action, click again to interrupt. The key scripts reside on the card. Perhaps this is useful. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From dsc at swcp.com Sun Dec 15 14:18:00 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 15 14:18:00 2002 Subject: Apple Remote Desktop for Platform Testing Message-ID: I'm considering getting Remote Desktop for testing stacks and standalones on Macintosh OS's. I welcome any advice or reports on experience in doing this or on Remote Desktop or on alternatives. (I use VPC for Windows.) I'm envisioning a few old Macs under a table or in a closet that I can turn on as needed. I then connect to them using Remote Desktop to run tests applicable to that OS or hardware. I'm thinking something like a G3 that books OS X 10.1 or Mac 9.2 and an old PowerPC that boots something older. Would Timbuktu be a candidate for this? Would this even be a useful test? Dar Scott From gary.rathbone at btclick.com Sun Dec 15 15:46:01 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Sun Dec 15 15:46:01 2002 Subject: Apple Remote Desktop for Platform Testing In-Reply-To: Message-ID: <000001c2a47a$28962890$0e00000a@server> Dar, >I'm considering getting Remote Desktop for testing stacks and >standalones on Macintosh OS's. Take a look at VNC... http://www.uk.research.att.com/vnc/index.html "VNC stands for Virtual Network Computing. It is, in essence, a remote display system which allows you to view a computing 'desktop' environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures." Its free and cross platform ! Just use a web browser to access the desktop of a remote machine...a fantastic piece of software ! Regards Gary Rathbone BSc MBCS From dsc at swcp.com Sun Dec 15 16:23:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 15 16:23:01 2002 Subject: Avoiding mouse polls In-Reply-To: Message-ID: <5D155D02-1072-11D7-9741-0050E4C0B205@swcp.com> Some thoughts came to my mind. Yes, they all involve send. 1. If buttons that can arm are suitable representations, then maybe one of these can work. 1.A This might make development easier (after the initial work). If mouseLoc() can arm a button, then a card or stack send-cycle engine can move the mouse pointer over each button in sequence causing it to become armed (with either a border or an arm image). The mouse might be invisible. This allows the entire app to be developed and tested with a regular mouse. The switch capability might be controlled during development and testing with three function keys to set it to Off, Debug and On. (Debug might set the cursor to a plus; On might set it to something invisible. It may be possible to have a generic send-cycle at the stack level that cycles through all enabled buttons with autoarm set in layer order. For cards where that is not suitable, that can be intercepted at the card level. 1.B Maybe there is something that can work with tabs. 2 My wildest idea, one of those shower things, is this. (Maybe this is how "everybody" does it and I didn't know.) Put a ball on a wire track or a train engine on a train track. Create images or buttons that can be tiled to set up the functionality of a card and to create the track. Each track section uses send in 0 to pass the ball to the next tile. Tile pieces might be these: Vertical section Horizontal section Curve (4) Vertical button (toggle, single, momentary) Horizontal button (as above) Track Switch (8) Tunnel (in/out: 4 directions) Edit Tunnels (in/out: fields, popup...) (button to switch connections?) The control zone of any card can be made up of these. "Programming the card gui is simply placing tiles. Well, a big part is. Maybe this can be made an overlay over existing cards. (I have no idea how suitable any of this would really be.) Dar Scott From pixelbird at interisland.net Sun Dec 15 16:26:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Dec 15 16:26:01 2002 Subject: The problem with digests In-Reply-To: <200212151701.MAA25282@www.runrev.com> Message-ID: > Date: Sun, 15 Dec 2002 14:44:25 +1100 > Subject: Re: Avoiding mouse polls > From: David Vaughan ---------- >> Yes, that's true, but I'm not sure I'm being understood. The problem >> doesn't >> lie with level location, but with interrupting a continuous loop. The >> entire >> sequence mentioned above is in a nested loop. > ...which is your first and biggest problem. Don't do it with a repeat > loop; use a continual process set via send-in-time. Later posts made > by myself, Dar Scott and Cubist should have explained this more > clearly. In fact, Cubist basically wrote the code. ---------- Yes, I saw it later. I subscribe using the digest version, so sometimes I don't get updated posts for awhile. I posted this in between, so I hadn't seen any later posts yet. I ask that the list understand that. It will undoubtedly happen again, as I have no control over when the digest comes in, meaning I may be Re'ing to posts in a previous digest. If you don't use the digest version, you wouldn't know that, so I ask for patience. If it looks like I haven't yet understood something, it may be because I simply haven't yet been able to read subsequent Re's. Thanks, Ken N. From dsc at swcp.com Sun Dec 15 16:27:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 15 16:27:01 2002 Subject: Apple Remote Desktop for Platform Testing In-Reply-To: <000001c2a47a$28962890$0e00000a@server> Message-ID: On Sunday, December 15, 2002, at 01:40 PM, Gary Rathbone wrote: > Its free and cross platform ! VNC? Cool! I thought it was just Windows and I'm already using pcAnywhere, W2K terminal and XP remote desktop for Windows. Dar Scott From mcompanys at mac.com Sun Dec 15 16:35:01 2002 From: mcompanys at mac.com (Emmanuel Companys) Date: Sun Dec 15 16:35:01 2002 Subject: Apple Remote Desktop for Platform Testing In-Reply-To: Message-ID: <3E068497-1074-11D7-A6F6-003065A81762@mac.com> Le dimanche, 15 d?c 2002, ? 22:19 Europe/Paris, Dar Scott a ?crit : > > On Sunday, December 15, 2002, at 01:40 PM, Gary Rathbone wrote: > >> Its free and cross platform ! > > VNC? Cool! I thought it was just Windows and I'm already using > pcAnywhere, W2K terminal and XP remote desktop for Windows. > > Dar Scott Is it part of mac.com ? (Excuse me, I guess I missed one msg) :-( Manue From pixelbird at interisland.net Sun Dec 15 16:40:00 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Dec 15 16:40:00 2002 Subject: Avoiding mouse polls In-Reply-To: <200212151701.MAA25282@www.runrev.com> Message-ID: > Date: Sat, 14 Dec 2002 21:08:34 -0700 > Subject: Re: Avoiding mouse polls > From: Dar Scott > On Saturday, December 14, 2002, at 08:44 PM, David Vaughan wrote: > >> Do **not** use repeat. Use "send in N seconds" to repeat the message. >> See Cubist's code and our other descriptions. > > He's right, Ken. > > If you can't bring yourself to move to using "send", we can advise > concerning "wait" options, but "send" is the way to go. > > I'll put at the end of this mail a simple exercise using "send". It may > help in understanding about send and you might be able to adapt it to > your need. > > Dar Scott > > > Here is an example for a flashing light. It is a simplification of one > of my first scripts using send. I put this script in a circle graphic: ---------- I don't have a problem with using "send in", the problem was how it repeats. ---------- > on cycle > change > send cycle to me in 333 milliseconds > put the result into flashingID > end cycle ---------- Is the above "cycle" a special handler? If not, what causes it to repeat? Thanks for the script, Dar. Happy Holidays, Ken N. From pixelbird at interisland.net Sun Dec 15 16:51:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Dec 15 16:51:01 2002 Subject: Avoiding mouse polls In-Reply-To: <200212151701.MAA25282@www.runrev.com> Message-ID: > Date: Sun, 15 Dec 2002 16:31:47 +1100 > Subject: Re: Avoiding mouse polls > From: David Vaughan > Unless you have taken in Dar's latest example, you > haven't "got it" yet. I am trusting this latest flurry will help. ---------- Perhaps not. "Send in..", by itself, looks to me like a one time thing. Exactly _what_ is causing it to recur? That's what I have to understand. Thanks so much, Ken N. From mdswindell at charter.net Sun Dec 15 16:55:01 2002 From: mdswindell at charter.net (Mark Swindell) Date: Sun Dec 15 16:55:01 2002 Subject: Apple Remote Desktop for Platform Testing In-Reply-To: <000001c2a47a$28962890$0e00000a@server> Message-ID: on 12/15/02 12:40 PM, Gary Rathbone at gary.rathbone at btclick.com wrote: > Dar, > >> I'm considering getting Remote Desktop for testing stacks and >> standalones on Macintosh OS's. > > Take a look at VNC... > http://www.uk.research.att.com/vnc/index.html > "VNC stands for Virtual Network Computing. It is, in essence, a remote > display system which allows you to view a computing 'desktop' > environment not only on the machine where it is running, but from > anywhere on the Internet and from a wide variety of machine > architectures." > > Its free and cross platform ! Just use a web browser to access the > desktop of a remote machine...a fantastic piece of software ! > I looked and saw no mention of MacOS or OSX...? Hmmmm. Did I miss something? Mark From mdswindell at charter.net Sun Dec 15 16:59:00 2002 From: mdswindell at charter.net (Mark Swindell) Date: Sun Dec 15 16:59:00 2002 Subject: Apple Remote Desktop...-Apology!! In-Reply-To: <000001c2a47a$28962890$0e00000a@server> Message-ID: I didn't look very closely I guess. Clearly there are Macs in the screenshot page. Sorry to waste bandwidth with two messages that needn't have been sent had I but been more careful. Anxious to check out the software. Thanks for the heads up. Mark From sarahr at genesearch.com.au Sun Dec 15 17:09:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Dec 15 17:09:01 2002 Subject: palm? In-Reply-To: Message-ID: I'd be satisfied with a conduit so that I could transfer data to my Palm's memos, addresses or date book. Anyone know how to write conduits? Sarah On Saturday, December 14, 2002, at 03:34 am, Ivers, Doug E wrote: > I'm sure this has been asked periodically, but... > > Is there any possibility in the future of Rev building for Palm OS? > Or is it such a different kind of platform that it won't ever. > > > -- D > > _______________________________________________ > 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 Dec 15 17:23:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Dec 15 17:23:01 2002 Subject: Display progress In-Reply-To: Message-ID: One thing to keep in mind is that constant progress updating can slow down your processing. If you use a progress bar or the busy cursor, don't update every time through your loop, but limit it to ever 10th, 100th or whatever makes sense. As an alternative suggestion, can you do this processing as the application starts up? People are quite accustomed to being kept waiting at the splash screen especially if you have a text message and busy cursor showing that something is really happening. Then once the program starts, you can go directly to the card without delay. Cheers, Sarah On Sunday, December 15, 2002, at 04:15 am, Barry Levine wrote: > I have an app that has some processing to do when it reaches a certain > card. I have the handler in the openCard script. This can take > anywhere from four to eight seconds depending on the speed of the > computer. I'd like to display a small progess indicator - even > something as simple as a window that tells the user to be patient for > a few more seconds. I don't even need to provide a thermometer or a > counter. > > I thought about displaying a modal window but the docs say that doing > so will bring all processing to a halt so that's obviously not the > answer. I don't want the user to be able to click in the "main" window > until the app is ready, however. This is probably four lines of code, > right? Any help would be appreciated. > > Thanks, > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From troy at rpsystems.net Sun Dec 15 17:24:00 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sun Dec 15 17:24:00 2002 Subject: Avoiding mouse polls In-Reply-To: Message-ID: <1648B228-107B-11D7-9636-000393853D6C@rpsystems.net> On Sunday, December 15, 2002, at 04:50 PM, Ken Norris (dialup) wrote: > ---------- >> on cycle >> change >> send cycle to me in 333 milliseconds >> put the result into flashingID >> end cycle > ---------- > Is the above "cycle" a special handler? If not, what causes it to > repeat? Ken, that is the cool part. If you look closely, the handler calls itself in a third of a second. And every time it runs, it calls itself again... and again... and again. But the good part is that you can interrupt the cycle by testing a variable state. This particular case may have read - on cycle change if myCustomState is false send cycle to me in 333 milliseconds put the result into flashingID end cycle You see? The repeat happens because every pass of the handler it calls itself to go off again after a short period, UNLESS the state is modified. You should note, there is nothing special here. This is the absolute most practical way of having interruptible repeats of this kind in Rev. It works remarkably well, and once you start using it, you will find lots and lots of uses for it. HTH -- Troy RPSystems, LTD www.rpsystems.net From sarahr at genesearch.com.au Sun Dec 15 17:26:02 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Dec 15 17:26:02 2002 Subject: newbie question: How clik text field? In-Reply-To: Message-ID: <4A1F8995-107B-11D7-98CA-0003937A97B8@genesearch.com.au> I am assuming that the script to show your help is in the field itself, so a manual click pops up the help. In that case, your random handler can do something like this: set the hilitedLine of fld "List" to x send mouseUp to fld "List" Sarah On Friday, December 13, 2002, at 09:35 pm, Esa Kivel? wrote: > Greetings aggain from Finland > > I like to code standalone where some text field and when button is > pressed its randomly select some line from text field and show it. > > Why? Here is some backround: I have group of my firends and we > training some meditations and so one and they succest that we can > randomly select wich one training we take at every time. > > Ok that random seleceted i have coded but how I code follow: > > When some line in the text field si choosen, then I like to clik that > line by mouse and voila a help text field about that specific training > pops up. Anyone can help me with this one? > > I have noticed that ine the RRs manuals there is some clickText > function but HOW to use that..there isin't any good example where to > learn how to use it... > > Thanks at advance > > EsaK > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sims at ezpzapps.com Sun Dec 15 17:56:00 2002 From: sims at ezpzapps.com (sims) Date: Sun Dec 15 17:56:00 2002 Subject: Mac 10.2.2 In-Reply-To: References: Message-ID: Many, many thanks to the kind people on the list for helping me solve this problem. sims From Cubist at aol.com Sun Dec 15 18:43:01 2002 From: Cubist at aol.com (Cubist at aol.com) Date: Sun Dec 15 18:43:01 2002 Subject: Avoiding mouse polls Message-ID: <38.32c1f0c3.2b2e6c1e@aol.com> sez pixelbird at interisland.net: >Let me look this (StackState) up on the other machine (accessing the RR >docs >in this old PB is painfully slow, sometimes causes crashes) tomorrow. "StackState" isn't actually part of Rev/MC. Instead, it's a variable I'm using as a flag, and every handler you've got should set this flag to whatever value is appropriate. Let the first line in every handler be "put 'YadaYada' into StackState", and use "put 'idle' into StackState" as the the last line of each handler. >I see. I didn't know about StackState. WunnerfulThing that. As far as i know, what StackState does isn't actually built into Rev/MC -- so you have to do it 'by hand', as it were. >Every one kept >telling me things that wouldn't work with a repeat loop, but retrieving >"idle" from StackState is the real key. As it is here, it replaces a similar >thing which would be done with an "on idle" handler in HC. There's a related >thread, "Blink" going on over in the HC group list, which I've been >following. Very similar stuff. Strictly speaking, things *can* work with a repeat loop -- it's just that you don't *want* things to work with a repeat loop. Bad side effects, man. From jacque at hyperactivesw.com Sun Dec 15 19:06:00 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Dec 15 19:06:00 2002 Subject: Avoiding mouse polls In-Reply-To: <200212152228.RAA01737@www.runrev.com> References: <200212152228.RAA01737@www.runrev.com> Message-ID: <3DFD1793.6070700@hyperactivesw.com> "Ken Norris (dialup)" wrote: > Is the above "cycle" a special handler? If not, what causes it to repeat? There is information on how the "send-in-time" command works in my HyperCard-to-Revolution tutorial. The entry page for the tutorial is here: http://www.hyperactivesw.com/mctutorial/ In particular, there is one page that explains how "send-in-time" works, and when and why a scripter might want to use it: http://www.hyperactivesw.com/mctutorial/rroptimize-sendto.html If you have time, I'd recommend downloading and working through the entire tutorial. It was written specifically for people coming from a HyperCard background, and walks you through the conversion of a simple HyperCard stack. In the process, the tutorial address many concepts that may be new to HyperCard users, and tries to explain them in terms that HyperCard users will be familiar with. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pixelbird at interisland.net Sun Dec 15 19:19:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Dec 15 19:19:01 2002 Subject: Avoiding mouse polls In-Reply-To: <200212152227.RAA01470@www.runrev.com> Message-ID: Date: Sun, 15 Dec 2002 17:18:07 -0500 Subject: Re: Avoiding mouse polls From: Troy Rollins > Ken, that is the cool part. If you look closely, the handler calls > itself in a third of a second. And every time it runs, it calls itself > again... and again... and again. But the good part is that you can > interrupt the cycle by testing a variable state. This particular case > may have read - > > on cycle > change > if myCustomState is false > send cycle to me in 333 milliseconds > put the result into flashingID > end cycle ---------- Geez....of course (what is the acronym for slapping self in forehead)! I've done the same thing in HC. I don't know why I didn't see that. Maybe because of the "to me"...I usually have done it to other handlers. And, in fact, because of the changes, I may do it that way (call other handlers) as well as itself, for my purposes. OK...I have it now. Thanks to everyone for their ideas. ---------- > It works remarkably well, and once you start using it, you will > find lots and lots of uses for it. ---------- Sure. In fact, Dar's recent ideas are inspiring me to think up some games to use as training exercises. What works for me in this type of circumstance is to create the simplest, most basic object/script engine possible. I can usually take it from there. Thanks again, Ken N. From dsc at swcp.com Sun Dec 15 19:47:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 15 19:47:01 2002 Subject: Avoiding mouse polls In-Reply-To: Message-ID: On Sunday, December 15, 2002, at 02:50 PM, Ken Norris (dialup) wrote: > ---------- >> on cycle >> change >> send cycle to me in 333 milliseconds >> put the result into flashingID >> end cycle > ---------- > Is the above "cycle" a special handler? If not, what causes it to > repeat? > This is a plain ordinary handler. Note that its name is "cycle". (It can be anything.) Then, in the body is a send: send "cycle" to me in 333 milliseconds That puts "cycle" (back) in the pending message queue. Revolution will execute the message in a third of a second (333 milliseconds). So, what cycle does is 1) make any changes needed to the state of your application and 2) ask Revolution to run it again in a third of a second. This line saves away a reference to the pending message so it can be cancelled, breaking the cycle: put result() into flashingID You can use units of seconds instead of milliseconds if you want. After execution cycle the application has this change: The changes made by the change handler are done. (That can be inline if you want.) The handler is scheduled for (re)execution. An ID for cancelling is remembered. (I knew you have the digest and should have slowed down my responses. Sorry about that.) Dar Scott From benr_mc at cogapp.com Sun Dec 15 19:52:01 2002 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sun Dec 15 19:52:01 2002 Subject: [not really off-topic] How to register documents to apps on Windows Message-ID: Can any kind person post a brief run-down of what is required to register a an extension to an app, so that double-clicking documents with that extension in the Windows explorer launches the appropriate app? I assume that (at least from Windows 98 on) this is done by writing/modifying keys in the registry - but which and what? Are there any gotchas to do with multiple users or Administrator issues in WinXP etc? TIA, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From bvlahos at mac.com Sun Dec 15 20:19:01 2002 From: bvlahos at mac.com (Bill Vlahos) Date: Sun Dec 15 20:19:01 2002 Subject: Apple Remote Desktop for Platform Testing In-Reply-To: Message-ID: <8FBFD694-1093-11D7-9FEF-0003936A2C42@mac.com> Apple Remote Desktop is good and will do what you want. Timbuktu will do the same and I like it a little better under OS X although I have had some stability problems in OS 9 and earlier. You must have an interesting setup to have a closet full of Macs. Remember that any Mac which can boot in X can also boot into 9 (at least until next month when Apple introduces some new models which won't boot into 9 any longer). Even under X, Classic applications can still run. Bill Vlahos On Sunday, December 15, 2002, at 11:10 AM, Dar Scott wrote: > I'm considering getting Remote Desktop for testing stacks and > standalones on Macintosh OS's. I welcome any advice or reports on > experience in doing this or on Remote Desktop or on alternatives. > > (I use VPC for Windows.) > > I'm envisioning a few old Macs under a table or in a closet that I can > turn on as needed. I then connect to them using Remote Desktop to run > tests applicable to that OS or hardware. I'm thinking something like > a G3 that books OS X 10.1 or Mac 9.2 and an old PowerPC that boots > something older. > > Would Timbuktu be a candidate for this? > > Would this even be a useful test? > > 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 Sun Dec 15 20:31:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 15 20:31:01 2002 Subject: Apple Remote Desktop for Platform Testing In-Reply-To: <8FBFD694-1093-11D7-9FEF-0003936A2C42@mac.com> Message-ID: <0CAA5A9E-1095-11D7-9741-0050E4C0B205@swcp.com> On Sunday, December 15, 2002, at 06:13 PM, Bill Vlahos wrote: > You must have an interesting setup to have a closet full of Macs. They don't go away. -- Dar From monte at sweattechnologies.com Sun Dec 15 20:43:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Dec 15 20:43:01 2002 Subject: [not really off-topic] How to register documents to apps onWindows In-Reply-To: Message-ID: The following script will work for all versions on windows post 3.1: put replaceText(tPath,"/","\") into tPath put tPath & "\myApp.exe,1" into dIcon put tPath & "\myApp.exe %1" into sCom get setRegistry("HKEY_CLASSES_ROOT\.ext\", "myApp") get setRegistry("HKEY_CLASSES_ROOT\myApp\", "myApp File") get setRegistry("HKEY_CLASSES_ROOT\myApp\DefaultIcon\", dIcon) get setRegistry("HKEY_CLASSES_ROOT\myApp\shell\open\command\", sCom) Where tPath is the path to the folder of the standalone, .ext is the extension you want to use and the application name is myApp.exe. Cheers Monte > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ben > Rubinstein > Sent: Monday, 16 December 2002 11:16 AM > To: use-revolution at lists.runrev.com > Subject: [not really off-topic] How to register documents to apps > onWindows > > > Can any kind person post a brief run-down of what is required to > register a > an extension to an app, so that double-clicking documents with that > extension in the Windows explorer launches the appropriate app? I assume > that (at least from Windows 98 on) this is done by > writing/modifying keys in > the registry - but which and what? Are there any gotchas to do with > multiple users or Administrator issues in WinXP etc? > > TIA, > > Ben Rubinstein | Email: benr_mc at cogapp.com > Cognitive Applications Ltd | Phone: +44 (0)1273-821600 > http://www.cogapp.com | Fax : +44 (0)1273-728866 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From JamesHBeckmann at aol.com Sun Dec 15 21:11:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Sun Dec 15 21:11:01 2002 Subject: Error on Opening Stacks and No Longer Recent Message-ID: <6.4bd18eb.2b2e8ec4@aol.com> The following appears whenever I now open a stack: >> ? There was an Execution Error at 7:01:59 PM Error description: if-then: error in statement Revolution User Interface Error: Object: button id 1137 of group id 1136 of card id 1002 of stack "/Macintosh HD/Desktop Folder/Revolution 1.1 Classic/components/tools/revmenubar.rev" -------------------- if it is not empty then -------------------- Value: menuPick<< How do I correct this? Also my most recently visited stacks no longer appear under the menu "Open recent stacks". Any ideas appreciated. Jim From alex at mindlube.com Sun Dec 15 21:39:01 2002 From: alex at mindlube.com (Alex Rice) Date: Sun Dec 15 21:39:01 2002 Subject: Runrev as an expert system shell In-Reply-To: <01C5568E-0C70-11D7-8944-000393529642@mindlube.com> Message-ID: On Tuesday, December 10, 2002, at 11:48 AM, Alex Rice wrote: > Below is an expert system which comes with CLIPS. It's for selecting a > wine based on the user's preferences. If someone will write a similar > system for scotch & whiskey, I will translate it into CLIPS and write > a RunRev GUI for it (next year sometime). All you would need to write > is a bunch of english assertions and if-then rules, not actual CLIPS > rules. Or locate one on the web if it already exists in the public > domain. Alas! I have had no actual volunteers for being scotch-selecting experts. Perhaps you all are doing some research on the subject. ;-) Happy holidays, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From alanIra9 at mac.com Sun Dec 15 22:46:00 2002 From: alanIra9 at mac.com (Alan Gayne) Date: Sun Dec 15 22:46:00 2002 Subject: Apple Remote Desktop for Platform Testing In-Reply-To: <0CAA5A9E-1095-11D7-9741-0050E4C0B205@swcp.com> Message-ID: Hell! I've still got one of the original 128K Macs in MY closet (you know, the one with the autographs of the original Mac team embossed inside the case) -- also a Mac Plus, a IIvx, a Quadra 650, a Performa 5215 and soon to be joined by an iMac SE 400 with a troublesome video problem (not the video card, but supposedly something on the logic board). Each of these were used originally by me, passed down the line to each of my two sons, and finally returned to me when they moved on to newer models. But even though they are thoroughly obsolete (except for the iMac) I can't quite bring myself to just put these old friends out with the trash. guess I'm just a sentimental foole. Alan On Sunday, December 15, 2002, at 08:23 PM, Dar Scott wrote: > > On Sunday, December 15, 2002, at 06:13 PM, Bill Vlahos wrote: > >> You must have an interesting setup to have a closet full of Macs. > > They don't go away. -- Dar > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Sun Dec 15 23:32:00 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sun Dec 15 23:32:00 2002 Subject: Return in field property is an error? Message-ID: current properties palette for fields shows an item "Return in moves to next field" But, should that not be "Tab in field move to next field?" " 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 Mon Dec 16 03:13:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Dec 16 03:13:01 2002 Subject: [not really off-topic] How to register documents to apps onWindows References: Message-ID: <01e801c2a4d9$91692200$6701a8c0@mckinley.dom> Ben, You can take a look at the tip at: http://www.sonsothunder.com/devres/revolution/revolution.htm?_file004 Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Ben Rubinstein" To: Sent: Sunday, December 15, 2002 6:46 PM Subject: [not really off-topic] How to register documents to apps onWindows > Can any kind person post a brief run-down of what is required to register a > an extension to an app, so that double-clicking documents with that > extension in the Windows explorer launches the appropriate app? I assume > that (at least from Windows 98 on) this is done by writing/modifying keys in > the registry - but which and what? Are there any gotchas to do with > multiple users or Administrator issues in WinXP etc? > > TIA, > > Ben Rubinstein | Email: benr_mc at cogapp.com > Cognitive Applications Ltd | Phone: +44 (0)1273-821600 > http://www.cogapp.com | Fax : +44 (0)1273-728866 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From curry at pair.com Mon Dec 16 04:37:01 2002 From: curry at pair.com (Curry) Date: Mon Dec 16 04:37:01 2002 Subject: Avoiding mouse polls In-Reply-To: <200212150245.VAA12360@www.runrev.com> References: <200212150245.VAA12360@www.runrev.com> Message-ID: >Thanks Curry, > >I think this is sort of on the right track. I think you expect the code to >be in a loop, right? So it detects a mouse message while it's running via >the send command, right? No, that won't quite work either. No, not in a loop! The send command I used *is* the equivalent to the loop--it schedules the next change in which object is hilited. For detecting the mouse action, no loop is needed as others have pointed out. In the card or stack script. I included two handlers, one "dohilite" which would cycle the hilited object and one "mousedown" to select the currently hilited object. I was in a hurry so just put "end" instead of "end dohilite". Of course, you have to send one "dohilite" sometime to start it off, either when opening the card or through some other method. Curry From janschenkel at yahoo.com Mon Dec 16 04:40:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Dec 16 04:40:01 2002 Subject: Return in field property is an error? In-Reply-To: Message-ID: <20021216093420.39363.qmail@web11904.mail.yahoo.com> --- Sannyasin Sivakatirswami wrote: > current properties palette for fields shows an item > "Return in moves to > next field" > > But, should that not be "Tab in field move to next > field?" > > > > " > > > Sannyasin Sivakatirswami > Hi Sannyasin, Actually, the term is correct. TAB will move you to the next field _unless_ you trap the 'tabKey' handler in the field script. RFETURN will simply move you to the next line _unless_ you set this property, and then it will go to the next field. This property is interesting for input screens where you want to avoid people typing multiple lines in one field. Hope this cleared it up, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From carstenlist at itinfo.dk Mon Dec 16 06:36:01 2002 From: carstenlist at itinfo.dk (Carsten Levin) Date: Mon Dec 16 06:36:01 2002 Subject: Timbuktu for controlling or testing? In-Reply-To: <200212160946.EAA12486@www.runrev.com> Message-ID: I would for sure use Timbuktu to controll other computers and test environments ... if its running on separate hardware units. We are testing om Mac OS 9, X and Windows. On Windows we would considder Connectix Virtual PC, and keep the testing on one computer with many Virtual PC Environments. On the Mac we are doing it a little bit different ... althoug still keeping it on one computer. On Mac OS 9 we are using Multiple Users to set up a number of different test environments. And each time we move to a new version we will make a new user. To make sure that the Revolution/MetaCard environment is also under controll we will never have a Revolution installed in the shared areas - each userenvironment has its own Revolution in its own "home" area, under OS 9 we are using the documents folder. On Mac OS X we are doing it the same way ... Revolution and the stacks are stored in the home directory ... and new users are made when needen. We are calling the users the version numbers ... and its giving us the opportunity to go back and test older versions if it should be needed. But when controlling other computers we prefer Timbuktu ... its even cross platform and it works fine. Carsten >> I'm considering getting Remote Desktop for testing stacks and >> standalones on Macintosh OS's. I welcome any advice or reports on >> experience in doing this or on Remote Desktop or on alternatives. >> >> (I use VPC for Windows.) >> >> I'm envisioning a few old Macs under a table or in a closet that I can >> turn on as needed. I then connect to them using Remote Desktop to run >> tests applicable to that OS or hardware. I'm thinking something like >> a G3 that books OS X 10.1 or Mac 9.2 and an old PowerPC that boots >> something older. >> >> Would Timbuktu be a candidate for this? >> >> Would this even be a useful test? >> >> Dar Scott From chripa at aon.at Mon Dec 16 07:49:01 2002 From: chripa at aon.at (Christoph Pastl) Date: Mon Dec 16 07:49:01 2002 Subject: Converting seconds into minutes and seconds Message-ID: I want to display the current time of a player in minutes and seconds. Is there a function available which converts seconds into minutes and seconds? e.g.: 90 becomes 1:30 Chris From brendan at poolcreative.com Mon Dec 16 07:53:00 2002 From: brendan at poolcreative.com (Brendan Bonsack) Date: Mon Dec 16 07:53:00 2002 Subject: Externals Collection Problems Message-ID: <3DFDCC17.E03B6607@poolcreative.com> Has anyone else had this problem from the xworlds Xternals Collection (Windows version)?? I have primarily been interested in the drag-drop function, and have registered the DLL, and included a reference to it using the Application Overview window. This part seems to be okay. I can get values from EXT_ calls, (eg. EXT_DRAGDROP, EXT_SETSTACK), but cannot get Revolution to recognise any of its handlers (eg. on...). The Demo Stack that comes with the download runs okay, but whenever I modify this, it does not recognise ANY of my modifications and just runs its original script. It even runs its original script when I have completely removed the handler!!! This after purging from memory, restartimng Revolution, restarting the computer and all sorts of the other baffled-crazed-panicked stuff we do to computers now and again. Has anyone else experienced this? I am at a loss.... Cheers Brendan From k_major at os.surf2000.de Mon Dec 16 08:11:03 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Mon Dec 16 08:11:03 2002 Subject: Converting seconds into minutes and seconds In-Reply-To: Message-ID: <48C1C4AE-10F7-11D7-9D48-000A27B49A96@os.surf2000.de> Hi Chris and all, > I want to display the current time of a player > in minutes and seconds. Is there a function > available which converts seconds into minutes and seconds? > e.g.: 90 becomes 1:30 this li'l function will do exactly that. I wrote it for my players ;-) function smpte_lite dauer set the numberformat to xx put dauer div 60 into minu put dauer mod 60 into seku return minu & ":" & seku end smpte_lite Call it with the secs as the argument. ... put smpte_lite(90) into fld "duration" ### gives "01:30" :-D ... Have a nice day. Regards Klaus Major k_major at os.surf2000.de From wmb at internettrainer.com Mon Dec 16 08:48:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Dec 16 08:48:01 2002 Subject: Avoiding mouse polls In-Reply-To: <3DFD1793.6070700@hyperactivesw.com> Message-ID: <59A0ED78-10FC-11D7-87CF-003065430226@internettrainer.com> On Montag, Dezember 16, 2002, at 01:00 Uhr, J. Landman Gay wrote: > http://www.hyperactivesw.com/mctutorial/rroptimize-sendto.html > > If you have time, I'd recommend downloading and working through the > entire tutorial. It was written specifically for people coming from a > HyperCard background, and walks you through the conversion of a simple > HyperCard stack. In the process, the tutorial address many concepts > that may be new to HyperCard users, and tries to explain them in terms > that HyperCard users will be familiar with. Yes!! I found this tutorial some times ago, and I have to say: Why I have not found it earlier? Its worth every minute you ""waste"" with it, even if you are a scripting ignorant without a HC background like me. Its a great thing to understand how to make an app with rev, even if you dont have to convert HC stacks... Thanks a lot to you Jacqueline for this great piece of tutorial... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From rbarber at yhb.att.ne.jp Mon Dec 16 09:03:01 2002 From: rbarber at yhb.att.ne.jp (Ron) Date: Mon Dec 16 09:03:01 2002 Subject: rtf to html In-Reply-To: Message-ID: Greetings I thought I would ask before we all get busy working with 2.0. Has someone already made an rtf to html converter for RR? I have some files that must be shipped with the product as rtf (otherwise I would convert them all beforehand and be done with it) and therefore converted when they are read and displayed. Thanks Ron PS searching the archives showed that this seems to have been discussed but I couldn't find a ready solution and thought I would ask before reinventing the wheel. From janschenkel at yahoo.com Mon Dec 16 09:20:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Dec 16 09:20:01 2002 Subject: rtf to html In-Reply-To: Message-ID: <20021216141432.69056.qmail@web11904.mail.yahoo.com> --- Ron wrote: > Greetings > > I thought I would ask before we all get busy working > with 2.0. Has someone > already made an rtf to html converter for RR? I have > some files that must be > shipped with the product as rtf (otherwise I would > convert them all > beforehand and be done with it) and therefore > converted when they are read > and displayed. > > Thanks > Ron > Hi Ron, Funny that you should mention RunRev 2.0 in this post, as that version will sport a new 'RTFText' property for its fields. And then it will be a piece of cake: on mouseUp answer file "Select RTF file to convert" if the result is "Cancel" then exit mouseUp put it into tFile set the RTFText of fld "Converter" to URL \ ("file:" & tFile) ask file "Save as HTML file" if the result is "Cancel" then exit mouseUp put it into tFile put "" & return & "" & return & \ (the HTMLText of fld "Converter") & \ return & "" & return & "" \ into URL ("file:" & tFile) end mouseUp Admittedly that's not an answer you can use right away, but if you can wait, this will come in handy. 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From thomas.rodriguez at free.fr Mon Dec 16 11:37:01 2002 From: thomas.rodriguez at free.fr (Thomas Rodriguez) Date: Mon Dec 16 11:37:01 2002 Subject: rtf to html References: Message-ID: <3DFDFFBF.CC34C36A@free.fr> Hi Ron, Here you can find the RTF format specs: http://www.biblioscape.com/rtf15_spec.htm Greetings Thomas From rbarber at yhb.att.ne.jp Mon Dec 16 11:53:00 2002 From: rbarber at yhb.att.ne.jp (Ron) Date: Mon Dec 16 11:53:00 2002 Subject: rtf to html In-Reply-To: <20021216141432.69056.qmail@web11904.mail.yahoo.com> Message-ID: Thanks Jan, (and Thomas for the specs) Actually, I looked at the news for 2.0, thinking I had read something but couldn't find it. Since beta is just 2 days away, I will gladly hang on a little longer. So many features, so little time... Ron >> Greetings >> >> I thought I would ask before we all get busy working >> with 2.0. Has someone >> already made an rtf to html converter for RR? I have >> some files that must be >> shipped with the product as rtf (otherwise I would >> convert them all >> beforehand and be done with it) and therefore >> converted when they are read >> and displayed. >> >> Thanks >> Ron >> > > Hi Ron, > > Funny that you should mention RunRev 2.0 in this post, > as that version will sport a new 'RTFText' property > for its fields. > And then it will be a piece of cake: > > on mouseUp > answer file "Select RTF file to convert" > if the result is "Cancel" then exit mouseUp > put it into tFile > set the RTFText of fld "Converter" to URL \ > ("file:" & tFile) > ask file "Save as HTML file" > if the result is "Cancel" then exit mouseUp > put it into tFile > put "" & return & "" & return & \ > (the HTMLText of fld "Converter") & \ > return & "" & return & "" \ > into URL ("file:" & tFile) > end mouseUp > > Admittedly that's not an answer you can use right > away, but if you can wait, this will come in handy. > > 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! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From pixelbird at interisland.net Mon Dec 16 13:08:05 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Dec 16 13:08:05 2002 Subject: Avoiding mouse polls In-Reply-To: <200212160942.EAA12119@www.runrev.com> Message-ID: > Date: Sun, 15 Dec 2002 18:00:19 -0600 > From: "J. Landman Gay" > Subject: Re: Avoiding mouse polls ---------- Thanks, Jacque, I'm sure this will help a lot. Happy Holidays, Ken N. ---------- > "Ken Norris (dialup)" wrote: > >> Is the above "cycle" a special handler? If not, what causes it to repeat? > > There is information on how the "send-in-time" command works in my > HyperCard-to-Revolution tutorial. The entry page for the tutorial is here: > > http://www.hyperactivesw.com/mctutorial/ > > In particular, there is one page that explains how "send-in-time" works, > and when and why a scripter might want to use it: > > http://www.hyperactivesw.com/mctutorial/rroptimize-sendto.html > > If you have time, I'd recommend downloading and working through the > entire tutorial. It was written specifically for people coming from a > HyperCard background, and walks you through the conversion of a simple > HyperCard stack. In the process, the tutorial address many concepts that > may be new to HyperCard users, and tries to explain them in terms that > HyperCard users will be familiar with. From jacque at hyperactivesw.com Mon Dec 16 13:38:00 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Dec 16 13:38:00 2002 Subject: Avoiding mouse polls In-Reply-To: <200212161702.MAA19890@www.runrev.com> References: <200212161702.MAA19890@www.runrev.com> Message-ID: <3DFE1C48.4020802@hyperactivesw.com> "Wolfgang M. Bereuter" wrote: >>http://www.hyperactivesw.com/mctutorial/rroptimize-sendto.html ... > Yes!! > I found this tutorial some times ago, and I have to say: Why I have not > found it earlier? Its worth every minute you ""waste"" with it, even if > you are a scripting ignorant without a HC background like me. Thank you, I'm so glad you found it useful. The tutorial was recently listed at Revolution's web site on the "Links to Related Web Sites" page, so hopefully it will be easier for others to find now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Mon Dec 16 13:40:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 16 13:40:01 2002 Subject: Primer Guidelines (was Socket Tutorial Guidelines) In-Reply-To: Message-ID: On Monday, November 25, 2002, at 02:49 PM, Rob Cozens wrote: >> What should a tutorial be like? > > That's up to the author, Dar. > > The best example that comes to my mind is the Apple Event Primer stack > from Apple. I like the name "primer"; the balance of text, demo and exercise depends on the the material. I have more questions that Revolutionaries might have opinions about. 1 What is a good window size for a primer? The example Rob provided is pretty small. Should the optimal size be adjusted down if other windows are used? 2 I'm thinking of displaying openSockets in real time. Any opinions on whether this is on the main primer stack or a separate window? 3 I think I need some navigator buttons: beginning, previous, next and back. What's a good source? 4 What's a good way to exhibit source? Some candidates: A. Let people simply use the Revolution environment to see it. Easiest. Options: Special Formatting such as bold . Tiny "source" icons next to control with interesting source. B. Tiny "see source" icon button next to any control with interesting source that brings up a window. Options: Use right click instead but don't show the right-click code in the window. Somehow use the Revolution source window. C. Tiny "copy source" icon button next to any source with interesting source that puts the source on the clipboard. D. Show source all the time in small fields. Dar Scott From dsc at swcp.com Mon Dec 16 14:08:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 16 14:08:01 2002 Subject: Avoiding mouse polls In-Reply-To: <1648B228-107B-11D7-9636-000393853D6C@rpsystems.net> Message-ID: <9EDC9D7E-1128-11D7-8F86-0050E4C0B205@swcp.com> On Sunday, December 15, 2002, at 03:18 PM, Troy Rollins wrote: > But the good part is that you can interrupt the cycle by testing a > variable state. This particular case may have read - > > on cycle > change > if myCustomState is false > send cycle to me in 333 milliseconds > put the result into flashingID > end cycle This is a good point. If the myCustomState variable (or whatever) is checked to stop a cycle, then saving the ID is not needed. This style might be easier for those new to this. Modifying the flashing light example off the top of my head: ------------------------------ local flashingIsOn="false" -- Modify this handler when adapting to other uses on change if backgroundColor of me is red then set backgroundColor of me to green else set backgroundColor of me to red end if end change on startFlashing if not flashingIsOn then -- only one flashing at a time put true into flashingIsOn cycle -- no need to "send" the first one end if end startFlashing on cycle change if flashingIsOn then send "cycle" to me in .333 seconds end cycle on stopFlashing put false into flashingIsOn end stopFlashing -------------------------- In this example, the applicable state is the flashingIsOn local variable and the backgroundColor of the object. This has the advantage and disadvantage of not actually cancelling the pending messages. This might be handy if the cycle needs to go through a shutdown sequence. If start is modified to restart on busy (as might be important if parameters apply to the state machine), then being able to cancel might be important. It is possible to keep state in the parameters of one or more cycle handlers, but if you want to stop it you probably need to have at least one part of the state outside, as in these two examples. State in parameters also allows multiple "processes" using the same handlers going on at the same time. (If you mix with other callbacks, such as socket callbacks, you might not be able to have all the info you need in parameters to maintain a full state--global arrays may be needed to keep up with these.) Dar Scott From diskot123 at juno.com Mon Dec 16 14:55:01 2002 From: diskot123 at juno.com (Tuviah M Snyder) Date: Mon Dec 16 14:55:01 2002 Subject: Externals Collection Problems Message-ID: <20021216.144730.1664.0.diskot123@juno.com> >I have primarily been interested in the drag-drop function, and have >registered the DLL, It just happens that 2.0 will fully support drag&drop to and from Revolution. Hold on. Tuviah From jswitte at bloomington.in.us Mon Dec 16 15:05:01 2002 From: jswitte at bloomington.in.us (James Witte) Date: Mon Dec 16 15:05:01 2002 Subject: 'Flattening'/storing arrays In-Reply-To: <20021216093420.39363.qmail@web11904.mail.yahoo.com> Message-ID: Is there a way to built-in (or already written) way to 'flatten' an array or otherwise store it in something other than a property attached to an object (which would neccesitate data files being actual stacks) Thanks, Jim From janschenkel at yahoo.com Mon Dec 16 15:22:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Dec 16 15:22:00 2002 Subject: 'Flattening'/storing arrays In-Reply-To: Message-ID: <20021216201657.23873.qmail@web11904.mail.yahoo.com> --- James Witte wrote: > Is there a way to built-in (or already written) > way to 'flatten' an > array or otherwise store it in something other than > a property attached > to an object (which would neccesitate data files > being actual stacks) > > Thanks, > Jim > Hi Jim, If you can be sure the data in the elements doesn't contain certain characters, you can use the 'combine' and 'split' commands to flatten an array into a string and restore it afterwards. If that's not the case, you could revert to an XML serialisation method, which turns your array into some structure like: whatever is in this element whatever is in this other element RunRev 2.0 has excellent XML support so that should be a breeze to implement. Of course you can serialise it now with a simple function such as: function serialisedArray @pArray put "" & return into tSerialisedArray put the keys of pArray into tKeys repeat for each line tKey in tKeys put "" & \ pArray[tKey] & "" & return \ after tSerialisedArray end repeat put "" after tSerialisedArray return tSerialisedArray end serialisedArray Remember that if you're working with numbers, upon transforming a number into a string, the engine will use the 'numberFormat' property, so you may want to tweak that before using either method, or apply the 'format' function when you serialise the data. 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From dsc at swcp.com Mon Dec 16 15:44:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 16 15:44:01 2002 Subject: 'Flattening'/storing arrays In-Reply-To: Message-ID: <1B482FC2-1136-11D7-8F86-0050E4C0B205@swcp.com> On Monday, December 16, 2002, at 12:59 PM, James Witte wrote: > Is there a way to built-in (or already written) way to 'flatten' an > array or otherwise store it in something other than a property attached > to an object (which would neccesitate data files being actual stacks) Under most circumstances you can use the combine command to flatten and the split command to unflatten. These are commands that operate on an array, so you might need to copy the array. You will need two delimiters that are not in the keys and elements. I imagine even weird control characters will work for these. If you store binary data, such as images, then you don't meet these requirements. (Unless the binary data is made text.) See below if you need binary keys or elements. Keys are strings. Elements may be internal numbers as well as arbitrary strings. These are converted to strings using the information in the numberFormat property. That means that unless you are careful, you might end up with big strings for large numbers or information lost for small numbers. If you don't store numbers, don't worry about it. If you need to save arbitrary arrays that may have any character (byte) in them, you need to go to a fancier method. I am working on one as part of my nodes-or-boxes-or-whatever project. I can make that available early if this is important to you. I have not tested my method yet, but I expect it to work. It will be slower than combine, but it should be suitable for data to be stored in a file. So... Look in the TD for "combine", "split" and "numberFormat". Dar Scott From dsc at swcp.com Mon Dec 16 16:02:00 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 16 16:02:00 2002 Subject: 'Flattening'/storing arrays In-Reply-To: <20021216201657.23873.qmail@web11904.mail.yahoo.com> Message-ID: <89BEE1D6-1138-11D7-8F86-0050E4C0B205@swcp.com> On Monday, December 16, 2002, at 01:16 PM, Jan Schenkel wrote: > RunRev 2.0 has excellent XML support so that should be > a breeze to implement. This may run into some special character problems, too. > Of course you can serialise it > now with a simple function such as: > > function serialisedArray @pArray > put "" & return into tSerialisedArray > put the keys of pArray into tKeys > repeat for each line tKey in tKeys > put "" & \ > pArray[tKey] & "" & return \ > after tSerialisedArray > end repeat > put "" after tSerialisedArray > return tSerialisedArray > end serialisedArray This has some character limitations, too. The key must not contain lineFeed (see keys()) and must be allowable as an XML attribute. The element must be OK as XML text and especially must not contain text that looks like or > > Remember that if you're working with numbers, upon > transforming a number into a string, the engine will > use the 'numberFormat' property, so you may want to > tweak that before using either method, or apply the > 'format' function when you serialise the data. The format idea is a very good one. A format such as "%4.16e" should handle current numbers and %4.32e" might handle lots of future numbers. This will work for Inf, -Inf and Nan on only a few platforms and even less between. If you need to handle these, you may want to handle those specially or use binaryEncode and binaryDecode. If you need a text file, then you can hex those or go back to handling those specially. Oh, combine and split may have problems with Inf, -Inf and Nan on some systems, too. It would be nice if we could chose the end-of-line for keys() or--even better--have "repeat for each key". That would make this work easier. Dar Scott From janschenkel at yahoo.com Mon Dec 16 17:16:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Dec 16 17:16:01 2002 Subject: 'Flattening'/storing arrays In-Reply-To: <20021216201657.23873.qmail@web11904.mail.yahoo.com> Message-ID: <20021216220409.43661.qmail@web11907.mail.yahoo.com> Hi Jim and Dar, Appearently I left a bit of an error in my quick&dirty array-to-xml scheme (I forgot to 'enquote' the keys). Here's a better version of the serialiation function: function serialisedArray @pArray put "" & return into tSerialisedArray put the keys of pArray into tKeys repeat for each line tKey in tKeys put "" & pArray[tKey] & "" & return \ after tSerialisedArray end repeat put "" after tSerialisedArray return tSerialisedArray end serialisedArray And to boot, here's a function to de-serialise the string into an array. function deSerialiseArray pString if line 1 of pString is not "" or \ line -1 of pString is not "" then return "Error: invalid string" end if put 0 into tStart get offset("", pString, tKStart) \ into tKEnd if tKEnd = 0 then return "Error: invalid string" put char tKStart to (tKStart + tKEnd - 1) \ of pString into tKey -- then retrieve the data for the element put tKStart + tKEnd + 2 into tDStart put offset("", pString, tDStart) \ into tDEnd if tDEnd = 0 then return "Error: invalid string" put char tDStart to (tDStart + tDEnd - 1) \ of pString into tData -- store the data in the element with the key put tData into tArray[tKey] -- and get ready for the next retrieve cycle put tDStart + tDEnd + 10 into tStart get offset(" I have written code to drag a line from one field to another or outside field boundaries to delete it. When I first did this I used lines like: on mouseRelease put the mouseLoc into dragLoc if within(field "whatever",dragloc) then doSomething ... (actually, I have a switch statement but for shorter explanation I'll say if) I found in debugging that the mouseLoc function consistently shows a location 23 pixels above the actual object location, or above that delivered by the parameters to mouseMove. It also seems to be one pixel left. That is, if mousemove says the loc is 170,123 then the mouseLoc simultaneously returns 169,100. I have tested this in two quite different stacks (OS X 10.2.2, Rev 1.1.1). This is not a current problem in that I abandoned mouseLoc and used the loc of the object being dragged, but why is this happening? Does it happen for anyone else? Is it consistent on all platforms? I'll test in 2.0 when the beta appears. regards David From dsc at swcp.com Mon Dec 16 20:56:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 16 20:56:01 2002 Subject: Offset mouseLoc? In-Reply-To: <36BDF844-1152-11D7-8CF1-000393598038@dvkconsult.com.au> Message-ID: On Monday, December 16, 2002, at 04:58 PM, David Vaughan wrote: > This is not a current problem in that I abandoned mouseLoc and used the > loc of the object being dragged, but why is this happening? Does it > happen for anyone else? Is it consistent on all platforms? I'll test in > 2.0 when the beta appears. Could this be related to using a menu? (mouseLoc() and mouseMove seem to give the same position on a 2.0 alpha.) Dar Scott From dvk at dvkconsult.com.au Mon Dec 16 22:02:00 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Mon Dec 16 22:02:00 2002 Subject: Offset mouseLoc? In-Reply-To: Message-ID: <23C1FD3E-116B-11D7-8CF1-000393598038@dvkconsult.com.au> On Tuesday, Dec 17, 2002, at 12:48 Australia/Sydney, Dar Scott wrote: > > On Monday, December 16, 2002, at 04:58 PM, David Vaughan wrote: > >> This is not a current problem in that I abandoned mouseLoc and used >> the loc of the object being dragged, but why is this happening? Does >> it happen for anyone else? Is it consistent on all platforms? I'll >> test in 2.0 when the beta appears. > > Could this be related to using a menu? > > (mouseLoc() and mouseMove seem to give the same position on a 2.0 > alpha.) OK. I had deleted both 1.5 and 2.0 alphas, deferring to the new beta. I have no menu in this stack. However, I quit and restarted Rev and the test now worked normally. Strange bug. Perhaps I would need to reproduce the same sequence of other code bugs to make it happen again... regards David > > Dar Scott > > _______________________________________________ > 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 Dec 16 23:32:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Mon Dec 16 23:32:01 2002 Subject: Offset mouseLoc? In-Reply-To: Message-ID: I have encountered this problem many times and like you, I initially decided that it was due to having a Mac menubar, but subsequent tests showed this was not always the case. This problem appears in Rev palettes also - I find it almost always impossible to reduce the size of an object using the little arrow buttons in the properties palettes. No matter where I click, the value increases. To get around this in my own stacks, when I use little arrows (taken from the object library), I change the scripts as follows: on mousedown if the mouseV < the top of me then put the mouseV + 26 into mV else put the mouseV into mV .... end mouseDown I found 26 pixels to be the best fix and as I was ignoring the horizontal mouse location, I hadn't noticed that it is also displaced. Hopefully, this quirk is another problem solved in version 2 (only 1 more sleep until beta day...) Cheers, Sarah On Tuesday, December 17, 2002, at 10:01 am, David Vaughan wrote: > I have written code to drag a line from one field to another or > outside field boundaries to delete it. When I first did this I used > lines like: > > on mouseRelease > put the mouseLoc into dragLoc > if within(field "whatever",dragloc) then doSomething > ... > (actually, I have a switch statement but for shorter explanation I'll > say if) > > I found in debugging that the mouseLoc function consistently shows a > location 23 pixels above the actual object location, or above that > delivered by the parameters to mouseMove. It also seems to be one > pixel left. That is, if mousemove says the loc is 170,123 then the > mouseLoc simultaneously returns 169,100. I have tested this in two > quite different stacks (OS X 10.2.2, Rev 1.1.1). > > This is not a current problem in that I abandoned mouseLoc and used > the loc of the object being dragged, but why is this happening? Does > it happen for anyone else? Is it consistent on all platforms? I'll > test in 2.0 when the beta appears. > > regards > David > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Esa.Kivela at ncrc.fi Tue Dec 17 03:28:00 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Dec 17 03:28:00 2002 Subject: Print text field Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6F29@ktk7.ad.kuluttajatutkimuskeskus.fi> I have discuss this with Klaus but still I'd like to ask it here too: I lie to print text field out to the printter and I used that code: revprintfield the long id of fld "your field here", wich Klaus told me. Code itself works but why printter prints several pages and only few line per page? Anyone else have meet same problem? I assume that its come from paer size settings (we have A4 in here in Finland), but still its prints that way. Hmmm how about that I try to print to the printer wich are connected to the LAN? Printer is RICOH Aficio 1045 PS. Anyone solve this? Thanks at advance EsaK From janschenkel at yahoo.com Tue Dec 17 07:37:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Dec 17 07:37:01 2002 Subject: Print text field In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6F29@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <20021217123159.27994.qmail@web11908.mail.yahoo.com> --- Esa_Kivel? wrote: > I have discuss this with Klaus but still I'd like to > ask it here too: > > I lie to print text field out to the printter and I > used that code: > > revprintfield the long id of fld "your field here", > wich Klaus told me. > > Code itself works but why printter prints several > pages and only few line per page? Anyone else have > meet same problem? I assume that its come from paer > size settings (we have A4 in here in Finland), but > still its prints that way. > > Hmmm how about that I try to print to the printer > wich are connected to the LAN? Printer is RICOH > Aficio 1045 PS. > > Anyone solve this? > > Thanks at advance > > EsaK > Hi Esa, Have a look at the following entries in the use-revolution mailing list archive: http://lists.runrev.com/pipermail/use-revolution/2002-February/001816.html http://lists.runrev.com/pipermail/use-revolution/2002-April/003834.html Hope this helped, Jan Schenkel. PS: it's very easy to search the archives from the following link -- definitely worth a bookmark :-) http://www.google.com/advanced_search?q=site:lists.runrev.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From Esa.Kivela at ncrc.fi Tue Dec 17 08:18:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Dec 17 08:18:01 2002 Subject: VS: Print text field Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD553@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Jan Schenkel [mailto:janschenkel at yahoo.com] > L?hetetty: 17. joulukuuta 2002 14:32 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: Print text field > > > --- Esa_Kivel? wrote: > > I have discuss this with Klaus but still I'd like to > > ask it here too: > > > > I lie to print text field out to the printter and I > > used that code: > > > > revprintfield the long id of fld "your field here", > > wich Klaus told me. > > > > Code itself works but why printter prints several > > pages and only few line per page? Anyone else have > > meet same problem? I assume that its come from paer > > size settings (we have A4 in here in Finland), but > > still its prints that way. > > > > Hmmm how about that I try to print to the printer > > wich are connected to the LAN? Printer is RICOH > > Aficio 1045 PS. > > > > Anyone solve this? > > > > Thanks at advance > > > > EsaK > > > > Hi Esa, > > Have a look at the following entries in the > use-revolution mailing list archive: > http://lists.runrev.com/pipermail/use-revolution/2002-February /001816.html http://lists.runrev.com/pipermail/use-revolution/2002-April/003834.html >Hope this helped, Nope it won't resolve the problem: printter still prints just few lines in each paper. EsaK From bornstein at designeq.com Tue Dec 17 11:47:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Tue Dec 17 11:47:01 2002 Subject: Print text field Message-ID: <200212171641.gBHGfMF26155@mailout5-0.nyroc.rr.com> >Code itself works but why printter prints several pages and only few line >per page? Anyone else have meet same problem? Esa, I ran into this same problem and recall that it was also mentioned by others on this list. It was a serious problem for me on the last application I released. It only produced these symptoms on some printers, not all. So the only clue I had was that the printer drivers for those printers might not be up to date. Check to see if you have the most current printer drivers for your printer. I'm *really* hoping that this (and other print-related problems) have been fixed in 2.0! Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From themacguy at macosx.com Tue Dec 17 13:36:02 2002 From: themacguy at macosx.com (Barry Levine) Date: Tue Dec 17 13:36:02 2002 Subject: GIF repeat problem Message-ID: <8EA6C4BD-11ED-11D7-81E1-000393AAEF66@macosx.com> I've found that setting a GIF's repeat property to one (in a QT Image object) results, upon re-opening that saved stack or compiling the app, in that GIF's repeat being set to zero. Have I pooched a preference somewhere? If I set the repeat to "-1", it does repeat forever. Thanks, Barry From jbradshaw at blueyonder.co.uk Tue Dec 17 16:45:00 2002 From: jbradshaw at blueyonder.co.uk (Jez) Date: Tue Dec 17 16:45:00 2002 Subject: Images within lists Message-ID: <001301c2a614$ba5e63a0$65adc050@Jez2> Can I embed images within a scrolling list field ? I really want a combination of text and thumbnail in each list entry. Any advice appreciated thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From erikhans08 at yahoo.com Tue Dec 17 19:40:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Dec 17 19:40:01 2002 Subject: Another OT Question In-Reply-To: <20021215023753.GA668@iago.net> Message-ID: <20021218003452.21808.qmail@web20009.mail.yahoo.com> nothing excuses gratuitous rudeness. sometimes i forget to put "OT" before msg, but do realize the importance. --- Iago wrote: > On Sat, 14 Dec 2002, miscdas at boxfrog.com wrote: > > > And how, pray tell, might one determine if a > post is of > > interest and "skip past" when the subject > line is "Re: > > Another 2.0 Question"? That subject is so > broad that > > unless one examines the body of the post, how > is it > > possible? > > One quietly surveys the first few lines, and > then one > employs one's conveniently available 'D' key, > or other > applicable keystroke, to expunge the > offending message > from one's sight. > > One then graciously maintains silence, rather > than airing > one's complaints, when the rest of a list > population is > clearly having no problem with the topic at > hand, > particularly considering that, when one > replies to an > 'offending' thread, one is merely giving it > an opportunity > to grow, which rather increases the presence > of irritants > in one's sight. > > This is how one comports oneself in a manner > that treats > the availability of a mailing list (such as > this one) as a > privilege, rather than a right. > > -- > Fred Hicks > _______________________________________________ > 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Tue Dec 17 19:48:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Dec 17 19:48:01 2002 Subject: Apple Remote Desktop for Platform Testing In-Reply-To: Message-ID: <20021218004246.23786.qmail@web20009.mail.yahoo.com> --- Alan Gayne wrote: > Hell! I've still got one of the original 128K > Macs in MY closet (you > know, the one with the autographs of the > original Mac team embossed > inside the case) -- also a Mac Plus, a IIvx, a > Quadra 650, a Performa > 5215 and soon to be joined by an iMac SE 400 > with a troublesome video > problem (not the video card, but supposedly > something on the logic > board). Each of these were used originally by > me, passed down the line > to each of my two sons, and finally returned to > me when they moved on > to newer models. > > But even though they are thoroughly obsolete > (except for the iMac) I > can't quite bring myself to just put these old > friends out with the trash. they sound worth keeping but if you ever decide to clean out your closet, there are groups that accept donated "obsolete" hardware and recycle it to low income students. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Tue Dec 17 20:29:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Dec 17 20:29:01 2002 Subject: Standalone Button Font Bloat In-Reply-To: <5BC1605E-1020-11D7-9626-000A27B49A96@os.surf2000.de> Message-ID: <20021218012355.31255.qmail@web20009.mail.yahoo.com> --- Klaus Major wrote: > Hi Erik, > > > --- Klaus Major > wrote: > >> sounds like you are using 2 different > >> mainstacks. One when developing and another > one > >> (splash screen) when building a > standalone... > > > > is "splash screen" a RunRev term or > colloquial? > > This is colloquial for the method of using a > "splash screen" as > the mainstack and so being able to save other > stacks in a standalone. so is the "splash screen" stack also a standalone? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From mdswindell at charter.net Tue Dec 17 21:07:01 2002 From: mdswindell at charter.net (Mark Swindell) Date: Tue Dec 17 21:07:01 2002 Subject: Standalone Button Font Bloat In-Reply-To: <20021218012355.31255.qmail@web20009.mail.yahoo.com> Message-ID: on 12/17/02 5:23 PM, erik hansen at erikhans08 at yahoo.com wrote: > --- Klaus Major wrote: >> Hi Erik, >> >>> --- Klaus Major >> wrote: >>>> sounds like you are using 2 different >>>> mainstacks. One when developing and another >> one >>>> (splash screen) when building a >> standalone... >>> >>> is "splash screen" a RunRev term or >> colloquial? >> >> This is colloquial for the method of using a >> "splash screen" as >> the mainstack and so being able to save other >> stacks in a standalone. > > so is the "splash screen" stack also a > standalone? The splash screen stack becomes the standalone's main stack... the application stack, I guess you could say. The other stacks are substacks of this stack, but since they are not directly part of the application they can save changes written to them. The docs say somewhere that because applications are read-only on certain platforms, for cross-platform consistency this feature was built into Revolution. At least that is my understanding of the scheme of things. Mark From sarahr at genesearch.com.au Tue Dec 17 22:43:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Tue Dec 17 22:43:01 2002 Subject: Stack file organisation Message-ID: Hi All, I am about to start a major project and I have various ideas about stack organisation that I wanted to float past the group and see if anyone had any experience or advice either way. My application will have a set of interface stacks that do not need to be writable and a single data stack that is written to. This seems to lead to two possibilities: 1. Make it all in a single file and separate out all the sub-stacks when I build. 2. Make the interface stacks in one file (and build into a single file) and the data stack in another. Then various pros & cons come to mind: If I use separate sub-stacks: - is there any possibility that my stacks can become corrupted? This is a major HyperCard failing, but may be solely due to HC's constant saving. Has anyone had a corrupt stack in Rev? I presume setting the cantModify would prevent anything like this. - updating would only require me to update a single stack instead of the complete app although this could lead to confusion. - can I update a single stack (other than the main stack) while the application is running, so long as it is not open at the time? If I use a single interface stack file and a separate data stack file: - how easy is it to refer to the data stack when it isn't in the same file? I don't want to be using the full path name every time. - the entire set of interface stacks would have to be loaded on startup so memory might become a problem. - installation is easier Having written all this, I think I am swaying towards the separate sub-stacks option, but if anyone has any warnings or suggestions, now's the time :-) Thanks, Sarah From bornstein at designeq.com Tue Dec 17 22:51:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Tue Dec 17 22:51:01 2002 Subject: Images within lists Message-ID: <200212180345.gBI3jRF27950@mailout5-0.nyroc.rr.com> >Can I embed images within a scrolling list field ? I really want a >combination of text and thumbnail in each list entry. Any advice >appreciated thanks. You can do this with the ImageSource property. It's a little tricky because you essentially replace a character with an image by setting the imagesource of that character to your image. Check out ImageSource in the dictionary. Another way to approach this (which had some problems in Rev 1.x and will hopefully be fixed in 2.0) is to combine text and graphics in a group and give the group a scroll bar. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From katir at hindu.org Tue Dec 17 23:10:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue Dec 17 23:10:01 2002 Subject: Images within lists In-Reply-To: <001301c2a614$ba5e63a0$65adc050@Jez2> Message-ID: <1A39866A-123E-11D7-B854-003065FB9830@hindu.org> Aloha, Jez from Hawaii: Have been working on this and succeeded with this "hack": created a field and filled down with numbers: You have to set the imageSource of characters in the field, and for them to flow properly each one must be followed by a cr/return 1 2 3 4 5 etc. to as many as you think you might ever load (I put 1- 1000 but never actually loaded more than 100 images into a field.) then, by script you can set the imageSourse of char 1, 3,5 etc. on lines 1,2,3 etc. Note that should one enter text following the image, the script would break if you tried to reapply it as it is dependent on the field content being a strict ordinal sequence of numbers followed by a line break. Well, actually the images will load, but they will occupy characters in your text and run to the right off the field. Images "obey' the cr which acts just like
in html. That's as far as I got so far, script is below and if you want a copy of my "image manager" stack i can send if off list. Did you figure out how to make thumbnails for larger images from within Rev itself? Or are you getting those out of some other application? ======== global gCurrentFolder ## absolute path to your directory of images. on mouseUp set the lockscreen to true -- speeds things up a bit ## First get a list of offset locations of each number which is on its own line, ## the cr is a character also but can never be the content of a line ## so you just get the offset of the numbers by stepping through the lines. repeat for each line x in fld "imageField" put offset (x,fld "imageField") & cr after charPositions end repeat ## the above could be easily adjusted to allow for three CR's between each ## line containing a number making it easy to cursor in to enter text) ## just enter the number into the field like that, then put the number into a ## variable each one follow by a cr and step through the lines of the variable instead of the field ## "Repeat for each line x in tNumberList; put offset (x, fld "imageField") etc... ## Now, clean out the previous imageSource data ## so that no images from a previous list are left at the end ## if the current list is shorter than the previous list of files. ## it takes time for the stack to open if it has to set a large amount of ## imageSource data.... repeat for each line y in charPositions if the imagesource of char y of fld "imagefield" is not empty then set the imageSource of char y of fld "imageField" to empty end if end repeat ## now set the imageSource for all the characters ## for as many files as you have, in the case my file list is in ## another field from which I can view each full res image one at a time ## as needed (and rotate, delete, copy, move to other directories as needed) ## Oh, be careful, if you run this on a directory of hi-res digitals it will indeed do it, ## but assuming you have memory enough not to crash, will take forever! put fld "fileList" into theFiles put 1 into nextImage repeat for each line y in charPositions if line nextImage of theFiles is not empty then ## in case your list has empty lines at end put (gCurrentFolder& (line nextImage of theFiles)) into tPath set the imageSource of char y of fld "imageField" to ("binfile:"&tPath) ## this does the actual image loading, where "y" is the offset location of the next number) put nextImage+1 into nextImage ## step through image file list else ## done, no more files exit mouseUp end if end repeat end mouseUp Hope that helps. keep us posted if you have any break throughs... I need a method to keep images and captions together also, and to allow collaborative captioning of images by different people on the LAN during the same time frame i.e. if images arrive I want to get 2-4 people working on captions all together in the next 40 minutes and have them be updating "live" on each other's screens as they work. I didn't think I could wire the field to do this easily and have opted to go a different direction which will be a group of image controls and caption fields in a scrolling group. That's very doable, with one challenge: how to re-order them on the fly where I want to move say, photo 3 and its caption to position 6 which is "down" vertically in the group... On Tuesday, December 17, 2002, at 11:39 AM, Jez wrote: > Can I embed images within a scrolling list field ? I really want a > combination of text and thumbnail in each list entry. Any advice > appreciated thanks. > Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, The Complete Text of the monumental work Merging with Siva, Hinduism's Modern Metaphysics now on-line: http;//www.himalayanacademy.com/books/mws/ From dsc at swcp.com Wed Dec 18 00:41:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Dec 18 00:41:01 2002 Subject: Images within lists In-Reply-To: <200212180345.gBI3jRF27950@mailout5-0.nyroc.rr.com> Message-ID: <54833ADA-124A-11D7-817E-0050E4C0B205@swcp.com> On Tuesday, December 17, 2002, at 08:45 PM, Howard Bornstein wrote: > You can do this with the ImageSource property. It's a little tricky > because you essentially replace a character with an image by setting the > imagesource of that character to your image. Check out ImageSource in > the > dictionary. I have considered using imageSource and probably will. I am confused by something. Does imageSource set the image by position in a field or by the code of the character? Dar Scott From janschenkel at yahoo.com Wed Dec 18 02:04:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Dec 18 02:04:01 2002 Subject: Stack file organisation In-Reply-To: Message-ID: <20021218065830.46811.qmail@web11901.mail.yahoo.com> --- Sarah wrote: > Hi All, > > I am about to start a major project and I have > various ideas about > stack organisation that I wanted to float past the > group and see if > anyone had any experience or advice either way. > > My application will have a set of interface stacks > that do not need to > be writable and a single data stack that is written > to. This seems to > lead to two possibilities: > > 1. Make it all in a single file and separate out all > the sub-stacks > when I build. > 2. Make the interface stacks in one file (and build > into a single file) > and the data stack in another. > > [snip] > > Having written all this, I think I am swaying > towards the separate > sub-stacks option, but if anyone has any warnings or > suggestions, now's > the time :-) > > Thanks, > Sarah > Hi Sarah, Depending on the number of records and the type of data in them, you might be better off using a 'real' database, such as Valentina, to store your data. From Esa.Kivela at ncrc.fi Wed Dec 18 02:21:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Wed Dec 18 02:21:01 2002 Subject: VS: Print text field Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD555@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Howard Bornstein [mailto:bornstein at designeq.com] > L?hetetty: 17. joulukuuta 2002 18:41 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: Print text field > > > >Code itself works but why printter prints several pages and > only few line > >per page? Anyone else have meet same problem? > > Esa, > > I ran into this same problem and recall that it was also mentioned by > others on this list. It was a serious problem for me on the last > application I released. It only produced these symptoms on > some printers, > not all. So the only clue I had was that the printer drivers > for those > printers might not be up to date. Something like that I also tought. There isin't anything wrong the code itself but it seems that our network printter dosen't like RR's print comamnd at all. > > Check to see if you have the most current printer drivers for your > printer. I'll do that and I'll let You know how it goes. > I'm *really* hoping that this (and other print-related problems) have > been fixed in 2.0! Me to. Also I wondering that why print text field only hevn't made more easy to do in RR. EsaK From Esa.Kivela at ncrc.fi Wed Dec 18 03:03:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Wed Dec 18 03:03:01 2002 Subject: VS: Print text field Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD557@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Esa Kivel? > L?hetetty: 18. joulukuuta 2002 9:15 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: VS: Print text field > > > > > > -----Alkuper?inen viesti----- > > L?hett?j?: Howard Bornstein [mailto:bornstein at designeq.com] > > L?hetetty: 17. joulukuuta 2002 18:41 > > Vastaanottaja: use-revolution at lists.runrev.com > > Aihe: Re: Print text field > > > > > > >Code itself works but why printter prints several pages and > > only few line > > >per page? Anyone else have meet same problem? > > > > Esa, > > > > I ran into this same problem and recall that it was also > mentioned by > > others on this list. It was a serious problem for me on the last > > application I released. It only produced these symptoms on > > some printers, > > not all. So the only clue I had was that the printer drivers > > for those > > printers might not be up to date. > > Something like that I also tought. There isin't anything > wrong the code itself but it seems that our network printter > dosen't like RR's print comamnd at all. > > > > > Check to see if you have the most current printer drivers for your > > printer. > > I'll do that and I'll let You know how it goes. changed to new drivers and still: its prints only few line per page :-/. Only what I can do now is that I remove that print button from stack and tell usres that they copy paste text from text field to ie. Notepad and print that text from there. Why text field printing is so dam difficult in RR and it won't work propelly? Big bug in RR I think. EsaK From wmb at internettrainer.com Wed Dec 18 08:16:03 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Dec 18 08:16:03 2002 Subject: Stack file organisation In-Reply-To: Message-ID: <36FA5DCC-128A-11D7-9F5C-003065430226@internettrainer.com> On Mittwoch, Dezember 18, 2002, at 04:37 Uhr, Sarah wrote: > If I use a single interface stack file and a separate data stack file: > - how easy is it to refer to the data stack when it isn't in the same > file? I don't want to be using the full path name every time. > - the entire set of interface stacks would have to be loaded on > startup so memory might become a problem. > - installation is easier For my mulit-media apps I have all data+text etc in different stacks. With "go card x of stack y in the window of this stack". So for the USer it looks like there is only one Window where happens everything. If I need "anything additional" (like: about his programm) I make a substack of the theme-stacks. advantages: * easy for the user to update change/replace a theme-stack(complete themes) even by downloading from the net.. * Starting by the flash(main) stack, which is very, very small (one card one gif only) is very fast * no needs to load all other stack to memory, because you can go directly in to any other stacks no matter where they are * splitting it in small theme-stacks you can manage big amount of data without a database, without slowing down the speed * changing between the stack is very fast * all data is protected with password by rev during the build distribution some more... disadvantages: * changes in the UI (navigation bar menu...) you have to do so many times as you have theme-stack. Maybe you or any other professional scripter here can find a solution how to automate this. (I could not...) * It crashes on MacOs 9.x with the old (rev 1.1.1) engine. Nobody could find out (what) is that the real reason for this crashes... So, i think, maybe this structure of "go card x of stack y in the window of this stack" is the problem... But this problem should(?) be solved today by 2.0 with the new engine... (But I had no problems on WIN98/XP and OSX) * maybe more I have not found out until now Hope you understand my explication... If this structure sounds interesting to you, than mail me offline. Ill send you a password and an Url for a demo version to see how it works!(builded with rev 1.1.1) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From Doug_Ivers at lord.com Wed Dec 18 09:16:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Wed Dec 18 09:16:01 2002 Subject: audio problem -- distorted playback of wav file Message-ID: I created a pure tone at 440 Hz in Sound Studio 2.0.7 and saved it as a wav file. In Sound Studio it plays as pure tone, a very distinctive sound. According to Sound Studio, the amplitude of the signal is -6 dB. I imported this file into Rev 1.1.1 and it plays back very distorted regardless of the playLoudness property. Is this a bug? I would like to save as an au file, but Sound Studio doesn't offer that option. Also, Rev doesn't seem to recognize (Open dialog) some wav files that I pulled from a sound effects CD. These are WAV sound files rather than WAV audio files, whatever that means. -- D doug_ivers at lord.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2568 bytes Desc: not available URL: From Doug_Ivers at lord.com Wed Dec 18 09:22:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Wed Dec 18 09:22:01 2002 Subject: audio problem -- distorted playback of wav file (correction) Message-ID: Correction: It's Sound Studio that won't open some of my wav files, not Rev. The problem I'm having with Rev is the distortion. -----Original Message----- From: Ivers, Doug E Sent: Wed 12/18/2002 9:07 AM To: use-revolution at lists.runrev.com Cc: Subject: audio problem -- distorted playback of wav file I created a pure tone at 440 Hz in Sound Studio 2.0.7 and saved it as a wav file. In Sound Studio it plays as pure tone, a very distinctive sound. According to Sound Studio, the amplitude of the signal is -6 dB. I imported this file into Rev 1.1.1 and it plays back very distorted regardless of the playLoudness property. Is this a bug? I would like to save as an au file, but Sound Studio doesn't offer that option. Also, Rev doesn't seem to recognize (Open dialog) some wav files that I pulled from a sound effects CD. These are WAV sound files rather than WAV audio files, whatever that means. -- D doug_ivers at lord.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From harrison at all-auctions.com Wed Dec 18 10:11:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Wed Dec 18 10:11:01 2002 Subject: Apple Remote Desktop for Platform Testing In-Reply-To: <20021218004246.23786.qmail@web20009.mail.yahoo.com> Message-ID: on 12/17/2002 7:42 PM, erik hansen at erikhans08 at yahoo.com wrote: > --- Alan Gayne wrote: >> Hell! I've still got one of the original 128K >> Macs in MY closet (you >> know, the one with the autographs of the >> original Mac team embossed >> inside the case) -- also a Mac Plus, a IIvx, a >> Quadra 650, a Performa >> 5215 and soon to be joined by an iMac SE 400 >> with a troublesome video >> problem (not the video card, but supposedly >> something on the logic >> board). Each of these were used originally by >> me, passed down the line >> to each of my two sons, and finally returned to >> me when they moved on >> to newer models. >> >> But even though they are thoroughly obsolete >> (except for the iMac) I >> can't quite bring myself to just put these old >> friends out with the trash. You can't just trash them anyway. They are defined as hazardous waste and have to be disposed of as hazardous waste! This will cost you some money. Our Apple User's Group in Rochester is accepting machines as long as they are Power Macs or better as part of our recycling program. Good luck! Rick Harrison From tedl at voyager.net Wed Dec 18 10:39:01 2002 From: tedl at voyager.net (Ted) Date: Wed Dec 18 10:39:01 2002 Subject: Stack file organisation Message-ID: <001c01c2a6aa$e84e6c60$bbce59cf@egl> Sarah wrote in part: >> Has anyone had a corrupt stack in Rev? I presume setting the cantModify would prevent anything like this. << I've had one corrupt stack in Rev. It was in the development environment, and the cantModify was false. Ted From Roger.E.Eller at sealedair.com Wed Dec 18 10:41:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed Dec 18 10:41:01 2002 Subject: Stack file organisation Message-ID: > is there any possibility that my stacks can become corrupted? This is > a major HyperCard failing, but may be solely due to HC's constant > saving. Has anyone had a corrupt stack in Rev? I presume setting the > cantModify would prevent anything like this. Sarah, I have been wondering about this corruption thing myself. On 3 occasions, my stacks have become corrupted during normal use; twice on a Mac and once on a PC. Lucky for me, the Rev team has built a catch for this, and the app automatically generates a backup file which is named with the extension .rev~. All I had to do was delete the corrupt file, then delete the "~" from the backup file and everything worked normal again. My stacks DO save during normal operation. Maybe the RunRev team can provide some info on what actions cause stack corruption and how to prevent it. Roger Eller roger.e.eller at sealedair.com From ambassador at fourthworld.com Wed Dec 18 11:40:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Dec 18 11:40:00 2002 Subject: Stack file organisation In-Reply-To: <001c01c2a6aa$e84e6c60$bbce59cf@egl> Message-ID: Ted wrote: >>> > Has anyone had a corrupt stack in Rev? I presume setting the > cantModify would prevent anything like this. > << > > > I've had one corrupt stack in Rev. It was in the development environment, and > the cantModify was false. How long ago was this? The only corruption I've experienced with the MetaCard file format was a control-level corruption (bad button record) back in '97. Such thing are very rare in Rev/MC, mostly due to the RAM-based architecture. Note that discussions of corruption are largely limited to programs that page large structures from disk (like cards records in HyperCard and SuperCard or database records in FileMaker). With everything stored in RAM, Rev has a lot less overhead managing the swapping from disk to cache and back again. Accordingly, cases of actual corruption in a Rev stack are extremely rare. I'd never even heard of one in Rev or MC in the last four years until I read this thread. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From bornstein at designeq.com Wed Dec 18 12:19:00 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Wed Dec 18 12:19:00 2002 Subject: Images within lists Message-ID: <200212181713.gBIHDnF07787@mailout5-0.nyroc.rr.com> > I am confused by >something. Does imageSource set the image by position in a field or by >the code of the character? This is a good question. Apparently both. It originally sets the image by the position (char n of field x). However, once set, it isn't specific to that position anymore. IOW, if you add a character before char n, the image doesn't move back one position. It stays with the character you set it to. In addition, you can cut and paste the character which references the image and it moves where you paste it. The new image/character combination becomes its own entity. Also to make this a bit confusing, characters are counted when you specify a character position. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From raney at metacard.com Wed Dec 18 12:50:01 2002 From: raney at metacard.com (Scott Raney) Date: Wed Dec 18 12:50:01 2002 Subject: Stack file organisation In-Reply-To: <200212181701.MAA23446@www.runrev.com> Message-ID: On Wed, 18 Dec 2002 Richard Gaskin wrote: > Ted wrote: > > >>> > > Has anyone had a corrupt stack in Rev? I presume setting the > > cantModify would prevent anything like this. > > << > > > > > > I've had one corrupt stack in Rev. It was in the development environment, and > > the cantModify was false. > > How long ago was this? > > The only corruption I've experienced with the MetaCard file format was a > control-level corruption (bad button record) back in '97. > > Such thing are very rare in Rev/MC, mostly due to the RAM-based > architecture. > > Note that discussions of corruption are largely limited to programs that > page large structures from disk (like cards records in HyperCard and > SuperCard or database records in FileMaker). > > With everything stored in RAM, Rev has a lot less overhead managing the > swapping from disk to cache and back again. Accordingly, cases of actual > corruption in a Rev stack are extremely rare. I'd never even heard of one > in Rev or MC in the last four years until I read this thread. Nor have we, and so I'd be very surprised if the problem wasn't what we call a "short save". This happens when the program crashes during a save, and so the resulting file doesn't have all the data in it. In this case, there will always be a file with a ~ as the last character that has the previous version of the stack in it. Meaning you lose all your edits since that last save, but nothing else. Just rename that file, and you're back in business. And except for under MacOS, which tends to have lots of problems with memory management and inter-application conflicts, crashes like this should be extremely rare. If you've got something that you can reproduce, by all means send in a bug report so that we can make it even rarer ;-) Regards, Scott > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge 2.1: Publish any database on any site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc ******************************************************** Scott Raney raney at metacard.com http://www.metacard.com MetaCard: You know, there's an easier way to do that... From dsc at swcp.com Wed Dec 18 13:13:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Dec 18 13:13:01 2002 Subject: Images within lists In-Reply-To: <200212181713.gBIHDnF07787@mailout5-0.nyroc.rr.com> Message-ID: <50B26110-12B3-11D7-A814-0050E4C0B205@swcp.com> On Wednesday, December 18, 2002, at 10:13 AM, Howard Bornstein wrote: >> I am confused by >> something. Does imageSource set the image by position in a field or by >> the code of the character? > > This is a good question. Apparently both. It originally sets the image > by > the position (char n of field x). However, once set, it isn't specific > to > that position anymore. IOW, if you add a character before char n, the > image doesn't move back one position. It stays with the character you > set > it to. In addition, you can cut and paste the character which references > the image and it moves where you paste it. The new image/character > combination becomes its own entity. > So, I might use this as I would change, say, forgroundColor of a char, except this applies to only one char? Dar Scott From tedl at voyager.net Wed Dec 18 14:51:01 2002 From: tedl at voyager.net (Ted) Date: Wed Dec 18 14:51:01 2002 Subject: Stack file organisation Message-ID: <003501c2a6ce$2826cb20$bbce59cf@egl> I wrote: >> I've had one corrupt stack in Rev. It was in the development environment, and the cantModify was false. << Richard Gaskin wrote in part: >> How long ago was this? ...cases of actual corruption in a Rev stack are extremely rare. << This was some months ago, approximately last spring. I've used Revolution since the beta trials, and I've saved thousands of times. In that time I've had one corrupted stack, so in my experience it *is* rare. It happened as Roger Eller mentions in his post below. >> I have been wondering about this corruption thing myself. On 3 occasions, my stacks have become corrupted during normal use; twice on a Mac and once on a PC. Lucky for me, the Rev team has built a catch for this, and the app automatically generates a backup file which is named with the extension ..rev~. All I had to do was delete the corrupt file, then delete the "~" from the backup file and everything worked normal again. My stacks DO save during normal operation. Maybe the RunRev team can provide some info on what actions cause stack corruption and how to prevent it. << Ted Original message: Sarah wrote in part: >> Has anyone had a corrupt stack in Rev? I presume setting the cantModify would prevent anything like this. << From ambassador at fourthworld.com Wed Dec 18 15:29:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Dec 18 15:29:00 2002 Subject: Stack file organisation In-Reply-To: <003501c2a6ce$2826cb20$bbce59cf@egl> Message-ID: Ted wrote: >>> > I've had one corrupt stack in Rev. It was in the development environment, and > the cantModify was false. > << > > Richard Gaskin wrote in part: > >>> > How long ago was this? ...cases of actual > corruption in a Rev stack are extremely rare. > << > > This was some months ago, approximately last spring. I've used Revolution > since the beta trials, and I've saved thousands of times. In that time I've > had one corrupted stack, so in my experience it *is* rare. > > It happened as Roger Eller mentions in his post below. > >>> > I have been wondering about this corruption thing myself. On 3 occasions, > my stacks have become corrupted during normal use; twice on a Mac and once > on a PC. Lucky for me, the Rev team has built a catch for this, and the app > automatically generates a backup file which is named with the extension > ..rev~. All I had to do was delete the corrupt file, then delete the "~" > from the backup file and everything worked normal again. My stacks DO save > during normal operation. Maybe the RunRev team can provide some info on > what actions cause stack corruption and how to prevent it. Ah - As Scott pointed out, the file isn't corrupted per se, you're just attempting to open a partially-written file. Stack corruption happens when an object (in xtalks, usually a card) is not written back to disk properly. The save completes without alerting you to the error (the program is probably unaware of it at the time), yet the bad data persists, carried around in the file until you try to open the one card whose daa structur is hosed. It's precisely because you usually don't know about corruption until long after it occurs that it's especially troublesome: you mahe have added days or weeks of additional work since the error first found its way into the file. In contrast, what seems to be happening in your case is that something is interruping the normal save operation. The backup file (preceded with "~") is fine, but since the interrupted file is incomplete it will not open. While it may be just as annoying as corruption, it's useful to distinguish for arriving at strategies for prevention, since the types of things that cause stack corruption in paged-memory xtalks like HC and SC are different from those things that will cause a save operation to be interrupted. And of course it's a lot easier to "repair" than corruption. True corruption usually can't be repaired; often the best you can do is to delete the erroneous card altogether. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jeanne at runrev.com Wed Dec 18 17:00:02 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Wed Dec 18 17:00:02 2002 Subject: Images within lists In-Reply-To: <54833ADA-124A-11D7-817E-0050E4C0B205@swcp.com> References: <200212180345.gBI3jRF27950@mailout5-0.nyroc.rr.com> Message-ID: At 9:34 PM -0800 12/17/02, Dar Scott wrote: >I have considered using imageSource and probably will. I am confused by >something. Does imageSource set the image by position in a field or by >the code of the character? By position in a field. You set the imageSource of character . -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From erikhans08 at yahoo.com Wed Dec 18 18:04:00 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Dec 18 18:04:00 2002 Subject: Standalone Button Font Bloat In-Reply-To: Message-ID: <20021218225843.39947.qmail@web20006.mail.yahoo.com> --- Mark Swindell wrote: > >>>> sounds like you are using 2 different > >>>> mainstacks. One when developing and > another one splash screen) when building a > >> standalone... > >>> > >>> is "splash screen" a RunRev term or > >> colloquial? > >> > >> This is colloquial for the method of using a > >> "splash screen" as > >> the mainstack and so being able to save > other stacks in a standalone. > > > > so is the "splash screen" stack also a > > standalone? > > The splash screen stack becomes the > standalone's main stack... > the application stack, I guess you could say. > The other stacks are substacks of > this stack, but since they are not directly > part of the application they can > save changes written to them. i wondered how that worked. > The docs say somewhere that because > applications are read-only on certain > platforms, for cross-platform > consistency this feature was built into > Revolution. At least that is my > understanding of the scheme of things. things are beginning to seem a little less murky. time to go back to the documentation, thanks. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From sarahr at genesearch.com.au Wed Dec 18 18:44:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Wed Dec 18 18:44:01 2002 Subject: Stack file organisation In-Reply-To: Message-ID: Thanks to everyone who replied. I too had come across the ~ backup file but as I had detected that this only happened when saving failed (due to some scripting bug), I had not considered this corruption. However it is good to have to in mind as my program can then check it's saves and restore it's own stacks if required. As regards the data stack, it won't have many cards, probably only 20-30 with each one holding a different type of data, rather than using the rolodex metaphor. I think I would rather stay with the standard stack for data storage as it is easier to manipulate & upgrade. Given the comments so far, as well as my own thoughts, I think I will go with the single stack file, with sub-stacks separated in the build. Thanks again, Sarah From bornstein at designeq.com Wed Dec 18 22:58:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Wed Dec 18 22:58:01 2002 Subject: Images within lists Message-ID: <200212190353.gBJ3r7k28012@mailout6-0.nyroc.rr.com> >So, I might use this as I would change, say, forgroundColor of a char, >except this applies to only one char? Yes, you set it like any other property and yes, it only applies to one character. If you had a field that had these characters in it: ABCDEFGH and said set the ImageSource of char 3 of fld 1 to "arrow" then the character C in this field would be replaced by an image named "arrow". Depending on how big the image was, text around the image would be shifted to make room for the image. The character "C" is still there, but hidden by the image. To get the character back you'd say: set the imageSource of char 3 of fld 1 to empty Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From bornstein at designeq.com Wed Dec 18 23:09:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Wed Dec 18 23:09:01 2002 Subject: Corrupt stacks Message-ID: <200212190403.gBJ43Gk13226@mailout6-0.nyroc.rr.com> Since corrupt stack are so rare, I was surprised to apparently run into one on my last project. I'd been working on the stack for a couple of months when suddenly one of my cards wouldn't print. When I'd issue "print card" (either via script of message box) on that card, I'd get a hard freeze (on a Mac). Force Quit wouldn't work. I'd always have to reboot. Printing any other card worked fine. I'd been using Chipp's autoArchive plugin to save versions as I went along. I went back through about 10 versions, each time going to that card and printing. Eventually I found the version that caused the crash. Every version from that one had the bad card. Everything else about the stack (as far as I could tell) worked fine. I compared all the code between the last good stack and the bad one and there wasn't any difference. I tried printing on two different printers with the same results. This stack was never subject to a partial save. I didn't crash during a save and never ended up with a ~ file. The strange thing is, when I sent this stack to RunRev, they couldn't reproduce the crash when printing. So, was this stack corrupt? It seemed to be, but I don't know why the print crash couldn't be reproduced on a different system. In any case, that's the only potentially corrupt stack I've run into with Rev. Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From jacque at hyperactivesw.com Wed Dec 18 23:52:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Dec 18 23:52:01 2002 Subject: Stack file organisation In-Reply-To: <200212181701.MAA23446@www.runrev.com> References: <200212181701.MAA23446@www.runrev.com> Message-ID: <3E014F35.4060101@hyperactivesw.com> Roger.E.Eller at sealedair.com wrote: > On 3 occasions, > my stacks have become corrupted during normal use; twice on a Mac and once > on a PC. Lucky for me, the Rev team has built a catch for this, and the app > automatically generates a backup file which is named with the extension > .rev~. I have a client who sees this kind of corruption regularly, but never on a Mac, always on Windows. We are using the MetaCard engine, but it's the same thing; delete the tilde from the backup file name and the backup is good. I once asked what caused this, and was told that there is only one thing that will cause stack corruption, and that's if the app crashes while writing the file to disk. I'm not sure this is always the case though, because not all of the corrupted stacks were also involved in an application crash. On the other hand, I have written an awful lot of MetaCard and Revolution stacks, and this particular one is the only one that shows corruption. The client wanted it to behave like HyperCard, so it is also the only stack I maintain that auto-saves so often. I have no firm evidence, but I just have a feeling that has something to do with it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ianmck at macmail.com Thu Dec 19 03:12:00 2002 From: ianmck at macmail.com ( Ian McKnight (MM)) Date: Thu Dec 19 03:12:00 2002 Subject: Saving colour info in a list field Message-ID: <000701c2a735$8aab90c0$8b904c51@D83C5B0J> Hi I have a list field which is populated by approximately 30 names. I have scripted the field to change the colour of the clicked text to red, using forecolor, to show that that selection has been made. My problem is that I want to re-populate the list with a different list, restoring the 'old' list along with any colour changes at a later date. I have noticed that when I put the contents of the list into a variable and restore the variable -- the colour disappears. However when the variable is re-populated a line at a time with different data, the colour information stays with the line position. Is there an easy way to do this, that is to store the colour data along with the list? I looked at HTML in the dictionary but it seems to apply to whole fields. I know that I could put the lists into buttons and use checkmarks to show past selections but I was hoping to a little more colourful. Any suggestions, advice or references would be very much appreciated. Thank you. Ian McKnight From janschenkel at yahoo.com Thu Dec 19 03:52:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Dec 19 03:52:01 2002 Subject: Saving colour info in a list field In-Reply-To: <000701c2a735$8aab90c0$8b904c51@D83C5B0J> Message-ID: <20021219084629.49201.qmail@web11901.mail.yahoo.com> --- " Ian McKnight (MM)" wrote: > Hi > > I have a list field which is populated by > approximately 30 names. I have > scripted the field to change the colour of the > clicked text to red, using > forecolor, to show that that selection has been > made. > > My problem is that I want to re-populate the list > with a different list, > restoring the 'old' list along with any colour > changes at a later date. > > I have noticed that when I put the contents of the > list into a variable and > restore the variable -- the colour disappears. > However when the variable is > re-populated a line at a time with different data, > the colour information > stays with the line position. > > Is there an easy way to do this, that is to store > the colour data along with > the list? I looked at HTML in the dictionary but it > seems to apply to whole > fields. > I know that I could put the lists into buttons and > use checkmarks > to show past selections but I was hoping to a little > more colourful. > > Any suggestions, advice or references would be very > much appreciated. > > Thank you. > > > Ian McKnight > Hi Ian, I've found that a very helpful exercise was to make a new stack with two fields: one field where I'd type the text, and another field right next to the field I wanted to learn more about, and then type in the message box: put the HTMLText of field "foo" into field "bar" This allows you to have a look at how the style and colour information is stored away inside the field, so you can devise new strategies to update your data and apply the appropriate colour scheme. So toy around with it in the second field, and see how changes to the HTML reflect the look by updating the other field by typing in the message box: set the HTMLText of fld "foo" to (fld "bar") 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From heather at runrev.com Thu Dec 19 04:45:01 2002 From: heather at runrev.com (Heather Williams) Date: Thu Dec 19 04:45:01 2002 Subject: Sending attachments to the list In-Reply-To: <200212181701.MAA23446@www.runrev.com> Message-ID: Please don't do it! Even if your attachment is very small, hardly noticeable etc... It will come over as gibberish on the digest. Many, many listers are on digest mode, and your gem will be lost on them, as well as causing a certain amount of annoyance. Besides, in these days of rampant viruses sending an unexpected attachment to people can cause distress. Another small point while I'm here. To reach the widest audience, it's advisable to avoid using strong language in your posts. Recently, someone quoted the famous remark about HyperCard's imminent demise... And a number of listers did not receive that digest as it was filtered out on the recipients end by ever vigilant anti spam software that took offence at the language. (I know, I get the bounces). Just something to be aware of folks. A very happy holiday season to you all, Heather (wearing the listmom hat) From k_major at os.surf2000.de Thu Dec 19 05:51:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Dec 19 05:51:01 2002 Subject: Standalone Button Font Bloat In-Reply-To: <20021218225843.39947.qmail@web20006.mail.yahoo.com> Message-ID: <3657B15C-133F-11D7-9331-000A27B49A96@os.surf2000.de> Hi Eric and Marc, >> ... >> The splash screen stack becomes the >> standalone's main stack... >> the application stack, I guess you could say. >> The other stacks are substacks of >> this stack, but since they are not directly >> part of the application they can >> save changes written to them. > > i wondered how that worked. Just to make it absolutely clear: Substacks of a standalone CANNOT be saved !!! Every stack that is part of a standalone CANNOT be saved !!! What i meant was to make a standalone from a single stack (maybe the splash-screen or any stack that does not have to be saved) and keeping all other stacks (or at least the ones you want to save) in SEPERATE stacks !!! Sorry for the capitals, but this is an extremely important fact. >> The docs say somewhere that because >> applications are read-only on certain >> platforms, for cross-platform >> consistency this feature was built into >> Revolution. At least that is my >> understanding of the scheme of things. > > things are beginning to seem a little less murky. > time to go back to the documentation, thanks. I hope that helps. Regards Klaus Major k_major at os.surf2000.de From eudio at chabashira.co.jp Thu Dec 19 08:31:01 2002 From: eudio at chabashira.co.jp (UDI) Date: Thu Dec 19 08:31:01 2002 Subject: groups and background Message-ID: <20021219132521.11564@mail.chabashira.co.jp> I am going to translate 'Transcript Encyclopeda' into Japanese. In a chapter of 'groups and background', I found the following descriptions. --> Adding and Deleting Groups: Tip: When you create a new card, any groups on the current card are automatically placed on the new card. Groups and the Message Path: Since a group owns any controls that are part of the group, the group is in the message path for those controls. Groups that are placed on a card are also placed in the message path of card controls on that card.... <-- This is explanation ONLY when a group is a 'background'. Is my thought right? UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From k_major at os.surf2000.de Thu Dec 19 09:34:00 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Dec 19 09:34:00 2002 Subject: groups and background In-Reply-To: <20021219132521.11564@mail.chabashira.co.jp> Message-ID: <4D4A4FEB-135E-11D7-9331-000A27B49A96@os.surf2000.de> Konichi-wa UDI-san, > ... > Adding and Deleting Groups: > Tip: When you create a new card, any groups on the current card are > automatically placed on the new card. > ... > This is explanation ONLY when a group is a 'background'. > Is my thought right? Hai !!! :-) > UDI > eudio at chabashira.co.jp > http://member.nifty.ne.jp/UDI/ Sayonara Klaus Major (gaijin ;-) k_major at os.surf2000.de From eudio at chabashira.co.jp Thu Dec 19 09:47:01 2002 From: eudio at chabashira.co.jp (UDI) Date: Thu Dec 19 09:47:01 2002 Subject: groups and background In-Reply-To: <4D4A4FEB-135E-11D7-9331-000A27B49A96@os.surf2000.de> References: <4D4A4FEB-135E-11D7-9331-000A27B49A96@os.surf2000.de> Message-ID: <20021219144208.23785@mail.chabashira.co.jp> Klaus Major wrote 02.12.19 03:29 PM? >Konichi-wa UDI-san, > >> ... >> Adding and Deleting Groups: >> Tip: When you create a new card, any groups on the current card are >> automatically placed on the new card. >> ... >> This is explanation ONLY when a group is a 'background'. >> Is my thought right? > >Hai !!! :-) Thanks your quick response! ..and nice Japanese ;-) UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From chripa at aon.at Thu Dec 19 09:59:01 2002 From: chripa at aon.at (Christoph Pastl) Date: Thu Dec 19 09:59:01 2002 Subject: More options for players? Message-ID: Is there a way to change the sound of a player? I only know the playerLoudness and playRate property. Chris From mdswindell at charter.net Thu Dec 19 10:33:00 2002 From: mdswindell at charter.net (Mark Swindell) Date: Thu Dec 19 10:33:00 2002 Subject: Standalone Button Font Bloat In-Reply-To: <3657B15C-133F-11D7-9331-000A27B49A96@os.surf2000.de> Message-ID: on 12/19/02 2:47 AM, Klaus Major at k_major at os.surf2000.de wrote: > Hi Eric and Marc, > >>> ... >>> The splash screen stack becomes the >>> standalone's main stack... >>> the application stack, I guess you could say. >>> The other stacks are substacks of >>> this stack, but since they are not directly >>> part of the application they can >>> save changes written to them. >> >> i wondered how that worked. > > Just to make it absolutely clear: > > Substacks of a standalone CANNOT be saved !!! > Every stack that is part of a standalone CANNOT be saved !!! Klaus, Maybe I was using the term "substack" wrong. What do you mean when you say substack? In my case I did separate them into a data folder for the build, and am able to save changes made to them without problem. Are these then "associated" stacks, or what is the proper term to use for them? Thanks for the clarification, Mark From k_major at os.surf2000.de Thu Dec 19 10:37:07 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Dec 19 10:37:07 2002 Subject: groups and background In-Reply-To: <20021219144208.23785@mail.chabashira.co.jp> Message-ID: <11F50853-1367-11D7-9331-000A27B49A96@os.surf2000.de> Konichi-wa UDI-san, > ... > Thanks your quick response! > ..and nice Japanese ;-) Domo arigato ! (Right here ends my knowledge of "nihingo" ;-) > UDI Regards Klaus Major k_major at os.surf2000.de From k_major at os.surf2000.de Thu Dec 19 11:20:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Dec 19 11:20:01 2002 Subject: Standalone Button Font Bloat In-Reply-To: Message-ID: <1E0967B1-136D-11D7-9331-000A27B49A96@os.surf2000.de> Hi Mark, > Klaus, > > Maybe I was using the term "substack" wrong. What do you mean when > you say > substack? Substacks and their mainstack are saved into ONE file. That's it... > In my case I did separate them into a data folder for the build, and > am able > to save changes made to them without problem. Are these then > "associated" > stacks, or what is the proper term to use for them? I don't know if there is an "official" term for this kind of stacks. I just call them separate stacks, which can, of course, also be mainstacks with substacks. see above... At least, that are no substacks :-) > Thanks for the clarification, > Mark Regards Klaus Major k_major at os.surf2000.de From dsc at swcp.com Thu Dec 19 11:34:00 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 19 11:34:00 2002 Subject: groups and background In-Reply-To: <20021219132521.11564@mail.chabashira.co.jp> Message-ID: On Thursday, December 19, 2002, at 06:25 AM, UDI wrote: > Groups and the Message Path: > Since a group owns any controls that are part of the group, the group is > in the message path for those controls. > Groups that are placed on a card are also placed in the message path of > card controls on that card.... Suppose there are a couple nested groups with controls, a background with some controls and some controls not in any group on a card. The path for controls in the nested groups looks like this: ... control --> inner group --> outer group --> card --> stack ... The path for controls in the background group looks like this: ... control --> background group --> card --> stack ... But, the path for controls _not_ in any group looks like this: ... control --> card --> background group --> stack ... Note that the background group is in the path after the card for controls not in any group. (Now, I would have hoped that this would have applied to the first controls, above, too. Unfortunately, this means my field grouped with up-down buttons does not behave the same as my field. I can't think of a grouped control as a control.) Dar Scott From scott at tactilemedia.com Thu Dec 19 11:47:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Dec 19 11:47:01 2002 Subject: More options for players? In-Reply-To: Message-ID: Recently, Christoph Pastl wrote: > Is there a way to change the sound of a player? > I only know the playerLoudness and playRate property. If you want a different sound, just change the fileName to another file. Or are you asking something else?... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From dcragg at lacscentre.co.uk Thu Dec 19 12:19:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu Dec 19 12:19:01 2002 Subject: Standalone Button Font Bloat In-Reply-To: References: Message-ID: At 7:27 am -0800 19/12/02, Mark Swindell wrote: >on 12/19/02 2:47 AM, Klaus Major at k_major at os.surf2000.de wrote: > >> Hi Eric and Marc, >> >>>> ... >>>> The splash screen stack becomes the >>>> standalone's main stack... >>>> the application stack, I guess you could say. >>>> The other stacks are substacks of >>>> this stack, but since they are not directly >>>> part of the application they can >>>> save changes written to them. >>> >>> i wondered how that worked. >> >> Just to make it absolutely clear: >> >> Substacks of a standalone CANNOT be saved !!! >> Every stack that is part of a standalone CANNOT be saved !!! > > >Klaus, > >Maybe I was using the term "substack" wrong. What do you mean when you say >substack? > >In my case I did separate them into a data folder for the build, and am able >to save changes made to them without problem. Are these then "associated" >stacks, or what is the proper term to use for them? > >Thanks for the clarification, >Mark It would be good to clear this up. I've seen the term "substack" used a lot when it shouldn't be. Another problem is that the term "standalone" can be ambiguous. At the risk of sounding like Miss Manners, here's an explanation/suggestion. A "substack" resides in the same file as its mainstack. As a result, if that mainstack can't be saved then its substacks can't be saved either. The common *misuse* of "substack" is referring to a second mainstack that resides in a separate file from the first mainstack. Typically, when you build a "standalone" you attach a platform-specific Rev engine to the file that contains a particular mainstack. The result is an executable file* (program, application, or whatever you want to call it). Any substacks that were contained in the mainstack's file also form part of that executable file. And this executable file cannot be saved while it is running. In order to save a stack while running a standalone, the stack must be in a separate file from the executable file. Therefore, when building a standalone file, you shouldn't build it from a stack that you wish to be able to save while the standalone is running. One commonly used technique is to build a small stack that acts as a splash screen for you application. Its main purpose (apart from displaying a pretty picture and perhaps scary licensing stuff for a few seconds) is to open a second stack that resides in a separate file. So your final application will consist of 2 files. On Windows (easier to illustrate), these files might be named as follows: myapp.exe (contains the Rev engine and your "splash screen" stack myapp.rev (contains the stack that you wish to save) I don't know if there is a proper term for referring to this second stack, but I think terms such as "a stack in a separate file" or "a separate stack file" should be clear enough. I've seen the term "external stack" used, and I guess that's clear too. The "standalone" ambiguity comes from whether we see the standalone as being only the single executable file (myapp.exe in the above example) or as referring more generally to all the files that make up the application. Both seem valid definitions to me, so it's probably clearer to refer to the "standalone file" or "standalone executable file" and NOT just "standalone" when you want to refer specifically to the executable file (engine + attached stack). *(OK, I know that in Mac OS X terms, the "standalone file" may not be a single file, but a special bundle that is really a folder but looks like a file. But for this discussion, it's probably easier to treat it as a single file.) Cheers Dave From eudio at chabashira.co.jp Thu Dec 19 13:00:01 2002 From: eudio at chabashira.co.jp (UDI) Date: Thu Dec 19 13:00:01 2002 Subject: groups and background In-Reply-To: References: Message-ID: <20021219175429.7671@mail.chabashira.co.jp> Thank you for a response. I noticed about a strange message pass of a background. The message which occurred on a card is passed to BG: card --> background group --> stack This varies that a message occurred on a control: control --> background group --> card --> stack Generally, not become a problem, but had better be careful. UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ Dar Scott wrote 02.12.19 09:27 AM? > >On Thursday, December 19, 2002, at 06:25 AM, UDI wrote: > >> Groups and the Message Path: >> Since a group owns any controls that are part of the group, the group >> isin the message path for those controls. >> Groups that are placed on a card are also placed in the message path >> of card controls on that card.... > >Suppose there are a couple nested groups with controls, a background >with some controls and some controls not in any group on a card. > >The path for controls in the nested groups looks like this: > > ... control --> inner group --> outer group --> card --> stack ... > >The path for controls in the background group looks like this: > > ... control --> background group --> card --> stack ... > >But, the path for controls _not_ in any group looks like this: > > ... control --> card --> background group --> stack ... > >Note that the background group is in the path after the card for >controls not in any group. > >(Now, I would have hoped that this would have applied to the first >controls, above, too. Unfortunately, this means my field grouped with >up-down buttons does not behave the same as my field. I can't think of >a grouped control as a control.) > >Dar Scott From snharper at cs.uchicago.edu Thu Dec 19 13:23:01 2002 From: snharper at cs.uchicago.edu (sean nicholas harper) Date: Thu Dec 19 13:23:01 2002 Subject: a script to change the appearance of an image In-Reply-To: Message-ID: In Hypercard, we had the ability to create simple animations by switching the icon of a button. I am looking for a similar way to create a simple animation with a series of images. It seems to me that there should be a way for me to load a bunch of images into memory and then modify an image object on my card to use each of those images at the appropriate time. However, nothing like this is documented. Please help me... Thanks, Sean From rcozens at pon.net Thu Dec 19 13:28:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Dec 19 13:28:01 2002 Subject: Build Distribution & *BAM* In-Reply-To: <80ED52B7-1181-11D7-8FA8-000393AAEF66@macosx.com> References: <80ED52B7-1181-11D7-8FA8-000393AAEF66@macosx.com> Message-ID: >So my guess is that there is something in the code of the >Distribution Builder stack that, by clicking or setting parameters >"just so", kills every file in the Rev directory. BTW - this was in >OSX Jaguar 10.2.2. My new procedure will be to backup my files >before attempting any builds. Hi Barry, I've been offline since my telephone went out in a storm on the 14th. This happened to me in O/S 9. The way I worked around it was to create a folder named "Build" and tell the Distribution Builder to do all builds in that folder. I have not lost a file in any folder since. -- Rob From dsc at swcp.com Thu Dec 19 13:47:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 19 13:47:01 2002 Subject: groups and background In-Reply-To: <20021219175429.7671@mail.chabashira.co.jp> Message-ID: <49389B1E-1381-11D7-932F-0050E4C0B205@swcp.com> On Thursday, December 19, 2002, at 10:54 AM, UDI wrote: > The message which occurred on a card is passed to BG: > card --> background group --> stack > > This varies that a message occurred on a control: > control --> background group --> card --> stack I assume this control is in the background group. Thanks! I forgot I had put this in my path mapper. (I still haven't looked at situations with multiple backgrounds. I don't even know if there can be multiple backgrounds placed on a card.) By the way, my path mapper uses Revolution 1.1.1 on OS X 10.1.5 and uses "pass" to follow the path. If there is something wrong with that, then my path maps may be faulty. Dar Scott From tqvdang at dslextreme.com Thu Dec 19 14:03:01 2002 From: tqvdang at dslextreme.com (Dang Tran) Date: Thu Dec 19 14:03:01 2002 Subject: Need help in using image and sound in Revolution References: Message-ID: <001d01c2a790$71a58f80$3a3bda42@ita.sel.sony.com> Hi, I'm a newbie in Revolution. Can you help me to fix my following problme? - Loading image File (from current directory or relative path) to image object - Play multiple channel of music at the same time - How to define a set in revolution Thank you alot Best regards, Dang Tran From dsc at swcp.com Thu Dec 19 14:08:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 19 14:08:01 2002 Subject: new card at front Message-ID: How do I move a card to the front? Or, how do I make a new card at the front of the stack? Dar Scott From wordwork at c2i.net Thu Dec 19 14:38:01 2002 From: wordwork at c2i.net (WordWork) Date: Thu Dec 19 14:38:01 2002 Subject: Sending attachments to the list In-Reply-To: Message-ID: on 19-12-02 10:40, Heather Williams at heather at runrev.com wrote: > Please don't do it! Even if your attachment is very small, hardly noticeable > etc... Thank you, thank you Heather, for this reminder... > Another small point while I'm here. To reach the widest audience, it's > advisable to avoid using strong language in your posts. Hope this will be heeded too! May I also make a plea that people trim their reply before sending enormous messages with four, five or even six nested mails... I don't want all that again. Let's be a little "active" in replying to appropriate parts of a mail, and use our search facilities to check on what has been said in the original mails. > A very happy holiday season to you all, And to you too, and all on the list from me too! > Heather (wearing the listmom hat) PLEASE KEEP IT ON!!! Greetings from "near to Sana's house"!! -- Bill Gray WordWork Buran 7600 Levanger Norway tlf: +47 74089979 mob: +47 95153265 epost: wordwork at c2i.net From gcanyon at inspiredlogic.com Thu Dec 19 14:45:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu Dec 19 14:45:01 2002 Subject: new card at front In-Reply-To: Message-ID: <9245109B-1389-11D7-9CB7-003065683ECC@inspiredlogic.com> set the card's layer to 1 On Thursday, December 19, 2002, at 10:59 AM, Dar Scott wrote: > How do I move a card to the front? > Or, how do I make a new card at the front of the stack? > regards, Geoff Canyon gcanyon at inspiredlogic.com From eudio at chabashira.co.jp Thu Dec 19 14:56:00 2002 From: eudio at chabashira.co.jp (UDI) Date: Thu Dec 19 14:56:00 2002 Subject: groups and background In-Reply-To: <49389B1E-1381-11D7-932F-0050E4C0B205@swcp.com> References: <49389B1E-1381-11D7-932F-0050E4C0B205@swcp.com> Message-ID: <20021219195036.10711@mail.chabashira.co.jp> Dar Scott wrote 02.12.19 11:40 AM? >(I still haven't looked at situations with multiple backgrounds. I >don't even know if there can be multiple backgrounds placed on a card.) An interesting phenomenon happens... Event on control: * bgA include bgB ( and bgB include control ) control --> bgB --> bgA --> card --> stack * bg1 NOT include bg2 ( and bg2 include control ) control --> bg2 --> card --> stack bg1 ( no message ) Event on card: * bgA include bgB card --> bgA --> stack bgB ( no message ) * bg1 NOT include bg2 card --> bg2 --> bg1 --> stack ( by layer big to small ) UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From tedl at voyager.net Thu Dec 19 15:01:01 2002 From: tedl at voyager.net (Ted) Date: Thu Dec 19 15:01:01 2002 Subject: Stack file organisation Message-ID: <007301c2a798$6932ce00$d8ce59cf@egl> Richard Gaskin wrote in part: >> Ah - As Scott pointed out, the file isn't corrupted per se, you're just attempting to open a partially-written file... ... what seems to be happening in your case is that something is interruping the normal save operation... << Richard, thanks for clarifying the difference between an incomplete save and an actual corrupted file. When this happened, I looked in the Revolution troubleshooting documentation, which states: "...If you find a stack file whose name ends in ~, it means the save operation wasn't completed successfully. If this happens, delete or move the original stack file (which may have been corrupted by the incomplete save)..." My reading of this is that an original stack *may or may not* be corrupted after an incomplete save. With regard to corruption as you defined it, I've had two instances in Revolution. In both cases, a card would start acting *funny*; that is, its performance would degrade, known working scripts would do nothing, and ultimately, even the simplest of scripts from the message box would have no effect on the card. Restarting Revolution would yield the same result. The remedy was to copy the card script and all the objects to a new card, and then delete the old card. In addition, I've had two instances in which the editing functions of a card script window would degrade: text selection would misbehave to the point of being nonworkable, and scrolling would take on a life of its own. In those cases, too, restarting had no effect; copying out the scripts and objects and deleting the card was the only fix. I want to emphasize again that, in my experience with Revolution, these things are rare. Ted From scott at tactilemedia.com Thu Dec 19 15:12:00 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Dec 19 15:12:00 2002 Subject: new card at front In-Reply-To: <9245109B-1389-11D7-9CB7-003065683ECC@inspiredlogic.com> Message-ID: >> How do I move a card to the front? >> Or, how do I make a new card at the front of the stack? > set the card's layer to 1 Or set the number of the card to 1. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From dsc at swcp.com Thu Dec 19 15:49:00 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 19 15:49:00 2002 Subject: groups and background In-Reply-To: <20021219195036.10711@mail.chabashira.co.jp> Message-ID: <51CBDBCD-1392-11D7-B6A3-0050E4C0B205@swcp.com> On Thursday, December 19, 2002, at 12:50 PM, UDI wrote: > Event on card: > > * bgA include bgB > > card --> bgA --> stack > bgB ( no message ) > > * bg1 NOT include bg2 > > card --> bg2 --> bg1 --> stack > ( by layer big to small ) Would this be a good summary? If the target is a control within a group then the path includes the groups it is within (inner to outer) followed by the card. If the target is not within a group (including the card) then the path includes the card followed by all background groups that are immediately owned by the card from high layer to low. Dar Scott From wmb at internettrainer.com Thu Dec 19 16:05:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Dec 19 16:05:01 2002 Subject: Sending attachments to the list In-Reply-To: Message-ID: On Donnerstag, Dezember 19, 2002, at 08:32 Uhr, WordWork wrote: > May I also make a plea that people trim their reply before sending > enormous > messages with four, five or even six nested mails... I don't want all > that > again. Let's be a little "active" in replying to appropriate parts of > a > mail, and use our search facilities to check on what has been said in > the > original mails. Yes, good point! And *no* html formating pleeease!!! regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From ianmck at macmail.com Thu Dec 19 16:31:02 2002 From: ianmck at macmail.com ( Ian McKnight (MM)) Date: Thu Dec 19 16:31:02 2002 Subject: Saving colour info in a list field References: <20021219084629.49201.qmail@web11901.mail.yahoo.com> Message-ID: <003701c2a7a5$3f785b90$6eaa4c51@D83C5B0J> Hi Jan > I've found that a very helpful exercise was to make a > new stack with two fields: one field where I'd type > the text, and another field right next to the field I > wanted to learn more about, and then type in the > message box: I just finished doing what you suggested. I now understand better what goes when using HTML. Almost as important I've solved my original problem. You suggestion was a great help. Thank you very much Regards Ian McKnight From k_major at os.surf2000.de Thu Dec 19 16:51:00 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Dec 19 16:51:00 2002 Subject: Need help in using image and sound in Revolution In-Reply-To: <001d01c2a790$71a58f80$3a3bda42@ita.sel.sony.com> Message-ID: <67B399B2-139B-11D7-9331-000A27B49A96@os.surf2000.de> Hi Dang, > Hi, > > I'm a newbie in Revolution. Can you help me to fix my following > problme? > - Loading image File (from current directory or relative path) to image > object set the filename of img "xxx" to "your filepath here" > - Play multiple channel of music at the same time Do NOT use "play audioclip..." Instead use player-objects. So you can play many sounds at once. > - How to define a set in revolution What do you mean by "set" ? > Thank you alot > > Best regards, > Dang Tran Regards Klaus Major k_major at os.surf2000.de From ambassador at fourthworld.com Thu Dec 19 16:55:44 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Dec 19 16:55:44 2002 Subject: Sending attachments to the list In-Reply-To: Message-ID: Wolfgang M. Bereuter wrote: > > On Donnerstag, Dezember 19, 2002, at 08:32 Uhr, WordWork wrote: > >> May I also make a plea that people trim their reply before sending >> enormous >> messages with four, five or even six nested mails... I don't want all >> that >> again. Let's be a little "active" in replying to appropriate parts of >> a >> mail, and use our search facilities to check on what has been said in >> the >> original mails. > > Yes, good point! > And > *no* html formating pleeease!!! An for the sake of completion, please trim quoted portions of postsyou're replying to down to the relevant portion. Extra bonus points if you use standard Western reading order, placing your reply below the quoted text. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Thu Dec 19 17:14:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Dec 19 17:14:01 2002 Subject: Stack file organisation In-Reply-To: <007301c2a798$6932ce00$d8ce59cf@egl> Message-ID: Ted wrote: > With regard to corruption as you defined it, I've had two instances in > Revolution. In both cases, a card would start acting *funny*; that is, its > performance would degrade, known working scripts would do nothing, and > ultimately, even the simplest of scripts from the message box would have no > effect on the card. Restarting Revolution would yield the same result. The > remedy was to copy the card script and all the objects to a new card, and then > delete the old card. > > In addition, I've had two instances in which the editing functions of a card > script window would degrade: text selection would misbehave to the point of > being nonworkable, and scrolling would take on a life of its own. In those > cases, too, restarting had no effect; copying out the scripts and objects and > deleting the card was the only fix. After rebuilding the card did the problems go away fo good? Were the new cards in any way different from the old ones (scripts, properties, etc.)? After fighting with Error 5454 for years in HyperCard, it's hard to grasp just how far away you are from that. I know: I used SuperCard exclusively for years, and being a paged-memory xtalk it had similar issues. But in Rev/MC, when you experience symptoms that may appear to be simlar to HC corruption it may be more effective to look for different remdies. In most cases, if you rebuild the card _exactly_, you'll reproduce the problem exactly. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Thu Dec 19 17:19:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Dec 19 17:19:00 2002 Subject: a script to change the appearance of an image In-Reply-To: Message-ID: sean nicholas harper wrote: > In Hypercard, we had the ability to create simple animations by switching > the icon of a button. I am looking for a similar way to create a simple > animation with a series of images. It seems to me that there should be a > way for me to load a bunch of images into memory and then modify an image > object on my card to use each of those images at the appropriate time. > However, nothing like this is documented. You can swap icon IDs, or use an animated GIF. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From sarahr at genesearch.com.au Thu Dec 19 19:53:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Thu Dec 19 19:53:01 2002 Subject: a script to change the appearance of an image In-Reply-To: Message-ID: <90255DB8-13B4-11D7-98CA-0003937A97B8@genesearch.com.au> You can use "Import as control..." to get images into your stack i.e. not just a file references but actually adding the image data to your stack file. Then you can make these images invisible and use them as button icons, or you can place them all in the same position and just show one at a time. Sarah On Friday, December 20, 2002, at 04:23 am, sean nicholas harper wrote: > In Hypercard, we had the ability to create simple animations by > switching > the icon of a button. I am looking for a similar way to create a simple > animation with a series of images. It seems to me that there should be > a > way for me to load a bunch of images into memory and then modify an > image > object on my card to use each of those images at the appropriate time. > However, nothing like this is documented. > > Please help me... > > > Thanks, > Sean > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Esa.Kivela at ncrc.fi Fri Dec 20 01:19:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Dec 20 01:19:01 2002 Subject: VS: Sending attachments to the list Message-ID: <961D94BBE7448D4C8E4440CB7920D9E02AD56A@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Wolfgang M. Bereuter [mailto:wmb at internettrainer.com] > L?hetetty: 19. joulukuuta 2002 23:00 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: Sending attachments to the list > > > > On Donnerstag, Dezember 19, 2002, at 08:32 Uhr, WordWork wrote: > > > May I also make a plea that people trim their reply before sending > > enormous > > messages with four, five or even six nested mails... I > don't want all > > that > > again. Let's be a little "active" in replying to > appropriate parts of > > a > > mail, and use our search facilities to check on what has > been said in > > the > > original mails. > > Yes, good point! > And > *no* html formating pleeease!!! One way is that get whole email in to some text editor and edit those parts where want to reply by hand and remove last parts away, then copy paste it in the email and send. That way I do ie. with long emails. EsaK From eudio at chabashira.co.jp Fri Dec 20 02:40:01 2002 From: eudio at chabashira.co.jp (UDI) Date: Fri Dec 20 02:40:01 2002 Subject: groups and background In-Reply-To: <51CBDBCD-1392-11D7-B6A3-0050E4C0B205@swcp.com> References: <51CBDBCD-1392-11D7-B6A3-0050E4C0B205@swcp.com> Message-ID: <20021220073446.3106@mail.chabashira.co.jp> Dar Scott wrote 02.12.19 01:41 PM? >> Event on card: >> >> * bgA include bgB >> >> card --> bgA --> stack >> bgB ( no message ) >> >> * bg1 NOT include bg2 >> >> card --> bg2 --> bg1 --> stack >> ( by layer big to small ) > >Would this be a good summary? > > If the target is a control within a group > then the path includes the groups > it is within (inner to outer) followed by the card. > > If the target is not within a group (including the card) > then the path includes the card followed by all background groups > that are immediately owned by the card from high layer to low. Yes, I think so. All bg is unrelated, and control on card: control --> card --> bg4 | bg3 | bg2 v bg1 --> stack All bg is unrelated, and control is included in bg3: bg4 ( no message ) control --> bg3 --> stack bg2 ( no message ) bg1 ( no message ) card ( no message ) bg3 is included bg2, and control is included in bg3: bg1 ( no message ) control --> bg3 --> bg2 --> stack bg4 ( no message ) card ( no message ) You can test it with such handlers: -- script for some target object ( contorol, group, card .. ) on mouseUp theEvent end mouseUp -- script for some receiver object ( group, card, stack .. ) on theEvent put ( the short name of me ) & return after field 1 pass theEvent end theEvent UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From eudio at chabashira.co.jp Fri Dec 20 02:56:01 2002 From: eudio at chabashira.co.jp (UDI) Date: Fri Dec 20 02:56:01 2002 Subject: groups and background In-Reply-To: <20021220073446.3106@mail.chabashira.co.jp> References: <51CBDBCD-1392-11D7-B6A3-0050E4C0B205@swcp.com> <20021220073446.3106@mail.chabashira.co.jp> Message-ID: <20021220075025.20100@mail.chabashira.co.jp> Sorry, I made a mistake. All bg is unrelated, and control on card: control --> card --> bg4 | bg3 | bg2 v bg1 --> stack All bg is unrelated, and control is included in bg3: bg4 ( no message ) control --> bg3 --> card --> stack bg2 ( no message ) bg1 ( no message ) bg3 is included bg2, and control is included in bg3: bg1 ( no message ) control --> bg3 --> bg2 --> card --> stack bg4 ( no message ) UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From dsc at swcp.com Fri Dec 20 03:09:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 20 03:09:01 2002 Subject: groups and background In-Reply-To: <20021220073446.3106@mail.chabashira.co.jp> Message-ID: <40E60910-13F1-11D7-BCF2-0050E4C0B205@swcp.com> On Friday, December 20, 2002, at 12:34 AM, UDI wrote: > All bg is unrelated, and control is included in bg3: > bg4 ( no message ) > control --> bg3 --> stack > bg2 ( no message ) > bg1 ( no message ) > card ( no message ) > > bg3 is included bg2, and control is included in bg3: > bg1 ( no message ) > control --> bg3 --> bg2 --> stack > bg4 ( no message ) > card ( no message ) > My tests are similar. I pass mouseUp and I have only one background. But, I get the card included in my results. Could you have left theEvent out of the card script? Dar Scott From dsc at swcp.com Fri Dec 20 03:25:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 20 03:25:01 2002 Subject: groups and background In-Reply-To: <20021220075025.20100@mail.chabashira.co.jp> Message-ID: <9CB3254A-13F3-11D7-BCF2-0050E4C0B205@swcp.com> On Friday, December 20, 2002, at 12:50 AM, UDI wrote: > Sorry, I made a mistake. Then ignore my comments that crossed in the mail. > > All bg is unrelated, and control on card: > control --> card --> bg4 | > bg3 | > bg2 v > bg1 --> stack > > All bg is unrelated, and control is included in bg3: > bg4 ( no message ) > control --> bg3 --> card --> stack > bg2 ( no message ) > bg1 ( no message ) I guess the idea is that if a control is in a group, even a background group, it is in the environment of that group or groups. But if the control is directly on the card it is in the environment of the card as modified by background groups. Even so, I am not able to rationalize why groups on the card or nested groups and controls within those do not have a message path like the first case. Dar Scott From eudio at chabashira.co.jp Fri Dec 20 05:05:00 2002 From: eudio at chabashira.co.jp (UDI) Date: Fri Dec 20 05:05:00 2002 Subject: groups and background In-Reply-To: <9CB3254A-13F3-11D7-BCF2-0050E4C0B205@swcp.com> References: <9CB3254A-13F3-11D7-BCF2-0050E4C0B205@swcp.com> Message-ID: <20021220100006.32498@mail.chabashira.co.jp> Dar Scott wrote 02.12.20 01:18 AM? >> >> All bg is unrelated, and control on card: >> control --> card --> bg4 | >> bg3 | >> bg2 v >> bg1 --> stack >> >> All bg is unrelated, and control is included in bg3: >> bg4 ( no message ) >> control --> bg3 --> card --> stack >> bg2 ( no message ) >> bg1 ( no message ) > >I guess the idea is that if a control is in a group, even a background >group, it is in the environment of that group or groups. But if the >control is directly on the card it is in the environment of the card as >modified by background groups. > >Even so, I am not able to rationalize why groups on the card or nested >groups and controls within those do not have a message path like the >first case. About the first case, I think for compatibility with Hypercard. IF it is so, Rather the second case includes a problem. It is NOT right that a message of control in a background is carried to a card. BUT, We have to recognize this. A thing having both of perfect-logical and HyperCard-compatibile is impossible. UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From rjb at rz.uni-potsdam.de Fri Dec 20 07:36:01 2002 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri Dec 20 07:36:01 2002 Subject: groups and background In-Reply-To: <9CB3254A-13F3-11D7-BCF2-0050E4C0B205@swcp.com> References: <9CB3254A-13F3-11D7-BCF2-0050E4C0B205@swcp.com> Message-ID: >> >>All bg is unrelated, and control on card: >> control --> card --> bg4 | >> bg3 | >> bg2 v >> bg1 --> stack >> >>All bg is unrelated, and control is included in bg3: >> bg4 ( no message ) >> control --> bg3 --> card --> stack >> bg2 ( no message ) >> bg1 ( no message ) > >I guess the idea is that if a control is in a group, even a >background group, it is in the environment of that group or groups. >But if the control is directly on the card it is in the environment >of the card as modified by background groups. > >Even so, I am not able to rationalize why groups on the card or >nested groups and controls within those do not have a message path >like the first case. > >Dar Scott It seems that the first case uses the logic that backgrounds are behind the card, whereas the second case seems to consider backgrounds as groups placed on a card (so the background is in front of the card so do speak. My guess is that the bg attribute of a grp is ignored in this case. I would expect the second behavior to be for normal groups. They are on the card and the message should pass from them to the card. However, bg groups should be behind the card and the message passing should skip the card. My 0.02 cents Robert Brenstein From mcmanusm at kramergraphics.com Fri Dec 20 08:22:04 2002 From: mcmanusm at kramergraphics.com (Mike McManus) Date: Fri Dec 20 08:22:04 2002 Subject: revoltution UI question Message-ID: These questions/points have probably already been asked or made. And maybe I have missed them as I searched the archive and documentation. Which usually happens to be the case. But I will ask and wait to be toold where I should have look. I am running in mac OS X 1. Why does the script window always hide when I switch to another applications window? Many times I have a text editor open to hold library scripts or other parts of scripts I am working on. I then cannot see the open script and the text editor window at the same time unless I switch back to REV, which I may not want to do. This is a issue whenever I am working with the script in a text editor or not. The hiding of the script window is aggravating to me at anytime, even when I just switch to check my mail. 2. Related. When I click anywhere on a rev document, the open script changes to the script of the object I clicked upon. Which is about 75% of the time an accidental click or a click to get back to Rev when I have been in another app. My question is...is there any way to fix/change this behaviour? It may only be me, but it really cuts in to my ability to work with rev efficiently. And BTW, is there a way to open 2 script windows at the same time? From Doug_Ivers at lord.com Fri Dec 20 09:14:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Fri Dec 20 09:14:01 2002 Subject: textFont -> empty Message-ID: Rev 1.1.1 on Mac OS X When I set the textFont of a field to empty (so that the owner determines the font face), the textSize is also set to empty. Conversely, when the textFont is empty and I set the textSize to something, the textFont is no longer empty -- and it doesn't even take on the owners textFont. Is this fixed in 2.0? Is there a workaround? -- D From dsc at swcp.com Fri Dec 20 12:16:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 20 12:16:01 2002 Subject: groups and background In-Reply-To: Message-ID: On Friday, December 20, 2002, at 05:23 AM, Robert Brenstein wrote: > It seems that the first case uses the logic that backgrounds are behind > the card, whereas the second case seems to consider backgrounds as > groups placed on a card (so the background is in front of the card so > do speak. My guess is that the bg attribute of a grp is ignored in this > case. The problem is really the third case. If the groups are not backgrounds, they are treated as such in the message path as far as whether the backgrounds are after the card. Consider this card: card{ grpA( btn1 ), btn2, bgB( btn3 ) } Background bgB is in the path of btn3 and btn2, but not btn1. Suppose I have a background that does some navigation, but also blocks a particular key stroke from going to the default interpretation. If I put some fields on the card, the key is blocked for those fields. (I'm just guessing this will work.) But suppose I make a numerical field with up-down buttons, all grouped and I put that on the card. Maybe I got it from a card of many such custom controls and I forgot it was a group. The key stroke is not blocked. Here is a real example. I hope to make soon a background for navigation. I hope to include some effects for card navigation. My back stack includes the inverse of the effect. Also, buttons can be placed on the card to jump directly to some card. I want to use the same effect stack for those. This way a series of back back back will feel like going back. (That's the idea, anyway; it may end up looking goofy.) This button can use the handlers of the background because it is in the path. But, if I put the button in a group or for some reason the group does card changes, the background is not in the path. One solution is to send directly to the background for all cases and just consider the background behavior of the background being after the card in the path in some cases as a problem rather than a solution. Another would be to put the background in the back scripts and be careful with pass recursion. Dar Scott From bornstein at designeq.com Fri Dec 20 14:02:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Fri Dec 20 14:02:01 2002 Subject: revolution UI question Message-ID: <200212201856.gBKIuMk09474@mailout6-0.nyroc.rr.com> >1. Why does the script window always hide when I switch to another >applications window? Don't know a way to stop this. >When I click anywhere on a rev document, the open script >changes to the script of the object I clicked upon. Which is about 75% >of the time an accidental click or a click to get back to Rev when I >have been in another app. > >My question is...is there any way to fix/change this behaviour? Yes, look for the little "link" icon in the upper-right corner of the property palette. Click it. It turns into a solid link (an infinity sign). Now the script for this object is locked and the window won't switch to another object. However, you *will* get another property palette open if you click another object. But your original script window still remains. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From rpresender at earthlink.net Fri Dec 20 14:15:01 2002 From: rpresender at earthlink.net (Robert Presender) Date: Fri Dec 20 14:15:01 2002 Subject: Standalone revisted Message-ID: <4AC12B0B-144E-11D7-97F0-000393A19046@earthlink.net> Using OS 10.2.2, Rev 1.1.1 Having successfully built a standalone(? ) from a single stack file consisting of a main stack (no user entry and save not required) and several substacks (user entries are to be saved and each substack has a save script in it). I used the procedure in Tips 1 of RR site and the result was a data folder and an application(standalone name} icon. Clicking on the icon opens the application and data can be entered by the user in the various stacks and is saved for use the next time the application is opened. Opening the data folder all the way, the saved substack files(?) , when clicked, the first cards become visible to the user and data can be entered. Question 1: Is there any way that the data folder can be hidden? There is no need for the user to be aware of the data folder. Question 2: The recent discussions RE: Standalone Button Font Bloat doesn't mention anything about using Tips 1. Are these two procedures the same? If not, an example of the script required in the .app main stack(Splash stack only) to open the .rev main stack (all substacks) would be helpful. Question 3: Ref Question 2. If this procedure is used, what entries are to be entered in the build standalone? TIA Regards .... Bob From pixelbird at interisland.net Fri Dec 20 14:17:00 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Dec 20 14:17:00 2002 Subject: Sending attachments to the list In-Reply-To: <200212201701.MAA12074@www.runrev.com> Message-ID: > Subject: VS: Sending attachments to the list > Date: Fri, 20 Dec 2002 08:12:53 +0200 > From: =?iso-8859-1?Q?Esa_Kivel=E4?= > One way is that get whole email in to some text editor and edit those parts > where want to reply by hand and remove last parts away, then copy paste it in > the email and send. > > That way I do ie. with long emails. ---------- Hmmm. I can do all that right in my emailer (OE). I use the digest version of this list. 1) Select the entire message I to which I wish to respond, including the message header, then hit Reply. Only that message shows up in the Re body. 2) I delete unnecessary parts of the header, copy the subject name and paste it into the subject line. 3) Go through the message, answering each part I want as I go, typing break lines between (because line wrapping sometimes goofs up color delineation). 4) If I want to skip something, I type the word (snip) to let others know where I have cut out text. 5) Sign and Send. Pretty simple. I try to do it this way every time. It works. Let me know if I miss the subject line. Best wishes for safe and happy holydays, Ken N. From kray at sonsothunder.com Fri Dec 20 15:02:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Dec 20 15:02:01 2002 Subject: revolution UI question References: <200212201856.gBKIuMk09474@mailout6-0.nyroc.rr.com> Message-ID: <037601c2a861$57eba3f0$6701a8c0@mckinley.dom> > >1. Why does the script window always hide when I switch to another > >applications window? Check out the "hidepalettes" global property... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mcmanusm at kramergraphics.com Fri Dec 20 15:39:01 2002 From: mcmanusm at kramergraphics.com (Mike McManus) Date: Fri Dec 20 15:39:01 2002 Subject: revolution UI question In-Reply-To: <200212201856.gBKIuMk09474@mailout6-0.nyroc.rr.com> Message-ID: <478C7678-145A-11D7-A50C-0003936C5FDE@kramergraphics.com> On Friday, December 20, 2002, at 01:56 PM, Howard Bornstein wrote: > > >> When I click anywhere on a rev document, the open script >> changes to the script of the object I clicked upon. Which is about 75% >> of the time an accidental click or a click to get back to Rev when I >> have been in another app. >> >> My question is...is there any way to fix/change this behaviour? > > Yes, look for the little "link" icon in the upper-right corner of the > property palette. Click it. It turns into a solid link (an infinity > sign). Now the script for this object is locked and the window won't > switch to another object. > > However, you *will* get another property palette open if you click > another object. But your original script window still remains. > > Regards, > > Howard Bornstein > Thanks. Just what I have been missing From yvescoppe at skynet.be Fri Dec 20 16:39:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Fri Dec 20 16:39:01 2002 Subject: RegEx for a date Message-ID: Hi, I want to check if a line of a data is a date in European format : DD/MM/YYYY so I write local theDay, TheMonth, TheYear repeat for each line theLine in uneAnalyse if (theLine,"(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0-9][0-9][0-9][0-9])",theDay,TheMonth,TheYear) is true then put theLine into tDate exit repeat end if end repeat but it doesn't work... Can someone help me please ??? I think I write wrong for the "year" variable. Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From kray at sonsothunder.com Fri Dec 20 17:04:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Dec 20 17:04:01 2002 Subject: RegEx for a date References: Message-ID: <039001c2a872$62e247d0$6701a8c0@mckinley.dom> Yves, A couple of things... first, you are missing the key function call to "matchText" in your regex call; secondly, you don't need to provide additional variables for theDay, theMonth and theYear unless you are planning on doing something with them later on (i.e. you don't need them just for verification); and finally, you are exiting the repeat loop as soon as you find a good date (I'm not sure if this is what you want). Your original post said you just wanted to check to see if a line of data is in the right format, so I removed the repeat loop (you can put it back in if you're checking a list of dates). Here's what worked for me (verification on one line only): function CheckDate pDateToCheck if matchText(pDateToCheck,"(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0-9][0-9] [0-9][0-9])") is true then return pDateToCheck else return "Bad date" end if end CheckDate Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Yves Copp?" To: Sent: Friday, December 20, 2002 3:35 PM Subject: RegEx for a date > Hi, > > > I want to check if a line of a data is a date in European format : DD/MM/YYYY > > > so I write > > > local theDay, TheMonth, TheYear > > repeat for each line theLine in uneAnalyse > if > (theLine,"(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0-9][0-9][0-9][0-9])",t heDay,TheMonth,TheYear) > is true then > put theLine into tDate > exit repeat > end if > end repeat > > > but it doesn't work... > > Can someone help me please ??? > > I think I write wrong for the "year" variable. > > Thanks. > -- > Greetings. > > Yves COPPE > > Email : yvescoppe at skynet.be > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre.rombauts at win.be Sat Dec 21 00:46:01 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Sat Dec 21 00:46:01 2002 Subject: Platform Printing problems Message-ID: <200212210540.gBL5ekI29484@riker.skynet.be> I understand that LF & CR are differently translated on Win & Mac platforms. But... When using revprintText under Windows if I ?m sending multiple pages to the printer I?m getting strange bugs under windows: the last line of a page is re-printed on the first line of the next page... Is this a known bug or should I carfefully insert a platform dependent routine to deal with this?... Andr? -------------- next part -------------- An HTML attachment was scrubbed... URL: From andre.rombauts at win.be Sat Dec 21 02:23:00 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Sat Dec 21 02:23:00 2002 Subject: Platform Printing problems Message-ID: <200212210718.gBL7I4I16726@riker.skynet.be> I understand that LF & CR are differently translated on Win & Mac platforms. But... When using revprintText under Windows if I ?m sending multiple pages to the printer I?m getting strange bugs under windows: the last line of a page is re-printed on the first line of the next page... Is this a known bug or should I carfefully insert a platform dependent routine to deal with this?... Andr? -------------- next part -------------- An HTML attachment was scrubbed... URL: From yvescoppe at skynet.be Sat Dec 21 03:45:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Sat Dec 21 03:45:01 2002 Subject: RegEx for a date In-Reply-To: <039001c2a872$62e247d0$6701a8c0@mckinley.dom> References: <039001c2a872$62e247d0$6701a8c0@mckinley.dom> Message-ID: >Yves, > >A couple of things... first, you are missing the key function call to >"matchText" in your regex call; secondly, you don't need to provide >additional variables for theDay, theMonth and theYear unless you are >planning on doing something with them later on (i.e. you don't need them >just for verification); and finally, you are exiting the repeat loop as soon >as you find a good date (I'm not sure if this is what you want). Your >original post said you just wanted to check to see if a line of data is in >the right format, so I removed the repeat loop (you can put it back in if >you're checking a list of dates). > >Here's what worked for me (verification on one line only): > >function CheckDate pDateToCheck > if >matchText(pDateToCheck,"(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0-9][0-9] >[0-9][0-9])") is true then > return pDateToCheck > else > return "Bad date" > end if >end CheckDate > Thank you very much for the lesson and the solution...!!! Cheers -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From ambassador at fourthworld.com Sat Dec 21 13:31:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 21 13:31:00 2002 Subject: [OT] Article on Shareware Professionalism In-Reply-To: <5.1.0.14.2.20021209121526.03c5b570@mail.spamcop.net> Message-ID: Those of you using Rev to develop products may appreciate this excellent article I stumbled across the other day: Shareware Amateurs vs. Shareware Professionals -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From tedl at voyager.net Sat Dec 21 15:10:01 2002 From: tedl at voyager.net (Ted) Date: Sat Dec 21 15:10:01 2002 Subject: Stack file organisation Message-ID: <005901c2a92c$556a9a20$c3ce59cf@egl> Richard Gaskin wrote: >> After rebuilding the card did the problems go away fo good? << Yes. >> Were the new cards in any way different from the old ones (scripts, properties, etc.)? << The new cards were *exactly* the same. All cards were created from the toolbar, and the properties were left untouched except for the card name and script. In each case, I did a *Select All* and *Copy* on the offending card's script and objects (with Show Invisible Objects on), and I pasted everything onto the new card. That was it. Once on the new card, everything worked flawlessly. >> But in Rev/MC, when you experience symptoms that may appear to be simlar to HC corruption it may be more effective to look for different remdies. In most cases, if you rebuild the card _exactly_, you'll reproduce the problem exactly. << If you just suggested user error, you certainly did it tactfully. :-) Actually, in such cases, I'm praying that it's my fault. But it appeared not to be--especially since these cards clearly exhibited odd behavior during the most elementary of troubleshooting tests. Extensive assaults on these cards from different angles (show, hide, move, put, etc.) convinced me that the cards themselves were simply clinkers. So alas, the culprit wasn't I, but that is always a bittersweet discovery, isn't it? Considering that I'm the only one who has responded about this particular issue, it appears to be uncommon across the board. If it ever happens again, I will send the offending card to RunRev for analysis. Ted From bornstein at designeq.com Sat Dec 21 15:46:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Sat Dec 21 15:46:01 2002 Subject: Hide Groups not working Message-ID: <200212212041.gBLKf3k25769@mailout6-0.nyroc.rr.com> I've got a bunch of links in my stack and I want to turn off the underlining. For some reason, Hide Groups doesn't seem to work in this stack. I've built a simple test stack and Hide Groups performs as advertised (underlining of links disappears) but in my current stack, it seems to have no effect. Anybody have any ideas? Also, the TD states: "The hide groups command sets the showLinks property to false." What object does the showlinks property belong to? I can't find it in the Transcript dictionary. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From ambassador at fourthworld.com Sat Dec 21 16:26:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 21 16:26:01 2002 Subject: Stack file organisation In-Reply-To: <005901c2a92c$556a9a20$c3ce59cf@egl> Message-ID: Ted wrote: >>> > But in Rev/MC, when you experience symptoms that may appear to be simlar to > HC corruption it may be more effective to look for different remdies. In > most cases, if you rebuild the card _exactly_, you'll reproduce the problem > exactly. > << > > If you just suggested user error, you certainly did it tactfully. :-) I wish I wrote that well. :) Actually, I was thinking more about the nature of corruption and how in a system like Rev it's hard to make it happen (the only time it touches the disk is when you explicitely tell it to with a save command, and then it writes the whole file fresh in one clean pass). Your environment is hopefully less convoluted than mine, but with some of my older tools I have libraries that provide insufficient feedback to the routines that call them (thankfully I cleaned those up over summer for newer stuff), so sometimes I would have a behavior taking place that is not triggered by any of the scripts in my stack, but instead coming from one of my backscripts. In my less careful days, this sometimes made finding the true source of the trouble difficult. Given the rarity of corruption in a non-paged-memory system, I tend to try to exhaust all other posibilities before deciding it's corruption. If nothing else, the few times I've sent something to Scott Raney suggesting ut was corruption with the exception of one case of button corruption back in '98 in all other cases he proves me wrong. :) > Actually, in such cases, I'm praying that it's my fault. But it appeared not > to be--especially since these cards clearly exhibited odd behavior during the > most elementary of troubleshooting tests. Extensive assaults on these cards > from different angles (show, hide, move, put, etc.) convinced me that the > cards themselves were simply clinkers. So alas, the culprit wasn't I, but that > is always a bittersweet discovery, isn't it? > > Considering that I'm the only one who has responded about this particular > issue, it appears to be uncommon across the board. If it ever happens again, I > will send the offending card to RunRev for analysis. That's probably optimal. I know from my one instance it is possible to have a corrupt object, and if so having them examine the stack file should enable them to verify if thats the case. It may also be a bug, but if it is it should be reproducible. I had a case two years ago in which the SC-to-Rev converter faithfully copied object properties from SC to Rev, but in doing so it included a fillpat for a line object -- this caused a crash due to a bug in QuickDraw which throws a fit when trying to calculate the fill region (a line of course has no fill region). SC apparently special-cases such things when it's rendering the object so that having the value set doesn't trigger QD's error, and MC itself clears that part of the record when creating lines. But when building from a SIF export, the combination of properties was faithfully set in the object, and passed by MC'smore generalized C++ class off to QD, and QD choked on it. It drove me nuts trying to pin it down, but thankfully Scott took a look at the stack and the MacsBug stdlog I submitted with it, did some tests, and got me an answer within 24 hours. I just wrote a routine that cleared that prop from all of the line objects and it's worked swimmingly since. So while it seemed like corruption, the object record itself was intact and fully functional. Once Scott showed me how to get around that QD bug I was able to continue working happily away with the same objects. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From rcozens at pon.net Sat Dec 21 16:31:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Dec 21 16:31:01 2002 Subject: Sending attachments to the list In-Reply-To: References: Message-ID: >a number >of listers did not receive that digest as it was filtered out on the >recipients end by ever vigilant anti spam software that took offence at the >language. Heather, et al: This and the incident you reported when your ISP was flagged because of some other users' actions make me wonder what kind of control freaks are working for the anti-spam police. If my ISP filtered my mail and decided whether or not I should get it based on content, I would find myself a new ISP post haste. Eudora rates my eMail on a scale of offensiveness (0 - 3 "flames") based on content and emphasizes "offensive" words. It has no concept of context, and I often chuckle about its warning that my totally innocuous statement could be offensive. We don't need content police...and most especially automated ones. It's bad enough the US Supreme Court has ruled the computer has final say regarding whether my legally-cast vote will be counted...now the computer is going to determine which of my mail I can and can't see? George Orwell was a prophet. Happy Holidays! -- Rob Cozens, CCW "Where but America can the person who lost the popular vote become President without a coup?" From dcragg at lacscentre.co.uk Sat Dec 21 17:07:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat Dec 21 17:07:01 2002 Subject: specialFolderPath function (Mac OS X) Message-ID: Hi I just made a small discovery concerning the specialFolderPath function on Mac OS X. (Apologies if this is common knowledge.) There was some discussion in the past on this list about extending the specialFolderPath function on Windows with numerical codes. (Ken Ray very kindly documented these codes on his site. ). I was wondering whether there was anything similar for Mac OS X (I was wanting to locate a user's "Application Support" folder). After looking around some sample AppleScripts, I discovered there are indeed various codes ( a huge number it seems). And these codes (mostly 4-character strings) seem to work with the specialFolderPath function. For example: get specialFolderPath("cusr") returns (on my system) "/Volumes/taro_1/Users/dave" get specialFolderPath("asup") returns "/Library/Application Support" After further poking around, I found these codes can be found (amongst other stuff) in the "folders.h" file which resides deep in the Library folder (try a find in the Finder to locate it). It looks like the file contains codes for both OS X and earlier OS versions, but I've not been able to test them on Mac OS 8/9 yet. Bear in mind that these extensions to specialFolderPath aren't documented, and therefore we should assume they aren't officially supported. (Probably with good reason as not all codes will work across all OS versions). But I thought it might be of use to someone. Cheers Dave From andre.rombauts at win.be Sat Dec 21 17:40:01 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Sat Dec 21 17:40:01 2002 Subject: Printing problem Message-ID: I understand that LF & CR are differently translated on Win & Mac platforms. But... When using revprintText under Windows if I ?m sending multiple pages to the printer I?m getting strange bugs under windows: the last line of a page is re-printed on the first line of the next page... Is this a known bug or should I carfefully insert a platform dependent routine to deal with this?... Andr? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsc at swcp.com Sat Dec 21 17:44:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 21 17:44:01 2002 Subject: stdin/stdout in Windows "command prompt" window Message-ID: I'm not sure whether this is a Revolution question or a Windows question. I have some Revolution standalones that read from stdin and/or write to stdout. For testing, I run them from a command prompt window. If I pipe or redirect stdin or stdout, these work correctly. However, if I do not, they do not work as I expected. I expect them to read and write the console as console apps do. For some reason they do not. Is this because they are GUI apps? (This is my first GUI app that does stdin/stdout I/O and, to put it another way, my first console app that has a GUI.) Or is this some Revolution limitation? Workarounds? I tried redirecting to the console, but that didn't work. Dar Scott From kray at sonsothunder.com Sat Dec 21 18:05:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Dec 21 18:05:01 2002 Subject: specialFolderPath function (Mac OS X) References: Message-ID: <042c01c2a943$ecc85490$6701a8c0@mckinley.dom> Great find, Dave! I'll add that to the tips list for future reference! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Dave Cragg" To: Sent: Saturday, December 21, 2002 4:00 PM Subject: specialFolderPath function (Mac OS X) > Hi > > I just made a small discovery concerning the specialFolderPath > function on Mac OS X. (Apologies if this is common knowledge.) > > There was some discussion in the past on this list about extending > the specialFolderPath function on Windows with numerical codes. (Ken > Ray very kindly documented these codes on his site. > ). > > I was wondering whether there was anything similar for Mac OS X (I > was wanting to locate a user's "Application Support" folder). After > looking around some sample AppleScripts, I discovered there are > indeed various codes ( a huge number it seems). And these codes > (mostly 4-character strings) seem to work with the specialFolderPath > function. For example: > > get specialFolderPath("cusr") returns (on my system) > "/Volumes/taro_1/Users/dave" > > get specialFolderPath("asup") returns "/Library/Application Support" > > After further poking around, I found these codes can be found > (amongst other stuff) in the "folders.h" file which resides deep in > the Library folder (try a find in the Finder to locate it). > > It looks like the file contains codes for both OS X and earlier OS > versions, but I've not been able to test them on Mac OS 8/9 yet. > > Bear in mind that these extensions to specialFolderPath aren't > documented, and therefore we should assume they aren't officially > supported. (Probably with good reason as not all codes will work > across all OS versions). But I thought it might be of use to someone. > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From heather at runrev.com Sat Dec 21 18:27:01 2002 From: heather at runrev.com (heather at runrev.com) Date: Sat Dec 21 18:27:01 2002 Subject: You have a posty from Cards By Mouse! Message-ID: <200212212321.gBLNLFD23598@magics.net> Confidential! For Revolutionaries only! Heather has created a special posty, just for you, Revolutionaries and sent it to you on Sat Dec 21 18:21:15 2002. The posty will be stored for you for 21 days. Be sure to pick it during these 21 days before it expires. You may pick it up from Cards By Mouse http://mouse.webby.com/pickup.html Your ticket number is: 122118211523596 Alternatively you can pick it up by clicking on the link below: http://pro.mypostcards.com/mousecard.cgi?122118211523596 *********** If you are using AOL mail: just click here. *********** Someone who thinks you're special has sent you a card. What'cha waiting for? Go get it! From dsc at swcp.com Sat Dec 21 19:26:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 21 19:26:01 2002 Subject: Running a command line program with stdin and stdout Message-ID: <16D58B4F-1543-11D7-8AF6-0050E4C0B205@swcp.com> I have a problem. I have a program that takes lots of data in via stdin and then based on all that data, it produces an output on stdout and quits. I want to be able to use this from a Revolution stack and even a standalone. I am currently trying "open process for binary update". Here is the problem. (Well, _a_ problem.) The way the program knows that it has all the input is that it reaches EOF, that is, it reads until the input is closed by the source. After that it creates the output, writes it to stdout, and quits. This is common; it is the way the sort program works on Windows systems. But: If I close the process opened for update, then I cannot read the output. I imagine I can redirect these through files and use shell, but I'd rather not do that. Is there a solution that does not involve saving to files? Dar Scott From ambassador at fourthworld.com Sat Dec 21 19:53:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 21 19:53:00 2002 Subject: specialFolderPath function (Mac OS X) In-Reply-To: Message-ID: Dave Cragg wrote: > get specialFolderPath("asup") returns "/Library/Application Support" > > After further poking around, I found these codes can be found > (amongst other stuff) in the "folders.h" file which resides deep in > the Library folder (try a find in the Finder to locate it). > > It looks like the file contains codes for both OS X and earlier OS > versions, but I've not been able to test them on Mac OS 8/9 yet. > > Bear in mind that these extensions to specialFolderPath aren't > documented, and therefore we should assume they aren't officially > supported. (Probably with good reason as not all codes will work > across all OS versions). But I thought it might be of use to someone. I found the list below from the Carbon headers at . I've only spot checked a few, but they work on OS 9. It seems MC passes them off to the OS pretty much intact, so while this ability is not documented in MC at least the constants themselvs are documented by Apple, and will presumably remain supported: kAppleExtrasFolderIcon = 'aex?', kAppleMenuFolderIcon = 'amnu', kApplicationsFolderIcon = 'apps', kApplicationSupportFolderIcon = 'asup', kAssistantsFolderIcon = 'ast?', kContextualMenuItemsFolderIcon = 'cmnu', kControlPanelDisabledFolderIcon = 'ctrD', kControlPanelFolderIcon = 'ctrl', kControlStripModulesFolderIcon = 'sdv?', kDocumentsFolderIcon = 'docs', kExtensionsDisabledFolderIcon = 'extD', kExtensionsFolderIcon = 'extn', kFavoritesFolderIcon = 'favs', kFontsFolderIcon = 'font', kHelpFolderIcon = '?hlp', kInternetFolderIcon = 'int?', kInternetPlugInFolderIcon = '?net', kLocalesFolderIcon = '?loc', kMacOSReadMeFolderIcon = 'mor?', kPreferencesFolderIcon = 'prf?', kPrinterDescriptionFolderIcon = 'ppdf', kPrinterDriverFolderIcon = '?prd', kPrintMonitorFolderIcon = 'prnt', kRecentApplicationsFolderIcon = 'rapp', kRecentDocumentsFolderIcon = 'rdoc', kRecentServersFolderIcon = 'rsrv', kScriptingAdditionsFolderIcon = '?scr', kSharedLibrariesFolderIcon = '?lib', kScriptsFolderIcon = 'scr?', kShutdownItemsDisabledFolderIcon = 'shdD', kShutdownItemsFolderIcon = 'shdf', kSpeakableItemsFolder = 'spki', kStartupItemsDisabledFolderIcon = 'strD', kStartupItemsFolderIcon = 'strt', kSystemExtensionDisabledFolderIcon = 'macD', kSystemFolderIcon = 'macs', kTextEncodingsFolderIcon = '?tex', kAppearanceFolderIcon = 'appr', kUtilitiesFolderIcon = 'uti?', kVoicesFolderIcon = 'fvoc', kColorSyncFolderIcon = 'prof', kInternetSearchSitesFolderIcon = 'issf', kUsersFolderIcon = 'usr?' -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jeanne at runrev.com Sun Dec 22 04:04:02 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Dec 22 04:04:02 2002 Subject: (no subject) In-Reply-To: References: Message-ID: At 4:36 PM -0800 12/12/02, Sarah wrote: >As someone else suggested, you need "choose browse tool", however there >is a bug to do with this command so it doesn't always work. A >workaround is to use: > send "choose browse tool" to me in 5 ticks This should only be needed after a command that switches tools (most usually the "create" command). (Just as a note.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From rcozens at pon.net Sun Dec 22 11:23:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Dec 22 11:23:01 2002 Subject: Printing problem In-Reply-To: References: Message-ID: >I understand that LF & CR are differently translated on Win & Mac platforms. Andre, et al: All text file (and field) line endings in RAM are numToChar(10) on all platforms. Unless one does binary input/output it is only the copy stored or written to disk that contains platform-specific endings. Check the printMargins, or try deleting the last line on a card before printing it to see if it now prints on a single page. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Sun Dec 22 11:23:48 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Dec 22 11:23:48 2002 Subject: RegEx for a date In-Reply-To: <039001c2a872$62e247d0$6701a8c0@mckinley.dom> References: <039001c2a872$62e247d0$6701a8c0@mckinley.dom> Message-ID: >Here's what worked for me (verification on one line only): > >function CheckDate pDateToCheck > if >matchText(pDateToCheck,"(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0-9][0-9] >[0-9][0-9])") is true then > return pDateToCheck > else > return "Bad date" > end if >end CheckDate Ken, Yeves, et al: I'm not a regEx user, but doesn't the above accept as valid dates input like: * 30/02/2002 (Feb 30) * 31/04/2002 (April 31) * 29/02/2002 (Feb 29 on non leap years) etc.? The Serendipity Library validDate function will correctly validate any date as correct or incorrect based on the system date format: . -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From andre.rombauts at win.be Sun Dec 22 11:43:00 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Sun Dec 22 11:43:00 2002 Subject: Printing problem In-Reply-To: Message-ID: Le 22/12/2002 16:42, Rob Cozens ? rcozens at pon.net a ?crit: >> I understand that LF & CR are differently translated on Win & Mac platforms. > All text file (and field) line endings in RAM are numToChar(10) on > all platforms. Unless one does binary input/output it is only the Thanks but... The text isd in RAM indeed. A report is generated ans stored in varReport1, varReport2, etc. Then the following is sent to the printer: revPrintText varReport1 & varReport2 & varReport3, varHeader, varFooter, the long ID of field "Report" Some varReport variables contains numerous lines (25-100), thus leading to a multiple pages printing. Under MacOS, no problem. Under Windows the last line of a page is repeated on the next page, inside the 'text area' (header and footers are printed correctly). Moreover the line is not formated exactly as the line of the previous page (words are missing)... :-( Andr? From ttasovac at Princeton.EDU Sun Dec 22 13:00:01 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Sun Dec 22 13:00:01 2002 Subject: changing textStyle on the fly In-Reply-To: <20021111172347.73783.qmail@web11907.mail.yahoo.com> Message-ID: <8019535E-15D6-11D7-BFCD-000393D60E0C@princeton.edu> I have a field which has some words linked together. Under certain conditions, I want the mouse click to disregard the link and handle the individual words which make up the link. So I wrote a script to check if the clicked text is a link, change its textstyle to plain, pick up the word at clickLoc, do something with the word, and then make the originally cliked chunk into a link again. on mouseDown theButton switch case theButton is 1 put the textStyle of the selectedChunk into tStyle put the selectedChunk into tChunk if tStyle is "link" then set the textStyle of the selectedChunk to "plain" click at the clickLoc put the clickText after fld "Display" select tChunk set the textStyle of the selectedChunk to "link" hide groups else put the clickText after fld "Display" break end switch end mouseDown What am I doing wrong? With the above script, I still get the linked words displayed together, not individually, as I would want them. I'd be most grateful for any help. Happy holidays to everybody! Toma ________________________________ Toma Tasovac Princeton University Department of Comparative Literature 91 Prospect Avenue Princeton, NJ 08544 USA ttasovac at princeton.edu ttasovac at post.harvard.edu From yvescoppe at skynet.be Sun Dec 22 13:24:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Sun Dec 22 13:24:01 2002 Subject: Printing problem In-Reply-To: References: Message-ID: >Le 22/12/2002 16:42, Rob Cozens ? rcozens at pon.net a ?crit: > >>> I understand that LF & CR are differently translated on Win & Mac >>>platforms. >> All text file (and field) line endings in RAM are numToChar(10) on >> all platforms. Unless one does binary input/output it is only the > >Thanks but... > >The text isd in RAM indeed. A report is generated ans stored in varReport1, >varReport2, etc. Then the following is sent to the printer: > >revPrintText varReport1 & varReport2 & varReport3, varHeader, varFooter, the >long ID of field "Report" > >Some varReport variables contains numerous lines (25-100), thus leading to a >multiple pages printing. Under MacOS, no problem. Under Windows the last >line of a page is repeated on the next page, inside the 'text area' (header >and footers are printed correctly). Moreover the line is not formated >exactly as the line of the previous page (words are missing)... :-( > >Andr? > Hi Andr? Which version of Revolution do you run ? There are obviously printing problem in Rev. The situation should be very much improved in 2.0 Salut et meilleurs voeux ? un compatriote and merry Christmas and happy NewYear to all others -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From bornstein at designeq.com Sun Dec 22 14:05:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Sun Dec 22 14:05:01 2002 Subject: changing textStyle on the fly Message-ID: <200212221900.gBMJ0Ek03582@mailout6-0.nyroc.rr.com> I'm not sure how your example would work, since by clicking your button, you've changed the location of ClickLoc. In anycase, if you put the following script into your field, it should do what you want: on mouseup put the clickchunk into tClicked if tClicked is not empty then put the textStyle of tClicked into tStyle if tStyle is "link" then set the textStyle of tClicked to "plain" put the mousetext after fld "Display" set the textStyle of tClicked to "link" hide groups else put the clickText after fld "Display" end if end if end mouseup Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com >I have a field which has some words linked together. Under certain >conditions, I want the mouse click to disregard the link and handle the >individual words which make up the link. So I wrote a script to check >if the clicked text is a link, change its textstyle to plain, pick up >the word at clickLoc, do something with the word, and then make the >originally cliked chunk into a link again. > > >on mouseDown theButton > switch > case theButton is 1 > put the textStyle of the selectedChunk into tStyle > put the selectedChunk into tChunk > if tStyle is "link" then > set the textStyle of the selectedChunk to "plain" > click at the clickLoc > put the clickText after fld "Display" > select tChunk > set the textStyle of the selectedChunk to "link" > hide groups > else put the clickText after fld "Display" > break > end switch >end mouseDown > >What am I doing wrong? With the above script, I still get the linked >words displayed together, not individually, as I would want them. > >I'd be most grateful for any help. > >Happy holidays to everybody! > >Toma From ttasovac at Princeton.EDU Sun Dec 22 14:13:01 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Sun Dec 22 14:13:01 2002 Subject: changing textStyle on the fly In-Reply-To: <200212221900.gBMJ0Ek03582@mailout6-0.nyroc.rr.com> Message-ID: Thanks a million, Howard! I am always amazed with the speed at which answers get posted on this list. T. On Sunday, December 22, 2002, at 08:00 PM, Howard Bornstein wrote: > > on mouseup > put the clickchunk into tClicked > if tClicked is not empty then > put the textStyle of tClicked into tStyle > if tStyle is "link" then > set the textStyle of tClicked to "plain" > put the mousetext after fld "Display" > set the textStyle of tClicked to "link" > hide groups > else > put the clickText after fld "Display" > end if > end if > end mouseup > ________________________________ Toma Tasovac Princeton University Department of Comparative Literature 91 Prospect Avenue Princeton, NJ 08544 USA ttasovac at princeton.edu ttasovac at post.harvard.edu From andre.rombauts at win.be Sun Dec 22 14:42:01 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Sun Dec 22 14:42:01 2002 Subject: Printing problem In-Reply-To: Message-ID: Le 22/12/2002 19:21, Yves Copp? ? yvescoppe at skynet.be a ?crit: >> Some varReport variables contains numerous lines (25-100), thus leading to a >> multiple pages printing. Under MacOS, no problem. Under Windows the last >> line of a page is repeated on the next page, inside the 'text area' (header >> and footers are printed correctly). Moreover the line is not formated >> exactly as the line of the previous page (words are missing)... :-( > Which version of Revolution do you run ? 1.1.1 > There are obviously printing problem in Rev. The situation should be > very much improved in 2.0 Is this a known bug? If not, how would it be corrected in 2.0?... :-( Andr? From wmb at internettrainer.com Sun Dec 22 14:44:00 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Dec 22 14:44:00 2002 Subject: [OT] Article on Shareware Professionalism In-Reply-To: Message-ID: <63889868-15ED-11D7-9AF8-003065430226@internettrainer.com> On Samstag, Dezember 21, 2002, at 07:25 Uhr, Richard Gaskin wrote: > > Shareware Amateurs vs. Shareware Professionals > professio > nals.htm> > Thanks for the tip, Richard..! regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From janschenkel at yahoo.com Sun Dec 22 15:00:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Dec 22 15:00:01 2002 Subject: Printing problem In-Reply-To: Message-ID: <20021222195419.95019.qmail@web11905.mail.yahoo.com> --- Andre Rombauts wrote: > Le 22/12/2002 19:21, Yves Copp? ? > yvescoppe at skynet.be a ?crit: > > [snip] > > > There are obviously printing problem in Rev. The > situation should be > > very much improved in 2.0 > Is this a known bug? If not, how would it be > corrected in 2.0?... :-( > > Andr? > Never had it happen that fixing one bug or clearing up some code mysteriously solved another problem? ;-) Happy Holidays from a fellow belgian citizen, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From yvescoppe at skynet.be Sun Dec 22 15:50:00 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Sun Dec 22 15:50:00 2002 Subject: Printing problem In-Reply-To: References: Message-ID: >Is this a known bug? If not, how would it be corrected in 2.0?... :-( > >Andr? > Wait and see...about 3 weeks and you'll get the solution (hope so !) Cheers. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From dsc at swcp.com Sun Dec 22 17:13:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 22 17:13:01 2002 Subject: managing build configurations Message-ID: With several standalone projects and several variations of each, how do I keep up with distribution builder configurations? Dar Scott From sarahr at genesearch.com.au Sun Dec 22 17:32:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Dec 22 17:32:01 2002 Subject: managing build configurations In-Reply-To: Message-ID: <6455FF5A-15FC-11D7-98CA-0003937A97B8@genesearch.com.au> I save all my build configurations (choose Save as.. from the File menu while the Distribution Builder is open). That way I don't have to think about it anymore once I have it set correctly. The saved config files work fine so long as you don't move the source stack files. If you move them, you will have to edit and re-save the config. Cheers, Sarah On Monday, December 23, 2002, at 08:11 am, Dar Scott wrote: > With several standalone projects and several variations of each, how > do I keep up with distribution builder configurations? > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From troy at rpsystems.net Sun Dec 22 17:45:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sun Dec 22 17:45:01 2002 Subject: managing build configurations In-Reply-To: Message-ID: <33B8B008-15FE-11D7-952C-000393853D6C@rpsystems.net> On Sunday, December 22, 2002, at 05:07 PM, Dar Scott wrote: > > With several standalone projects and several variations of each, how do > I keep up with distribution builder configurations? By saving the configs for each? Maybe I'm missing the point of the question? -- Troy RPSystems, LTD www.rpsystems.net From kray at sonsothunder.com Sun Dec 22 17:47:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Dec 22 17:47:01 2002 Subject: RegEx for a date References: <039001c2a872$62e247d0$6701a8c0@mckinley.dom> Message-ID: <05de01c2aa0a$abcf4e40$6701a8c0@mckinley.dom> You're of course right, Rob... I was not focusing on the validity of the dates as much as the validity of the regex itself. Thanks for the link... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Rob Cozens" To: Sent: Sunday, December 22, 2002 9:51 AM Subject: Re: RegEx for a date > >Here's what worked for me (verification on one line only): > > > >function CheckDate pDateToCheck > > if > >matchText(pDateToCheck,"(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0-9][0-9 ] > >[0-9][0-9])") is true then > > return pDateToCheck > > else > > return "Bad date" > > end if > >end CheckDate > > Ken, Yeves, et al: > > I'm not a regEx user, but doesn't the above accept as valid dates input like: > > * 30/02/2002 (Feb 30) > * 31/04/2002 (April 31) > * 29/02/2002 (Feb 29 on non leap years) > > etc.? > > The Serendipity Library validDate function will correctly validate > any date as correct or incorrect based on the system date format: > . > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.com/who.htm > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Sun Dec 22 17:51:00 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 22 17:51:00 2002 Subject: managing build configurations In-Reply-To: <6455FF5A-15FC-11D7-98CA-0003937A97B8@genesearch.com.au> Message-ID: <0CAD7906-15FF-11D7-8AF6-0050E4C0B205@swcp.com> On Sunday, December 22, 2002, at 03:26 PM, Sarah wrote: > I save all my build configurations (choose Save as.. from the File menu > while the Distribution Builder is open). That way I don't have to think > about it anymore once I have it set correctly. The saved config files > work fine so long as you don't move the source stack files. If you move > them, you will have to edit and re-save the config. Wow! Such a great answer and so fast! I guess I just open the saved stack and go from there? My habits have trouble accepting the blurred lines between my stacks and the IDE stacks. Dar Scott From troy at rpsystems.net Sun Dec 22 18:00:00 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sun Dec 22 18:00:00 2002 Subject: managing build configurations In-Reply-To: <0CAD7906-15FF-11D7-8AF6-0050E4C0B205@swcp.com> Message-ID: <676774D6-1600-11D7-952C-000393853D6C@rpsystems.net> On Sunday, December 22, 2002, at 05:45 PM, Dar Scott wrote: > I guess I just open the saved stack and go from there? > > My habits have trouble accepting the blurred lines between my stacks > and the IDE stacks. Perhaps you may be missing the bigger point? The builder has its own file type. While it is open you can create a configuration and then save it as a custom config. It is later loadable independently. Check the menu items with the builder open. Or, as I had thought before, you already knew that and were looking for something else? -- Troy RPSystems, LTD www.rpsystems.net From dsc at swcp.com Sun Dec 22 18:52:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 22 18:52:01 2002 Subject: managing build configurations In-Reply-To: <676774D6-1600-11D7-952C-000393853D6C@rpsystems.net> Message-ID: <8E307887-1607-11D7-8AF6-0050E4C0B205@swcp.com> On Sunday, December 22, 2002, at 03:55 PM, Troy Rollins wrote: > Perhaps you may be missing the bigger point? The builder has its own > file type. While it is open you can create a configuration and then > save it as a custom config. It is later loadable independently. Check > the menu items with the builder open. > > Or, as I had thought before, you already knew that and were looking for > something else? Oh, no, I didn't know that. I looked on the menus and I had to look at it several times before I saw it. Do you mean "Open Distribution..." and "Save Distribution as..."? I'll try that. Now how in the world would one think to look there? Dummies like me need an index. (I actually did look there, but on the wrong version of Revolution.) I've been doing this the hard way. Dar Scott From troy at rpsystems.net Sun Dec 22 18:58:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sun Dec 22 18:58:01 2002 Subject: managing build configurations In-Reply-To: <8E307887-1607-11D7-8AF6-0050E4C0B205@swcp.com> Message-ID: <6CE05BA9-1608-11D7-952C-000393853D6C@rpsystems.net> On Sunday, December 22, 2002, at 06:46 PM, Dar Scott wrote: > I looked on the menus and I had to look at it several times before I > saw it. Do you mean "Open Distribution..." and "Save Distribution > as..."? I'll try that. That's the stuff. I guess we stumbled upon it. I think the story went like - "Man!! I sure as heck wish there was a way to save distribution configurations. Oh... look!! There is!!" Sometimes things just work out that way. ;-) Happy Holidays list folk. -- Troy RPSystems, LTD www.rpsystems.net From katir at hindu.org Mon Dec 23 00:28:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon Dec 23 00:28:01 2002 Subject: set templateField from existing field Message-ID: Is it possible to set the templateField with the attributes of an existing field in a single line of code? Or do we have to script that. Sannyasin Sivakatirswami Himalayan Academy Publications katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From ambassador at fourthworld.com Mon Dec 23 00:43:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Dec 23 00:43:01 2002 Subject: set templateField from existing field In-Reply-To: Message-ID: Sannyasin Sivakatirswami wrote: > Is it possible to set the templateField with the attributes of an > existing field in a single line of code? Or do we have to script that. I think this should work: set the properties of the templatefield to the properties of fld 1 -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jeanne at runrev.com Mon Dec 23 02:49:12 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Dec 23 02:49:12 2002 Subject: Hide Groups not working In-Reply-To: <200212212041.gBLKf3k25769@mailout6-0.nyroc.rr.com> Message-ID: At 12:41 PM -0800 12/21/02, Howard Bornstein wrote: >I've got a bunch of links in my stack and I want to turn off the >underlining. For some reason, Hide Groups doesn't seem to work in this >stack. I've built a simple test stack and Hide Groups performs as >advertised (underlining of links disappears) but in my current stack, it >seems to have no effect. Anybody have any ideas? The underlineLinks is (as of 1.1, I think) both a stack property and a global property. Hide Groups turns off the global property, but if the stack property is set, it takes precedence. So try set the underlineLinks of stack "Test" to false and see whether that gets rid of the underlines. >Also, the TD states: "The hide groups command sets the showLinks property >to false." > >What object does the showlinks property belong to? The "techwriter hallucinations" object. ;-) This was a typo/braino on my part, and should refer to the "underlineLinks" property, which is the correct name. (It's fixed in the latest alpha.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From andre.rombauts at win.be Mon Dec 23 09:18:01 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Mon Dec 23 09:18:01 2002 Subject: Tutorials Message-ID: I?ve been learning Rev for several months but to really go ?inside? I would need an ?in-depth-tutorial?. This is quite different from all othe programing environment I used in the past (Basic, Visual Basic, Pascal ? I?m just a 50 y old teacher who started with computer in the 80?). How to organize stacks, to use externals and plugins (not really sure to understand the difference), etc. Revolution is so ?huge?... Will we get a good tutorial book?... Andr? -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin at runrev.com Mon Dec 23 10:54:01 2002 From: kevin at runrev.com (Kevin Miller) Date: Mon Dec 23 10:54:01 2002 Subject: Merry Christmas! Message-ID: Hi Everyone, I'd like to wish you all a Merry Christmas and a Happy New Year! Thanks for all your support over the last year. Roll on 2003... All the best, Kevin Managing Director Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From rcozens at pon.net Mon Dec 23 10:58:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Dec 23 10:58:00 2002 Subject: Printing problem In-Reply-To: References: Message-ID: >Under Windows the last >line of a page is repeated on the next page, inside the 'text area' (header >and footers are printed correctly). Moreover the line is not formated >exactly as the line of the previous page (words are missing) Andre, When you say "the last line of a page", do you mean one particular page or every page? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From HyperJEFF at aol.com Mon Dec 23 11:02:01 2002 From: HyperJEFF at aol.com (HyperJEFF at aol.com) Date: Mon Dec 23 11:02:01 2002 Subject: Merry Christmas! Message-ID: <177.14097727.2b388c2b@aol.com> Hi Kevin, Thanks for the season greetings, and back at you. Best Wishes, Jeff Crossly From andre.rombauts at win.be Mon Dec 23 11:11:01 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Mon Dec 23 11:11:01 2002 Subject: Printing problem In-Reply-To: Message-ID: Le 23/12/2002 16:48, Rob Cozens ? rcozens at pon.net a ?crit: >> line of a page is repeated on the next page, inside the 'text area' (header >> and footers are printed correctly). Moreover the line is not formated >> exactly as the line of the previous page (words are missing) > > When you say "the last line of a page", do you mean one particular > page or every page? When a line has to be printed on the very last line of the page (inside the 'text zone') that line is repeated on the next page. This occur whatever the page number. Under Windows only. Andr? From dsc at swcp.com Mon Dec 23 11:21:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 23 11:21:01 2002 Subject: Printing problem In-Reply-To: Message-ID: On Saturday, December 21, 2002, at 03:36 PM, Andre Rombauts wrote: > When using revprintText under Windows if I ?m sending multiple pages > to the printer I?m getting strange bugs under windows: the last line > of a page is re-printed on the first line of the next page... Is this a > known bug or should I carfefully insert a platform dependent routine to > deal with this?... > This reminds me of a problem I have and they might be related. Maybe. For some fonts and sizes--when I change the color of the last line of a field the color does not apply to the top pixel (or two) of the characters. I think I remember this applying to courier or courier new with, hmmm, maybe a size of 9 points, maybe 10. Maybe the metrics of some fonts are not the same what Revolution expects. Maybe on Windows the engine is obtaining the wrong metric. Does this problem go away if you twiddle font sizes a little? Dar Scott From andre.rombauts at win.be Mon Dec 23 11:32:01 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Mon Dec 23 11:32:01 2002 Subject: Printing problem In-Reply-To: Message-ID: >> When using revprintText under Windows if I ?m sending multiple pages >> to the printer I?m getting strange bugs under windows: the last line >> of a page is re-printed on the first line of the next page... Is this a >> known bug or should I carfefully insert a platform dependent routine to > characters. I think I remember this applying to courier or courier new > with, hmmm, maybe a size of 9 points, maybe 10. > Maybe the metrics of some fonts are not the same what Revolution > expects. Maybe on Windows the engine is obtaining the wrong metric. > Does this problem go away if you twiddle font sizes a little? Good suggestion. I'll check. I'm at home and using Mac only here... :-) Andr? From jameslewes at comcast.net Mon Dec 23 11:41:01 2002 From: jameslewes at comcast.net (james lewes) Date: Mon Dec 23 11:41:01 2002 Subject: Merry Christmas! In-Reply-To: Message-ID: i know it is off topic, but let everyone on the revolution list left a glass in memory of joe strummer > From: Kevin Miller > Reply-To: use-revolution at lists.runrev.com > Date: Mon, 23 Dec 2002 15:48:55 +0000 > To: use-revolution at lists.runrev.com > Subject: Merry Christmas! > > Hi Everyone, > > I'd like to wish you all a Merry Christmas and a Happy New Year! Thanks for > all your support over the last year. Roll on 2003... > > All the best, > > Kevin > Managing Director > > Kevin Miller > Runtime Revolution Limited - The Solution for Software Development > Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From rcozens at pon.net Mon Dec 23 11:45:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Dec 23 11:45:01 2002 Subject: Printing problem In-Reply-To: References: Message-ID: >When a line has to be printed on the very last line of the page (inside the >'text zone') that line is repeated on the next page. This occur whatever the >page number. Under Windows only. A couple of thoughts: Have you compared the printed output from Mac & Windows side--by-side (ie: line up the top lines of each page and check that actual line sizes and line spacings are identical)? You said earlier only part of the line gets printed on the next page. Is there a particular character position or value that triggers the cut off? Are some characters on the last line printed on both pages? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From sims at ezpzapps.com Mon Dec 23 11:47:01 2002 From: sims at ezpzapps.com (sims) Date: Mon Dec 23 11:47:01 2002 Subject: Address Book & Applescript In-Reply-To: References: Message-ID: The following applescript will grab names and the birth date field from the Address Book BUT only in Mac OS 10.2.3 Does anyone have the special Apple incantation for getting the birth date from the Address Book BUT in Mac OS 10.2 up to 10.2.3?? Also - Happy Holidays to all! sims tell application "Finder" to make file at desktop with properties {name:"Birthday export.txt"} set exportFile to (((path to desktop) as string) & "Birthday export.txt") as alias tell application "Address Book" set addressBookAsList to every person open for access exportFile with write permission repeat with i from 1 to count of addressBookAsList set theName to (name of item i of addressBookAsList) set theBirthDate to (birth date of item i of addressBookAsList) as string write (theName & tab & theBirthDate & return) as string starting at eof to exportFile end repeat close access exportFile end tell From mike at cyber-ny.com Mon Dec 23 11:57:01 2002 From: mike at cyber-ny.com (Mike Brown) Date: Mon Dec 23 11:57:01 2002 Subject: Merry Christmas! In-Reply-To: Message-ID: I'll agree with that. Truly one of Rock-n-Rolls greatest. I'm shocked and saddened to hear of his passing. - Mike On a more cheerful note... Happy Holidays to the Rev Staff & List. Mike Brown Cyber-NY Interactive 212-475-2721 1-888-70-CYBER mike at cyber-ny.com > From: james lewes > Reply-To: use-revolution at lists.runrev.com > Date: Mon, 23 Dec 2002 11:35:06 -0500 > To: use-revolution at lists.runrev.com > Subject: Re: Merry Christmas! > > i know it is off topic, but let everyone on the revolution list left a glass > in memory of joe strummer > >> From: Kevin Miller >> Reply-To: use-revolution at lists.runrev.com >> Date: Mon, 23 Dec 2002 15:48:55 +0000 >> To: use-revolution at lists.runrev.com >> Subject: Merry Christmas! >> >> Hi Everyone, >> >> I'd like to wish you all a Merry Christmas and a Happy New Year! Thanks for >> all your support over the last year. Roll on 2003... >> >> All the best, >> >> Kevin >> Managing Director >> >> Kevin Miller >> Runtime Revolution Limited - The Solution for Software Development >> Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. >> >> _______________________________________________ >> 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_Ivers at lord.com Mon Dec 23 12:04:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Dec 23 12:04:01 2002 Subject: Images within lists Message-ID: Is this how Rev does the little icons and checkboxes in the expanded Application View? -- D > -----Original Message----- > From: Howard Bornstein [mailto:bornstein at designeq.com] > Sent: Wednesday, December 18, 2002 10:53 PM > To: use-revolution at lists.runrev.com > Subject: Re: Images within lists > > > >So, I might use this as I would change, say, forgroundColor > of a char, > >except this applies to only one char? > > Yes, you set it like any other property and yes, it only > applies to one > character. > > If you had a field that had these characters in it: > > ABCDEFGH > > and said > > set the ImageSource of char 3 of fld 1 to "arrow" > > then the character C in this field would be replaced by an > image named > "arrow". Depending on how big the image was, text around the > image would > be shifted to make room for the image. > > The character "C" is still there, but hidden by the image. To get the > character back you'd say: > > set the imageSource of char 3 of fld 1 to empty > > Regards, > > Howard Bornstein > ____________________ > D E S I G N E Q > www.designeq.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bornstein at designeq.com Mon Dec 23 12:18:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Dec 23 12:18:01 2002 Subject: Hide Groups not working Message-ID: <200212231712.gBNHCrF27091@mailout5-0.nyroc.rr.com> >The underlineLinks is (as of 1.1, I think) both a stack property and a >global property. Hide Groups turns off the global property, but if the >stack property is set, it takes precedence. So try > > set the underlineLinks of stack "Test" to false > >and see whether that gets rid of the underlines That did the job! Thanks! Now what I can't figure out is, since I'd never even heard of the underlineLinks property, how'd it get turned on in this stack? >>What object does the showlinks property belong to? > >The "techwriter hallucinations" object. ;-) I could use a diversion. Where are you getting those toads you lick? ;-) Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From wmb at internettrainer.com Mon Dec 23 12:43:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Dec 23 12:43:01 2002 Subject: Tutorials In-Reply-To: Message-ID: On Montag, Dezember 23, 2002, at 03:11 Uhr, Andre Rombauts wrote: > I?ve been learning Rev for several months but to really go ?inside? I > would need an ?in-depth-tutorial?. This is quite different from all > othe programing environment I used in the past (Basic, Visual Basic, > Pascal ? I?m just a 50 y old teacher who started with computer in the > 80?). How to organize stacks, to use externals and plugins (not really > sure to understand the difference), etc. Revolution is so ?huge?... > Will we get a good tutorial book?... Some ideas... Have a look at: * 2.0 Transcript cookbooks-recipes: Jeanne did a great job to make it better to understand * J. Landman Gays tutorials: http://www.hyperactivesw.com/mctutorial/rrtutorialtoc.html (As I said some times ago: simply great!) * If you are from Belgium, than maybe you understand german. Ahhh... - its only an assumption, I dont wont to put myself in to political troubles..;)) - Maltes Rev workshop of a player in Mac Life. The big point (for me) in that is: the explaining of every line code (thats means analyizing what the xtalk means/does) * also Malte: Revolution Newbies Board - http://www.mailping.net/cgi-bin/yabb/YaBB.cgi * waiting, hoping, maybe praying that this http://progrevolution.blogspot.com/ comes out soon: * last but not least, the RR list archive treat: "The RR programming model" Have some nice holidays with a "bit" of work;)) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From HyperJEFF at aol.com Mon Dec 23 12:53:00 2002 From: HyperJEFF at aol.com (HyperJEFF at aol.com) Date: Mon Dec 23 12:53:00 2002 Subject: Merry Christmas! Message-ID: <6d.55ed7a4.2b38a61b@aol.com> I didn't know Joe, But, here is to our trip. JEFF Crossly From janschenkel at yahoo.com Mon Dec 23 13:03:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Dec 23 13:03:01 2002 Subject: Merry Christmas! In-Reply-To: <6d.55ed7a4.2b38a61b@aol.com> Message-ID: <20021223175754.65897.qmail@web11907.mail.yahoo.com> --- HyperJEFF at aol.com wrote: > I didn't know Joe, > But, here is to our trip. > > JEFF Crossly > Joe Strummer was the frontman of the band The Clash, and he died today of a heart attack, at the age of 50. Online condolence book: http://strummernews.com/ Particularly sad when these things happen around this time of the year. Nevertheless, Happy Holidays to you all. Have a good time with your families and take good care of one another... Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From dsc at swcp.com Mon Dec 23 13:07:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 23 13:07:01 2002 Subject: Printing problem [almost OT, but not quite] In-Reply-To: Message-ID: On Monday, December 23, 2002, at 09:05 AM, Andre Rombauts wrote: > When a line has to be printed on the very last line of the page (inside > the > 'text zone') that line is repeated on the next page. This occur > whatever the > page number. Under Windows only. From the Showboat tune (almost): Fish gotta swim; Bird gotta sing; Programmer gotta be off by one. Dar Scott From kray at sonsothunder.com Mon Dec 23 13:24:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Dec 23 13:24:01 2002 Subject: Address Book & Applescript References: Message-ID: <008e01c2aaaf$063fabf0$6701a8c0@mckinley.dom> It appears that this is a bug in the Address Book in 10.2; I can enter a birthday on a card, but when I get the birth date, I get nothing - and when I get the properties of the address card, it says "missing value". Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "sims" To: Sent: Monday, December 23, 2002 10:46 AM Subject: Address Book & Applescript > The following applescript will grab names and the birth date field from > the Address Book BUT only in Mac OS 10.2.3 > > Does anyone have the special Apple incantation for getting the > birth date from the Address Book BUT in Mac OS 10.2 up to 10.2.3?? > > Also - Happy Holidays to all! > > sims > > > tell application "Finder" to make file at desktop with properties > {name:"Birthday export.txt"} > set exportFile to (((path to desktop) as string) & "Birthday > export.txt") as alias > > tell application "Address Book" > set addressBookAsList to every person > open for access exportFile with write permission > repeat with i from 1 to count of addressBookAsList > set theName to (name of item i of addressBookAsList) > set theBirthDate to (birth date of item i of > addressBookAsList) as string > write (theName & tab & theBirthDate & return) as > string starting at eof to exportFile > end repeat > close access exportFile > end tell > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rcozens at pon.net Mon Dec 23 13:46:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Dec 23 13:46:01 2002 Subject: Images within lists In-Reply-To: References: Message-ID: >Is this how Rev does the little icons and checkboxes in the expanded >Application View? I believe it is, Doug; but you can always open revapplicationoverview.rev in the Components folder. Or can you? Want to see if the Application Overview can open itself? If not, duplicate revapplicationoverview.rev, change the stack name of the clone, and use the original to get to the clone's scripts & properties. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Mon Dec 23 13:47:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Dec 23 13:47:01 2002 Subject: Merry Christmas! In-Reply-To: References: Message-ID: Kevin, et al: May I take this occasion to share with an article from Buddhist News that I printed and included with my Christmas cards a few years ago: " The Practice of Compassion His Holiness The Dalai Lama This is from someone who recently returned from India. Her group met with the Dalai Lama for several days. The meetings focused on dialoguing what they believed were the five most important questions to be considered moving into the new millennium. The group were asked to come up with five questions before meeting with the Dalai Lama. They asked: * How do we address the widening gap between rich and poor? * How do we protect the earth? * How do we educate our children? * How do we help Tibet and other oppressed countries/people? * How do we bring spirituality -- deep caring for each other -- through all disciplines? The Dalai Lama said all the questions fell under the last one. If we have true compassion, our children will be educated, we will care for the earth, and for those who "have not." He asked the group: Do you think loving on the planet is increasing or staying the same? His own response was, "My experience leads me to believe that love IS increasing." He shared a practice with the group that will increase loving and compassion in the world, and asked everyone attending to go home and share it with as many people as possible. The Practice: 1. Spend 5 minutes at the beginning of each day remembering we all want the same thing (to be happy and loved) and we are all connected. 2. Spend 5 minutes cherishing yourself and others. Let go of judgements. Breath in cherishing yourself, and breathe out cherishing others. If the faces of people you are having difficulty with appear, cherish them as well. 3. During the day extend that attitude to everyone you meet -- we are all the same, and I cherish myself and you. 4. Stay in the practice, no matter what happens." God bless us, every one. Rob From sims at ezpzapps.com Mon Dec 23 14:11:01 2002 From: sims at ezpzapps.com (sims) Date: Mon Dec 23 14:11:01 2002 Subject: Address Book & Applescript In-Reply-To: <008e01c2aaaf$063fabf0$6701a8c0@mckinley.dom> References: <008e01c2aaaf$063fabf0$6701a8c0@mckinley.dom> Message-ID: >It appears that this is a bug in the Address Book in 10.2; I can enter a >birthday on a card, but when I get the birth date, I get nothing - and when >I get the properties of the address card, it says "missing value". Thanks Ken, I had a report that it gets fixed in 10.2.3 but thanks for confirming what I see here on 10.2.1 atb sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From Doug_Ivers at lord.com Mon Dec 23 15:09:00 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Dec 23 15:09:00 2002 Subject: audio problem -- distorted playback of wav file Message-ID: I haven't seen any replies on this one. Doesn't anyone else use Sound Studio? -- D -----Original Message----- From: Ivers, Doug E Sent: Wed 12/18/2002 9:07 AM To: use-revolution at lists.runrev.com Cc: Subject: audio problem -- distorted playback of wav file I created a pure tone at 440 Hz in Sound Studio 2.0.7 and saved it as a wav file. In Sound Studio it plays as pure tone, a very distinctive sound. According to Sound Studio, the amplitude of the signal is -6 dB. I imported this file into Rev 1.1.1 and it plays back very distorted regardless of the playLoudness property. Is this a bug? I would like to save as a .au file, but Sound Studio doesn't offer that option. -- D doug_ivers at lord.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From chipp at chipp.com Mon Dec 23 15:43:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Mon Dec 23 15:43:01 2002 Subject: audio problem -- distorted playback of wav file In-Reply-To: Message-ID: Doug, Try playing it back in Quicktime by itself...is it still distorted? If so, you may try using a different sampling rate and try again. Also, make sure you author and playback on the same computer. Some computers have different audio cards which save in using different sampling rates. -Chipp PS-- Try Posting with Plain Text...not HTML formatted text. -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ivers, Doug E Sent: Monday, December 23, 2002 2:01 PM To: use-revolution at lists.runrev.com Subject: RE: audio problem -- distorted playback of wav file I haven't seen any replies on this one. Doesn't anyone else use Sound Studio? -- D -----Original Message----- From: Ivers, Doug E Sent: Wed 12/18/2002 9:07 AM To: use-revolution at lists.runrev.com Cc: Subject: audio problem -- distorted playback of wav file I created a pure tone at 440 Hz in Sound Studio 2.0.7 and saved it as a wav file. In Sound Studio it plays as pure tone, a very distinctive sound. According to Sound Studio, the amplitude of the signal is -6 dB. I imported this file into Rev 1.1.1 and it plays back very distorted regardless of the playLoudness property. Is this a bug? I would like to save as a .au file, but Sound Studio doesn't offer that option. -- D doug_ivers at lord.com From yvescoppe at skynet.be Mon Dec 23 16:03:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Mon Dec 23 16:03:01 2002 Subject: Merry Christmas! In-Reply-To: <20021223175754.65897.qmail@web11907.mail.yahoo.com> References: <20021223175754.65897.qmail@web11907.mail.yahoo.com> Message-ID: Hi everyone, Merry christmas and happy new year to everybody int hte rev team and the users list. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From dsc at swcp.com Mon Dec 23 16:25:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 23 16:25:01 2002 Subject: What is this programming style called? Message-ID: <54534E76-16BC-11D7-8AF6-0050E4C0B205@swcp.com> I'm looking for a name for that Revolution programming style that involves using "send...in ..." and/or callbacks, such as the socket callbacks. Here are some candidates: message programming timers, polls & callbacks extended event programming send-cycle programming the callback and send handlers are everywhere and I can't figure out how this stack works! Dar Scott From alex at mindlube.com Mon Dec 23 17:06:01 2002 From: alex at mindlube.com (Alex Rice) Date: Mon Dec 23 17:06:01 2002 Subject: What is this programming style called? In-Reply-To: <54534E76-16BC-11D7-8AF6-0050E4C0B205@swcp.com> Message-ID: On Monday, December 23, 2002, at 02:20 PM, Dar Scott wrote: > I'm looking for a name for that Revolution programming style that > involves using "send...in ..." and/or callbacks, such as the socket > callbacks. > > Here are some candidates: > message programming > timers, polls & callbacks > extended event programming > send-cycle programming > the callback and send > handlers are everywhere and I can't figure out how this stack works! > Here are some ideas which might be useful. Just "Messaging" is what an Objective-C book calls it. A Smalltalk Design Patterns book has a section "Behavior / Messages" with the following message patterns. The OO ones wouldn't apply to RunRev. Message Choosing Message Decomposing Message Intention Revealing Message Intention Revealing Selector Dispatched Interpretation Double Dispatch Mediating Protocol Super Extending Super Modifying Super Delegation Simple Delegation Self Delegation Pluggable Behavior Pluggable Selector Pluggable Block Collection Parameter Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From janschenkel at yahoo.com Mon Dec 23 17:20:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Dec 23 17:20:01 2002 Subject: What is this programming style called? In-Reply-To: <54534E76-16BC-11D7-8AF6-0050E4C0B205@swcp.com> Message-ID: <20021223221436.45871.qmail@web11903.mail.yahoo.com> --- Dar Scott wrote: > I'm looking for a name for that Revolution > programming style that > involves using "send...in ..." and/or callbacks, > such as the socket > callbacks. > > Here are some candidates: > message programming > timers, polls & callbacks > extended event programming > send-cycle programming > the callback and send > handlers are everywhere and I can't figure out how > this stack works! > > Dar Scott > How about: 'advanced task scheduling' ? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From jeanne at runrev.com Mon Dec 23 17:30:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Dec 23 17:30:01 2002 Subject: What is this programming style called? In-Reply-To: <54534E76-16BC-11D7-8AF6-0050E4C0B205@swcp.com> Message-ID: At 1:20 PM -0800 12/23/02, Dar Scott wrote: >I'm looking for a name for that Revolution programming style that >involves using "send...in ..." and/or callbacks, such as the socket >callbacks. I've sometimes referred to the technique as "delayed sends". -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From wmb at internettrainer.com Mon Dec 23 19:08:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Dec 23 19:08:01 2002 Subject: Merry Christmas! In-Reply-To: Message-ID: <1A02EE24-16D3-11D7-A237-003065430226@internettrainer.com> I know, we should not quote so much and I usually dont do it, but in this case its imho worth for everyone to read it again. Sorry if you dont think so... > On Montag, Dezember 23, 2002, at 07:40 Uhr, Rob Cozens wrote: > May I take this occasion to share with an article from Buddhist News > that I printed and included with my Christmas cards a few years ago: > > " The Practice of Compassion > > His Holiness The Dalai Lama > > This is from someone who recently returned from India. Her group met > with the Dalai Lama for several days. The meetings focused on > dialoguing what they believed were the five most important questions > to be considered moving into the new millennium. > > The group were asked to come up with five questions before meeting > with the Dalai Lama. They asked: > > * How do we address the widening gap between rich and poor? > * How do we protect the earth? > * How do we educate our children? > * How do we help Tibet and other oppressed countries/people? > * How do we bring spirituality -- deep caring for each other -- > through all disciplines? > > The Dalai Lama said all the questions fell under the last one. If we > have true compassion, our children will be educated, we will care for > the earth, and for those who "have not." He asked the group: Do you > think loving on the planet is increasing or staying the same? > > His own response was, "My experience leads me to believe that love IS > increasing." > > He shared a practice with the group that will increase loving and > compassion in the world, and asked everyone attending to go home and > share it with as many people as possible. > > The Practice: > > 1. Spend 5 minutes at the beginning of each day remembering we all > want the same thing (to be happy and loved) and we are all connected. > > 2. Spend 5 minutes cherishing yourself and others. Let go of > judgements. Breath in cherishing yourself, and breathe out cherishing > others. If the faces of people you are having difficulty with appear, > cherish them as well. > > 3. During the day extend that attitude to everyone you meet -- we are > all the same, and I cherish myself and you. > > 4. Stay in the practice, no matter what happens." > > God bless us, every one. regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From steve at messimercomputing.com Mon Dec 23 19:12:00 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Mon Dec 23 19:12:00 2002 Subject: Merry Christmas! In-Reply-To: <200212232207.RAA14922@www.runrev.com> Message-ID: Hi all, Best wishes For a Merry Christmas, happy KWANZAA, a meaningful Ramadaan and Happy New Year to all listas. Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From digifilm at digifilm.com Mon Dec 23 19:19:01 2002 From: digifilm at digifilm.com (digifilm) Date: Mon Dec 23 19:19:01 2002 Subject: Merry Christmas! In-Reply-To: <1A02EE24-16D3-11D7-A237-003065430226@internettrainer.com> References: <1A02EE24-16D3-11D7-A237-003065430226@internettrainer.com> Message-ID: Merry Christmas Listers, An e-greeting is waiting for all of you at: http://www.expertediting.com/xmas.html Cheers, Debdoot -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdswindell at charter.net Mon Dec 23 22:21:01 2002 From: mdswindell at charter.net (Mark Swindell) Date: Mon Dec 23 22:21:01 2002 Subject: batch syllabication scheme? In-Reply-To: Message-ID: I'm working on a project that requires me to syllabicate a hundreds and hundreds of words. Is there any scheme that I might incorporate into Revolution to help automate this job? Thanks for any input, Mark From dvk at dvkconsult.com.au Mon Dec 23 23:48:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Mon Dec 23 23:48:01 2002 Subject: batch syllabication scheme? In-Reply-To: Message-ID: <23C6A816-16FA-11D7-98A2-000393598038@dvkconsult.com.au> On Tuesday, Dec 24, 2002, at 14:15 Australia/Sydney, Mark Swindell wrote: > I'm working on a project that requires me to syllabicate a hundreds and > hundreds of words. Is there any scheme that I might incorporate into > Revolution to help automate this job? Are you looking for the syllabification rules or the code? In the latter case, what are your rules? Rev manages characters, words and tokens very well, but last I looked syllables were not an element. regards David > > Thanks for any input, > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mdswindell at charter.net Tue Dec 24 00:17:01 2002 From: mdswindell at charter.net (Mark Swindell) Date: Tue Dec 24 00:17:01 2002 Subject: batch syllabication scheme? In-Reply-To: <23C6A816-16FA-11D7-98A2-000393598038@dvkconsult.com.au> Message-ID: on 12/23/02 8:42 PM, David Vaughan at dvk at dvkconsult.com.au wrote: > > On Tuesday, Dec 24, 2002, at 14:15 Australia/Sydney, Mark Swindell > wrote: > >> I'm working on a project that requires me to syllabicate a hundreds and >> hundreds of words. Is there any scheme that I might incorporate into >> Revolution to help automate this job? > > Are you looking for the syllabification rules or the code? In the > latter case, what are your rules? Rev manages characters, words and > tokens very well, but last I looked syllables were not an element. > > regards > David I'm wondering about a way to automate a tedious task... ideally I could send my lists to a dictionary and return all the words back to me syllabicated, with hyphens or bullets between the syllables. But I don't know how that would work, or if it's possible with Revolution. Thanks, Mark From dvk at dvkconsult.com.au Tue Dec 24 02:16:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue Dec 24 02:16:01 2002 Subject: batch syllabication scheme? In-Reply-To: Message-ID: On Tuesday, Dec 24, 2002, at 16:11 Australia/Sydney, Mark Swindell wrote: > ... ideally I could send > my lists to a dictionary and return all the words back to me > syllabicated, > with hyphens or bullets between the syllables. But I don't know how > that > would work, or if it's possible with Revolution. So, do you have a dictionary with syllable marks? The coding is not going to be a problem in Rev. I just need to have some rules or a lookup against which to work. regards David > > Thanks, > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rcozens at pon.net Tue Dec 24 11:22:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Dec 24 11:22:01 2002 Subject: [OT] Article on Shareware Professionalism In-Reply-To: References: Message-ID: >Those of you using Rev to develop products may appreciate this excellent >article I stumbled across the other day: > >Shareware Amateurs vs. Shareware Professionals >nals.htm> Thanks, Richard. The article contains lots of good advice for those who include making a profit as a major goal. Try as I might, I cannot. I think the article should be retitled "Shareware artists vs shareware professionals." It is, to me, a question of the primacy of software development as an expression of creativity or a job. (Although I don't see secrecy and lack of sharing as an artistic trait, but directly related to profit motives.) I have a job: customizing FlexWare accounting systems. OenoLog is my statement to the world as one with nearly 30 years in the business as to what I think 21st century business applications should look like. If the wine making world agrees, I stand to make a comfortable profit; if it doesn't, I have still have had the opportunity to indulge my creative muses. Can you imagine an art teacher telling students they should paint what the public wants and spend as much time selling their work as they do creating it? BTW, in today's economic society a certain level of profit motive is understandable. I'm not knocking it, if manifested in moderation: I just can't enjoy programming done for profit to someone else's specifications nearly as much as seeing my mental design concepts manifested on the computer. Cheers! -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Tue Dec 24 11:23:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Dec 24 11:23:00 2002 Subject: Merry Christmas! In-Reply-To: References: <1A02EE24-16D3-11D7-A237-003065430226@internettrainer.com> Message-ID: >An e-greeting is waiting for all of you at: > >http://www.expertediting.com/xmas.html Thanks, Debdoot. The same wishes back at you many times over. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From RGould8 at aol.com Tue Dec 24 11:36:01 2002 From: RGould8 at aol.com (RGould8 at aol.com) Date: Tue Dec 24 11:36:01 2002 Subject: ping command in Revolution? Message-ID: <23.297c49bd.2b39e577@aol.com> Is there a "ping"-type command in Revolution? I'm not finding it in the Revolution dictionary, but I realize it might be called something else. As an example of what I need to do, I need to do a "ping" to www.aol.com to make sure the connection is there. -------------- next part -------------- An HTML attachment was scrubbed... URL: From RGould8 at aol.com Tue Dec 24 11:42:01 2002 From: RGould8 at aol.com (RGould8 at aol.com) Date: Tue Dec 24 11:42:01 2002 Subject: Way to detect PPPoE connection in Rev? Message-ID: <105.2305a234.2b39e70b@aol.com> Can anyone tell me how "low-level" I can get with Revolution when it comes to configuring network packets? I've gotten Revolution to successfully modify HTTP headers, so I can do secure Digest Authentification. That in itself has made my a loyal Rev user. To "push the envelope", I'm wondering if I can use Revolution to write an app that will detect whether a PPPoE connection is available. Mac OS X does this automatically, however in Mac OS 9, ISP's typically use middleware apps like "MacPoet" to connect via PPPoE. To do PPPoE detection, however, I'd need to be able to get down to the _packet-level_ of Ethernet calls, and set the "O" frames and "A" frames. That may be asking too much - - - - is this something that can be done with Rev, or have Rev call a 3rd party plugin to do? -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbleed at yahoo.com Tue Dec 24 12:05:29 2002 From: mbleed at yahoo.com (Mike Bleed) Date: Tue Dec 24 12:05:29 2002 Subject: Track which button a user clicks? Message-ID: <20021224165533.77570.qmail@web14204.mail.yahoo.com> I have a design question. I am trying to implement an activity log or event tracking piece to my stack. I want the program to record in a file all of the user's interactions. It is simple to record each key a user types, but more difficult to record where a user clicks the mouse. In short, I need to know if there is a way to capture which button or field a user clicked on. So far, all I can do is get the control's control number which is not good enough because it is not unique throughout the program. Any ideas? My current scripts are below... -- the following scripts are for the logging function of the Event Recorder, will record all user actions. on keyUp pressedKey put pressedKey & tab & the short system date & tab & the long system time & cr after fld "sessionLog" of wd "UserLogStack" end keyUp on mouseDown answer the mouseControl end mouseDown --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -------------- next part -------------- An HTML attachment was scrubbed... URL: From kray at sonsothunder.com Tue Dec 24 12:11:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Dec 24 12:11:00 2002 Subject: ping command in Revolution? References: <23.297c49bd.2b39e577@aol.com> Message-ID: <002201c2ab6e$088bd810$6f00a8c0@mckinley.dom> What platform do you want this in? In Windows (and probably OS X), you could use the shell() command to do a ping probably... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: To: Sent: Tuesday, December 24, 2002 10:29 AM Subject: ping command in Revolution? > Is there a "ping"-type command in Revolution? I'm not finding it in the > Revolution dictionary, but I realize it might be called something else. As > an example of what I need to do, I need to do a "ping" to www.aol.com to make > sure the connection is there. > From ambassador at fourthworld.com Tue Dec 24 12:24:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Dec 24 12:24:01 2002 Subject: Track which button a user clicks? In-Reply-To: <20021224165533.77570.qmail@web14204.mail.yahoo.com> Message-ID: Mike Bleed wrote: > > I have a design question. I am trying to implement an activity log or event > tracking piece to my stack. I want the program to record in a file all of the > user's interactions. It is simple to record each key a user types, but more > difficult to record where a user clicks the mouse. In short, I need to know > if there is a way to capture which button or field a user clicked on. So far, > all I can do is get the control's control number which is not good enough > because it is not unique throughout the program. Any ideas? My current > scripts are below... You may want to take a look at the scripts in UmbrellaMan to get a feel for this -- see -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dsc at swcp.com Tue Dec 24 12:33:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Dec 24 12:33:01 2002 Subject: What is this programming style called? In-Reply-To: Message-ID: <136FA2AF-1765-11D7-8AF6-0050E4C0B205@swcp.com> On Monday, December 23, 2002, at 03:17 PM, Jeanne A. E. DeVoto wrote: > At 1:20 PM -0800 12/23/02, Dar Scott wrote: >> I'm looking for a name for that Revolution programming style that >> involves using "send...in ..." and/or callbacks, such as the socket >> callbacks. > > I've sometimes referred to the technique as "delayed sends". Thanks Jan, Jeanee and Alex! I think there are ideas in all that I can use. I can use "messaging", "advanced task scheduling" and "delayed sends". One of the problems is that simply calling handlers also uses the word "message". Dar Scott From dsc at swcp.com Tue Dec 24 12:41:00 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Dec 24 12:41:00 2002 Subject: ping command in Revolution? In-Reply-To: <23.297c49bd.2b39e577@aol.com> Message-ID: <465986D2-1766-11D7-8AF6-0050E4C0B205@swcp.com> On Tuesday, December 24, 2002, at 09:29 AM, RGould8 at aol.com wrote: > Is there a "ping"-type command in Revolution?? I'm not finding it in > the Revolution dictionary, but I realize it might be called something > else.? As an example of what I need to do, I need to do a "ping" to > www.aol.com to make sure the connection is there. You can use the shell command (or the shell workaround for Revolution 1.1.1 on OS X). The command line syntax and the response is not quite the same for the different platforms. However, in your case, it may be sufficient to try to open an http tcp link. (The shell workaround is at Ken Ray's site: . I don't know if it has the quoted parameter update, but I don't think you need that.) Dar Scott From aj445 at traverse.lib.mi.us Tue Dec 24 13:34:01 2002 From: aj445 at traverse.lib.mi.us (aj445) Date: Tue Dec 24 13:34:01 2002 Subject: Merry Christmas! In-Reply-To: <200212241701.MAA30777@www.runrev.com> Message-ID: Happy holidays Rev and list folk-- thank you for a great program and helpful conversations. Sandy From mcompanys at mac.com Tue Dec 24 14:12:01 2002 From: mcompanys at mac.com (manuel companys) Date: Tue Dec 24 14:12:01 2002 Subject: Merry Christmas! In-Reply-To: Message-ID: <8249DF35-1772-11D7-8395-00039382D260@mac.com> On Tuesday, December 24, 2002, at 12:28 PM, aj445 wrote: > Happy holidays Rev and list folk-- thank you for a great program and > helpful > conversations. I wish all the best to R-R team and to all those helpfull nice people in the list a merry Xmas and a happy new year with few bugs and many wild solutions in our R-R programs. Manuel From kray at sonsothunder.com Tue Dec 24 15:55:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Dec 24 15:55:01 2002 Subject: ping command in Revolution? References: <465986D2-1766-11D7-8AF6-0050E4C0B205@swcp.com> Message-ID: <005a01c2ab8d$5b7ecbd0$6f00a8c0@mckinley.dom> > (The shell workaround is at Ken Ray's site: > . I don't know if it has the quoted > parameter update, but I don't think you need that.) Thanks for the plug, Dar! Specifically it's at: http://www.sonsothunder.com/devres/revolution/revolution.htm?_shel001 Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From Doug_Ivers at lord.com Tue Dec 24 16:17:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Tue Dec 24 16:17:01 2002 Subject: if (this stack is a standalone) then ... Message-ID: Is there a way to determine in a script if the stack is a standalone? -- D From terry at discovery.nl Tue Dec 24 16:33:01 2002 From: terry at discovery.nl (Terry Vogelaar) Date: Tue Dec 24 16:33:01 2002 Subject: if (this stack is a standalone) then ... In-Reply-To: Message-ID: > Is there a way to determine in a script if the stack is a standalone? Yes, just use the environment function. See the docs for details. Terry From alanira9 at mac.com Tue Dec 24 16:40:01 2002 From: alanira9 at mac.com (Alan Gayne) Date: Tue Dec 24 16:40:01 2002 Subject: Merry Christmas! In-Reply-To: <8249DF35-1772-11D7-8395-00039382D260@mac.com> Message-ID: <8A599AA4-1787-11D7-9FA2-000393BB44C6@mac.com> And I echo these sentiments as well. The happiest of holidays to all, and best wishes for the coming year. Alan On Tuesday, December 24, 2002, at 02:04 PM, manuel companys wrote: > > On Tuesday, December 24, 2002, at 12:28 PM, aj445 wrote: > >> Happy holidays Rev and list folk-- thank you for a great program and >> helpful >> conversations. > > I wish all the best to R-R team and to all those helpfull nice people > in the list > a merry Xmas and a happy new year with few bugs and many wild > solutions in our R-R programs. > > Manuel > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Tue Dec 24 19:17:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Dec 24 19:17:01 2002 Subject: button Message-ID: <9E133F18-179D-11D7-8AF6-0050E4C0B205@swcp.com> Being lazy, I'm looking for a source for button images. Dar Scott From kray at sonsothunder.com Tue Dec 24 19:20:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Dec 24 19:20:00 2002 Subject: Special Folder Path Codes Message-ID: <008401c2aba9$f80c3ed0$6f00a8c0@mckinley.dom> Just a quick note to let you all know that I have uploaded to my site the comprehensive listing of special folder path codes used in Mac OS, OS X and Windows. Here you go: http://www.sonsothunder.com/devres/revolution/revolution.htm?_file010 Enjoy! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kkaufman at snet.net Tue Dec 24 21:00:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue Dec 24 21:00:01 2002 Subject: button Message-ID: Dar, You of course have investigated the options in the included Image Library, right? Development --> Image Library -KK From kkaufman at snet.net Tue Dec 24 21:07:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue Dec 24 21:07:01 2002 Subject: button Message-ID: Oh sorry; you probably mean images of the buttons themselves....... Here's a suggestion: There are many applications which can produce all sorts of buttons; select your platform of choice and search for "button" at versiontracker.com -KK From dsc at swcp.com Tue Dec 24 21:53:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Dec 24 21:53:01 2002 Subject: button In-Reply-To: Message-ID: <6AF28A30-17B3-11D7-8AF6-0050E4C0B205@swcp.com> On Tuesday, December 24, 2002, at 06:54 PM, Kurt Kaufman wrote: > You of course have investigated the options in the included Image > Library, right? You can never tell how I might be blind to the obvious, but in this case I have. Dar Scott From RGould8 at aol.com Tue Dec 24 22:19:01 2002 From: RGould8 at aol.com (RGould8 at aol.com) Date: Tue Dec 24 22:19:01 2002 Subject: ping command in Revolution? Message-ID: <19e.e356781.2b3a7c35@aol.com> In a message dated 12/24/02 12:07:27 PM, kray at sonsothunder.com writes: > What platform do you want this in? In Windows (and probably OS X), you could > use the shell() command to do a ping probably... > > In this case, it's for Mac OS 8 and 9. Is there an Applescript OSAX that I could use to do a ping? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeanne at runrev.com Tue Dec 24 22:47:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Dec 24 22:47:01 2002 Subject: Track which button a user clicks? In-Reply-To: <20021224165533.77570.qmail@web14204.mail.yahoo.com> Message-ID: At 8:55 AM -0800 12/24/02, Mike Bleed wrote: >I need to know if there is a way to capture which button or >field a user clicked on. Use the target function: on mouseDown get the ID of the target -- unique -- or the name, number, or any other property end mouseDown -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From eudio at chabashira.co.jp Wed Dec 25 03:07:01 2002 From: eudio at chabashira.co.jp (UDI) Date: Wed Dec 25 03:07:01 2002 Subject: groups and background In-Reply-To: References: Message-ID: <20021225080157.19592@mail.chabashira.co.jp> Dar Scott wrote 02.12.20 10:09 AM? >The problem is really the third case. If the groups are not >backgrounds, they are treated as such in the message path as far as >whether the backgrounds are after the card. > >Consider this card: card{ grpA( btn1 ), btn2, bgB( btn3 ) } > >Background bgB is in the path of btn3 and btn2, but not btn1. > >Suppose I have a background that does some navigation, but also blocks a >particular key stroke from going to the default interpretation. If I >put some fields on the card, the key is blocked for those fields. (I'm >just guessing this will work.) But suppose I make a numerical field >with up-down buttons, all grouped and I put that on the card. Maybe I >got it from a card of many such custom controls and I forgot it was a >group. The key stroke is not blocked. I may be to have found a solution. It is written by a help as follows... --> If you want a handler in a group?s script to affect only the objects in the group, place the following statement at the beginning of the handler: if the owner of the target is not me then pass message This filters out any objects that are not part of the group. <-- Help > Revolution Documentation > (Road Map) > Development Guide > Objects & Messages > ( About... ) > groups and backgrounds UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From rcozens at pon.net Wed Dec 25 11:02:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Dec 25 11:02:01 2002 Subject: if (this stack is a standalone) then ... In-Reply-To: References: Message-ID: > > Is there a way to determine in a script if the stack is a standalone? > >Yes, just use the environment function. See the docs for details. Mike, Terry, et al: According to Rev Dictionary: "If the environment function returns "player", the stack is running as a standalone application or under the unlicensed Starter Kit version."; so I don't see how that gets what Mike wants. This, however, will: function amIAStandalone if there is a background "revLibraries" then return true else return false end amIAStandalone (revLibraries is created by the Distribution Builder.) -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Wed Dec 25 11:02:25 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Dec 25 11:02:25 2002 Subject: Track which button a user clicks? In-Reply-To: <20021224165533.77570.qmail@web14204.mail.yahoo.com> References: <20021224165533.77570.qmail@web14204.mail.yahoo.com> Message-ID: >In short, I need to know if there is a way to capture which button >or field a user clicked on. Hi Mike, on mouseUp put the long name of the target into whichControlWasClicked ... end mouseUp -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From ambassador at fourthworld.com Wed Dec 25 15:22:11 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Dec 25 15:22:11 2002 Subject: [ANN] RevNet launched Message-ID: Announcing RevNet - a new service for Revolution and MetaCard developers This free plugin downloads and opens RevNet, an AOL-like online journal and resource index specifically for Revolution and MetaCard Developers. RevNet's index of downloadable stacks provides a form so you can add your own stacks to its list, making them instantly available to all RevNet users. Also contains a convenient index to the Sons of Thunder Revolution Tips archive, links to Web pages devoted to Revolution and MetaCard, and more. Get the free Go RevNet plugin at the 4W Revolution Embassy page: Feel free to mirror the Go RevNet stack at your own sites if you like. Merry Christmas. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From andre.rombauts at win.be Wed Dec 25 15:49:01 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Wed Dec 25 15:49:01 2002 Subject: [ANN] RevNet launched In-Reply-To: Message-ID: Le 25/12/2002 21:16, Richard Gaskin ? ambassador at fourthworld.com a ?crit: > This free plugin downloads and opens RevNet, an AOL-like online journal and > resource index specifically for Revolution and MetaCard Developers. Great!... But I'm getting the following error when trying to access ressources displayed in the right panel: ? There was an Execution Error at 9:40:27 PM Error description: do: error in statement Object: stack "/Macintosh HD/Applications/Revolution 1.1.1/components/save/userscripts/libXMLText.rev" -------------------- if theHandler is "priv_libXMLText_Expand" or theHandler is "priv_libXMLText_Contract" then -------------------- Value: http: From gcanyon at inspiredlogic.com Wed Dec 25 16:42:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Dec 25 16:42:01 2002 Subject: if (this stack is a standalone) then ... In-Reply-To: Message-ID: <06D96ADE-1851-11D7-A5AA-003065683ECC@inspiredlogic.com> On Wednesday, December 25, 2002, at 07:40 AM, Rob Cozens wrote: > This, however, will: > > function amIAStandalone > if there is a background "revLibraries" then return true else return > false > end amIAStandalone > Not if the stack is running without the development environment. Checking the long name of something would probably allow you to figure this out -- depends on whether you expect to know the name of the standalone and the stack file or not. The problem is that there really isn't any difference between running as a stack and running as an app. On Tuesday, December 24, 2002, at 01:08 PM, Ivers, Doug E wrote: > Is there a way to determine in a script if the stack is a standalone? > Out of curiosity, why do you need to know? regards, Geoff Canyon gcanyon at inspiredlogic.com From themacguy at macosx.com Wed Dec 25 17:27:01 2002 From: themacguy at macosx.com (Barry Levine) Date: Wed Dec 25 17:27:01 2002 Subject: Is this an event? Message-ID: <2BE0A2C4-1857-11D7-900B-000393AAEF66@macosx.com> I have an object I'm moving with the mouse by setting a custom property. Using a script in that object, I can track whether the "loc" of the object (let's call it "alpha") is "within the rect" of another object (let's call that object "beta"). However, if I have thirty "beta" objects, it seems that I need to account for each unique object within alpha's handler. This doesn't seem like the right way to handle this. Is there a way to know when alpha's loc is within the rect of any other object of a specific type?...and then know which specific object? If this were a mouseUp event, I know I can simply keep track of the target (as explained in the "Track which button a user clicks" thread). My guess is that this is somewhat backwards from that as there is no Rev event (that I can find) that occurs in "beta" when the loc of "alpha" is within the rect of "beta". As always, any suggestions are greatly appreciated. Merry Xmas from West of the Pecos! Barry From katir at hindu.org Wed Dec 25 17:49:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed Dec 25 17:49:01 2002 Subject: Visual Effect to look like turning pages Message-ID: <968BA4BA-185A-11D7-A634-003065FB9830@hindu.org> Has anyone gotten a reasonable combination of effect to simulate the look and feel of turning book pages? 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 Wed Dec 25 19:18:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Wed Dec 25 19:18:01 2002 Subject: [ANN] RevNet launched References: Message-ID: <01c901c2ac72$cb46a8d0$6701a8c0@mckinley.dom> Andre, Just FYI, you can click the "Feedback" button in the right button list and select "Bug Report" from the Category popup of the feedback window to get your bug submitted. My guess would be that this is the quickest way to get it resolved. And one great things about RevNet... as soon as a bug is fixed, the next time someone clicks "Go Revnet", they get the updated version! BTW: A big "Thanks" to Richard for putting this together - it not only helps others, but is a great testament to what you can do with MC/Rev! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Andre Rombauts" To: "revolution" Sent: Wednesday, December 25, 2002 2:42 PM Subject: Re: [ANN] RevNet launched > Le 25/12/2002 21:16, Richard Gaskin ? ambassador at fourthworld.com a ?crit: > > > This free plugin downloads and opens RevNet, an AOL-like online journal and > > resource index specifically for Revolution and MetaCard Developers. > > Great!... > But I'm getting the following error when trying to access ressources > displayed in the right panel: > > ? There was an Execution Error at 9:40:27 PM > Error description: do: error in statement > Object: stack "/Macintosh HD/Applications/Revolution > 1.1.1/components/save/userscripts/libXMLText.rev" > -------------------- > if theHandler is "priv_libXMLText_Expand" or theHandler is > "priv_libXMLText_Contract" then > -------------------- > Value: http: > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Wed Dec 25 19:21:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Wed Dec 25 19:21:01 2002 Subject: Is this an event? References: <2BE0A2C4-1857-11D7-900B-000393AAEF66@macosx.com> Message-ID: <01d201c2ac73$46e08150$6701a8c0@mckinley.dom> Barry, if you're trying to do a drag and drop, you can use the within() function, passing the loc of "alpha", along with object to check. Something like: repeat with x = 1 to 30 if within(button ("beta" & x),(the loc of btn "alpha")) then -- do your stuff end if end repeat Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Barry Levine" To: Sent: Wednesday, December 25, 2002 4:21 PM Subject: Is this an event? > I have an object I'm moving with the mouse by setting a custom > property. Using a script in that object, I can track whether the "loc" > of the object (let's call it "alpha") is "within the rect" of another > object (let's call that object "beta"). However, if I have thirty > "beta" objects, it seems that I need to account for each unique object > within alpha's handler. This doesn't seem like the right way to handle > this. Is there a way to know when alpha's loc is within the rect of any > other object of a specific type?...and then know which specific object? > > If this were a mouseUp event, I know I can simply keep track of the > target (as explained in the "Track which button a user clicks" thread). > My guess is that this is somewhat backwards from that as there is no > Rev event (that I can find) that occurs in "beta" when the loc of > "alpha" is within the rect of "beta". > > As always, any suggestions are greatly appreciated. > > Merry Xmas from West of the Pecos! > > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Wed Dec 25 20:10:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Dec 25 20:10:01 2002 Subject: [ANN] RevNet launched In-Reply-To: <01c901c2ac72$cb46a8d0$6701a8c0@mckinley.dom> Message-ID: That's a problem with libXMLText and I'll fix it soon. For now just stop using libXMLText when using revNet. Nice work Richard > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray > Sent: Thursday, 26 December 2002 10:37 AM > To: use-revolution at lists.runrev.com > Subject: Re: [ANN] RevNet launched > > > Andre, > > Just FYI, you can click the "Feedback" button in the right button list and > select "Bug Report" from the Category popup of the feedback window to get > your bug submitted. My guess would be that this is the quickest way to get > it resolved. And one great things about RevNet... as soon as a > bug is fixed, > the next time someone clicks "Go Revnet", they get the updated version! > > BTW: A big "Thanks" to Richard for putting this together - it not > only helps > others, but is a great testament to what you can do with MC/Rev! > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Andre Rombauts" > To: "revolution" > Sent: Wednesday, December 25, 2002 2:42 PM > Subject: Re: [ANN] RevNet launched > > > > Le 25/12/2002 21:16, Richard Gaskin ? > ambassador at fourthworld.com a ?crit: > > > > > This free plugin downloads and opens RevNet, an AOL-like > online journal > and > > > resource index specifically for Revolution and MetaCard Developers. > > > > Great!... > > But I'm getting the following error when trying to access ressources > > displayed in the right panel: > > > > ? There was an Execution Error at 9:40:27 PM > > Error description: do: error in statement > > Object: stack "/Macintosh HD/Applications/Revolution > > 1.1.1/components/save/userscripts/libXMLText.rev" > > -------------------- > > if theHandler is "priv_libXMLText_Expand" or theHandler is > > "priv_libXMLText_Contract" then > > -------------------- > > Value: http: > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Dec 25 22:11:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Dec 25 22:11:01 2002 Subject: [ANN] RevNet launched In-Reply-To: Message-ID: Monte Goulding wrote: > That's a problem with libXMLText and I'll fix it soon. For now just stop > using libXMLText when using revNet. > > Nice work Richard Thank you. Is there anything I could do in RevNet to help compensate for the issue in libXMLText? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From katir at hindu.org Thu Dec 26 03:46:45 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu Dec 26 03:46:45 2002 Subject: [ANN] RevNet launched In-Reply-To: Message-ID: <15E7C5CA-18AE-11D7-A60F-003065FB9830@hindu.org> Richard: thanks for this wonderful model! NOTE: If you open RevNet inside Revolution... one gets problems... presumably because the "Rev" string in the file name is reserved for Rev UI stacks (I had this same problem with a stack named "Revolving Calendar") so don't be misled by error dialogs.... Specifically: if I click on the link to down oad stacks I would go to the stack page and then clicking on one of those links... it breaks with: ======= There was an Execution Error at 10:35:37 PM Error description: Function: error in function handler Revolution User Interface Error: Object: card id 1060 of stack "RevNet" -------------------- put ""& item 5 of tInfo &"
" into tHtml -------------------- Value: q ======= If one quits Rev and just boots "goRevnet.rev" ... and then downloads "RevNet" i.e. no loading of the Rev UI.. The problem goes away: obviously there is a conflict between the Rev UI and any stacks that begin with "Rev" This should be considered a bug, since the dev app should not place any constraints on the file name of its output. From andre.rombauts at win.be Thu Dec 26 05:51:01 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Thu Dec 26 05:51:01 2002 Subject: [ANN] RevNet launched In-Reply-To: <01c901c2ac72$cb46a8d0$6701a8c0@mckinley.dom> Message-ID: Le 26/12/2002 01:07, Ken Ray ? kray at sonsothunder.com a ?crit: > Just FYI, you can click the "Feedback" button in the right button list and > select "Bug Report" from the Category popup of the feedback window to get I did but I was not sure the message was sent... So I posted here... :-( > your bug submitted. My guess would be that this is the quickest way to get But I encountered a big problem: since I setup and used this lib, Im getting an horrible sound glich each time I'm clicking on a button or in a Rev menu item! Not problem for standalone files... I guess I need to reinstall RunRev... Andr? From DVGlasgow at aol.com Thu Dec 26 05:55:01 2002 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Thu Dec 26 05:55:01 2002 Subject: setting pointer location Message-ID: <68.2ab1cb83.2b3c38ab@aol.com> I want users to make a rating of a series of images. When the scale appears, I want the cursor to be at the mid-point. This is to minimise bias and artefact arising from the initial pointer position being random (responses are also timed, so I want all users to have the same start point. So. How do I make the cursor appear at a certain place?. (I will kick myself if this is obvious - I have scoured the documentation!) Best wishes, David Glasgow Home/ forensic assessments --> DVGlasgow Courses --> i-Psych From rbarber at yhb.att.ne.jp Thu Dec 26 06:01:01 2002 From: rbarber at yhb.att.ne.jp (Ron) Date: Thu Dec 26 06:01:01 2002 Subject: Choosing menus from the keyboard In-Reply-To: <008401c2aba9$f80c3ed0$6f00a8c0@mckinley.dom> Message-ID: Greetings Are there any reasons, obvious or special to RR, that command key equivalents do not activate the menu? The application has a mainstack that is a palette, other wds include palette and regular editable wds. When the menu is chosen from the menubar, it works as expected but the cmdkey equivalent from the keyboard does not do anything. Well, sometimes the menu on the menubar flashes but nothing happens. Even simple menuitem like "paste" won't work. Thanks Ron From GernotL at t-online.de Thu Dec 26 06:02:01 2002 From: GernotL at t-online.de (Gernot Lorenz) Date: Thu Dec 26 06:02:01 2002 Subject: Tutorials Message-ID: <23102667-1834-11D7-A4BA-00050231A600@rz-online.de> Am Montag, 23.12.02 um 15:11 Uhr schrieb Andre Rombauts: > I?ve been learning Rev for several months but to really go ?inside? I > would need an ?in-depth-tutorial?. This is quite different from all > othe programing environment I used in the past (Basic, Visual Basic, > Pascal ? I?m just a 50 y old teacher who started with computer in the > 80?). How to organize stacks, to use externals and plugins (not really > sure to understand the difference), etc. Revolution is so ?huge?... > Will we get a good tutorial book?... > > Andr? Dear Andr?, I'm nearly in the same situation like You (I used in the past (Basic, Visual Basic, Pascal ? I?m just a 50 y old teacher who started with computer in the 80?) with the difference that I'am an experienced User of Hypercardt - the anchestor of MetaCard and Revolution - which only exists for MacOS. But now, with platform-independent MetaCard and/or Revolution (which are nearly the ssame) I have a tool which fits better to our school's situation (we have a MacOS computer lab and a Windows computer lab). My pupils are beginners in programming, about 16 years old, and there is absolutely no book about MetaCard or Revolution for them , even not an English one (I need one in German). For Hypercard, , there were enough good books (also in German language), but Hypercard is to much different. What to do ? During the last three months I began myself to make a suitable book (or booklet) for learning programming (rather than multimedia-authoring) with MetaCard and Revolution, which will be used as a book for beginners or pupils. Like You I would like to have additionally an ?in-depth-tutorial? to avoid many experiments, but there is nothing on the market. But nevertheless I am interested in what You are doing with Your pupils ? What would You expect from school-book for beginners ? I would be glad to hear from You something about working with Metacard/Revolution in school. Gernot -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2053 bytes Desc: not available URL: From janschenkel at yahoo.com Thu Dec 26 06:59:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Dec 26 06:59:00 2002 Subject: setting pointer location In-Reply-To: <68.2ab1cb83.2b3c38ab@aol.com> Message-ID: <20021226115342.81425.qmail@web11906.mail.yahoo.com> --- DVGlasgow at aol.com wrote: > I want users to make a rating of a series of images. > When the scale appears, > I want the cursor to be at the mid-point. This is > to minimise bias and > artefact arising from the initial pointer position > being random (responses > are also timed, so I want all users to have the same > start point. > > So. How do I make the cursor appear at a certain > place?. (I will kick > myself if this is obvious - I have scoured the > documentation!) > > > Best wishes, > > David Glasgow Hi David, I gather you're using a 'scale' control? In that case, the last tab in its Properties is 'Scrollbar' -- as RunRev treats scale objects as a special type of scrollbar. There you have the 'Start value, 'End value' and 'Thumb position' properties. Suppose people can rate from 1 to 5, and the default should be 3, then set these up as: set the startValue of scrollbar 'Foo' to 1 set the endValue of scrollbar 'Foo' to 5 set the thumbPosition of scrollbar 'Foo' to 3 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From mcompanys at mac.com Thu Dec 26 09:35:01 2002 From: mcompanys at mac.com (manuel companys) Date: Thu Dec 26 09:35:01 2002 Subject: Tutorials In-Reply-To: <23102667-1834-11D7-A4BA-00050231A600@rz-online.de> Message-ID: <70743DE4-18DE-11D7-8A4B-00039382D260@mac.com> Le Wednesday, 25 Dec 2002, ? 12:10 US/Central, Gernot Lorenz a ?crit : > Am Montag, 23.12.02 um 15:11 Uhr schrieb Andre Rombauts: > >> I?ve been learning Rev for several months but to really go ?inside? I >> would need an ?in-depth-tutorial?. This is quite different from all >> othe programing environment I used in the past (Basic, Visual Basic, >> Pascal ? I?m just a 50 y old teacher who started with computer in the >> 80?). How to organize stacks, to use externals and plugins (not >> really sure to understand the difference), etc. Revolution is so >> ?huge?... Will we get a good tutorial book?... >> >> Andr? > > > > Dear Andr?, > I'm nearly in the same situation like You (I used in the past (Basic, > Visual Basic, Pascal ? I?m just a 50 y old teacher who started with > computer in the 80?) with the difference that I'am an experienced User > of Hypercardt - the anchestor of MetaCard and Revolution - which only > exists for MacOS. But now, with platform-independent MetaCard and/or > Revolution (which are nearly the ssame) I have a tool which fits > better to our school's situation (we have a MacOS computer lab and a > Windows computer lab). My pupils are beginners in programming, about > 16 years old, and there is absolutely no book about MetaCard or > Revolution for them , even not an English one (I need one in German). > For Hypercard, , there were enough good books (also in German > language), but Hypercard is to much different. > What to do ? > During the last three months I began myself to make a suitable book > (or booklet) for learning programming (rather than > multimedia-authoring) with MetaCard and Revolution, which will be used > as a book for beginners or pupils. > Like You I would like to have additionally an ?in-depth-tutorial? to > avoid many experiments, but there is nothing on the market. > But nevertheless I am interested in what You are doing with Your > pupils ? > What would You expect from school-book for beginners ? > I would be glad to hear from You something about working with > Metacard/Revolution in school. > > Gernot > My case is more like Gernot's; except that I am much older and I used HyperCard not to teach how to program but to teach languages and linguistics., I have written a lot of HC "didacticiels" as we say in french: general phonetics; japaneese tons; german verbs; tamil scripts; russian text comprehension; spanish; french; quizz in general linguistics; language performance level ... and so on. This also means that I came accross special character and keyboard problems: fonts; accents, KCHR resources; etc. Now I am retired and struggling for trying to port some of theese HyperCard Stacks to R-R, I guess I am likely to get more benefits from your help than the other way around. But maybe some of the tricks I found out could be useful to you as well. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2907 bytes Desc: not available URL: From ambassador at fourthworld.com Thu Dec 26 09:55:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Dec 26 09:55:01 2002 Subject: [ANN] RevNet launched In-Reply-To: <15E7C5CA-18AE-11D7-A60F-003065FB9830@hindu.org> Message-ID: Sannyasin Sivakatirswami wrote: > Richard: thanks for this wonderful model! > > NOTE: If you open RevNet inside Revolution... one gets problems... > presumably because the "Rev" string in the file name is reserved for > Rev UI stacks (I had this same problem with a stack named "Revolving > Calendar") so don't be misled by error dialogs.... > > Specifically: if I click on the link to down oad stacks I would go to > the stack page and then clicking on one of those links... it breaks > with: > > ======= > There was an Execution Error at 10:35:37 PM > Error description: Function: error in function handler > Revolution User Interface Error: Object: card id 1060 of stack "RevNet" > -------------------- > put ""& item 5 of tInfo > &"
" into tHtml > -------------------- > Value: q > ======= > If one quits Rev and just boots "goRevnet.rev" ... and then downloads > "RevNet" i.e. no loading of the Rev UI.. > > The problem goes away: obviously there is a conflict between the Rev > UI and any stacks that begin with "Rev" > > This should be considered a bug, since the dev app should not place any > constraints on the file name of its output. RevNet was tested in the shipping versions of both Rev and MC prior to release. This is not to suggest it's perfect (far from it, as it was tested on limited configurations), but that it should be expected to at least run. Please submit bug reports to me at or via the Feedback window within RevNet. As with bug reports for any product, please include the information that will be needed to reproduce the problem, including system version, Rev/MC version, any relevant info about your network connection (behind a firewall?), and a repeatable recipe. Unfortunately following the recipe above does not reproduce the error here in my configuration. When you reply via private email, please let me know a little about your system so I may be able to reproduce the issue here. Thanks in advance - -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Thu Dec 26 10:00:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Dec 26 10:00:01 2002 Subject: [ANN] RevNet launched In-Reply-To: Message-ID: Andre Rombauts wrote: > Le 26/12/2002 01:07, Ken Ray ? kray at sonsothunder.com a ?crit: > >> Just FYI, you can click the "Feedback" button in the right button list and >> select "Bug Report" from the Category popup of the feedback window to get > I did but I was not sure the message was sent... So I posted here... :-( > >> your bug submitted. My guess would be that this is the quickest way to get > > But I encountered a big problem: since I setup and used this lib, Im getting > an horrible sound glich each time I'm clicking on a button or in a Rev menu > item! Not problem for standalone files... I guess I need to reinstall > RunRev... There are no sound files, resources, or commands in RevNet or its components. I would be interested in learning the relationship between RevNet and these isasues once you find them; even if the problem is not caused by RevNet I may be able to compensate for it. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From rcozens at pon.net Thu Dec 26 10:37:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Dec 26 10:37:01 2002 Subject: if (this stack is a standalone) then ... In-Reply-To: <06D96ADE-1851-11D7-A5AA-003065683ECC@inspiredlogic.com> References: <06D96ADE-1851-11D7-A5AA-003065683ECC@inspiredlogic.com> Message-ID: >The problem is that there really isn't any difference between >running as a stack and running as an app. With all due respect, Geoff, yes there is. Download Serendipity Library . Look at the SDB Utilities stack: in has no background named "revLibraries" Use the Distribution Builder to create a SDB Utilities standalone...it WILL contain a background "revLibraries". You can confirm this more easily by placing different logic in the prePpenStack script (if there is a background "revLibraries" then beep, answer, etc.). You WILL find the handler response of the stack different from the response of the standalone. (At least I do.) -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From bvlahos at mac.com Thu Dec 26 11:40:01 2002 From: bvlahos at mac.com (Bill Vlahos) Date: Thu Dec 26 11:40:01 2002 Subject: setting pointer location In-Reply-To: <68.2ab1cb83.2b3c38ab@aol.com> Message-ID: David, Try this: set the screenMouseLoc to globalLoc(the location of button "one") I've used button "one" in the example but you can set it to whatever object you want. Bill Vlahos On Thursday, December 26, 2002, at 02:49 AM, DVGlasgow at aol.com wrote: > I want users to make a rating of a series of images. When the scale > appears, > I want the cursor to be at the mid-point. This is to minimise bias and > artefact arising from the initial pointer position being random > (responses > are also timed, so I want all users to have the same start point. > > So. How do I make the cursor appear at a certain place?. (I will kick > myself if this is obvious - I have scoured the documentation!) > > > Best wishes, > > David Glasgow > Home/ forensic assessments --> HREF="http://members.aol.com/dvglasgow/"> > DVGlasgow > Courses --> i-Psych > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Thu Dec 26 12:33:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Dec 26 12:33:01 2002 Subject: sys reqs In-Reply-To: <70743DE4-18DE-11D7-8A4B-00039382D260@mac.com> Message-ID: What is the URL to the page at runrev.com that list system requirements for Rev? Specifically, I'm trying to determine the smallest monitor size required by Rev. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dsc at swcp.com Thu Dec 26 14:15:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 26 14:15:01 2002 Subject: groups and background In-Reply-To: <20021225080157.19592@mail.chabashira.co.jp> Message-ID: <6D474842-1905-11D7-B26B-0050E4C0B205@swcp.com> On Wednesday, December 25, 2002, at 01:01 AM, UDI wrote: > --> > If you want a handler in a group?s script to affect only the objects in > the group, place the following statement at the beginning of the > handler: > > if the owner of the target is not me then pass message > > This filters out any objects that are not part of the group. > <-- (I find the artifact of a katakana character (yu?) in the quoted material interesting.) I think this help would be clearer if it said "background" rather than "group". Both the scripting language and the documentation seem to be a little free in interchanging these; no doubt those who have grown up with cards can tell from context, but it slows me down. This idea is a good one. However, I think it applies only to controls directly owned by the background. It doesn't help with messages sent to the background, or to controls owned by by groups within the background. I'm about to make a stack that can use backgrounds. Unfortunately, with the multicard placement comes the inconsistent message path. Dar Scott From dsc at swcp.com Thu Dec 26 14:26:00 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 26 14:26:00 2002 Subject: Track which button a user clicks? In-Reply-To: <20021224165533.77570.qmail@web14204.mail.yahoo.com> Message-ID: <04CFBE1A-1907-11D7-B26B-0050E4C0B205@swcp.com> On Tuesday, December 24, 2002, at 09:55 AM, Mike Bleed wrote: > I am trying to implement an activity log or event tracking piece to my > stack.? I want the program to record in a file all of the user's > interactions.? Here is an idea that comes to my mind. It is related to something I have been considering. Maybe you can have an object that has handlers for each event you want to log. Make that a front script. Each handler would log its name & the target and then pass. I think somebody explained how to get the target. I think the problem is how limit this to your own stack. I assume you don't want to log all interaction with development stacks during development and testing. Some half-baked ideas: look for the stack in the long name of the target, check the tool, check whether the stack is a standalone. (This limitation is important in what I am trying to do. I want to have a generic "right-click" for all controls, but I don't want to interfere with the development "right-click".) Another problem is knowing when to insert and remove the script. Dar Scott From dsc at swcp.com Thu Dec 26 14:30:00 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Dec 26 14:30:00 2002 Subject: Mac right mouse button Message-ID: <7A1865AC-1907-11D7-B26B-0050E4C0B205@swcp.com> I'm temporarily without my Mac my mouse with a right button. This has reminded me how useful it is in Revolution development, especially in going back and forth from OS X and Windows. On OS X the right mouse button is mapped to something like control-click. What ever it is, it works just right. Anyway. I recommend such a mouse in Revolution development. Dar Scott From ambassador at fourthworld.com Thu Dec 26 14:55:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Dec 26 14:55:01 2002 Subject: Track which button a user clicks? In-Reply-To: <04CFBE1A-1907-11D7-B26B-0050E4C0B205@swcp.com> Message-ID: Dar Scott wrote: > > On Tuesday, December 24, 2002, at 09:55 AM, Mike Bleed wrote: > >> I am trying to implement an activity log or event tracking piece to my >> stack.? I want the program to record in a file all of the user's >> interactions.? > > Here is an idea that comes to my mind. It is related to something I > have been considering. > > Maybe you can have an object that has handlers for each event you want > to log. Make that a front script. Each handler would log its name & > the target and then pass. The UmbrellaMan utility does that, building the "message umbrella" frontscript on the fly -- you can download it at: -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From soapdog at mac.com Thu Dec 26 16:56:01 2002 From: soapdog at mac.com (Andre Garzia) Date: Thu Dec 26 16:56:01 2002 Subject: Congratulations on RevNet Message-ID: RevNet is an jolly good thing. it reminds me of REBOL/View World Wide Desktop... it's a centralized desktop where developers are able to put links to their "sites" which are small applications like stacks and they are avaiable to all. Is this kind of feature possible or planned in RevNet, so we all could contribute with small apps creating an huge collection, a powerfull knowledge base and code repository. We could put interactive tutorials, books, and stacks with RevNet integrating it all... ops, i just checked that this is all possible in the stacks button... congratulations to all involved with this great util. well do i sound strange? sorry about my bad english. happy new year. Andre Garzia ? 2002 imac2 ibook p100 e uma torradeira.... Andre Alves Garzia ? 2002 ? BRAZIL mailto://soapdog at mac.com From dvk at dvkconsult.com.au Thu Dec 26 17:16:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Thu Dec 26 17:16:01 2002 Subject: Congratulations on RevNet In-Reply-To: Message-ID: On Friday, Dec 27, 2002, at 20:45 Australia/Sydney, Andre Garzia wrote: > > congratulations to all involved with this great util. > > well do i sound strange? sorry about my bad english. To all writers whose native tongues are german, spanish, italian, norse, urdu, whatever...please don't apologise for your english, at least until after I (for example) have written to you in your native language first! If we (the english speakers) have not understood you, we will ask, and Rev is now so widely used that there are good odds someone else can either respond natively or assist with translation anyway. Besides, the only reason I can understand the Scots is because they are putting it in writing... best regards David > > happy new year. > Andre Garzia ? 2002 > imac2 ibook p100 e uma torradeira.... > > Andre Alves Garzia ? 2002 ? BRAZIL > mailto://soapdog at mac.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Dec 26 17:41:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Dec 26 17:41:01 2002 Subject: Bunch of New Tips Message-ID: <026b01c2ad2e$86e01b10$6701a8c0@mckinley.dom> Hey everyone... just wanted to let you know I posted a bunch of new tips over at my site, including a comprehensive list of the specialFolderPath codes for Mac OS 9, OS X and Windows: http://www.sonsothunder.com/devres/revolution/revolution.htm?_file010 Along with some tips for working with processes on Mac and Windows, including a comprehensive look at application processes on both platforms and how to get a list of processes and identify a process so you can manipulate it: http://www.sonsothunder.com/devres/revolution/revolution.htm?_proc005 Of course, if you have RevNet, just go to Tips and click "Update List". ;-) The new/updated Tips are proc001-proc005, scrp001, shel002, disk005 and file010. Enjoy! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From gcanyon at inspiredlogic.com Thu Dec 26 18:39:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu Dec 26 18:39:01 2002 Subject: if (this stack is a standalone) then ... In-Reply-To: Message-ID: <71F54BB2-192A-11D7-A5AA-003065683ECC@inspiredlogic.com> Ack -- my misinterpretation. On Thursday, December 26, 2002, at 07:29 AM, Rob Cozens wrote: >> The problem is that there really isn't any difference between running >> as a stack and running as an app. > > With all due respect, Geoff, yes there is. > > Download Serendipity Library > . > > Look at the SDB Utilities stack: in has no background named > "revLibraries" > > Use the Distribution Builder to create a SDB Utilities standalone...it > WILL contain a background "revLibraries". > > You can confirm this more easily by placing different logic in the > prePpenStack script (if there is a background "revLibraries" then > beep, answer, etc.). You WILL find the handler response of the stack > different from the response of the standalone. (At least I do.) > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.com/who.htm > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > I hope this helps. Feel free to contact me if you have any further questions. regards, Geoff Canyon Revolution Support -- Geoff Canyon Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From erikhans08 at yahoo.com Thu Dec 26 19:32:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Thu Dec 26 19:32:01 2002 Subject: a script to change the appearance of an image In-Reply-To: <90255DB8-13B4-11D7-98CA-0003937A97B8@genesearch.com.au> Message-ID: <20021227002719.97204.qmail@web20007.mail.yahoo.com> --- Sarah wrote: > You can use "Import as control..." to get > images into your stack i.e. > not just a file references but actually adding > the image data to your > stack file. Then you can make these images > invisible and use them as > button icons, or you can place them all in the > same position and just show one at a time. is there any reason to prefer a button with an icon over an image with a mouseUp handler? tia. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From erikhans08 at yahoo.com Thu Dec 26 19:36:00 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Thu Dec 26 19:36:00 2002 Subject: audio problem -- distorted playback of wav file In-Reply-To: Message-ID: <20021227003046.97570.qmail@web20007.mail.yahoo.com> --- Chipp Walters wrote: > Doug, > > Try playing it back in Quicktime by itself...is > it still distorted? If so, > you may try using a different sampling rate and > try again. Also, make sure > you author and playback on the same computer. > Some computers have different > audio cards which save in using different > sampling rates. for cross platform products this might be difficult. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From kray at sonsothunder.com Thu Dec 26 21:35:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Dec 26 21:35:01 2002 Subject: a script to change the appearance of an image References: <20021227002719.97204.qmail@web20007.mail.yahoo.com> Message-ID: <029501c2ad4f$18db92e0$6701a8c0@mckinley.dom> Yes; buttons can have different icons show by state (hilite, disabled, etc.), whereas with images you have to do all that manually. You also have other properties like autohilite, arm, etc. Just my $0.02, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "erik hansen" To: Sent: Thursday, December 26, 2002 6:27 PM Subject: Re: a script to change the appearance of an image > > --- Sarah wrote: > > You can use "Import as control..." to get > > images into your stack i.e. > > not just a file references but actually adding > > the image data to your > > stack file. Then you can make these images > > invisible and use them as > > button icons, or you can place them all in the > > same position and just show one at a time. > > is there any reason to prefer a button with an > icon over an image with a mouseUp handler? tia. > > ===== > erik at erikhansen.org http://www.erikhansen.org > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ro.nagey at verizon.net Thu Dec 26 23:34:01 2002 From: ro.nagey at verizon.net (Ro Nagey) Date: Thu Dec 26 23:34:01 2002 Subject: BringToFront In-Reply-To: <026b01c2ad2e$86e01b10$6701a8c0@mckinley.dom> Message-ID: <91E57646-1953-11D7-B1E2-000A9575D814@verizon.net> When I click on a stack that's behind other apps in Mac OSX...and the cursor is in a field, the cursor disappears or moves to wherever I clicked. This is really annoying. Shouldn't "Bring to front" be one action and not passed through to the stack that's being brought to the front? How can I cure this. Ro Nagey Royal Software, Inc. From rbarber at yhb.att.ne.jp Fri Dec 27 02:15:01 2002 From: rbarber at yhb.att.ne.jp (Ron) Date: Fri Dec 27 02:15:01 2002 Subject: Cmd -Z in a standalone In-Reply-To: <026b01c2ad2e$86e01b10$6701a8c0@mckinley.dom> Message-ID: Greetings, More menu madness. I assigned cmd-Z as the keyboard equivalent to 'close all windows'. Built a standalone. Tried cmd-Z and nothing happened. But I selected text, deleted it and pressed cmd-Z. The deleted text reappears. Alternately appearing/disappearing with each press of cmd-Z, just like an undo/redo feature. Is this a feature? bug? OS 9.2.2 and 1.1.1 thanks Ron From dvk at dvkconsult.com.au Fri Dec 27 02:31:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri Dec 27 02:31:01 2002 Subject: Cmd -Z in a standalone In-Reply-To: Message-ID: <63877698-196C-11D7-98A2-000393598038@dvkconsult.com.au> On Friday, Dec 27, 2002, at 18:11 Australia/Sydney, Ron wrote: > Greetings, > > More menu madness. I assigned cmd-Z as the keyboard equivalent to > 'close all > windows'. Built a standalone. Tried cmd-Z and nothing happened. But I > selected text, deleted it and pressed cmd-Z. The deleted text > reappears. > Alternately appearing/disappearing with each press of cmd-Z, just like > an > undo/redo feature. > > Is this a feature? bug? Ron, call it what you will. Just please don't go redefining a command key (for Undo) which has existed in all Mac OS since the mid-eighties. Have a look under any app's Edit menu. What are you trying to do to your users? Cmd-W is "standard fare" for close window, with an Option key modifier for closing all windows. regards David > > OS 9.2.2 and 1.1.1 > > thanks > Ron > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rbarber at yhb.att.ne.jp Fri Dec 27 02:48:01 2002 From: rbarber at yhb.att.ne.jp (Ron) Date: Fri Dec 27 02:48:01 2002 Subject: Cmd -Z in a standalone In-Reply-To: <63877698-196C-11D7-98A2-000393598038@dvkconsult.com.au> Message-ID: Hi David Heh, thanks for the advice, I'll try not to undo 20+ years of UI history and expectations. Now, back to my original question. It should not matter if I wanted to assign 'C' to 'close all wds' as far as RR is concerned. So why am I getting this kind of behavior? Thanks Ron > From: David Vaughan > Reply-To: use-revolution at lists.runrev.com > Date: Fri, 27 Dec 2002 18:25:34 +1100 > To: use-revolution at lists.runrev.com > Subject: Re: Cmd -Z in a standalone > > > On Friday, Dec 27, 2002, at 18:11 Australia/Sydney, Ron wrote: > >> Greetings, >> >> More menu madness. I assigned cmd-Z as the keyboard equivalent to >> 'close all >> windows'. Built a standalone. Tried cmd-Z and nothing happened. But I >> selected text, deleted it and pressed cmd-Z. The deleted text >> reappears. >> Alternately appearing/disappearing with each press of cmd-Z, just like >> an >> undo/redo feature. >> >> Is this a feature? bug? > > Ron, call it what you will. Just please don't go redefining a command > key (for Undo) which has existed in all Mac OS since the mid-eighties. > Have a look under any app's Edit menu. What are you trying to do to > your users? Cmd-W is "standard fare" for close window, with an Option > key modifier for closing all windows. > > regards > David >> >> OS 9.2.2 and 1.1.1 >> >> thanks >> Ron >> >> _______________________________________________ >> 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 GernotL at t-online.de Fri Dec 27 04:59:01 2002 From: GernotL at t-online.de (Gernot Lorenz) Date: Fri Dec 27 04:59:01 2002 Subject: Tutorials In-Reply-To: <70743DE4-18DE-11D7-8A4B-00039382D260@mac.com> References: <70743DE4-18DE-11D7-8A4B-00039382D260@mac.com> Message-ID: <3E0B69CC.6010700@rz-online.de> manuel companys wrote: > > > Le Wednesday, 25 Dec 2002, ? 12:10 US/Central, Gernot Lorenz a ?crit : > > Am Montag, 23.12.02 um 15:11 Uhr schrieb Andre Rombauts: > > I?ve been learning Rev for several months but to really go > ?inside? I would need an ?in-depth-tutorial?. This is quite > different from all othe programing environment I used in the > past (Basic, Visual Basic, Pascal ? I?m just a 50 y old > teacher who started with computer in the 80?). How to organize > stacks, to use externals and plugins (not really sure to > understand the difference), etc. Revolution is so ?huge?... > Will we get a good tutorial book?... > > Andr? > > > > > Dear Andr?, > I'm nearly in the same situation like You (I used in the past > (Basic, Visual Basic, Pascal ? I?m just a 50 y old teacher who > started with computer in the 80?) with the difference that I'am an > experienced User of Hypercardt - the anchestor of MetaCard and > Revolution - which only exists for MacOS. But now, with > platform-independent MetaCard and/or Revolution (which are nearly > the ssame) I have a tool which fits better to our school's > situation (we have a MacOS computer lab and a Windows computer > lab). My pupils are beginners in programming, about 16 years old, > and there is absolutely no book about MetaCard or Revolution for > them , even not an English one (I need one in German). For > Hypercard, , there were enough good books (also in German > language), but Hypercard is to much different. > What to do ? > During the last three months I began myself to make a suitable > book (or booklet) for learning programming (rather than > multimedia-authoring) with MetaCard and Revolution, which will be > used as a book for beginners or pupils. > Like You I would like to have additionally an ?in-depth-tutorial? > to avoid many experiments, but there is nothing on the market. > But nevertheless I am interested in what You are doing with Your > pupils ? > What would You expect from school-book for beginners ? > I would be glad to hear from You something about working with > Metacard/Revolution in school. > > Gernot > > > My case is more like Gernot's; except that I am much older and I used > HyperCard not to teach how to program but to teach languages and > linguistics., I have written a lot of HC "didacticiels" as we say in > french: general phonetics; japaneese tons; german verbs; tamil > scripts; russian text comprehension; spanish; french; quizz in general > linguistics; language performance level ... and so on. This also means > that I came accross special character and keyboard problems: fonts; > accents, KCHR resources; etc. > > Now I am retired and struggling for trying to port some of theese > HyperCard Stacks to R-R, I guess I am likely to get more benefits from > your help than the other way around. But maybe some of the tricks I > found out could be useful to you as well. Dear Manuel Companys, thank You for Your mail. I think, soon the time will come I will ask You some help. I often find myself thinking in Hypercard while working with MetaCard oder Revolution, and so many things are different, for example handling the background, which has in Hypercard a totally different function. If You are trying to convert HC-Stacs to RunRev or Metacard, then try http://www.hyperactivesw.com/mctutorial/rrtutorialtoc.html Salut Gernot From eudio at chabashira.co.jp Fri Dec 27 05:10:01 2002 From: eudio at chabashira.co.jp (UDI) Date: Fri Dec 27 05:10:01 2002 Subject: groups and background In-Reply-To: <6D474842-1905-11D7-B26B-0050E4C0B205@swcp.com> References: <6D474842-1905-11D7-B26B-0050E4C0B205@swcp.com> Message-ID: <20021227100422.22529@mail.chabashira.co.jp> Dar Scott wrote 02.12.26 00:08 PM? >(I find the artifact of a katakana character (yu?) in the quoted >material interesting.) Sorry, I made a mistake. And you answered it correctly. It is right 'yu' ;-) >Both the scripting language and the documentation seem to be a >little free in interchanging these; no doubt those who have grown up >with cards can tell from context, but it slows me down. Yes, It is related to the thing that I sent in this topic first. >It doesn't help with messages sent to >the background, or to controls owned by by groups within the background. > >I'm about to make a stack that can use backgrounds. Unfortunately, with >the multicard placement comes the inconsistent message path. I understood. This problem is unexpectedly difficult... UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From DVGlasgow at aol.com Fri Dec 27 05:59:01 2002 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Fri Dec 27 05:59:01 2002 Subject: setting pointer location Message-ID: <121.1c1cd7cc.2b3d8b08@aol.com> In a message dated 26/12/02 4:57:55 PM, use-revolution-request at lists.runrev.com writes: << Hi David, I gather you're using a 'scale' control? In that case, the last tab in its Properties is 'Scrollbar' -- as RunRev treats scale objects as a special type of scrollbar. There you have the 'Start value, 'End value' and 'Thumb position' properties. Suppose people can rate from 1 to 5, and the default should be 3, then set these up as: set the startValue of scrollbar 'Foo' to 1 set the endValue of scrollbar 'Foo' to 5 set the thumbPosition of scrollbar 'Foo' to 3 Hope this helped, Jan Schenkel. >> Thanks Jan, but (for various reasons) I am not using a scale control. I am using 15 buttons arranged edge to edge in a line. The middle button represents 'neutral' (scored zero), and that is where I want the pointer to appear, when the image-to-be-rated appears. Sorry I wasn't clearer in the original post. I wanted something like 'show pointer at the loc of button neutral' Bill Vlahos' suggested set the screenMouseLoc to globalLoc(the location of button "one") looks the business. The only question remaining is whether I should have worked it out for myself. Thanks again to you both. Best wishes, David Glasgow Home/ forensic assessments --> DVGlasgow Courses --> i-Psych From miscdas at boxfrog.com Fri Dec 27 06:49:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Fri Dec 27 06:49:01 2002 Subject: OT:Life's Priorities In-Reply-To: <121.1c1cd7cc.2b3d8b08@aol.com> References: <121.1c1cd7cc.2b3d8b08@aol.com> Message-ID: <20021227114506.44560.qmail@www.boxfrog.com> Listers, Just a few words on your priorities in life. I noted a number of posts dated Dec. 25. For those raised in the Judeo-Christian culture, this typically marks a time of gathering of friends and family for, let us say, "bonding" of some sort. Take time to reflect on what you were doing during this holiday time, and examine your priorities in life. Perhaps family doesn't bring the excitment of XTalk programming, or perhaps you are addicted to programming. Being social creatures with purported "higher-order" thought processes, turn some of that thinking power towards your socialization circle and see if it meshes well with the group's needs. The New Year is just around the corner. The time is ripe for formulating realistic resolutions. Happy Holidays miscdas The road to enlightenment may at times seem the darkest path. Make neither the journey nor the goal superior; only the balance of each in its own measure can bring fulfillment. From janschenkel at yahoo.com Fri Dec 27 07:45:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Dec 27 07:45:01 2002 Subject: setting pointer location In-Reply-To: <121.1c1cd7cc.2b3d8b08@aol.com> Message-ID: <20021227124020.11422.qmail@web11906.mail.yahoo.com> --- DVGlasgow at aol.com wrote: > > In a message dated 26/12/02 4:57:55 PM, > use-revolution-request at lists.runrev.com writes: > > << Hi David, > > > I gather you're using a 'scale' control? In that > case, > > the last tab in its Properties is 'Scrollbar' -- as > > RunRev treats scale objects as a special type of > > scrollbar. > > There you have the 'Start value, 'End value' and > > 'Thumb position' properties. > > > Suppose people can rate from 1 to 5, and the default > > should be 3, then set these up as: > > set the startValue of scrollbar 'Foo' to 1 > > set the endValue of scrollbar 'Foo' to 5 > > set the thumbPosition of scrollbar 'Foo' to 3 > > > Hope this helped, > > > Jan Schenkel. >> > > Thanks Jan, but (for various reasons) I am not using > a scale control. I am > using 15 buttons arranged edge to edge in a line. > The middle button > represents 'neutral' (scored zero), and that is > where I want the pointer to > appear, when the image-to-be-rated appears. Sorry > I wasn't clearer in the > original post. I wanted something like 'show > pointer at the loc of button > neutral' > > Bill Vlahos' suggested set the screenMouseLoc to > globalLoc(the location of > button "one") looks the business. The only question > remaining is whether I > should have worked it out for myself. > > Thanks again to you both. > > > Best wishes, > > David Glasgow Hi David, Actually when I read Bill's reply, I realised I had misread your question. At the risk of getting Rob Cozens on me for interface guideline tiranny ;-) -- though setting the screenMouseLoc is possible, most users find it quite confusing that the cursor is suddenly somewhere else. At any rate, don't feel bad about not finding it yourself ; when I first saw this property in the docs, I didn't expect you could 'set' it as well. Oh, and speaking of the docs: they state it doesn't work on MacOS X under RunRev 1.1.1 Hope this helped nonetheless, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From k_major at os.surf2000.de Fri Dec 27 08:57:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Fri Dec 27 08:57:01 2002 Subject: VERY OT:Life's Priorities i.e. IconEditor In-Reply-To: <20021227114506.44560.qmail@www.boxfrog.com> Message-ID: <511C6E0E-19A2-11D7-9704-000A27B49A96@os.surf2000.de> Hi miscdas and all, > Listers, > Just a few words on your priorities in life. I noted a number of posts > dated Dec. 25. For those raised in the Judeo-Christian culture, this > typically marks a time of gathering of friends and family for, let us > say, "bonding" of some sort. Take time to reflect on what you were > doing during this holiday time, and examine your priorities in life. > Perhaps family doesn't bring the excitment of XTalk programming, or > perhaps you are addicted to programming. Being social creatures with > purported "higher-order" thought processes, turn some of that thinking > power towards your socialization circle and see if it meshes well with > the group's needs. I did and i am feeling better now. > The New Year is just around the corner. The time is ripe for > formulating realistic resolutions. > Happy Holidays > miscdas > > The road to enlightenment may at times seem the darkest path. > Make neither the journey nor the goal superior; only the balance of > each in its own measure can bring fulfillment. And now for something completely different: Has someone succesfully replaced the 4 bit icon of a standalone with an 8 bit icon (on windows) ? If yes, how ? What icon-editor can do this ? (Commercial or shareware !) Thanks a lot in advance... Regards Klaus Major k_major at os.surf2000.de From heather at runrev.com Fri Dec 27 09:40:01 2002 From: heather at runrev.com (Heather Williams) Date: Fri Dec 27 09:40:01 2002 Subject: The Whisky Draw Message-ID: Ladies and Gentlemen! I am happy to announce the winner of the Runtime Revolution Whisky Draw. As you may remember, this was to go to a randomly selected poster of an ontopic post, after the 10th Dec and before Dec 25th. I put all posts into a virtual hat, and a random mouse click brought me the result. Are you all ready and hanging on the edge of your seats? And the winner is.... Klaus Major, with his post Date: Fri, 13 Dec 2002 16:48:20 +0100 Subject: Re: Standalone Button Font Bloat Congratulations Klaus. A well deserved win. I'll make arrangements for the despatch of one bottle of single malt whisky if you'll just confirm privately that the address I have in my database is still current. Cheers! Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Ten Thumbs Typing Tutor Teach your Fingers to Dance From bvlahos at mac.com Fri Dec 27 09:41:01 2002 From: bvlahos at mac.com (Bill Vlahos) Date: Fri Dec 27 09:41:01 2002 Subject: setting pointer location In-Reply-To: <20021227124020.11422.qmail@web11906.mail.yahoo.com> Message-ID: <69303E28-19A8-11D7-881B-003065EC5590@mac.com> There are a lot of things I haven't "found" in the docs so don't feel bad. Thanks to Jan for mentioning it doesn't work in OS X. I forgot to say it. It does work in the 2.0 alpha for OS X. Bill Vlahos On Friday, December 27, 2002, at 04:40 AM, Jan Schenkel wrote: > At any rate, don't feel bad about not finding it > yourself ; when I first saw this property in the docs, > I didn't expect you could 'set' it as well. > Oh, and speaking of the docs: they state it doesn't > work on MacOS X under RunRev 1.1.1 From troy at rpsystems.net Fri Dec 27 09:46:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Dec 27 09:46:01 2002 Subject: The Whisky Draw In-Reply-To: Message-ID: <3BEDC5D0-19A9-11D7-9501-000393853D6C@rpsystems.net> On Friday, December 27, 2002, at 09:34 AM, Heather Williams wrote: > > > And the winner is.... > > Klaus Major, with his post No one deserves it more. Congrats Klaus. Now you can REALLY reflect on the year... ;-) -- Troy RPSystems, LTD www.rpsystems.net From kray at sonsothunder.com Fri Dec 27 10:29:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Dec 27 10:29:00 2002 Subject: VERY OT:Life's Priorities i.e. IconEditor References: <511C6E0E-19A2-11D7-9704-000A27B49A96@os.surf2000.de> Message-ID: <02cf01c2adbb$51e92a40$6701a8c0@mckinley.dom> > Has someone succesfully replaced the 4 bit icon > of a standalone with an 8 bit icon (on windows) ? Klaus, I don't think this is possible (unfortunately), since the space for the resource is only so big. You can replace the default 4-bit icon with another 4-bit icon, but if you want anything higher res, you'll need to go with a shortcut. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From wmb at internettrainer.com Fri Dec 27 11:02:00 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Fri Dec 27 11:02:00 2002 Subject: The Whisky Draw In-Reply-To: <3BEDC5D0-19A9-11D7-9501-000393853D6C@rpsystems.net> Message-ID: On Freitag, Dezember 27, 2002, at 03:41 Uhr, Troy Rollins wrote: >> And the winner is.... >> >> Klaus Major, with his post > > No one deserves it more. agree... > Congrats Klaus. Now you can REALLY reflect on the year... ;-) Does this mean, we have to forget the content of his posts during this reflection time??;) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From rcozens at pon.net Fri Dec 27 11:03:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Dec 27 11:03:00 2002 Subject: setting pointer location In-Reply-To: <20021227124020.11422.qmail@web11906.mail.yahoo.com> References: <20021227124020.11422.qmail@web11906.mail.yahoo.com> Message-ID: > At the risk of getting Rob >Cozens on me for interface guideline tiranny ;-) -- >though setting the screenMouseLoc is possible, most >users find it quite confusing that the cursor is >suddenly somewhere else. Jan, David, et al: Oh great! After all my ranting against HIG police, I'm now associated with them. :{`) Anyway, I also have heard from day one "don't confuse the user by moving the mouse loc when they don't move the cursor." I have also wondered since day one if anyone has proved this assertion has any validity. Prior to the advent of the mouse, many of my data entry (eg: Oakland PD Crime & Arrest reports) screens jumped past fields or to fields in different order depending on the nature of the information entered in the proceeding field. For example, the cursor would stop at or pass over the "weapon" field depending what legal code section was violated. Input operators did not have to make a determination whether or not it was necessary to enter a weapon because the computer made it for them. This system was used by entry-level data entry clerks for over 15 years. In HyperCard and Revolution, I control cursor positioning by locking all fields initially and unlocking & tabbing to individual fields. I personally think the HIG guideline against moving the cursor should NOT be accepted at face value: if it makes sense to you in your design, do it and see how it turns out. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Fri Dec 27 11:03:12 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Dec 27 11:03:12 2002 Subject: groups and background In-Reply-To: <6D474842-1905-11D7-B26B-0050E4C0B205@swcp.com> References: <6D474842-1905-11D7-B26B-0050E4C0B205@swcp.com> Message-ID: >I think this help would be clearer if it said "background" rather >than "group". Both the scripting language and the documentation >seem to be a little free in interchanging these; Dar, et al: I believe the distinction is "background" can refer to any group in a stack, whereas "group" can refer only to groups on the current card. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From dsc at swcp.com Fri Dec 27 11:24:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 27 11:24:01 2002 Subject: groups and background In-Reply-To: Message-ID: <950B2AE2-19B6-11D7-BBE6-0050E4C0B205@swcp.com> On Friday, December 27, 2002, at 08:32 AM, Rob Cozens wrote: > I believe the distinction is "background" can refer to any group in a > stack, whereas "group" can refer only to groups on the current card. Ah. I have been using "background" to mean a group with background behavior. Now, now this is twice as confusing. Dar From JamesHBeckmann at aol.com Fri Dec 27 11:30:00 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Fri Dec 27 11:30:00 2002 Subject: Revolution Archive Message-ID: <143.6364b2d.2b3dd8c0@aol.com> Geoff Duncan had set up an automatic Web site "HyperCard Mailing List Archive" that archives the posts and is searchable by many parameters. Has this been cloned for the RuvRev mail list where I can also search for questions that have been posed and their responses? Jim From k_major at os.surf2000.de Fri Dec 27 11:34:00 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Fri Dec 27 11:34:00 2002 Subject: The Whisky Draw In-Reply-To: Message-ID: <4E685043-19B8-11D7-9704-000A27B49A96@os.surf2000.de> Hi all, > Ladies and Gentlemen! I am happy to announce the winner of the Runtime > Revolution Whisky Draw. As you may remember, this was to go to a > randomly > selected poster of an ontopic post, after the 10th Dec and before Dec > 25th. > I put all posts into a virtual hat, and a random mouse click brought > me the > result. > > Are you all ready and hanging on the edge of your seats? > > > > And the winner is.... > > Klaus Major, with his post > > Date: Fri, 13 Dec 2002 16:48:20 +0100 > Subject: Re: Standalone Button Font Bloat > > Congratulations Klaus. A well deserved win. I'll make arrangements for > the > despatch of one bottle of single malt whisky if you'll just confirm > privately that the address I have in my database is still current. > > Cheers! > > Heather ohmygawdohmygawd ohmygawdohmygawd ohmygawdohmygawd ohmygawdohmygawd ohmygawdohmygawd ohmygawdohmygawd ohmygawdohmygawd ohmygawdohmygawd unworthy ;-) ... (If you think that Halle Berry was surprised at the academy awards last (?) year then you should have seen me, when this mail popped in ;-) I was crying and big drops of tears running down my cheeks, i could not believe it, thanked my producers etc... ohmygawdohmygawd ohmygawdohmygawd ohmygawdohmygawd ohmygawdohmygawd ohmygawdohmygawd ohmygawdohmygawd etc... (Un-)fortunately i was alone :-) Cry... (trying to dry some tears)... snuffling...cry...snuffle... I want to thank you all for the questions i was allowed to answer, thank the whole team (at RR) for their neverending support and a wonderful application, thanks to Heather for being a resolute but heartly listmom (no honey, no attachments, yes mummy loves you, no no html...;-), a very special thank goes to my hairdresser and... yadda yadda yadda...snuffle... Anyway, i want to thank you all here on the list and i promise to drink to all of you when the bottle will arrive... Happy holidays... Best wishes from germany Klaus Major k_major at os.surf2000.de From ambassador at fourthworld.com Fri Dec 27 11:47:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Dec 27 11:47:00 2002 Subject: Revolution Archive In-Reply-To: <143.6364b2d.2b3dd8c0@aol.com> Message-ID: JamesHBeckmann at aol.com wrote: > Geoff Duncan had set up an automatic Web site "HyperCard Mailing List > Archive" that archives the posts and is searchable by many parameters. > > Has this been cloned for the RuvRev mail list where I can also search for > questions that have been posed and their responses? You can search the Rev list using Google -- see the search box on , or you can use this handy plugin right from within Rev: -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From rcozens at pon.net Fri Dec 27 12:06:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Dec 27 12:06:01 2002 Subject: setting pointer location In-Reply-To: References: <20021227124020.11422.qmail@web11906.mail.yahoo.com> Message-ID: >I personally think the HIG guideline against moving the cursor >should NOT be accepted at face value: if it makes sense to you in >your design, do it and see how it turns out. Is that the rant you were expecting, Jan? :{`) -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Fri Dec 27 12:06:16 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Dec 27 12:06:16 2002 Subject: groups and background In-Reply-To: <950B2AE2-19B6-11D7-BBE6-0050E4C0B205@swcp.com> References: <950B2AE2-19B6-11D7-BBE6-0050E4C0B205@swcp.com> Message-ID: >>I believe the distinction is "background" can refer to any group in >>a stack, whereas "group" can refer only to groups on the current >>card. > >Ah. I have been using "background" to mean a group with background >behavior. Now, now this is twice as confusing. If I am correct, "put there is a background/group [groupName/groupId]" should yield different results depending on whether the group is placed on the current card. I could test this for you, Dar; but it was your question...and self-discovery is much more meaningful, don't you think? :{`) -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Fri Dec 27 12:06:32 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Dec 27 12:06:32 2002 Subject: The Whisky Draw In-Reply-To: <4E685043-19B8-11D7-9704-000A27B49A96@os.surf2000.de> References: <4E685043-19B8-11D7-9704-000A27B49A96@os.surf2000.de> Message-ID: >Anyway, i want to thank you all here on the list and i promise to drink >to all of you when the bottle will arrive... Salut, Klaus. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From JamesHBeckmann at aol.com Fri Dec 27 12:24:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Fri Dec 27 12:24:01 2002 Subject: use-revolution digest, Vol 1 #960 - 3 msgs Message-ID: <10f.1c258085.2b3de54f@aol.com> In a message dated 12/27/02 10:13:39 AM, Richard Gaskin at lists.runrev.com writes: >You can search the Rev list using Google -- see the search box on >, or you can use this handy plugin right >from within Rev: > >earch.rev.zip> Thanks. Jim From bornstein at designeq.com Fri Dec 27 12:29:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Fri Dec 27 12:29:01 2002 Subject: Revolution Archive Message-ID: <200212271724.gBRHNwk22688@mailout6-0.nyroc.rr.com> >You can search the Rev list using Google -- see the search box on >, or you can use this handy plugin right >from within Rev: > >earch.rev.zip> Or you can serach directly from your browser with this address: http://www.google.com/advanced_search?q=site:lists.runrev.com (But you should still visit Richard's web site!) Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From alanira9 at mac.com Fri Dec 27 12:45:01 2002 From: alanira9 at mac.com (Alan Gayne) Date: Fri Dec 27 12:45:01 2002 Subject: setting pointer location In-Reply-To: Message-ID: <45026DFD-19C2-11D7-BB9C-000393BB44C6@mac.com> On Friday, December 27, 2002, at 10:54 AM, Rob Cozens wrote: > In HyperCard and Revolution, I control cursor positioning by locking > all fields initially and unlocking & tabbing to individual fields. > > I personally think the HIG guideline against moving the cursor should > NOT be accepted at face value: if it makes sense to you in your > design, do it and see how it turns out. Hi Rob - and happy holidays to all fellow listees, This may be entirely different way to look it this, but when it comes to "smart" data entry, I don't worry about the cursor at all. I lock ALL of the fields - and then, depending on the required situation, I use a predetermined sequence of "ask" and/or "answer" dialogs to fill the fields in the order I want them filled. the scripts for an "ask" sequence might look like this: on askMeEntry theIDList repeat for each item theID in theIDList send "askMeTheQuestion" to fld ID theID end repeat end askMeEntry on askMeTheQuestion put "255,255,100" into activeColor put the short name of the target into theQuestion put the short id of the target into IDnum set the backgroundColor of fld id IDnum to activeColor ask "Please enter " & theQuestion with fld id IDnum put it into fld id IDnum set the backgroundColor of fld id IDnum to "255,255,204" end askMeTheQuestion In such an arrangement the user gets a visual cue to which field is being filled by the temporary change in background color - "activeColor". Naming the fields appropriately generates an intelligent prompt. You can have a generic "askMeTheQuestion" script such as the above sample, resident in the stack script. But if you need additional specialized processing, you can put a customized "askMeTheQuestion" script in the particular field. Very, very versatile. Locking the fields also provides the added benefit (IMHO) of protecting data from "accidental editing". If I DO want to give the user the ability to edit a particular field or group of fields, I will typically use the following script: on mouseUp if the optionKey is down then askMeTheQuestion end mouseUp I have used this technique and numerous variations thereof, with great success in Hypercard for many, many years, and it works even better in RunRev due to the greater script control possible. And for ME it's a LOT easier than trying to get fields to tab in correct order and a LOT easier when you want to change that order. I have no idea if this approach is offensive to the "HIG police" but it really works for me and my end users take to it with great ease. Regards to all, Alan From jhurley at infostations.com Fri Dec 27 13:11:01 2002 From: jhurley at infostations.com (Jim Hurley) Date: Fri Dec 27 13:11:01 2002 Subject: Paramcount caution In-Reply-To: <200212270749.CAA09744@www.runrev.com> References: <200212270749.CAA09744@www.runrev.com> Message-ID: Here is something I found confusing. In its simplest form my problem is this: I define a button with the script: on mouseUp put "3,4" into a print1 a print2 a end mouseUp on print1 x,y get the paramcount if it is 1 then put item 2 of x into y put item 1 of x into x end if put x & return after field 1 put y & return after field 1 end print1 on print2 x,y print1 x,y end print2 I would have assumed that the two handlers "print1" and its synonym "print2" would be identical since "print1" just calls "print2", but they are not. When "print2" calls "print1", it appears to pass two parameters even though y is empty. The result of "mouseUp" in field 1 is: 3 4 3,4 I would have thought it would be 3 4 3 4 The origin or this problem is that I was trying to students a choice of synonym for an operation, and they could use either. But that will be a problem in handlers which count parameters in this way. I get the feeling there is a subtle difference between "empty" and "missing"??????? Jim Hurley From janschenkel at yahoo.com Fri Dec 27 13:25:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Dec 27 13:25:00 2002 Subject: Paramcount caution In-Reply-To: Message-ID: <20021227181927.90303.qmail@web11904.mail.yahoo.com> --- Jim Hurley wrote: > Here is something I found confusing. > > In its simplest form my problem is this: > > I define a button with the script: > > on mouseUp > put "3,4" into a > print1 a > print2 a > end mouseUp > > on print1 x,y > get the paramcount > if it is 1 then > put item 2 of x into y > put item 1 of x into x > end if > put x & return after field 1 > put y & return after field 1 > end print1 > > on print2 x,y > print1 x,y > end print2 > > > I would have assumed that the two handlers "print1" > and its synonym > "print2" would be identical since "print1" just > calls "print2", but > they are not. When "print2" calls "print1", it > appears to pass two > parameters even though y is empty. > > The result of "mouseUp" in field 1 is: > > 3 > 4 > 3,4 > > I would have thought it would be > > 3 > 4 > 3 > 4 > > The origin or this problem is that I was trying to > students a choice > of synonym for an operation, and they could use > either. But that > will be a problem in handlers which count parameters > in this way. I > get the feeling there is a subtle difference between > "empty" and > "missing"??????? > > Jim Hurley Hi Jim, You mostly answered the question yourself: when you call print2 it has only 1 parameter, which it places into x. Since it can't find a 'y' parameter, it assumes you want to create it and thus passes an empty value as the second parameter to print1. If you change the script of handler print2 to: on print2 x,y if the paramCount is 1 then print1 x else print1 x,y end if end print2 Then you'll get the result you expected. The key thing here is that when the engine sees you want to call print1 with a second parameter that doesn't exist yet, it will make it for you, and empty to boot. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Fri Dec 27 13:29:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Dec 27 13:29:00 2002 Subject: The Whisky Draw In-Reply-To: <4E685043-19B8-11D7-9704-000A27B49A96@os.surf2000.de> Message-ID: <20021227182346.55270.qmail@web11907.mail.yahoo.com> --- Klaus Major wrote: > [snip] > > Anyway, i want to thank you all here on the list and > i promise to drink > to all of you when the bottle will arrive... > > Happy holidays... > > > Best wishes from germany > > Klaus Major Prosit Klaus. A well-deserved special award for an active and helpful member of the list. Jan Schenkel. PS: And thanks for your wonderful 'speech' -- I needed a good laugh :-) ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Fri Dec 27 13:41:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Dec 27 13:41:01 2002 Subject: setting pointer location [OT] In-Reply-To: Message-ID: <20021227183531.5971.qmail@web11903.mail.yahoo.com> --- Rob Cozens wrote: > >I personally think the HIG guideline against moving > the cursor > >should NOT be accepted at face value: if it makes > sense to you in > >your design, do it and see how it turns out. > > Is that the rant you were expecting, Jan? :{`) > -- > > Rob Cozens *lol* Exactly the response I figured my statement was going to provoke ;-) Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From dsc at swcp.com Fri Dec 27 13:58:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 27 13:58:01 2002 Subject: groups and background In-Reply-To: Message-ID: <014A2BB8-19CC-11D7-BBE6-0050E4C0B205@swcp.com> On Friday, December 27, 2002, at 09:57 AM, Rob Cozens wrote: >>> I believe the distinction is "background" can refer to any group in a >>> stack, whereas "group" can refer only to groups on the current card. >> >> Ah. I have been using "background" to mean a group with background >> behavior. Now, now this is twice as confusing. > > If I am correct, "put there is a background/group [groupName/groupId]" > should yield different results depending on whether the group is placed > on the current card. > > I could test this for you, Dar; but it was your question...and > self-discovery is much more meaningful, don't you think? I think this illustrates my point. By using the word "place", I assume you mean groups with background behavior. Are you saying that one would normally make all groups have background behavior. Mine rarely do. It gets worse. I have a stack with two cards. Card one has three groups a, b and c. Group a is nested in group b. Group c has background behavior. Card two has c placed on it. Results from number of: Card 1 Card 2 groups 3 1 backgrounds 2 2 So, "the number of groups" returns something I understand. But, "the number of backgrounds" is not clear. I would have thought it would return 1 in both cases, since there is only one group with background behavior, or return 3 in both cases since there are 3 groups (with or without background behavior) in the stack. Though the number of backgrounds is 2, I can refer to background n, for n=1,2,3 and refer to each of the groups in the stack. Also groupNames of card 1 does not include group a and backgroundNames of the stack has only the group with the background behavior. So, we have three different counts for background. Consider the TD for "place". It says that when you use create card any groups on the current card are automatically placed on the new card. This is not so. Only those groups with background behavior are placed. I'm not sure whether this is a typo or an assumption that, of course, groups have background behavior. To me, the most intuitive meaning of "background" is a group used as a background, that is, a group with background behavior. Even if I drop that notion, we still have an inconsistent use of "background". It means one thing when referring to background behavior or backgroundNames and two other things in number and group reference. This inconsistency is compounded by the inconsistent insertion of the the script of a group with background behavior after the card; a control on the card sees it, but a control in a group on the card (with no background behavior) or the group itself does not. This inconsistency complicates some programming, but the greater cost is in the learning curve. "Let's see, do I want the number of backgrounds or the number of lines of backgroundNames?" Dar Scott From dsc at swcp.com Fri Dec 27 14:18:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 27 14:18:01 2002 Subject: Paramcount caution In-Reply-To: Message-ID: On Friday, December 27, 2002, at 11:06 AM, Jim Hurley wrote: > But that will be a problem in handlers which count parameters in this > way. I get the feeling there is a subtle difference between "empty" and > "missing"??????? The number of parameters is statically defined by the caller and is specified by the number of arguments. It has nothing to do with the nature of the data. In your example, the first call to print 1 has one parameter and the second call has two. The function params() can be easily fooled, but with "do", paramCount() and param(), you should be able to do what you want. (If you want to pass arrays, then you may need to limit the number of args and put variable names in the "do" string instead of param(). Arrays lose their values if a returned value and a parameter in the same expression. I think numbers will be OK.) The subtle difference between empty and missing is the paramCount() in the called handler and in the actual args in the calling line of the calling handler. Dar Scott From dsc at swcp.com Fri Dec 27 14:27:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Dec 27 14:27:01 2002 Subject: Paramcount caution In-Reply-To: <20021227181927.90303.qmail@web11904.mail.yahoo.com> Message-ID: <19B60313-19D0-11D7-BBE6-0050E4C0B205@swcp.com> On Friday, December 27, 2002, at 11:19 AM, Jan Schenkel wrote: > If you change the script of handler print2 to: > > on print2 x,y > if the paramCount is 1 then > print1 x > else > print1 x,y > end if > end print2 > > Then you'll get the result you expected. I should have waited for Jan's response before I started writing. Well, a little redundancy might help. (Jan and I have been struggling with a similar problem, so it would seem likely we would both jump on this.) You can generalize the above to handle a paramCount() of 0 through, say, 7 with a switch statement. This has the advantage in that it does not need the "do" and will pass arrays (I think). The more general case of "any" number of parameters might require building a "do" string with the right number of param() calls, but will not pass arrays (I think). Anybody got a good general solution to Jim Hurley's challenge? Dar Scott From yvescoppe at skynet.be Fri Dec 27 14:35:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Fri Dec 27 14:35:01 2002 Subject: The Whisky Draw In-Reply-To: <20021227182346.55270.qmail@web11907.mail.yahoo.com> References: <20021227182346.55270.qmail@web11907.mail.yahoo.com> Message-ID: Hello, Klaus, it's justified the trophy has been awarded to a great helper on the list. I think you get sloshed before long and therefore I let you to your delight and cheers ! -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From dvk at dvkconsult.com.au Fri Dec 27 15:59:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri Dec 27 15:59:01 2002 Subject: setting pointer location In-Reply-To: <45026DFD-19C2-11D7-BB9C-000393BB44C6@mac.com> Message-ID: <3E76AE48-19DD-11D7-98A2-000393598038@dvkconsult.com.au> On Saturday, Dec 28, 2002, at 04:40 Australia/Sydney, Alan Gayne wrote: > > On Friday, December 27, 2002, at 10:54 AM, Rob Cozens wrote: > >> In HyperCard and Revolution, I control cursor positioning by locking >> all fields initially and unlocking & tabbing to individual fields. >> snip > > I have no idea if this approach is offensive to the "HIG police" but > it really works for me and my end users take to it with great ease. Gentlemen, there is a difference between tabbing to the next appropriate field, when the user's fingers are on the keyboard and wanting to get to the next place, and repositioning the cursor when they otherwise expect it to be under their mouse control. The former action obviously works well while the latter I personally abjure when writing and object to when using. regards David > > Regards to all, > > Alan > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From erikhans08 at yahoo.com Fri Dec 27 16:48:01 2002 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Dec 27 16:48:01 2002 Subject: a script to change the appearance of an image In-Reply-To: <029501c2ad4f$18db92e0$6701a8c0@mckinley.dom> Message-ID: <20021227214256.57061.qmail@web20003.mail.yahoo.com> --- Ken Ray wrote: > Yes; buttons can have different icons show by > state (hilite, disabled, etc.), to store information... > with images you have to do all that manually. meaning by scripting. > You also have other properties like autohilite, > arm, etc. so ease of display is the big difference. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From rcozens at pon.net Fri Dec 27 17:23:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Dec 27 17:23:01 2002 Subject: setting pointer location In-Reply-To: <45026DFD-19C2-11D7-BB9C-000393BB44C6@mac.com> References: <45026DFD-19C2-11D7-BB9C-000393BB44C6@mac.com> Message-ID: >when it comes to "smart" data entry, I don't worry about the cursor >at all. I lock ALL of the fields - and then, depending on the >required situation, I use a predetermined sequence of "ask" and/or >"answer" dialogs to fill the fields in the order I want them filled. Interesting concept, Alan. Something like that had occurred to me; but I never gave it serious intellectual consideration. I would be interested to see it in a real-world implementation. How would you handle data maintenance (as opposed to new data entry), where there are many fields on the screen, but the user may need to change only one or two? I do this by having each field's title icon respond to mouse messages when the operation mode is "Edit" rather than "New." -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Fri Dec 27 17:23:54 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Dec 27 17:23:54 2002 Subject: setting pointer location In-Reply-To: <3E76AE48-19DD-11D7-98A2-000393598038@dvkconsult.com.au> References: <3E76AE48-19DD-11D7-98A2-000393598038@dvkconsult.com.au> Message-ID: >The former action obviously works well while the latter I personally >abjure when writing and object to when using. My question, David, would be, "Is you abjuration theoretical or based on experience where the technique was actually manifested in operational software?" Since you included "and object to using", you must have found some real world software that does this. Are these Mac or Windows apps? And what genre? I don't recall ever seeing a real-world manifestation of the technique. I never explored it, because I couldn't find a way to do it in HyperTalk; but it occurred to me that OenoLog's button-driven interface might benefit operationally if the mouse cursor could be positioned over the next default button via script. I doubt I'll change the OenoLog UI to play with the technique even though I could in Run Rev. If you've seen it in operation and found the technique lacking or distracting, that's the first concrete point against it in my score book...however I would want to know the context in which you found it a poor approach before ruling it out altogether, once & for all. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Fri Dec 27 17:24:07 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Dec 27 17:24:07 2002 Subject: groups and background In-Reply-To: <014A2BB8-19CC-11D7-BBE6-0050E4C0B205@swcp.com> References: <014A2BB8-19CC-11D7-BBE6-0050E4C0B205@swcp.com> Message-ID: >>I could test this for you, Dar; but it was your question...and >>self-discovery is much more meaningful, don't you think? Aw shucks, Dar...It worked for Tom Sawyer. Guess you'll probably pass up the wonderful opportunity for fence painting I was about to offer you too. :{~) Anyway, I opened the Rev version of OenoLog to a card that did not contain the group, "Product Code". From the message box: there is a group "Product Code" -- false there is a background "Product Code" -- true -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Fri Dec 27 17:25:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Dec 27 17:25:01 2002 Subject: setting pointer location [OT] In-Reply-To: <20021227183531.5971.qmail@web11903.mail.yahoo.com> References: <20021227183531.5971.qmail@web11903.mail.yahoo.com> Message-ID: >*lol* Exactly the response I figured my statement was >going to provoke ;-) Oh dear! I'm becoming too predictable an olde foole...but at least consistent in my beliefs. :{`) -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Fri Dec 27 17:27:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Dec 27 17:27:00 2002 Subject: a script to change the appearance of an image In-Reply-To: <20021227214256.57061.qmail@web20003.mail.yahoo.com> References: <20021227214256.57061.qmail@web20003.mail.yahoo.com> Message-ID: >so ease of display is the big difference. Hi erik! Images and buttons also display borders differently: I could not make a bordered image look identical to a bordered button using the same image as its icon. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From jacque at hyperactivesw.com Fri Dec 27 17:33:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Dec 27 17:33:01 2002 Subject: groups and background In-Reply-To: <200212272100.QAA27653@www.runrev.com> References: <200212272100.QAA27653@www.runrev.com> Message-ID: <3E0CD3FB.7050004@hyperactivesw.com> Dar Scott wrote: > To me, the most intuitive meaning of "background" is a group used as a > background, that is, a group with background behavior. Even if I drop > that notion, we still have an inconsistent use of "background". It > means one thing when referring to background behavior or backgroundNames > and two other things in number and group reference. This inconsistency > is compounded by the inconsistent insertion of the the script of a group > with background behavior after the card; a control on the card sees it, > but a control in a group on the card (with no background behavior) or > the group itself does not. Some of the behaviors that seem confusing are due to the backward compatibility with HyperCard stacks. In HyperCard, there can only be a single background at a time, each of which may contain any number of cards. Cards are members of backgrounds, never the other way around. Messages always travel from card to background to stack (then to other stacks in use,) then to HyperCard. It's a straightforward progression. Backgrounds are "behind" the cards. With MC/Rev's introduction of backgrounds as "groups" that can be placed on a card, the concept of a background as always being "behind" a card had to be abandoned. This is tough for HC converts to come to grips with. To a HyperCarder, the concept of backgrounds being ON a card is weird -- though made somewhat easier if you think of them not as "backgrounds" but as "groups". This differentiation is reinforced by Rev's terminology. To maintain the compatibility with HC, backgrounds/groups with backgroundBehavior set to true will function as traditional HC backgrounds. Messages go from card to background to stack. If a card contains a group with its backgroundBehavior set to true, a new card created from that card will inherit that "background" just as it does in HyperCard. In HyperCard "the number of backgrounds" always returns the number of backgrounds in the stack, since backgrounds are members of the stack. Revolution's terminology needs to differentiate between all available groups in the stack, and those which are simply placed on the current card. "The number of backgrounds" will always refer to the number of total groups in the stack. "The number of groups" will refer only to the number of groups that appear (i.e., are "placed") on the current card. In either case, the backgroundBehavior setting of any particular group is irrelevant when determining the number. So: the backgroundBehavior determines only whether the group operates like a traditional HyperCard background or not, which also affects the message hierarchy and whether the group is automatically placed on new cards. The "number of groups" uses the current card as a reference point and returns the number of groups available on that card. The "number of backgrounds" uses the stack as the reference point and refers to the total number of groups in the stack, regardless of whether they are all on the current card or not. Now there's the question of the message hierarchy, which gets snarly. If backgroundBehavior of a group is true, messages behave as though the group is behind the card, and travel from object to card to group(bg) to stack. If backgroundBehavior is false, the group operates as though it is *on* the card rather than behind it, and messages go from object to group to card to stack. It gets more complicated if there are several groups on a card. In that case, once the message goes through the group and reaches the card, it is then sent to all other groups on the card whose backgroundBehavior is true -- as though there were, perhaps, several "layers" of backgrounds behind the card. (At least, I think that's how it works; I'd have to test it, so take this part with a grain of salt.) Groups with backgroundBehavior set to false are still considered on "top" of the card though, and do not receive messages that have been sent from other groups -- they are out of the loop. It can get worse. Suppose you have a button in one stack that sends a message to an object in another stack, which calls a handler in the second stack's stack script. There is a complex line of messaging that has to happen, which sometimes should include the second stack's hierarchy and sometimes doesn't have to. And should handlers farther down the hierarchy in the first stack receive the message after the second stack gets it, or should the message stop after it reaches the second stack? It gets very snarly. SuperCard avoids the whole business by not allowing this kind of dynamic messaging path at all. HyperCard has always allowed it. Revolution lets you pick, by setting the "dynamicPaths" property. It gets real snaky and I'm glad I didn't have to write the code for it. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley at infostations.com Fri Dec 27 17:41:00 2002 From: jhurley at infostations.com (Jim Hurley) Date: Fri Dec 27 17:41:00 2002 Subject: Paramcount caution In-Reply-To: <200212272100.QAA27653@www.runrev.com> References: <200212272100.QAA27653@www.runrev.com> Message-ID: >Jim Hurley wrote: > >> on mouseUp > > put "3,4" into a >> print1 a >> print2 a >> end mouseUp >> >> on print1 x,y >> get the paramcount >> if it is 1 then >> put item 2 of x into y >> put item 1 of x into x >> end if >> put x & return after field 1 >> put y & return after field 1 >> end print1 >> >> on print2 x,y >> print1 x,y > end print2 > Jan Schenkel wrote: > > When you call print2 it has only 1 parameter, which it places >into x. Since it can't find a 'y' parameter, it >assumes you want to create it and thus passes an empty >value as the second parameter to print1. Jan and Dar, Thanks for clearing up this distinction between "empty" and "missing". I'm sure the assumption made in Transcript (i.e. assume that an empty parameter was intended) is the right one in most cases. It is one of the many assumptions that must be made in a language as forgiving as Transcript. I will settle any day for these occasional points of confusion to the alternative of rigid typing rules for variables. In the future I will take the coward's way out and just duplicate in toto those handlers that call synonyms which make use of the paramcount. Don't tell anybody. -- Jim Hurley From alanira9 at mac.com Fri Dec 27 18:27:01 2002 From: alanira9 at mac.com (Alan Gayne) Date: Fri Dec 27 18:27:01 2002 Subject: setting pointer location In-Reply-To: Message-ID: <04189C0C-19F2-11D7-BB9C-000393BB44C6@mac.com> On Friday, December 27, 2002, at 04:32 PM, Rob Cozens wrote: > How would you handle data maintenance (as opposed to new data entry), > where there are many fields on the screen, but the user may need to > change only one or two? I do this by having each field's title icon > respond to mouse messages when the operation mode is "Edit" rather > than "New." > Hi Rob, My approach is fairly similar, but with a few variations. Typically, I will use locked fields with shared text as my "labels". I prefer these to standard label fields, mostly to have better control over their appearance. Typically, these will have a different background color (say light grey) while the data field might be pale yellow (but deeper when "active"). Since the user will generally click on either the field itself or the the label, the handler for the data field would, in its most basic form be: on mouseUp if the sharedText of the target is false then askMeTheQuestion end mouseUp Since most of my data fields are grouped for logical reasons, I usually need only 1 such handler per group. Each label field might have a handler such as: on mouseUp askMyFriend "myfield","name" end mouseUp with the following handler usually in the stack script: on askMyFriend whichFriend,fldRef if fldRef is "name" then send "askMeTheQuestion" to fld whichFriend else send "askMeTheQuestion" to fld id whichFriend end if end askMyFriend To add yet another level of redundancy, I will typically attach a "popup" menu (see my "roving popup" demo stack at the RunRev site in the user contribution section) to the "master" label of each logical grouping which will also allow (if that is MY intent) any or all of the fields in the group to be edited. A "master" label might be something like "CUSTOMER'S ADDRESS", while the individual labels might be "House #", "Street", "PO Box", "City", "State, and "Zip Code" As I've said, these are the basic script forms involved. If desired, I can easily set up as many levels of protections or intent queries (i.e. "do you REALLY want to change this information") as necessary to prevent unauthorized or inadvertent entry, changes or deletions to the data. This approach eliminates virtually all "Oops! I accidentally hit delete" losses of data. I've used this basic technique extensively in Hypercard since 1987 and I've found it to be both simple to implement and extremely protean in it's application for data entry situations. I don't think you'll find it necessary, but if you still need to see a "real world" implementation, contact me off-list and as soon as I get a chance I'll throw a small demo stack together for you to look at. Regards to all, Alan From dvk at dvkconsult.com.au Fri Dec 27 21:24:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri Dec 27 21:24:01 2002 Subject: setting pointer location In-Reply-To: Message-ID: On Saturday, Dec 28, 2002, at 08:57 Australia/Sydney, Rob Cozens wrote: >> The former action obviously works well while the latter I personally >> abjure when writing and object to when using. > > My question, David, would be, "Is you abjuration theoretical or based > on experience where the technique was actually manifested in > operational software?" Since you included "and object to using", you > must have found some real world software that does this. Are these > Mac or Windows apps? And what genre? > > I don't recall ever seeing a real-world manifestation of the > technique. I never explored it, because I couldn't find a way to do > it in HyperTalk; but it occurred to me that OenoLog's button-driven > interface might benefit operationally if the mouse cursor could be > positioned over the next default button via script. > > I doubt I'll change the OenoLog UI to play with the technique even > though I could in Run Rev. If you've seen it in operation and found > the technique lacking or distracting, that's the first concrete point > against it in my score book...however I would want to know the context > in which you found it a poor approach before ruling it out altogether, > once & for all. Rob, practical experience drives my theory in this instance (although often I go in the other direction). I never thought about it until I encountered it and thought "what the hell is my cursor doing there?" with "there" being the wrong place because, being human, I had already started moving the mouse to the right place even before the interface had responded to my last click. The result of my own anticipation was that I was now below and to the right of the required place rather than homing in on it from top-left, having effectively shifted the mouse off the right place the software had so "helpfully" put it - my mouse movement continuing briefly after the dialog had appeared. In interaction terms, if I knew that the software would behave that way, then I would passively click, wait, see if the mouse was in the right place and then click again or move it as required. I normally use software rapidly by active mouse movement, actions ahead or in anticipation. If I _know_ what the software behaviour will be, I can adjust of course but the most common situation is that the software can not anticipate your next action - it presents objects and waits for your selection and action. Therefore, expected behaviour is no mouse relocation by the software, as the user is in control. This is quite different from directed tabbing between fields, as I said earlier. One place I encountered it is certain confirmation dialogs in Windows. This is not a Windows-objection thing (you know I mostly use a Mac) but just strange behaviour - if the idea of a confirmation dialog is to make sure the user really wants to take this more serious action, why turn the action into a minimal click-click without even a button selection (by mouse movement) in between? In an earlier generation of database design I removed prompts like "Delete, OK?" from dBase and Dataflex apps in favour of an undo, because I found that users became so accustomed to hitting Enter-Enter that the confirmation served no practical use on the occasions you actually needed it; yet added a small delay to data entry. Hence the rise of Undo, which allows actions to fail gracefully, as it were. A bit long-winded but I think I got close to a theory there :-) regards David > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.com/who.htm > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dvk at dvkconsult.com.au Fri Dec 27 21:32:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri Dec 27 21:32:01 2002 Subject: setting pointer location In-Reply-To: Message-ID: On Saturday, Dec 28, 2002, at 13:19 Australia/Sydney, David Vaughan wrote: snip > One place I encountered it is certain confirmation dialogs in Windows. > ... if the idea of a confirmation dialog is to make sure the user > really wants to take this more serious action, why turn the action > into a minimal click-click without even a button selection (by mouse > movement) in between? afterthought: if the idea is just a modal dialog message which will be dismissed, why use a button at all, rather than just click in the content area (or on not another app) to dismiss? So, I think even that situation would not justify (to me) the software nicking off with your mouse. cheers > > regards > David >> -- >> >> Rob Cozens >> CCW, Serendipity Software Company >> http://www.oenolog.com/who.htm >> >> "And I, which was two fooles, do so grow three; >> Who are a little wise, the best fooles bee." >> >> from "The Triple Foole" by John Donne (1572-1631) >> _______________________________________________ >> 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 mdswindell at charter.net Sat Dec 28 01:17:01 2002 From: mdswindell at charter.net (Mark Swindell) Date: Sat Dec 28 01:17:01 2002 Subject: Auto-size buttons? In-Reply-To: <04189C0C-19F2-11D7-BB9C-000393BB44C6@mac.com> Message-ID: Is there a way to auto-size buttons so that they grow/shrink to fit their labels with a developer-defined margin? Thanks Mark From kray at sonsothunder.com Sat Dec 28 02:38:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Dec 28 02:38:01 2002 Subject: Auto-size buttons? References: Message-ID: <002e01c2ae42$a3ad3fb0$6601a8c0@mckinley.dom> Mark, I'm doing this in OS X right now with option buttons. Here's my code: on menuPick pChoice put the formattedWidth of me +15 into tW -- 15 is my right "margin" put the rect of me into tRect put (item 1 of tRect) + tW into item 3 of tRect set the rect of me to tRect end menuPick This resizes buttons to the right (i.e. the menu is left-aligned). To make it right-aligned (and resize to the left), simply change the third-to-last line of the code to: put (item 3 of tRect) - tW into item 1 of tRect Have fun! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Mark Swindell" To: Sent: Saturday, December 28, 2002 12:11 AM Subject: Auto-size buttons? > Is there a way to auto-size buttons so that they grow/shrink to fit their > labels with a developer-defined margin? > > Thanks > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mazzapaolo at libero.it Sat Dec 28 03:29:01 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Sat Dec 28 03:29:01 2002 Subject: Rev 2.0 - A new date? In-Reply-To: Message-ID: So, when Rev 2.0 is supposed to be released? From gcanyon at inspiredlogic.com Sat Dec 28 06:25:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Dec 28 06:25:01 2002 Subject: groups and background In-Reply-To: <014A2BB8-19CC-11D7-BBE6-0050E4C0B205@swcp.com> Message-ID: <4BB71BAE-1A56-11D7-8B1E-003065683ECC@inspiredlogic.com> Setting aside issues of message passing for a moment, the issue below is fairly straightforward. First, forget about the backgroundBehavior property. It has nothing to do with the use of the terms "background" and "group" Instead, the distinction is this: "background" and "group" refer to the exact same thing -- a set of controls (possibly other groups as well) that have been grouped -- but in different contexts. "group" refers to it in relation to a card. A group is always referenced in relation to the card it is on. Group 1 of this card is perfectly fine, background 1 of this card is not and will generate an error: Chunk: bad chunk order (must be small to large) "background" refers to it in relation to a stack. A background is always referenced in relation to the stack that contains it. You can reference a group in relation to a stack, but you are really referencing it in relation to the current card of the stack. For example, if the group/background in question isn't on the current card, the reference will fail. This is why you need to use place background "whatever" onto this card rather than place group "whatever" onto this cd Finally, because I haven't been confusing enough, note that backgrounds are referenced relative to the order they are created, groups in their layering order on the card. If you have two group/backgrounds in a stack: "a" and "b" and you created "a" first, then if you create a new card and place "b" onto the card and then place "a" onto the card, the name of background 1 will be group "a" and the name of group 1 will be group "b" Just realized I haven't answered the actual question. The number of backgrounds on both cards is 2 because it's relative to the stack: the number of backgrounds is _always_ the same across all the cards of a stack. It's 2 rather than 3 because groups that are nested in other groups don't count as backgrounds. The number of groups on card 1 is 3 because all three groups are on that card. The number of groups on card 2 is 1 because there is only one group -- c -- placed on it. Hope this helps. On Friday, December 27, 2002, at 10:50 AM, Dar Scott wrote: > I have a stack with two cards. Card one has three groups a, b and c. > Group a is nested in group b. Group c has background behavior. Card > two has c placed on it. > > Results from number of: > > Card 1 Card 2 > groups 3 1 > backgrounds 2 2 > regards, Geoff Canyon gcanyon at inspiredlogic.com From alex at mindlube.com Sat Dec 28 11:50:01 2002 From: alex at mindlube.com (Alex Rice) Date: Sat Dec 28 11:50:01 2002 Subject: RevNet URL? Message-ID: What is the URL for RevNet download? Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From rcozens at pon.net Sat Dec 28 11:54:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Dec 28 11:54:01 2002 Subject: setting pointer location In-Reply-To: <04189C0C-19F2-11D7-BB9C-000393BB44C6@mac.com> References: <04189C0C-19F2-11D7-BB9C-000393BB44C6@mac.com> Message-ID: >I don't think you'll find it necessary, but if you still need to see >a "real world" implementation, contact me off-list and as soon as I >get a chance I'll throw a small demo stack together for you to look >at. Thanks for your offer, Alan. Please put this on your To Do list; but with the lowest possible priority. If it were something I was keen on exploring immediately, I would take the scripts & suggestions you offered and jump right in; but at this time, it's just to satisfy my curiosity. A HyperCard stack is fine if the effect is pretty much the same as in Revolution. TIA, -- Rob From dsc at swcp.com Sat Dec 28 12:06:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 12:06:01 2002 Subject: groups and background In-Reply-To: <3E0CD3FB.7050004@hyperactivesw.com> Message-ID: <8E8C6EC5-1A85-11D7-B774-0050E4C0B205@swcp.com> On Friday, December 27, 2002, at 03:28 PM, J. Landman Gay wrote: > In HyperCard "the number of backgrounds" always returns the number of > backgrounds in the stack, since backgrounds are members of the stack. > Revolution's terminology needs to differentiate between all available > groups in the stack, and those which are simply placed on the current > card. "The number of backgrounds" will always refer to the number of > total groups in the stack. I got numbers that are not consistent with this. (see my mail yesterday) I think "the number of backgrounds" refers to total number of groups directly on or placed on cards of the stack. I suspect that nested groups are not counted. I will have to run more tests to be sure. > It gets more complicated if there are several groups on a card. In that > case, once the message goes through the group and reaches the card, it > is then sent to all other groups on the card whose backgroundBehavior > is true -- as though there were, perhaps, several "layers" of > backgrounds behind the card. (At least, I think that's how it works; > I'd have to test it, so take this part with a grain of salt.) UDI ran the experiment and reported the results this past week; that does not seem to be the case. (See UDI mail with "[7]" on about the 20th.) Only the card and controls placed directly on the card see groups with background behavior set behind (after) the card in their paths. (Uh. UDI's experiments did not show "only", that was my limited experiments.) I see the above confusion as evidence that "background" related concepts are confusing and inconsistent. Thanks for the information on the HyperCard history. I had learned some of that but didn't have the more complete picture. I fully recognize the historical basis for how things are, but this does not remove the pedagogical problems. And the documentation, translation and plain ole programming confusion and added work. Dar Scott From ambassador at fourthworld.com Sat Dec 28 12:08:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 28 12:08:01 2002 Subject: RevNet URL? In-Reply-To: Message-ID: Alex Rice wrote: > What is the URL for RevNet download? Thanks, -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From rcozens at pon.net Sat Dec 28 12:37:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Dec 28 12:37:01 2002 Subject: setting pointer location In-Reply-To: <04189C0C-19F2-11D7-BB9C-000393BB44C6@mac.com> References: <04189C0C-19F2-11D7-BB9C-000393BB44C6@mac.com> Message-ID: >if you still need to see a "real world" implementation, contact me off-list I have already contacted Alan; but had some additional thoughts I hope will interest someone: The example I described for field cursor manipulation predates Macs & X-Talk. OenoLog takes a middle ground: while the field cursor tabs to the open field (leaving the mouse cursor in its original location as David noted), if the field edit type is date, time, or other numeric value, a number key palette is also displayed for mouse-driven data entry. In addition, predefined alphabetic text (eg: grape variety, wine lot, etc.) entry is also mouse-driven...though this can be overridden to add a new entry to the list without abandoning the current operation. If all necessary predefined text is entered at setup, all information needed for activity entry (except optional comments) can be entered from the mouse; so as I test OenoLog.rev I will experiment with the ramifications of forcing all numeric entry through the number key palette during activity processing. (If I do this right, the flow should feel natural even for a touch typist, miscdas. Once it's done you'll be welcome to critique my interface from the typists' point of view and let me know how well or poorly I did.) One area where text entry via dialog might improve my design is in adding or editing a row in a table. In OenoLog a table is a list of text where all lines are equal length & store information in a fixed format. This is displayed in a manner that appears to be columnar; but I don't want people tabbing into the whole table, so to accommodate adding and editing table rows there is an individual field below each column. If I were to use Alan's technique, I could eliminate those individual fields and construct/deconstruct individual rows behind the scene. I guess this is mainly moi thinking out load; but maybe it's worth $.02 to someone. :{`) -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Sat Dec 28 12:39:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Dec 28 12:39:00 2002 Subject: setting pointer location In-Reply-To: References: <04189C0C-19F2-11D7-BB9C-000393BB44C6@mac.com> Message-ID: >Thanks for your offer, Alan. Apologies all: I thought I changed the To: to Alan's address. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From dsc at swcp.com Sat Dec 28 12:42:00 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 12:42:00 2002 Subject: groups and background In-Reply-To: Message-ID: On Friday, December 27, 2002, at 03:04 PM, Rob Cozens wrote: >>> I could test this for you, Dar; but it was your question...and >>> self-discovery is much more meaningful, don't you think? > > Aw shucks, Dar...It worked for Tom Sawyer. Guess you'll probably pass > up the wonderful opportunity for fence painting I was about to offer > you too. :{~) I apologize. I didn't mean to ignore your suggestion. I was aware of the behavior of "there is a group" and "there is a background". I went on to show that "the number of" had the same problems and both were not consistent with "the groups of" and "the backgrounds of". But are people confused by this? I would guess that some people are under the impression that "there is a background" means that there is a group with background behavior set somewhere in the stack by that name. That would not be the case. I would guess that some people are under the impression that "there is a background" means that there is a group somewhere in the stack by that name. But, it doesn't work that way on my system. I would guess that some might think that if 'there is a group "alpha"' is true, then 'there is a background "alpha"' is true. I see counterexamples. I would guess that some might expect "the number of lines in the backgrounds" to be the same as "the number of backgrounds". This is not the case. I would guess that some might think that 'there is a background "alpha"' is the same as '"alpha" is among the lines of the backgrounds'. I would guess otherwise. This is in addition to confusion areas. We have these three (at least): 1) The use of "background" in background behavior vs. "background" in some subset of groups associated with a stack. 2) The inconsistent use of "background" in the subsets of groups associated with a stack. (As described above) 3) The inconsistent path for groups that do not have background behavior set. I don't think we can ignore the question of whether Dar is confused; we have seen evidence that this is often the case and I appreciate the help from experienced script writers. However, I first mentioned the confusion of the word "background" in the context of translating the docs. This was also during a time when people were bringing up the need for texts and examples for classes. When programming language features are clean, simple and rich, the job of the teacher or documentation writer becomes much easier. However, when portions are not that way, then the situation becomes a challenge, not only to those, but also to programmers using the language. Documentation writing becomes a sort of exercise in apologetics; a good model must be built. Words used multiple ways that are not clearly delimited by context need to be qualified. This gets hard if they are not in the language. (Consider "the backgrounds".) Dar Scott From mdswindell at charter.net Sat Dec 28 12:44:00 2002 From: mdswindell at charter.net (Mark Swindell) Date: Sat Dec 28 12:44:00 2002 Subject: Auto-size buttons? In-Reply-To: <002e01c2ae42$a3ad3fb0$6601a8c0@mckinley.dom> Message-ID: Thanks Ken. This list never ceases to amaze me. I really think this would be a nice property to have built into the button properties palette... Mark on 12/27/02 11:27 PM, Ken Ray at kray at sonsothunder.com wrote: > Mark, > > I'm doing this in OS X right now with option buttons. Here's my code: > > on menuPick pChoice > put the formattedWidth of me +15 into tW -- 15 is my right "margin" > put the rect of me into tRect > put (item 1 of tRect) + tW into item 3 of tRect > set the rect of me to tRect > end menuPick > > This resizes buttons to the right (i.e. the menu is left-aligned). To make > it right-aligned (and resize to the left), simply change the third-to-last > line of the code to: > > put (item 3 of tRect) - tW into item 1 of tRect > > Have fun! > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Mark Swindell" > To: > Sent: Saturday, December 28, 2002 12:11 AM > Subject: Auto-size buttons? > > >> Is there a way to auto-size buttons so that they grow/shrink to fit their >> labels with a developer-defined margin? >> >> Thanks >> Mark From rcozens at pon.net Sat Dec 28 13:04:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Dec 28 13:04:01 2002 Subject: setting pointer location In-Reply-To: References: <04189C0C-19F2-11D7-BB9C-000393BB44C6@mac.com> Message-ID: >had some additional thoughts I hope will interest someone: Without having seen what Alan described, I am intrigued by the potential of combining Alan's dialog entry approach with Jan Schenkel's keystroke-intercepting front scripts and Serendipity Library's input validation and formatting handlers to create a generalized data input capture/validate capability. Life after IPC for you and moi, Jan?...if Alan is interested. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From JamesHBeckmann at aol.com Sat Dec 28 13:49:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Sat Dec 28 13:49:01 2002 Subject: Hanging on Wait Message-ID: <1a3.e3731c7.2b3f4adf@aol.com> The following hangs on "wait" and I'm not sure why: set the defaultfolder to thePath put the files into fileList repeat with h = 1 to 4 set the filename of player "player1" to (defaultfolder & "/" & line h of fileList) start player "player1" wait until the movie is "done" end repeat It plays the first movie but then "hangs" ( or waits forever). Suggestions appreciated, thanks. Jim From JamesHBeckmann at aol.com Sat Dec 28 13:53:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Sat Dec 28 13:53:01 2002 Subject: Gif flickering spuerimposed on a Movie Message-ID: I have a transparent animated GIF (an image object) superimposed over a movie player. The GIF image now flickers with each image advance (not evident over the blank card) over the running movie. Any work arounds? Jim From dsc at swcp.com Sat Dec 28 14:01:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 14:01:01 2002 Subject: groups and background In-Reply-To: <4BB71BAE-1A56-11D7-8B1E-003065683ECC@inspiredlogic.com> Message-ID: On Saturday, December 28, 2002, at 04:19 AM, Geoff Canyon wrote: > First, forget about the backgroundBehavior property. It has nothing to > do with the use of the terms "background" and "group" Well, one might assume that "backgrounds" is the plural of "background" and this is not the case in "the backgrounds". Also, you might say "forget", but that does not address the issue of any newbie who reads about setting the backgroundBehavior to true and thinks he is creating a "background". Yeah, I was perhaps adding to the confusion in calling groups with backgroundBehavior set to true backgrounds; I was thinking of "background" as stack group as aberrant. What word would you suggest for "a group or background whose backgroundBehavior is true". Are we to use that long phrase? What word would you suggest for "a group whether referenced as a group or as a background"? > Just realized I haven't answered the actual question. The number of > backgrounds on both cards is 2 because it's relative to the stack: the > number of backgrounds is _always_ the same across all the cards of a > stack. Yes. I noticed that and that is a good thing. > It's 2 rather than 3 because groups that are nested in other groups > don't count as backgrounds. That is what I suspected, but I didn't run the tests, so I didn't mention it above. Now this is just weird. And I claim it is confusing. The only way I can think of to get the real number of backgrounds (in this sense, that is, the total number of groups in a stack including nested groups) is to iterate through them until an error occurs. > The number of groups on card 1 is 3 because all three groups are on > that card. The number of groups on card 2 is 1 because there is only > one group -- c -- placed on it. Right. Thanks for the info on what the number of backgrounds actually counts. I guess that was a question. But the bigger question (the one I had in mind in illustrating that "background" is confusing) is how to think about and how to communicate about these concepts. The related question that perhaps should be asked is whether we should ask for or suggest that this whole area is simplified, cleaned up and made more powerful as well as easier to understand. Dar Scott From kray at sonsothunder.com Sat Dec 28 14:11:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Dec 28 14:11:01 2002 Subject: Hanging on Wait References: <1a3.e3731c7.2b3f4adf@aol.com> Message-ID: <002301c2aea3$76580f20$6601a8c0@mckinley.dom> Jim, Try this: -- script of btn global gFileNum on mouseUp set the defaultFolder to thePath put the files into fileList put 1 into gFileNum PlayMovie end mouseUp -- script of cd global gFileNum on PlayMovie set the filename of player "player1" to ("/" & line gFileNum of fileList) start player "player1" end PlayMovie on playStopped add 1 to gFileNum if gFileNum > 4 then exit to top else PlayMovie end if end playStopped Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: To: Sent: Saturday, December 28, 2002 12:43 PM Subject: Hanging on Wait > The following hangs on "wait" and I'm not sure why: > > set the defaultfolder to thePath > put the files into fileList > repeat with h = 1 to 4 > set the filename of player "player1" to (defaultfolder & "/" & line h of > fileList) > start player "player1" > wait until the movie is "done" > end repeat > > It plays the first movie but then "hangs" ( or waits forever). Suggestions > appreciated, thanks. > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Sat Dec 28 14:12:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Dec 28 14:12:01 2002 Subject: Gif flickering spuerimposed on a Movie References: Message-ID: <002901c2aea3$8c0d9d80$6601a8c0@mckinley.dom> Did you set the alwaysBuffer of the movie and the GIF image to true? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: To: Sent: Saturday, December 28, 2002 12:47 PM Subject: Gif flickering spuerimposed on a Movie > I have a transparent animated GIF (an image object) superimposed over a movie > player. The GIF image now flickers with each image advance (not evident over > the blank card) over the running movie. Any work arounds? > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Sat Dec 28 14:16:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Dec 28 14:16:01 2002 Subject: groups and background References: Message-ID: <002e01c2aea4$2f5abae0$6601a8c0@mckinley.dom> > What word would you suggest for "a group or background whose > backgroundBehavior is true". Are we to use that long phrase? I've always used the term "shared groups". > What word would you suggest for "a group whether referenced as a group > or as a background"? A "group". Keep in mind that the whole concept of "a background" is only there for HyperCard compatibility. The object type is "group", regardless of what its properties are. So you need to think of it as "groups" that are either shared with other cards, or not. This is like the "sharedText" property of a field or the "sharedHilite" of a button; just because it is sharing a property is no reason to call it by some other name than its given object type. Just my $0.02 that has kept me sane over the years... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Sat Dec 28 14:18:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Dec 28 14:18:00 2002 Subject: Fw: Re[7]: groups and background Message-ID: <003b01c2aea4$66c6f660$6601a8c0@mckinley.dom> One more thing... if MC/Rev had called this property "sharedContents" rather than "backgroundBehavior" I think it could have cleared up a lot of the confusion... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Ken Ray" To: Sent: Saturday, December 28, 2002 1:06 PM Subject: Re: Re[7]: groups and background > > What word would you suggest for "a group or background whose > > backgroundBehavior is true". Are we to use that long phrase? > > I've always used the term "shared groups". > > > What word would you suggest for "a group whether referenced as a group > > or as a background"? > > A "group". Keep in mind that the whole concept of "a background" is only > there for HyperCard compatibility. The object type is "group", regardless of > what its properties are. So you need to think of it as "groups" that are > either shared with other cards, or not. This is like the "sharedText" > property of a field or the "sharedHilite" of a button; just because it is > sharing a property is no reason to call it by some other name than its given > object type. > > Just my $0.02 that has kept me sane over the years... > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > From ambassador at fourthworld.com Sat Dec 28 14:22:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 28 14:22:01 2002 Subject: Auto-size buttons? In-Reply-To: Message-ID: Mark Swindell wrote: > I really think this would be a nice property to have built into the button > properties palette... Scott's pretty OCD about such things. The absence of the property is likely (though I'm hoping Scott will step in and clarify) because it seems an "unsanctioned" behavior. All three of the relevant HIGs (Win, Mac 8-9, OS X) use nearly the same language to discuss the sizing of poup-menus (from the Classic HIG at ): The width of the pop-up button's menu should be equal to or larger than the full width of the largest text portion of the button. While they don't specifically recommend against dynamic resizing of popups, the issue's absence from the specs suggests the OS designers are expecting fixed-width controls. I recall earlier versions of SuperCard using dynamically-resizing popups, so I went back to the original Mac HIG (pre-OS 8) to see what it suggests. Again, nada. There was one interesting point made in the original Mac HIG that is relevant: they stress repeatedly in that section (p82 if your library contains such history books) that the most important visual aspect of popup menu is that they appear to be one control whether open or closed. They suggest it's okay to have a popup menu be larger than the control that opens it (seemingly blessing the practice of dynamic resizing), but stress that the best solution is to have the menu be the same size as the control (giving weight to fixed-width). But of course the HIGs are merely "guidelines" and not "laws". Until Apple reinstates its UI research team the community is best served by questioning their design specs (where would OS X -- particularly the Finder -- be if not for the outcry of early seed shops?). Specs substantiated by research should stand, all others should be considered in flux. And while MS has one of the most well-funded UI research efforts in the world (they even have a few copies of the MC-based HyperRESEARCH I develop, which they use for user testing and focus groups), some of their implementations are hampered by copyright law in spite of research findings (e.g., placement of the menu bar vs. Fitts' Law). So we can take this decision back to basics: what compelling benefits for the user are there with dynamically-resized popup vs. fixed-width popups? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Sat Dec 28 14:28:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 28 14:28:01 2002 Subject: Gif flickering spuerimposed on a Movie In-Reply-To: Message-ID: JamesHBeckmann at aol.com wrote: > I have a transparent animated GIF (an image object) superimposed over a movie > player. The GIF image now flickers with each image advance (not evident over > the blank card) over the running movie. Any work arounds? Set the alwaysbuffer property of the movie player to true. Note that alwaysBuffer will also cause the controller to stop responding. QT is an event-loop hog, and the only way to double-buffer it when rendering the card takes too mmuch horsepower out if its event mechanism). If you need QT's movie controller (or at least a more limited version of it) you may be better off writing a .smil document and setting the path of the controller to that. SMIL documents are simple XML files in which you can mix references to graphics, text, movies, and most other QT-supported media in specific regions of the player, and even show and hide them at specific time codes (although sadly QT supports only SMIL 1.0, and does not have the transition effects of the SMIL 2.0 spec). For more on using SMIL in QT see: QuickTime and SMIL QuickTime Pro: About SMIL QuickTime Pro: SMIL Extensions W3C SMIL home page: PS: I started developing a SMIL editor in MC but my market research suggested that for a number of reasons it would not make a viable product, so I finished WebMerge first. The product was to be called "SMILer Grogan" -- the first person who sends me an email with the name of the movie that character name is from will get a free WebMerge license. No Google or IMDB -- that's cheating. :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Sat Dec 28 14:29:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 28 14:29:01 2002 Subject: groups and background In-Reply-To: <003b01c2aea4$66c6f660$6601a8c0@mckinley.dom> Message-ID: Ken Ray wrote: > One more thing... if MC/Rev had called this property "sharedContents" rather > than "backgroundBehavior" I think it could have cleared up a lot of the > confusion... Or even just "shared", and mark the token "background" as depricated and included only for compatibility with less flexible systems. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From DVGlasgow at aol.com Sat Dec 28 14:36:01 2002 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Sat Dec 28 14:36:01 2002 Subject: setting pointer location Message-ID: <2d.28b022a4.2b3f55e2@aol.com> In a message dated 27/12/02 4:22:39 PM, use-revolution-request at lists.runrev.com writes: << ............entry clerks for over 15 years. In HyperCard and Revolution, I control cursor positioning by locking all fields initially and unlocking & tabbing to individual fields. I personally think the HIG guideline against moving the cursor should NOT be accepted at face value: if it makes sense to you in your design, do it and see how it turns out. >> I am delighted that HIG is (are?) a high profile topic on this list. I am absurdly offended by software that flout guidelines based on really sound principles. I know moving the pointer is generally a no no, and I thought twice before doing it. However, I accurately time the latency of assessees rating an image. If they move the pointer between images being displayed, the time taken to return the pointer to the scale would add an abitrary amount to the latency. So, the procedure is. Countdown target appears (like in old movies) image appears at target location cursor appears at scale midpoint rating made (and latency calculated) 'next image' button appears 'next image' button hit image and 'next image' button disappear Countdown target.... etc. etc. Any suggestions for alternative approaches that are less naughty welcome. ...and while I am on, how do you replicate the 'step' parameter in Hypercard repeats? I want to put a return after every third line between lines 3 and 168 of a field. Could it actually be something is easier in HC? Shureley shome mishtake? Happy etc. and a prosperous blah blah to everyone, especially the folks at Runtime. Best wishes, David Glasgow Home/ forensic assessments --> DVGlasgow Courses --> i-Psych From Doug_Ivers at lord.com Sat Dec 28 14:38:00 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Sat Dec 28 14:38:00 2002 Subject: if (this stack is a standalone) then ... Message-ID: Thanks for the tip! slightly cleaner code: function amIAStandalone return exists(background "revLibraries") end amIAStandalone -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2189 bytes Desc: not available URL: From JamesHBeckmann at aol.com Sat Dec 28 14:50:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Sat Dec 28 14:50:01 2002 Subject: Gif flickering superimposed on a Movie Message-ID: >Did you set the alwaysBuffer of the movie and the GIF image to true? > >Ken Ray Bingo! Thanks. Jim From bornstein at designeq.com Sat Dec 28 14:50:16 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Sat Dec 28 14:50:16 2002 Subject: Text color buglet Message-ID: <200212281945.gBSJjAk21532@mailout6-0.nyroc.rr.com> Under Rev 1.1.1 I'm running into a little bug with Text color that I wonder if someone can confirm. Once you select text in a field, you should be able to change its color, via the Text>Color menu. This seems to work fine on the Mac, but when I do it under Windows XP, the color is applied to the entire field rather than just the selected text. BTW, this is while editing within the text box in the properties palette. I *can* set text to specific colors (including the Pen color) if I edit the text directly in the field. But while within the property palette, the color seems to apply to the entire field, not the selected text. Anybody else see this on Windows? (It *does* work properly on the Mac OS9). Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From ambassador at fourthworld.com Sat Dec 28 14:50:34 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 28 14:50:34 2002 Subject: [OT] winmail.dat In-Reply-To: Message-ID: What is the winmail.dat attachment that sometimes accompanies posts made to this list, and can it be turned off on a message-by-message basis to comply with the "listmom"'s request for no attachments? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From rcozens at pon.net Sat Dec 28 14:57:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Dec 28 14:57:01 2002 Subject: if (this stack is a standalone) then ... In-Reply-To: References: Message-ID: >slightly cleaner code: > >function amIAStandalone > return exists(background "revLibraries") >end amIAStandalone Thank you for continuing my education, Doug -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From JamesHBeckmann at aol.com Sat Dec 28 15:02:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Sat Dec 28 15:02:01 2002 Subject: Hanging on Wait Message-ID: <73.2b359fec.2b3f5bd5@aol.com> I don't see where the handler playStopped gets called in the heirarchy of handlers (unless this is an automatic call from the movie completing its play). I also had intended for the movies to play consecutively not with each click of the mouse on the button. I may be misunderstanding. >on playStopped > add 1 to gFileNum > if gFileNum > 4 then > exit to top > else > PlayMovie > end if >end playStopped > Thanks, Jim From scott at tactilemedia.com Sat Dec 28 15:02:54 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Sat Dec 28 15:02:54 2002 Subject: groups and background In-Reply-To: Message-ID: Recently, Dar Scott wrote: > But the bigger question (the one I had in mind in illustrating that > "background" is confusing) is how to think about and how to communicate > about these concepts. As was suggested previously, forget the term "background" and consider the term "group" -- a group is a collection of one or more controls that can reside on a single card or be shared across multiple cards. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From kray at sonsothunder.com Sat Dec 28 15:18:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Dec 28 15:18:00 2002 Subject: Hanging on Wait References: <73.2b359fec.2b3f5bd5@aol.com> Message-ID: <007401c2aeac$da4b4890$6601a8c0@mckinley.dom> > I don't see where the handler playStopped gets called in the heirarchy of > handlers (unless this is an automatic call from the movie completing its > play). I also had intended for the movies to play consecutively not with each > click of the mouse on the button. I may be misunderstanding. playStopped is called automatically when a movie completes playback. The code I provided will play four movies in a row (if you want more or less, you might want to set a global for MaxMovies and then refer to it instead of the constant "4" in the playStopped handler). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From ambassador at fourthworld.com Sat Dec 28 15:20:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 28 15:20:00 2002 Subject: setting pointer location In-Reply-To: <2d.28b022a4.2b3f55e2@aol.com> Message-ID: > I personally think the HIG guideline against moving the cursor should > NOT be accepted at face value: if it makes sense to you in your > design, do it and see how it turns out. It's enough to give one Fitts (sorry to perpetuate one of the most tired puns in the usability word). :) Fitts' Law says that the time to acquire a target with the mouse is a function of the distance to and size of the control, with extra consideration given to the natural "backstop" provided by the monitor boundaries. But none of the readings I could find on Fitts' Law discusses the fourth factor described here: the time it takes the user to discover what happened to their pointer. The aim of moving the pointer away from where the user placed it is to shorten Fitts' first factor (distance), which by itself makes rational sense. But given that this occurs in a context in which all other applications and the OS itself regard the user's placement of the pointer as sacred, the user's expectations may require re-learning how to use (or in this case not use) the pointer. All of the HIGs include "The user is in control" as a core principle, and with such a pervasive convention of leaving the pointer's location to the user it may not be a mistake to consider the pointer as "belonging" to the user. Without a good testing lab and some time on our hands we can't know if this is a benefit or a detriment. Admittedly conservative on such things, before diving into uncharted waters I'd want to at least make sure the areas of known improvement are covered: - Could the size of the controls be made larger? - Does the workflow of the form follow the reading order order of the target audience (left-to-right, top-to-bottom for Western users)? - Can the form be traversed entirely from the keyboard? This latter consideration is a cornerstone of the Win HIG, and given the difficulty of moving from mouse to keyboard and back again may yield the most significant improvement if not already covered. More on Fitts' Law: A Quiz Designed to Give You Fitts KDE User Interface Guidelines: Fitts' Law More at Google: If you find research on the affect of changing pointer location from the user I'd love to read it. Frankly I was surprised I could find nothing on it. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Sat Dec 28 15:23:02 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 28 15:23:02 2002 Subject: Hanging on Wait In-Reply-To: <73.2b359fec.2b3f5bd5@aol.com> Message-ID: JamesHBeckmann at aol.com wrote: > I don't see where the handler playStopped gets called in the heirarchy of > handlers (unless this is an automatic call from the movie completing its > play). Yes, the docs say it's a system message sent to the player when it has finished playing the movie. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From bvlahos at mac.com Sat Dec 28 15:24:03 2002 From: bvlahos at mac.com (Bill Vlahos) Date: Sat Dec 28 15:24:03 2002 Subject: setting pointer location In-Reply-To: <2d.28b022a4.2b3f55e2@aol.com> Message-ID: <953B3EDA-1AA1-11D7-8448-0003936A2C42@mac.com> I don't know if this is a good idea or not but it might be worth considering. Instead of relocating the mouse, simply hide it until it is moved. That way the user doesn't really seem to start from the same location even though they actually are. Each question would present the user with no predetermined location for the mouse as the first time they see it it would be moving. I'm not really thrilled with either this or the idea of relocating the mouse which I've seen in some of Microsoft's dialogs (which drive me nuts). However, in your situation something like this may make sense. Bill Vlahos On Saturday, December 28, 2002, at 11:30 AM, DVGlasgow at aol.com wrote: > I know moving the pointer is generally a no no, and I thought twice > before > doing it. However, I accurately time the latency of assessees rating > an > image. If they move the pointer between images being displayed, the > time > taken to return the pointer to the scale would add an abitrary amount > to the > latency. So, the procedure is. > > Countdown target appears (like in old movies) > image appears at target location > cursor appears at scale midpoint > rating made (and latency calculated) > 'next image' button appears > 'next image' button hit > image and 'next image' button disappear > Countdown target.... > etc. etc. > > Any suggestions for alternative approaches that are less naughty > welcome. From jeanne at runrev.com Sat Dec 28 15:27:02 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 28 15:27:02 2002 Subject: Auto-size buttons? In-Reply-To: References: <04189C0C-19F2-11D7-BB9C-000393BB44C6@mac.com> Message-ID: At 10:11 PM -0800 12/27/02, Mark Swindell wrote: >Is there a way to auto-size buttons so that they grow/shrink to fit their >labels with a developer-defined margin? Try setting their width to their formattedWidth plus the desired margin * 2 (and height/formattedHeight likewise). -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Dec 28 15:27:17 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 28 15:27:17 2002 Subject: Fw: Re[7]: groups and background In-Reply-To: <003b01c2aea4$66c6f660$6601a8c0@mckinley.dom> Message-ID: At 11:07 AM -0800 12/28/02, Ken Ray wrote: >One more thing... if MC/Rev had called this property "sharedContents" rather >than "backgroundBehavior" I think it could have cleared up a lot of the >confusion... But that would imply that groups with backgroundBehavior turned off aren't shared between cards, which isn't the case. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From ambassador at fourthworld.com Sat Dec 28 15:32:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 28 15:32:01 2002 Subject: setting pointer location In-Reply-To: <953B3EDA-1AA1-11D7-8448-0003936A2C42@mac.com> Message-ID: Bill Vlahos wrote: > Instead of relocating the mouse, simply hide it until it is moved. That > way the user doesn't really seem to start from the same location even > though they actually are. Each question would present the user with no > predetermined location for the mouse as the first time they see it it > would be moving. > > I'm not really thrilled with either this or the idea of relocating the > mouse which I've seen in some of Microsoft's dialogs (which drive me > nuts). However, in your situation something like this may make sense. Fortunately that's a user-settable option, usually off by default (Kensington also offers this in the MouseWorks drivers). -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dvk at dvkconsult.com.au Sat Dec 28 15:36:00 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sat Dec 28 15:36:00 2002 Subject: setting pointer location In-Reply-To: Message-ID: <3CA075C1-1AA3-11D7-98A2-000393598038@dvkconsult.com.au> On Sunday, Dec 29, 2002, at 04:30 Australia/Sydney, Rob Cozens wrote: > OenoLog takes a middle ground: while the field cursor tabs to the open > field (leaving the mouse cursor in its original location as David > noted), ...further refining this difference between data entry and general mouse movement, the cursor will hide as soon as the user then starts typing. If the cursor is "lost" to the user then you are probably entitled to make it reappear wherever makes sense when they tab or press enter from the last field, or next move the mouse, as the user's last focus was the entry point. So, you might move it yourself on closeField (the cursor has already vanished) but not on exitField or mouseMove (it was still visible). (I just tried this and the cursor did not move anyway but I am not going to explore that as I don't have a user for it). > > ... This is displayed in a manner that appears to be columnar; but I > don't want people tabbing into the whole table, so to accommodate > adding and editing table rows there is an individual field below each > column. If I were to use Alan's technique, I could eliminate those > individual fields and construct/deconstruct individual rows behind the > scene. I also find this question of how data entry is done interesting. We have the approach of entering directly in fields, doing it in a second set where the original fields are columnar or group-scrolling, and using separate dialogs. For columnar/group scrolling fields I have preferred the separate fields approach, because sync scrolling for data entry jammed at the bottom of the field is a bit messy. It also allows me to use a concept from Dataflex to get rid of "New" and "Edit" modalities previously mentioned. Adjacent to the entry fields are "Clear", "Delete" and "Save" buttons. If the user enters new data in empty fields then (assuming no autofind) pressing save will add a record while delete is not available. If they call up an existing record (autofind or click on the list to put it in the entry fields) then they can delete it or modify and save, in which case it will be an update. After any save, the data is left in the fields (not auto-cleared) but internal status is set to new record so you can enter a new variation of the previous one. Depending on the application it can be better to leave state as found record until they press Clear. Clear obviously sets internal status for a new record as well as clearing data. The advantage is simply that you work on the data, with mode determined after the fact (and a little behind the scenes work) rather pressing a button to select new or edit modes before doing anything. It is a little faster for the user, being more data oriented rather than computer-mode oriented. Based on Alan's comments about using ask/answer data entry, I am now considering using modeless dialogs rather than additional fields on the same card as the data entry point, bringing up the right dialog (field set) for the logical sub-group of fields selected on this card. This will reduce clutter on the card and localise entry and validation. just more thinking out loud in response to yours. cheers David > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.com/who.htm > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Sat Dec 28 15:43:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 28 15:43:01 2002 Subject: groups and background In-Reply-To: Message-ID: Jeanne A. E. DeVoto wrote: > At 11:07 AM -0800 12/28/02, Ken Ray wrote: >> One more thing... if MC/Rev had called this property "sharedContents" rather >> than "backgroundBehavior" I think it could have cleared up a lot of the >> confusion... > > But that would imply that groups with backgroundBehavior turned off aren't > shared between cards, which isn't the case. Good catch. You mean you can place a group across mutiple cards without having the backgroundBehavior set? Cool. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dsc at swcp.com Sat Dec 28 15:54:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 15:54:01 2002 Subject: groups and background In-Reply-To: <002e01c2aea4$2f5abae0$6601a8c0@mckinley.dom> Message-ID: <781F6440-1AA5-11D7-B774-0050E4C0B205@swcp.com> On Saturday, December 28, 2002, at 12:06 PM, Ken Ray wrote: > A "group". Thanks! > Keep in mind that the whole concept of "a background" is only > there for HyperCard compatibility. Well, isn't a shared group useful in its own right. I maintain it in only one place. I would assume it uses less disk and less ram than duplicated groups. I'm all for keeping sanity. Dar Scott From dsc at swcp.com Sat Dec 28 15:58:00 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 15:58:00 2002 Subject: groups and background In-Reply-To: Message-ID: <0447DD32-1AA6-11D7-B774-0050E4C0B205@swcp.com> On Saturday, December 28, 2002, at 01:37 PM, Richard Gaskin wrote: > Jeanne A. E. DeVoto wrote: > >> At 11:07 AM -0800 12/28/02, Ken Ray wrote: >>> One more thing... if MC/Rev had called this property "sharedContents" >>> rather >>> than "backgroundBehavior" I think it could have cleared up a lot of >>> the >>> confusion... >> >> But that would imply that groups with backgroundBehavior turned off >> aren't >> shared between cards, which isn't the case. > > Good catch. You mean you can place a group across mutiple cards without > having the backgroundBehavior set? Cool. Wow! I'm going to try this. This looks interesting. Dar Scott From dsc at swcp.com Sat Dec 28 15:59:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 15:59:01 2002 Subject: groups and background In-Reply-To: Message-ID: <35E6F3D4-1AA6-11D7-B774-0050E4C0B205@swcp.com> On Saturday, December 28, 2002, at 12:24 PM, Richard Gaskin wrote: >> One more thing... if MC/Rev had called this property "sharedContents" >> rather >> than "backgroundBehavior" I think it could have cleared up a lot of the >> confusion... > > Or even just "shared", and mark the token "background" as depricated and > included only for compatibility with less flexible systems. Would "the backgrounds", then be "the sharedGroups"? Dar Scott From jan.bleeker at xs4all.nl Sat Dec 28 16:00:01 2002 From: jan.bleeker at xs4all.nl (Jan Bleeker) Date: Sat Dec 28 16:00:01 2002 Subject: [OT] winmail.dat In-Reply-To: <200212282026.PAA21373@www.runrev.com> References: <200212282026.PAA21373@www.runrev.com> Message-ID: Op 28-12-2002 om 15:26 -0500 meldde use-revolution-request at lists.runrev.com ons het volgende: > > >Message: 8 >Date: Sat, 28 Dec 2002 11:45:13 -0800 >Subject: [OT] winmail.dat >From: Richard Gaskin >To: >Reply-To: use-revolution at lists.runrev.com > > >What is the winmail.dat attachment that sometimes accompanies posts made to >this list, and can it be turned off on a message-by-message basis to comply >with the "listmom"'s request for no attachments? > >-- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge 2.1: Publish any database on any site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > Richard, winmail.dat is inserted automagically when you use Outlook with funny fonts etc. It can be switched off by the sender. -- Groetjes, Jan Bleeker From mdswindell at charter.net Sat Dec 28 16:03:02 2002 From: mdswindell at charter.net (Mark Swindell) Date: Sat Dec 28 16:03:02 2002 Subject: groups and background In-Reply-To: Message-ID: on 12/28/02 12:37 PM, Richard Gaskin at ambassador at fourthworld.com wrote: >> >> But that would imply that groups with backgroundBehavior turned off aren't >> shared between cards, which isn't the case. > > Good catch. You mean you can place a group across mutiple cards without > having the backgroundBehavior set? Cool. I thought backgroundbehavior only referred to a group's being included when a new card was created. Mark http://www.runrev.com/revolution/developers/articles/tipoftheweek/5.html explains: There are two special group features: background behavior (that allows you to make groups act more like backgrounds) and radio behavior. If you group objects to create a group, then make a new card, that group will not appear on the new card. If you go to the properties for a group and check "Background Behavior", that group will then appear on all new cards so long as it was present on the visible card when you made the new card. This is how you make a group act like a HyperCard background. You can even group a single object if you need to make it act this way. If you have made a group and then want to add it to other cards later, the easiest way is to use the Application Overview. If you select your stack in the overview and toggle the wide display, you will see a set of tabs along the top of the right section. Click on the second tab along - Groups. Now you should see a list of all groups present in your stack. If you see components of a particular group instead, click on the sliding button at the bottom. When you select a group, you can use the Place & Remove buttons to adjust which cards you want to show this group. You can also use the Object menu to place & remove groups but this doesn't allow you to place groups on every card at once and will not list groups contained within other groups. From kray at sonsothunder.com Sat Dec 28 16:10:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Dec 28 16:10:01 2002 Subject: Fw: Re[7]: groups and background References: Message-ID: <008501c2aeb4$150a0640$6601a8c0@mckinley.dom> > At 11:07 AM -0800 12/28/02, Ken Ray wrote: > >One more thing... if MC/Rev had called this property "sharedContents" rather > >than "backgroundBehavior" I think it could have cleared up a lot of the > >confusion... > > But that would imply that groups with backgroundBehavior turned off aren't > shared between cards, which isn't the case. Good point. Interestingly enough, in MC, only groups that have the backgroundBehavior property can be "placed" through the interface (in fact, the menu item is "Backgrounds...") - after placement, however, you can turn off the backgroundBehavior property and the contents are still shared between the cards. This is probably why Rev's menu item is "Place Group". Note though that once a group is created, its backgroundBehavior property is FALSE. As soon as you place it on another card via "Place Group", however, Rev automatically sets the backgroundBehavior property of the group to TRUE. The combination of these two methods are probably where Richard and I (and perhaps others) assumed that you *needed to have* the backgroundBehavior property turned on in order to share content. It does seem odd, though, that buttons can share their hilite through a property, fields can share their text through a property, but groups share their contents through being "placed" - no property to set here, it seems. Of course the docs state that the backgroundBehavior property has nothing to do with content sharing, but is specifically to put such a group in the message-passing hierarchy "behind" cards, and to have it automatically placed on new cards as they're created. But I think the confusion is over the content-sharing aspects of a group, and not the message hierarchy issues. Hmm... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From ambassador at fourthworld.com Sat Dec 28 16:12:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 28 16:12:00 2002 Subject: [OT] winmail.dat In-Reply-To: Message-ID: Jan Bleeker wrote: > winmail.dat is inserted automagically when you use Outlook with funny > fonts etc. It can be switched off by the sender. Does MS even read the SMTP spec? (I know, I know, "Microsoft" and "specification" should never be used in the same sentence ). -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dsc at swcp.com Sat Dec 28 16:15:00 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 16:15:00 2002 Subject: groups and background In-Reply-To: <0447DD32-1AA6-11D7-B774-0050E4C0B205@swcp.com> Message-ID: <5B9B5EFA-1AA8-11D7-B774-0050E4C0B205@swcp.com> On Saturday, December 28, 2002, at 01:50 PM, Dar Scott wrote: >> Good catch. You mean you can place a group across mutiple cards >> without >> having the backgroundBehavior set? Cool. > > Wow! I'm going to try this. This looks interesting. I tried this. Sure enough a group was placed. But I could not open the properties for it or anything else. A little later it disappeared. This happened twice. (OS X, Rev 1.1.1) Am I doing something wrong or is there a problem with this method? Dar Scott From jeanne at runrev.com Sat Dec 28 16:20:00 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 28 16:20:00 2002 Subject: Auto-size buttons? In-Reply-To: References: <002e01c2ae42$a3ad3fb0$6601a8c0@mckinley.dom> Message-ID: At 9:37 AM -0800 12/28/02, Mark Swindell wrote: >on 12/27/02 11:27 PM, Ken Ray at kray at sonsothunder.com wrote: >>> Is there a way to auto-size buttons so that they grow/shrink to fit their >>> labels with a developer-defined margin? >> >> on menuPick pChoice >> put the formattedWidth of me +15 into tW -- 15 is my right "margin" > >I really think this would be a nice property to have built into the button >properties palette... It is (although it's not well-labeled in 1.1.1): the double-arrow buttons to the right of the Width and Height boxes set the object's width or height to the formattedWidth or formattedHeight. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Dec 28 16:20:31 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 28 16:20:31 2002 Subject: groups and background In-Reply-To: <781F6440-1AA5-11D7-B774-0050E4C0B205@swcp.com> References: <002e01c2aea4$2f5abae0$6601a8c0@mckinley.dom> Message-ID: At 12:46 PM -0800 12/28/02, Dar Scott wrote: >On Saturday, December 28, 2002, at 12:06 PM, Ken Ray wrote: >> Keep in mind that the whole concept of "a background" is only >> there for HyperCard compatibility. > >Well, isn't a shared group useful in its own right. Sure, but a group's backgroundBehavior doesn't determine whether it's shared. It determines two things: - whether the group is automatically placed on new cards when you start from a card that has the group; - whether the group is in the message path of cards it's placed on Whether a group is shared depends on whether it's on multiple cards, not on its backgroundBehavior setting. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From alanira9 at mac.com Sat Dec 28 16:22:42 2002 From: alanira9 at mac.com (Alan Gayne) Date: Sat Dec 28 16:22:42 2002 Subject: setting pointer location In-Reply-To: <3CA075C1-1AA3-11D7-98A2-000393598038@dvkconsult.com.au> Message-ID: <90255A4F-1AA9-11D7-A17A-000393BB44C6@mac.com> Hi David, Why "modeless" instead of modal dialogs? In my experience I've used the aforementioned "askMeEntry theIDList / askMeTheQuestion" approach to compel the user to respond to certain fields in a certain order, so that the required elements for further data validation and/or processing are more assuredly in place. For me that would seem to make a modal dialog the way to go - so that an "empty" or "cancel" response may trapped for further appropriate action. It is the certain ability to order and if necessary, compel an appropriate user input, that makes this technique so valuable in data critical applications. In the final analysis it is my experience that the vast majority of "data input" users haven't got a clue about the inner workings of an application and as a result can easily forget which fields need to be filled at all, let alone in what order. Far better to lead them by the "hand" (or your choice of anatomical parts) so as to avoid ugly GIGO situations. Regards to all, Alan On Saturday, December 28, 2002, at 03:30 PM, David Vaughan wrote: > Based on Alan's comments about using ask/answer data entry, I am now > considering using modeless dialogs rather than additional fields on > the same card as the data entry point, bringing up the right dialog > (field set) for the logical sub-group of fields selected on this card. > This will reduce clutter on the card and localise entry and > validation. From dsc at swcp.com Sat Dec 28 16:29:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 16:29:01 2002 Subject: Fw: Re[7]: groups and background In-Reply-To: <008501c2aeb4$150a0640$6601a8c0@mckinley.dom> Message-ID: <64804D5C-1AAA-11D7-B774-0050E4C0B205@swcp.com> On Saturday, December 28, 2002, at 01:59 PM, Ken Ray wrote: > This is probably why Rev's menu item is "Place Group". Note though that > once > a group is created, its backgroundBehavior property is FALSE. As soon > as you > place it on another card via "Place Group", however, Rev automatically > sets > the backgroundBehavior property of the group to TRUE. This is the case for placing from the message box, too, not just the menu. > > The combination of these two methods are probably where Richard and I > (and > perhaps others) assumed that you *needed to have* the backgroundBehavior > property turned on in order to share content. I assumed that. I was sure I read it. I first started back in March and came with no preconceptions, but somehow I got the idea. > It does seem odd, though, that buttons can share their hilite through a > property, fields can share their text through a property, but groups > share > their contents through being "placed" - no property to set here, it > seems. Yikes. More assuming. I had assumed all that sharing had something to do with "shared groups" and put off considering what it was until later. > > Of course the docs state that the backgroundBehavior property has > nothing to > do with content sharing, but is specifically to put such a group in the > message-passing hierarchy "behind" cards, and to have it automatically > placed on new cards as they're created. Oh, good. If I could read... > > But I think the confusion is over the content-sharing aspects of a > group, > and not the message hierarchy issues. > At least. Dar Scott From dsc at swcp.com Sat Dec 28 16:45:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 16:45:01 2002 Subject: groups and background In-Reply-To: <5B9B5EFA-1AA8-11D7-B774-0050E4C0B205@swcp.com> Message-ID: <86A4A2B0-1AAC-11D7-B774-0050E4C0B205@swcp.com> On Saturday, December 28, 2002, at 02:07 PM, Dar Scott wrote: > Sure enough a group was placed. But I could not open the properties > for it or anything else. A little later it disappeared. This happened > twice. (OS X, Rev 1.1.1) > > Am I doing something wrong or is there a problem with this method? I found the problem. I was placing a nested group. Both the engine and the IDE have trouble with this. I did place a group and then set the backgroundBehavior to false as Key suggested. It was false on other cards. I edited the script by adding a comment. The edited script showed up on other cards. I moved some controls. They moved everywhere. Cool. It looks shared. Now "the backgroundNames" (which I had earlier in error called "the backgrounds"--sorry) returns a list of groups with backgroundBehavior set to true. It is not the list of shared groups as I speculated. And it is not the list of groups in a stack, nor is it the list of groups directly on cards in the stack. Now, how do I find out if a group is shared or not? Dar Scott From dvk at dvkconsult.com.au Sat Dec 28 16:59:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sat Dec 28 16:59:01 2002 Subject: setting pointer location In-Reply-To: <90255A4F-1AA9-11D7-A17A-000393BB44C6@mac.com> Message-ID: On Sunday, Dec 29, 2002, at 08:16 Australia/Sydney, Alan Gayne wrote: > Hi David, > > Why "modeless" instead of modal dialogs? Alan, because I imagined (I haven't written it yet) that the dialogs could float about, available, and used simply by bringing them to the front. The entry fields they are replacing are modelessly available after all. I will see what works. cheers David > > Regards to all, > Alan > > > On Saturday, December 28, 2002, at 03:30 PM, David Vaughan wrote: > >> Based on Alan's comments about using ask/answer data entry, I am now >> considering using modeless dialogs rather than additional fields on >> the same card as the data entry point, bringing up the right dialog >> (field set) for the logical sub-group of fields selected on this >> card. This will reduce clutter on the card and localise entry and > >> validation. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Sat Dec 28 17:01:04 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Dec 28 17:01:04 2002 Subject: [ANN] RevNet launched In-Reply-To: Message-ID: > > Is there anything I could do in RevNet to help compensate for the issue in > libXMLText? > You could trap linkClicked higher up the hierarchy but it's muck more efficient if I just fix libXMLText which I will today. > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge 2.1: Publish any database on any site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gcanyon at inspiredlogic.com Sat Dec 28 17:13:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Dec 28 17:13:01 2002 Subject: groups and background In-Reply-To: Message-ID: On Saturday, December 28, 2002, at 08:58 AM, Dar Scott wrote: > I got numbers that are not consistent with this. (see my mail > yesterday) I think "the number of backgrounds" refers to total number > of groups directly on or placed on cards of the stack. I suspect that > nested groups are not counted. I will have to run more tests to be > sure. This is exactly correct. I agree that it might be a bit confusing, but I think the rationale is this: a background is a group that can be placed onto a card. A nested group cannot be placed onto a card, except if its owner is placed onto the card (which will include any nested groups). A group that is enclosed in another cannot be used as a background, and therefore is not a background. On Saturday, December 28, 2002, at 09:34 AM, Dar Scott wrote: > I apologize. I didn't mean to ignore your suggestion. I was aware of > the behavior of "there is a group" and "there is a background". I > went on to show that "the number of" had the same problems and both > were not consistent with "the groups of" and "the backgrounds of". I don't think there is a "the groups of" construct. You can get the groupnames of a card, and the backgroundnames of a stack. > But are people confused by this? > > I would guess that some people are under the impression that "there is > a background" means that there is a group with background behavior set > somewhere in the stack by that name. That would not be the case. You're right above. "there is a background" means there is a non-enclosed group of that name somewhere in the stack. > I would guess that some people are under the impression that "there is > a background" means that there is a group somewhere in the stack by > that name. But, it doesn't work that way on my system. "there is a background" _does_ mean there is a group somewhere in the stack by that name. However, the reverse is not true: there can be a group named "bob" in a stack, and 'there is a background "bob"' could still return false. This would be the case if group "bob" were enclosed in (a part of) group "sally" > I would guess that some might think that if 'there is a group "alpha"' > is true, then 'there is a background "alpha"' is true. I see > counterexamples. Same as above. If group "alpha" is part of group "omega" then group "alpha" cannot be a background -- it cannot be "placed onto" a card. > I would guess that some might expect "the number of lines in the > backgrounds" to be the same as "the number of backgrounds". This is > not the case. If you're referring to the backgroundNames or the backgroundIDs, you're right and I agree with you. The backgroundNames and backgroundIDs return a subset of the backgrounds: the ones that have the backgroundBehavior set to true. I agree that's confusing. But you can easily write: function myBackgroundNames() put empty into tReturnList repeat with i = 1 to the number of backgrounds of this stack put the short name of background i & cr after tReturnList end repeat return tReturnList end myBackgroundNames > I would guess that some might think that 'there is a background > "alpha"' is the same as '"alpha" is among the lines of the > backgrounds'. I would guess otherwise. See above. > This is in addition to confusion areas. We have these three (at > least): > > 1) The use of "background" in background behavior vs. "background" in > some subset of groups associated with a stack. I agree that backgroundBehavior can be misleading. But it would be misleading to use a name that didn't include "background" since its function is to make groups/backgrounds work like backgrounds in HyperCard. Maybe change it to HCBackgroundBehavior ;-) > 2) The inconsistent use of "background" in the subsets of groups > associated with a stack. (As described above) > > 3) The inconsistent path for groups that do not have background > behavior set. The inconsistency is the result of attempted HyperCard compatibility. I never set backgroundBehavior to true, so I'm not too familiar with any issues it might cause. Somewhere along the way you asked what others call these things. I always think of them as groups. I only use the term background when I'm placing one onto a card. I think Ken pointed out the syntax supports this as well. If you put the name of a background, you'll get group "whatever" regards, Geoff Canyon gcanyon at inspiredlogic.com From monte at sweattechnologies.com Sat Dec 28 17:30:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Dec 28 17:30:01 2002 Subject: libXMLText & RevNet Message-ID: Hi All I've just uploaded an updated libXMLText due to a compatability issue with RevNet. If you don't use RevNet you may still want to update libXMLText just in case you ever want to put the linkClicked message into a library or back script. Cheers Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From dsc at swcp.com Sat Dec 28 17:34:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 17:34:01 2002 Subject: groups and background In-Reply-To: Message-ID: <70D845A2-1AB3-11D7-B774-0050E4C0B205@swcp.com> On Saturday, December 28, 2002, at 03:07 PM, Geoff Canyon wrote: > This is exactly correct. I agree that it might be a bit confusing, but > I think the rationale is this: a background is a group that can be > placed onto a card. A nested group cannot be placed onto a card, except > if its owner is placed onto the card (which will include any nested > groups). A group that is enclosed in another cannot be used as a > background, and therefore is not a background. I understand that rational. That helps a lot. I don't like the name, but I understand. Dar Scott From gcanyon at inspiredlogic.com Sat Dec 28 17:48:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Dec 28 17:48:01 2002 Subject: groups and background In-Reply-To: <86A4A2B0-1AAC-11D7-B774-0050E4C0B205@swcp.com> Message-ID: On Saturday, December 28, 2002, at 01:37 PM, Dar Scott wrote: > Now, how do I find out if a group is shared or not? > If you mean whether the group _can be_ on multiple cards, it's easy -- all groups can. sub-groups can only be on multiple cards through the fact that the group they are part of is on multiple cards. If you mean whether the group _is_ on multiple cards, you'd have to write a script to figure that out. regards, Geoff Canyon gcanyon at inspiredlogic.com From ambassador at fourthworld.com Sat Dec 28 18:21:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Dec 28 18:21:01 2002 Subject: libXMLText & RevNet In-Reply-To: Message-ID: Monte Goulding wrote: > I've just uploaded an updated libXMLText due to a compatability issue with > RevNet. If you don't use RevNet you may still want to update libXMLText just > in case you ever want to put the linkClicked message into a library or back > script. Thanks for the quick turnaround on that, Monte. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From JamesHBeckmann at aol.com Sat Dec 28 18:22:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Sat Dec 28 18:22:01 2002 Subject: Hangin on Wait Message-ID: <180.139f94d2.2b3f8ab3@aol.com> >playStopped is called automatically when a movie completes playback Yes, I found it. And the code works for me. I am assuming then that since I am using a player object, and not a naked movie call, that "movie" message is not sent but the "playStopped" is sent to the Player object instead. Thanks, Ken and Richard. Jim From dsc at swcp.com Sat Dec 28 18:23:00 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 18:23:00 2002 Subject: groups and background In-Reply-To: Message-ID: <477BFB42-1ABA-11D7-B774-0050E4C0B205@swcp.com> Let's see if I got this right. ***** A group may have its backgroundBehavior property set to true. Such a group introduces interesting paths on any card it is on. This group is also placed on new cards under some conditions. The card/stack property backgroundNames lists all groups with this property set to true for the specified card or stack. Groups may be shared. "The number of backgrounds (of a stack)" is the number of sharable groups in the stack; shared groups are counted only once. (The number of backgrounds of a card is 0.) All groups are sharable except nested groups. The property groupNames is a card property that lists all sharable groups on the card. There is no such property for stacks. "The number of groups" [of a specified card] is the total number of groups on the card including shared and nested. The number of groups of a stack is the total number of groups on the current card. Shared groups are counted just once. The expression "group " refers to a group on the current or specified card. The expression "background refers to any group in the current or specified stack (including nested groups). The layer number (if used) for the background reference refers to the creation order. ***** Is this right? Is this complete? Is the word group or background used in any other way? Dar Scott From DVGlasgow at aol.com Sat Dec 28 18:30:01 2002 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Sat Dec 28 18:30:01 2002 Subject: setting pointer location Message-ID: <184.144c3cab.2b3f8c98@aol.com> In a message dated 28/12/02 2:31:39 AM, use-revolution-request at lists.runrev.com writes: << it in HyperTalk; but it occurred to me that OenoLog's button-driven interface might benefit operationally if the mouse cursor could be positioned over the next default button via script. >> Having just posted a defence of moving the cursor in the context of measuring reaction times, I will now cite an example of when it is *very* irritating. My three button logitech mouseware does move the cursor to default buttons. Mostly OK, but sometimes it does it when an unexpected dialog pops up and I had just decided to click somewhere in the window which previously had the focus. The dialog is dismissed when I didn't even get the chance to read it, let alone decide my response. Grrrr. Best wishes, David Glasgow Home/ forensic assessments --> DVGlasgow Courses --> i-Psych From dsc at swcp.com Sat Dec 28 19:03:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 19:03:01 2002 Subject: place a group that is not on a card Message-ID: I removed a group from all cards it was on. I then tried to place it. It didn't place. I can see it in the place menu and other ways. Dar Scott From PMDA at earthlink.net Sat Dec 28 19:03:25 2002 From: PMDA at earthlink.net (Tariel Gogoberidze) Date: Sat Dec 28 19:03:25 2002 Subject: groups and background Message-ID: <3E0E3A74.8060606@earthlink.net> On Sat, 28 Dec 2002 11:53:40, Dar Scott wrote: >The related question that perhaps should be asked is whether >we should ask for or suggest that this whole area is simplified, >cleaned up and made more powerful as well as easier to > understand. I liked the approach to this problem used in OMO (Oracle Media Objects). They had background - with same behavior and message passing hierarchy as in HyperCard And they had background groups and card groups. No confusion, for me personally, unlike I had and still have in MC/Rev scheme. Best regards Tariel Gogoberidze From alanira9 at mac.com Sat Dec 28 19:14:01 2002 From: alanira9 at mac.com (Alan Gayne) Date: Sat Dec 28 19:14:01 2002 Subject: setting pointer location In-Reply-To: Message-ID: Let me know how it works out. Alan On Saturday, December 28, 2002, at 04:53 PM, David Vaughan wrote: > > On Sunday, Dec 29, 2002, at 08:16 Australia/Sydney, Alan Gayne wrote: > >> Hi David, >> >> Why "modeless" instead of modal dialogs? > > Alan, because I imagined (I haven't written it yet) that the dialogs > could float about, available, and used simply by bringing them to the > front. The entry fields they are replacing are modelessly available > after all. I will see what works. > > cheers > David >> >> Regards to all, >> Alan >> >> >> On Saturday, December 28, 2002, at 03:30 PM, David Vaughan wrote: >> >>> Based on Alan's comments about using ask/answer data entry, I am now >>> considering using modeless dialogs rather than additional fields on >>> the same card as the data entry point, bringing up the right dialog >>> (field set) for the logical sub-group of fields selected on this >>> card. This will reduce clutter on the card and localise entry and > >>> validation. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Sat Dec 28 19:16:00 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 19:16:00 2002 Subject: card not in path of placed group Message-ID: I'm not sure whether this is a bug or more confusion about groups and backgrounds. I placed a group on a card and turned off backgroundBehavior. I don't know whether turning that off has to do with this problem. The original of the group has its card in its path. The placed version does not have its card in its path. (It may be that at rare times it does, but I'm not sure. The arrow keys don't work after I click on this group whether on the original or the new. A reference to the owner of a group removed from all cards, using "owner of me" in its script, causes an error.) Is this normal behavior for a placed group? I would think the card should be in the path. Dar Scott From jacque at hyperactivesw.com Sat Dec 28 20:40:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat Dec 28 20:40:01 2002 Subject: groups and background In-Reply-To: <200212282331.SAA01423@www.runrev.com> References: <200212282331.SAA01423@www.runrev.com> Message-ID: <3E0E511E.5070608@hyperactivesw.com> On Saturday, December 28, 2002, at 01:37 PM, Dar Scott wrote: > > Now, how do I find out if a group is shared or not? Piece of cake: if the number of cds in this bg > 1 then answer "I'm shared." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Sat Dec 28 20:58:00 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Dec 28 20:58:00 2002 Subject: groups and background In-Reply-To: <3E0E511E.5070608@hyperactivesw.com> Message-ID: On Saturday, December 28, 2002, at 06:34 PM, J. Landman Gay wrote: > On Saturday, December 28, 2002, at 01:37 PM, Dar Scott wrote: >> Now, how do I find out if a group is shared or not? > > Piece of cake: > > if the number of cds in this bg > 1 > then answer "I'm shared." Cool! I am impressed. I even get a 0 for backgrounds not on any cards. Dar Scott From mdswindell at charter.net Sat Dec 28 21:33:01 2002 From: mdswindell at charter.net (Mark Swindell) Date: Sat Dec 28 21:33:01 2002 Subject: Underlined characters in button label? In-Reply-To: Message-ID: Is it possible to format button label text so that only a few letters of the label are underlined? It seems to be all or nothing, but I'd like to be able to have a standard button with a label like "black" with just the bl underlined. Thanks, Mark From valetia at mac.com Sat Dec 28 22:54:01 2002 From: valetia at mac.com (valetia at mac.com) Date: Sat Dec 28 22:54:01 2002 Subject: Visual Indicators in Mac and Win? Message-ID: Hi all, How do I do the following via Revolution: 1. Bounce app icon in the Mac OS X dock until a certain user action is performed 2. Flash Mac OS 9 application menu until a certain user action is performed 3. Generate and blink a system tray icon in Win32 until...blah blah Thanks in advance! Valetia From gcanyon at inspiredlogic.com Sun Dec 29 04:23:00 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Dec 29 04:23:00 2002 Subject: place a group that is not on a card In-Reply-To: Message-ID: <631B87F2-1B0E-11D7-9CCB-003065683ECC@inspiredlogic.com> I just tested this in 1.1.1, and it worked. Exactly how are you trying to place the group? If you're scripting using the message box, you need to refer to it using the background keyword. On Saturday, December 28, 2002, at 03:55 PM, Dar Scott wrote: > I removed a group from all cards it was on. I then tried to place it. > It didn't place. I can see it in the place menu and other ways. > > Dar Scott > I hope this helps. Feel free to contact me if you have any further questions. regards, Geoff Canyon Revolution Support -- Geoff Canyon Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From gcanyon at inspiredlogic.com Sun Dec 29 04:48:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Dec 29 04:48:01 2002 Subject: groups and background In-Reply-To: <477BFB42-1ABA-11D7-B774-0050E4C0B205@swcp.com> Message-ID: On Saturday, December 28, 2002, at 03:15 PM, Dar Scott wrote: > A group may have its backgroundBehavior property set to true. Such a > group introduces interesting paths on any card it is on. This group > is also placed on new cards under some conditions. The card/stack > property backgroundNames lists all groups with this property set to > true for the specified card or stack. BackgroundNames is a property of a stack, but not of a card. > Groups may be shared. "The number of backgrounds (of a stack)" is > the number of sharable groups in the stack; shared groups are counted > only once. (The number of backgrounds of a card is 0.) All groups > are sharable except nested groups. The property groupNames is a card > property that lists all sharable groups on the card. There is no such > property for stacks. Everything here is right. I do think "sharable" is unnecessarily confusing the issue for the sake of brevity. _All_ groups are "sharable," in the sense that they can appear on more than one card. Groups contained in other groups appear on whatever cards their parent groups appear on. You call them nested groups. I think of them as "subgroups," although that term has no official standing. By "sharable," you might also be referring to the (more verbose) concept of "able to be placed onto a card," which rules out nested/subgroups. > "The number of groups" [of a specified card] is the total number of > groups on the card including shared and nested. The number of groups > of a stack is the total number of groups on the current card. Shared > groups are counted just once. Correct. > The expression "group " refers to a group on the current or > specified card. The expression "background refers to any > group in the current or specified stack (including nested groups). > The layer number (if used) for the background reference refers to the > creation order. > Correct. regards, Geoff Canyon gcanyon at inspiredlogic.com From rpresender at earthlink.net Sun Dec 29 05:04:01 2002 From: rpresender at earthlink.net (Robert Presender) Date: Sun Dec 29 05:04:01 2002 Subject: OT Message-ID: <2299DB62-1B14-11D7-9509-000393A19046@earthlink.net> A very Happy New Year to all. May your expectations during the New Year be exceeded. Regards ... Bob At 83 and still learning something new every day. (Me) From jhurley at infostations.com Sun Dec 29 09:05:01 2002 From: jhurley at infostations.com (Jim Hurley) Date: Sun Dec 29 09:05:01 2002 Subject: Groups and backgrounds Message-ID: This awesome probing of the deep and wondrous mysteries of groups suggest to me that this accomplished assembly of programmers might consider turning their talents to another group mystery that has plagued mankind for centuries: The mystery of the trinity, the grouping of three Persons in one God. I'm sure you could resolve this much simpler mystery in short order. Jim Hurley From cowhead at mac.com Sun Dec 29 10:59:00 2002 From: cowhead at mac.com (mark mitchell) Date: Sun Dec 29 10:59:00 2002 Subject: setting pointer location In-Reply-To: <200212281919.OAA14501@www.runrev.com> Message-ID: I don't think moving the cursor/pointer works very well, even if you are measuring RTs. The reason is that users will run off the mousepad (or the desk) that way, creating bad data in the process. You have to get your user to move the actual 3D mouse back to a central location. The way I have done this for psycholinguistic experiments is to make the "next image" (next stimulus) button a small red dot in the central (neutral) position on the screen. You can label this dot with an arrow and "press here for next question" or something similar. This way you will get users returning the mouse to the central location both physically and virtually -- and avoid confusing or surprising them. I think your data will be far more robust this way. best of luck, mark mitchell Japan From dsc at swcp.com Sun Dec 29 11:17:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 29 11:17:01 2002 Subject: place a group that is not on a card In-Reply-To: <631B87F2-1B0E-11D7-9CCB-003065683ECC@inspiredlogic.com> Message-ID: On Sunday, December 29, 2002, at 02:17 AM, Geoff Canyon wrote: > I just tested this in 1.1.1, and it worked. Exactly how are you trying > to place the group? If you're scripting using the message box, you need > to refer to it using the background keyword. I used both the menu and the message box using the background keyword. I'll try again this afternoon with a fresh stack. Dar Scott From rcozens at pon.net Sun Dec 29 11:18:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Dec 29 11:18:01 2002 Subject: setting pointer location In-Reply-To: <3CA075C1-1AA3-11D7-98A2-000393598038@dvkconsult.com.au> References: <3CA075C1-1AA3-11D7-98A2-000393598038@dvkconsult.com.au> Message-ID: >Based on Alan's comments about using ask/answer data entry, I am now >considering using modeless dialogs rather than additional fields on >the same card as the data entry point, bringing up the right dialog >(field set) for the logical sub-group of fields selected on this >card. This will reduce clutter on the card and localise entry and >validation. > >just more thinking out loud in response to yours. To Alan's credit, he's got both of us evaluating a new approach. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Sun Dec 29 11:18:21 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Dec 29 11:18:21 2002 Subject: groups and background In-Reply-To: References: Message-ID: >You mean you can place a group across mutiple cards without >having the backgroundBehavior set? One can place any group on any existing card. BackgroundBehavior just determines whether the group is automatically placed on each new card that is added to the stack -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Sun Dec 29 11:18:39 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Dec 29 11:18:39 2002 Subject: [OT] winmail.dat In-Reply-To: References: Message-ID: >Does MS even read the SMTP spec? > >(I know, I know, "Microsoft" and "specification" should never be used in the >same sentence ). "Specifications? We don't have any specifications. We don't need to follow specifications. We don't have to show you any stinking specifications: We're Microsoft...We ARE the industry standard." -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From janschenkel at yahoo.com Sun Dec 29 11:23:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Dec 29 11:23:01 2002 Subject: [OT] winmail.dat In-Reply-To: Message-ID: <20021229161753.31161.qmail@web11906.mail.yahoo.com> --- Rob Cozens wrote: > >Does MS even read the SMTP spec? > > > >(I know, I know, "Microsoft" and "specification" > should never be used in the > >same sentence ). > > "Specifications? We don't have any specifications. > We don't need to > follow specifications. We don't have to show you > any stinking > specifications: We're Microsoft...We ARE the > industry standard." You forgot the part where they go "Of course we can change our minds at random. And then you have a new standard. Until we change our minds again, that is." Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From janschenkel at yahoo.com Sun Dec 29 11:26:02 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Dec 29 11:26:02 2002 Subject: groups and background In-Reply-To: Message-ID: <20021229162029.71102.qmail@web11904.mail.yahoo.com> --- Rob Cozens wrote: > >You mean you can place a group across mutiple cards > without > >having the backgroundBehavior set? > > One can place any group on any existing card. > BackgroundBehavior > just determines whether the group is automatically > placed on each new > card that is added to the stack Close, but not entirely true. It also determines its place in the message path: before or behind the card. If I got that right, that is, because this whole thread is making my head hurt. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From rcozens at pon.net Sun Dec 29 11:53:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Dec 29 11:53:01 2002 Subject: setting pointer location In-Reply-To: References: Message-ID: >>Why "modeless" instead of modal dialogs? Alan, David, et al: My initial thought was to use modal dialogs, as one goal is to prevent the user from visiting other portions of the app until the input process is completed. OTOH, a modeless dialog would allow the user to, for example, copy/paste text/numbers from a word processor/calculator app into the field, no? If I were designing a generalized approach, I would be inclined to make the mode selectable at runtime. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From mdswindell at charter.net Sun Dec 29 12:11:01 2002 From: mdswindell at charter.net (Mark Swindell) Date: Sun Dec 29 12:11:01 2002 Subject: groups and background In-Reply-To: Message-ID: on 12/29/02 7:39 AM, Rob Cozens at rcozens at pon.net wrote: >> You mean you can place a group across mutiple cards without >> having the backgroundBehavior set? > > One can place any group on any existing card. BackgroundBehavior > just determines whether the group is automatically placed on each new > card that is added to the stack Provided the group with backgroundBehavior exists on the card from which a new card is created. If I have a group A on cd 1 which has backgroundBehavior set to true, and a group B on cd 2 with its backgroundBehavior set to true, when I am on cd 1 and create a new card (a new cd 2) it will have group A on it, but not group B. When I go to cd 3 (which was cd 2 and contains group B) and create a new card, cd 4 (the new card) will contain group B, but not group A. Mark From bvlahos at mac.com Sun Dec 29 12:13:00 2002 From: bvlahos at mac.com (Bill Vlahos) Date: Sun Dec 29 12:13:00 2002 Subject: setting pointer location In-Reply-To: <20021226115342.81425.qmail@web11906.mail.yahoo.com> Message-ID: Here is an altogether different approach to solving the original measured response problem. Use a different input method. I don't know if this program is for general distribution or for a specific center. You could either use a touchscreen or trackpad with a template. Trackpads cost less than $100 and it is easy to create an overlay for them with your 4, 5 or 6 responses. All you would have to do is create giant buttons on the screen for the choices and let the hardware handle the response times. There are companies which sell monitors with integrated touchscreens which work fine for both Mac and Windows computers. There are also a number of laptops now on the market which include touchscreens. This is a case where it would be nice if Rev supported Palm or WinCE devices as well. I'm not a big fan of Palms and I really don't like Windows CE at all but I was a big fan of Newtons. Has anyone tried Rev applications with one of the Linux based PDA's? If so, then this might be an easy way to get something out quickly and for very little money. If you are really worried about the measuring the response times, I think these might be better solutions than mucking about with the standard UI expectations. Bill Vlahos From chipp at chipp.com Sun Dec 29 12:28:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Sun Dec 29 12:28:01 2002 Subject: [OT] winmail.dat In-Reply-To: <20021229161753.31161.qmail@web11906.mail.yahoo.com> Message-ID: Jan, Are you talking about Microsoft...or Apple? ;-) http://developer.apple.com/techpubs/macos8/Legacy/legacy.html > You forgot the part where they go "Of course we can > change our minds at random. And then you have a new > standard. Until we change our minds again, that is." > > Jan Schenkel. From janschenkel at yahoo.com Sun Dec 29 12:50:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Dec 29 12:50:01 2002 Subject: [OT] winmail.dat In-Reply-To: Message-ID: <20021229174513.49225.qmail@web11907.mail.yahoo.com> Hehehe, I guess we're all a bit guilty about doing that ; whenever we update our software, there's usually something we change -- hopefully for the better, right? But whereas at Microsoft (and Sun as well, when it comes to Java) the drones seem to run off in different directions constantly with overlapping and competing technologies, Apple to its credit seems to have more of a 'master plan' regarding its technologies. And looking at the particular pieces of technology on that page, we could say in defense that most of these technologies were terminated because of _external_ factors, have been supported for suite a while, and have been replaced -- HyperCard and Newton being the most infamous exceptions. At any rate, whenever you pick a bandwagon to jump on, you take a risk. Just like we all took a risk when we bought a RunRev license. I guess I've just been betrayed once too often by Microsoft so I'm more inclined to pick on them. Jan Schenkel. --- Chipp Walters wrote: > Jan, > > Are you talking about Microsoft...or Apple? ;-) > > http://developer.apple.com/techpubs/macos8/Legacy/legacy.html > > > > You forgot the part where they go "Of course we > can > > change our minds at random. And then you have a > new > > standard. Until we change our minds again, that > is." > > > > Jan Schenkel. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From jacque at hyperactivesw.com Sun Dec 29 12:58:00 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Dec 29 12:58:00 2002 Subject: Groups and backgrounds In-Reply-To: <200212291627.LAA18982@www.runrev.com> References: <200212291627.LAA18982@www.runrev.com> Message-ID: <3E0F3660.2070505@hyperactivesw.com> Jim Hurley wrote: > This awesome probing of the deep and wondrous mysteries of groups > suggest to me that this accomplished assembly of programmers might > consider turning their talents to another group mystery that has > plagued mankind for centuries: > > The mystery of the trinity, the grouping of three Persons in one God. > > I'm sure you could resolve this much simpler mystery in short order. It depends on whether God is placed on the card or not. I suppose one could assume that God's backgroundBehavior is always set to true, which would simplify things somewhat. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rcozens at pon.net Sun Dec 29 13:06:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Dec 29 13:06:01 2002 Subject: Groups and backgrounds In-Reply-To: <3E0F3660.2070505@hyperactivesw.com> References: <200212291627.LAA18982@www.runrev.com> <3E0F3660.2070505@hyperactivesw.com> Message-ID: >I suppose one could assume that God's backgroundBehavior is always >set to true, Jacque, Jim, et al: Does this affect the message hierarchy among the Trinity? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From k_major at os.surf2000.de Sun Dec 29 13:32:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Sun Dec 29 13:32:01 2002 Subject: Groups and backgrounds In-Reply-To: <3E0F3660.2070505@hyperactivesw.com> Message-ID: <2ED62248-1B5B-11D7-AFCA-000A27B49A96@os.surf2000.de> Hi Jaqueline, > Jim Hurley wrote: > >> This awesome probing of the deep and wondrous mysteries of groups >> suggest to me that this accomplished assembly of programmers might >> consider turning their talents to another group mystery that has >> plagued mankind for centuries: >> The mystery of the trinity, the grouping of three Persons in >> one God. >> I'm sure you could resolve this much simpler mystery in short order. > > It depends on whether God is placed on the card or not. I suppose one > could assume that God's backgroundBehavior is always set to true, > which would simplify things somewhat. LOL :-D But how could we dare to CREATE a new card and let HIM automatically be placed on it ? (I wouldn't want that ;-) > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Regards from a lazy sunday afternoon :-) Klaus Major k_major at os.surf2000.de From bvg at mac.com Sun Dec 29 14:08:01 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun Dec 29 14:08:01 2002 Subject: Groups and backgrounds In-Reply-To: <3E0F3660.2070505@hyperactivesw.com> Message-ID: <2D4EF33A-1B60-11D7-8284-003065AD94A4@mac.com> On Sonntag, Dez 29, 2002, at 18:52 Europe/Zurich, J. Landman Gay wrote: > Jim Hurley wrote: > >> This awesome probing of the deep and wondrous mysteries of groups >> suggest to me that this accomplished assembly of programmers might >> consider turning their talents to another group mystery that has >> plagued mankind for centuries: >> The mystery of the trinity, the grouping of three Persons in >> one God. >> I'm sure you could resolve this much simpler mystery in short order. It could be easy: God has multiple personalities. However, as god is perfect and mp is considered a psychic sickness in response to traumatic and or shocking experiences, he can't have that... My guess would be that said it to someone and it came true. It's sooo easy to resolve discussions with the argument of infinite power :) Bj?rnke von Gierke who does not believe in just a single Entity From janschenkel at yahoo.com Sun Dec 29 14:22:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Dec 29 14:22:01 2002 Subject: Groups and backgrounds In-Reply-To: <2D4EF33A-1B60-11D7-8284-003065AD94A4@mac.com> Message-ID: <20021229191704.49612.qmail@web11908.mail.yahoo.com> --- Bj?rnke_von_Gierke wrote: > > On Sonntag, Dez 29, 2002, at 18:52 Europe/Zurich, J. > Landman Gay wrote: > > > Jim Hurley wrote: > > > >> This awesome probing of the deep and wondrous > mysteries of groups > >> suggest to me that this accomplished assembly of > programmers might > >> consider turning their talents to another group > mystery that has > >> plagued mankind for centuries: > >> The mystery of the trinity, the grouping of > three Persons in > >> one God. > >> I'm sure you could resolve this much simpler > mystery in short order. > > It could be easy: God has multiple personalities. > However, as god is perfect and mp is considered a > psychic sickness in > response to traumatic and or shocking experiences, > he can't have that... > Actually, people who have Disassociative Identity Disorder (DID -- which is a more recent and far more appropriate name for MPD) also have certain advantages over the single-personality rest of us (or 'singletons' in their jokes on the matter). And some of them refer to it as 'empowerment' ; at any rate, the word 'sickness' is not appropriate, as it is a most intriguing way for a human mind to cope with something it can't comprehend. Schizophrenia is a disease, DID is not. Just thought I'd clear that up. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From dsc at swcp.com Sun Dec 29 14:34:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 29 14:34:01 2002 Subject: groups and background In-Reply-To: Message-ID: <671FFB67-1B63-11D7-B2B5-0050E4C0B205@swcp.com> On Sunday, December 29, 2002, at 02:43 AM, Geoff Canyon wrote: >> A group may have its backgroundBehavior property set to true. Such a >> group introduces interesting paths on any card it is on. This group >> is also placed on new cards under some conditions. The card/stack >> property backgroundNames lists all groups with this property set to >> true for the specified card or stack. > > BackgroundNames is a property of a stack, but not of a card. But it works on Rev 1.1.1 on OS X. I get different lists for "the backgroundNames of this stack" and "the backgroundNames of this card". > >> Groups may be shared. "The number of backgrounds (of a stack)" is >> the number of sharable groups in the stack; shared groups are counted >> only once. (The number of backgrounds of a card is 0.) All groups >> are sharable except nested groups. The property groupNames is a card >> property that lists all sharable groups on the card. There is no such >> property for stacks. > > Everything here is right. I do think "sharable" is unnecessarily > confusing the issue for the sake of brevity. > > _All_ groups are "sharable," in the sense that they can appear on more > than one card. Groups contained in other groups appear on whatever > cards their parent groups appear on. > You call them nested groups. I think of them as "subgroups," although > that term has no official standing. I think subgroup is a better name. "Nesting" is more a relationship among groups than an attribute of a group. Another name might be "embedded group". I'll run with subgroup. > By "sharable," you might also be referring to the (more verbose) > concept of "able to be placed onto a card," which rules out > nested/subgroups. > Yes. I was going to write placeable, but I kept spelling it "placable" and that didn't look right. In light of your comment on sharable, I'd replace it with placeable. But, dropping the qualifier is not right because that would include the subgroups. (In my stacks, most groups are subgroups.) So I revise this: **** Groups may contain groups. Those contained groups are subgroups. All groups may be shared. A group placed on a card is not a duplicate but is the same group shared by some number of cards. Subgroups may only be shared by the root parent group being placed on a card. Groups that are not subgroups may be placed on cards. The number of backgrounds of a stack is the number of placeable groups in the stack; groups are counted only once. (The number of backgrounds of a card is 0.) The property groupNames is a card property that lists all placeable groups on the card. There is no such property for stacks. A group may be removed from all cards but still exist in the stack. Getting the owner of such a stack creates an error. The cards of a group may be referenced. Expressions such as "card 1 of this background" or "the number of cards in this background" may be used. **** Maybe this is better. From dsc at swcp.com Sun Dec 29 14:42:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 29 14:42:01 2002 Subject: groups and background In-Reply-To: <671FFB67-1B63-11D7-B2B5-0050E4C0B205@swcp.com> Message-ID: <816C09D7-1B64-11D7-B2B5-0050E4C0B205@swcp.com> On Sunday, December 29, 2002, at 12:26 PM, Dar Scott wrote: > A group may be removed from all cards but still exist in the stack. > Getting the owner of such a stack creates an error. Yikes! The owner is the stack. And the stack is next in its path. I had somehow corrupted the stack with some group experiments and was getting errors. Now I don't. That same test showed the group as not placeable. I'll try to recreate this. But, it looks like groups on on cards are placeable and have owners, when things are working right. Dar Scott From dsc at swcp.com Sun Dec 29 14:58:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 29 14:58:01 2002 Subject: What makes arrow keys work? Message-ID: How do arrow keys work? Is this the engine or some script? After I click in a group the arrow keys do not work. Maybe this is related to my arrow-key-in-TD problems. Dar Scott From dsc at swcp.com Sun Dec 29 15:22:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Dec 29 15:22:01 2002 Subject: place a group that is not on a card In-Reply-To: <631B87F2-1B0E-11D7-9CCB-003065683ECC@inspiredlogic.com> Message-ID: <22F93B4A-1B6A-11D7-B2B5-0050E4C0B205@swcp.com> On Sunday, December 29, 2002, at 02:17 AM, Geoff Canyon wrote: > I just tested this in 1.1.1, and it worked. Exactly how are you trying > to place the group? If you're scripting using the message box, you need > to refer to it using the background keyword. > > On Saturday, December 28, 2002, at 03:55 PM, Dar Scott wrote: > >> I removed a group from all cards it was on. I then tried to place >> it. It didn't place. I can see it in the place menu and other ways. I don't know what is happening. I tried it again. The place does not work from the menu. The name is there, but the place does not take. At first it didn't work from the message box, but it does now, so I suspect I had typos. Anyway, I'm not able to repeat that. But the problem from the menu is repeatable. Clues: I have another group that is placeable that is not on the menu and a subgroup that is. (I would guess both are bugs.) Maybe the subgroup is confusing things. Dar Scott From wmb at internettrainer.com Sun Dec 29 17:20:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Dec 29 17:20:01 2002 Subject: [OT] winmail.dat In-Reply-To: Message-ID: On Sonntag, Dezember 29, 2002, at 06:22 Uhr, Chipp Walters wrote: > Are you talking about Microsoft...or Apple? ;-) > http://developer.apple.com/techpubs/macos8/Legacy/legacy.html ?????? regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From wmb at internettrainer.com Sun Dec 29 17:22:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Dec 29 17:22:01 2002 Subject: Groups and backgrounds In-Reply-To: <3E0F3660.2070505@hyperactivesw.com> Message-ID: <52DE96CD-1B7B-11D7-94FD-003065430226@internettrainer.com> On Sonntag, Dezember 29, 2002, at 06:52 Uhr, J. Landman Gay wrote: >> The mystery of the trinity, the grouping of three Persons in one God. >> I'm sure you could resolve this much simpler mystery in short order. > > It depends on whether God is placed on the card or not. I suppose one > could assume that God's backgroundBehavior is always set to true, > which would simplify things somewhat. great answer;) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From janschenkel at yahoo.com Sun Dec 29 17:44:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Dec 29 17:44:00 2002 Subject: What makes arrow keys work? In-Reply-To: Message-ID: <20021229223859.93004.qmail@web11905.mail.yahoo.com> --- Dar Scott wrote: > How do arrow keys work? Is this the engine or some > script? > > After I click in a group the arrow keys do not work. > Maybe this is > related to my arrow-key-in-TD problems. > I'm not sure I'm catching your drift here: are you referring to the ability to jump from card to card by pressing the arrowkeys? Or to the ability to move the selected control off without using the mouse? Or am I completely missing the point? In any case, you mught want to take a look in the Transcript dictionary at the definition of the 'navigationArrows' and 'textArrows' properties. Jan Schenkel. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From debonair at wooow.it Sun Dec 29 18:00:01 2002 From: debonair at wooow.it (Tony Di Berardino) Date: Sun Dec 29 18:00:01 2002 Subject: OCX e/o VCL In-Reply-To: <52DE96CD-1B7B-11D7-94FD-003065430226@internettrainer.com> References: <52DE96CD-1B7B-11D7-94FD-003065430226@internettrainer.com> Message-ID: A colleague asked me if Rev can use OCX and/or VCL. (terms that sincerely I don't understand) Thanks in advance Antonio Di Berardino From rcozens at pon.net Sun Dec 29 18:16:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Dec 29 18:16:01 2002 Subject: setting pointer location Message-ID: An off-the-wall thought: Using dialogs for field input allows those who don't want to (by script) move the pointer over the button to instead move the button under the pointer using intelligent dialog positioning. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From chipp at chipp.com Sun Dec 29 18:35:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Sun Dec 29 18:35:01 2002 Subject: OCX e/o VCL In-Reply-To: Message-ID: OCX and VCL are precursors to ActiveX on the Windows platform. They are small libraries which provide extensibility to other programs. Probably what he was referring to was whether Rev is extensible via custom C DLL's. Yes it is, but one has to write the correct interfaces for it to work. There is an External SDK (Software Development Kit) for writing both DLL's (Dynamic Linked Libraries) on Windows and XCMD's on Mac. best, Chipp > A colleague asked me if Rev can use OCX and/or VCL. > (terms that sincerely I don't understand) > Thanks in advance > Antonio Di Berardino > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From alanira9 at mac.com Sun Dec 29 21:41:01 2002 From: alanira9 at mac.com (Alan Gayne) Date: Sun Dec 29 21:41:01 2002 Subject: setting pointer location In-Reply-To: Message-ID: <67B5BB3A-1B9F-11D7-BF2F-000393BB44C6@mac.com> Just so Rob. I think of it as similar to the "interview" feature in programs such as "Tax Cut", which is a perfect example of what I previously referred to as a "data critical" situation. Alan Gayne On Sunday, December 29, 2002, at 06:10 PM, Rob Cozens wrote: > An off-the-wall thought: > > Using dialogs for field input allows those who don't want to (by > script) move the pointer over the button to instead move the button > under the pointer using intelligent dialog positioning. > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.com/who.htm > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From RGould8 at aol.com Sun Dec 29 22:17:01 2002 From: RGould8 at aol.com (RGould8 at aol.com) Date: Sun Dec 29 22:17:01 2002 Subject: What causes pause when pinging? Message-ID: <95.27ce6d8f.2b411365@aol.com> I've got a revolution app that does a simple do field "runscript" as Applescript and then that field has: shell "ping -c 1 www.apple.com" I then take the result and display it. The question I have is that sometimes this call takes a very long time. (15-20 seconds). Part of the reason I'm doing this ping is to see if the network is active and that the user can reach the outside world. (perhaps there's a better way to do this?) If the user's network isn't up, then I would expect the ping to come back with "unknown server" quite quickly. I'm wondering if the delay is due to the ping-command when launching from Unix, because I notice that sometimes the terminal window freezes for a bit until the ping response comes back. Is there a way to kind of "off-load" this ping process and permit Revolution to churn on other things, or is it stuck because I'm launching this via Applescript? If so, will the new Rev 2.0 solve this problem via the shell command that works on OS X? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bornstein at designeq.com Sun Dec 29 23:03:00 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Sun Dec 29 23:03:00 2002 Subject: Underlined characters in button label? Message-ID: <200212300357.gBU3vqk11898@mailout6-0.nyroc.rr.com> >Is it possible to format button label text so that only a few letters of the >label are underlined? It seems to be all or nothing, but I'd like to be >able to have a standard button with a label like "black" with just the bl >underlined. I don't think it's possible using the textStyle property of a button. You could create an image with the text the way you want it and then set the icon of the button to that image. It's more work but it'd give you what you were after. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From matt.denton at limelight.com.au Sun Dec 29 23:33:01 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Sun Dec 29 23:33:01 2002 Subject: Rounding off things... In-Reply-To: <200212292225.RAA29066@www.runrev.com> Message-ID: Hello Dear List, I'm just trying to Round off my year... so pardon me if I'm w-ong but: put round(-0.1) Shouldn't that return 0 and not -0?? -0 is what? The smallest point ever imaginable beyond 0 in the negative direction? Is this a bug or should I dig out my old school books? I imagine it is just me... (Anyway better race back to cooking up our New Year's feast, I'm being hounded off the Mac). M at tt From alex at mindlube.com Sun Dec 29 23:48:01 2002 From: alex at mindlube.com (Alex Rice) Date: Sun Dec 29 23:48:01 2002 Subject: What causes pause when pinging? In-Reply-To: <95.27ce6d8f.2b411365@aol.com> Message-ID: <1B4B0816-1BB1-11D7-8CA0-000393529642@mindlube.com> On Sunday, December 29, 2002, at 08:11 PM, RGould8 at aol.com wrote: > shell "ping -c 1 www.apple.com" > > > I then take the result and display it.? The question I have is that > sometimes this call takes a very long time. (15-20 seconds).? I don't know what the delay could be. Maybe the DNS lookup for www.apple.com? This actually is not a safe way to discover a "up" network. ping packets can be blocked and often are blocked at border routers. > Part of the reason I'm doing this ping is to see if the network is > active and that the user can reach the outside world.? (perhaps > there's a better way to do this?)? I think you are on the right track. Maybe try hitting an HTTP server with a HEAD request instead, or a GET of a tiny file? Perhaps there is a magical interface on Mac OS that says "good network config" or "bad network config" or something? Other useful Unix commands would be ifconfig and netstat. Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com From troy at rpsystems.net Mon Dec 30 00:14:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Mon Dec 30 00:14:01 2002 Subject: What causes pause when pinging? In-Reply-To: <1B4B0816-1BB1-11D7-8CA0-000393529642@mindlube.com> Message-ID: On Sunday, December 29, 2002, at 11:42 PM, Alex Rice wrote: >> >> I then take the result and display it.? The question I have is that >> sometimes this call takes a very long time. (15-20 seconds).? > > I don't know what the delay could be. Maybe the DNS lookup for > www.apple.com? We use a similar technique sometimes, but have taken to using Google as our "hit site", since I find that they are the most stable and the absolute fastest return in every case (using Ping or any other method to get a network response.) -- Troy RPSystems, LTD www.rpsystems.net From mcompanys at mac.com Mon Dec 30 01:36:01 2002 From: mcompanys at mac.com (Manuel Companys) Date: Mon Dec 30 01:36:01 2002 Subject: Underlined characters in button label? In-Reply-To: <200212300357.gBU3vqk11898@mailout6-0.nyroc.rr.com> Message-ID: <5B00FFE2-1BC0-11D7-99D5-000502073795@mac.com> Le dimanche, 29 d?c 2002, ? 21:57 US/Central, Howard Bornstein a ?crit : >> Is it possible to format button label text so that only a few letters >> of the >> label are underlined? It seems to be all or nothing, but I'd like to >> be >> able to have a standard button with a label like "black" with just >> the bl >> underlined. > > I don't think it's possible using the textStyle property of a button. > You > could create an image with the text the way you want it and then set > the > icon of the button to that image. It's more work but it'd give you what > you were after. If this partial styling of labels is wished in several cases; another option is to create a font with the necessary stylized letters. I did this for the regular text of HyperCard back in the time when no styliwed text was available in the fields. But I never tried with system X. From dvk at dvkconsult.com.au Mon Dec 30 01:53:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Mon Dec 30 01:53:01 2002 Subject: Rounding off things... In-Reply-To: Message-ID: <9CE31936-1BC2-11D7-98A2-000393598038@dvkconsult.com.au> On Monday, Dec 30, 2002, at 15:28 Australia/Sydney, Matt Denton wrote: > Hello Dear List, > > I'm just trying to Round off my year... > > so pardon me if I'm w-ong but: > > put round(-0.1) > > Shouldn't that return 0 and not -0?? > > -0 is what? The smallest point ever imaginable beyond 0 in the negative > direction? > > Is this a bug or should I dig out my old school books? I imagine it > is just > me... Matt It is zero. Try this code: get round(-0.1) put it -- returns -0 put (it < 0) --returns false. Does this still leave you with a problem (or was it only existential)? regards David > > (Anyway better race back to cooking up our New Year's feast, I'm being > hounded off the Mac). > > M at tt > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From livfoss at blueyonder.co.uk Mon Dec 30 05:04:01 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Dec 30 05:04:01 2002 Subject: Switching Menu Bars Message-ID: Looking at the documentation about menus, I don't see (could have missed it) a recommendation/ technique for switching menu bars in a single stack, i.e. replacing one menu bar with another (after some change of state in the app - this can be more convenient than fiddling with individual buttons and items when a lot of stuff changes simultaneously). My only guesses are: 1. That I should change the menuMode property of each button in the old menu and in the new one; or 2. I should do something (what?) with the properties of the two groups representing the two menu bars, so as to effect a swap between them. I'd be grateful for any guidance. Compliments of the season to all - I'm glad this is such an active list! Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Mon Dec 30 05:32:01 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Dec 30 05:32:01 2002 Subject: Another naive menu question Message-ID: This question is about pulldown menus, not popups, etc. In the menu docs (Revo 1.1.1), there's an item called "Creating a stack menu". The implication is/may be that there's a kind of menu which isn't a stack menu - a menu for the whole app, perhaps. AFAIKS, there are only stacks in Revo (no concept of an overarching project as in SuperCard). Given this, what do developers feel is the norm for the place of a menu bar in a stack file? I mean the group which will be the main bar for a conventional-looking application: in a stack of its own, in the mainstack, in a stack which is always open, or what? This is perhaps a style question rather than a technical one, but I'd like to know what people feel is good style in this respect. TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From ambassador at fourthworld.com Mon Dec 30 06:11:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Dec 30 06:11:00 2002 Subject: Another naive menu question In-Reply-To: Message-ID: Graham Samuel wrote: > In the menu docs (Revo 1.1.1), there's an item called "Creating a > stack menu". The implication is/may be that there's a kind of menu > which isn't a stack menu - a menu for the whole app, perhaps. AFAIKS, > there are only stacks in Revo (no concept of an overarching project > as in SuperCard). Given this, what do developers feel is the norm for > the place of a menu bar in a stack file? I mean the group which will > be the main bar for a conventional-looking application: in a stack of > its own, in the mainstack, in a stack which is always open, or what? > This is perhaps a style question rather than a technical one, but I'd > like to know what people feel is good style in this respect. There was a thread on this a while back: Seems most folks use a quasi-MDI approach, with a common set of menus in a detached window. I've used that muyself once, but I prefer to have the menus attached to the window whener practical. The enable/disable routines can indeed be tedous to write, but you do it once and never have to think about it again. As an alternative you could show/hide menus at the top of windows on Windows, and set the menubar property of the stack to the appropriate set for Mac. What sort of app are you making, and how many windows does it have? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From gfisher4 at houston.rr.com Mon Dec 30 06:39:01 2002 From: gfisher4 at houston.rr.com (Glenn E Fisher) Date: Mon Dec 30 06:39:01 2002 Subject: Max image size Message-ID: <24E65B44-1B6B-11D7-941E-0030654DB056@houston.rr.com> Hello all, Is there a max size to import an image (jpg or png) for RR? I have a large 12 MB jpg file that will not display correctly after being imported or just referenced by the filename of an image. It looks like the horizontal hold is not working (:-) old TV set) as all the scan lines are multi-colored garbage. I have tried converting it to png and changing the color bit size, but nothing that I have tried has helped. It displays fine with other graphic applications. I am using a G4 tower with 512MB of RAM on MacOS X v10.1.5 with RR 1.1.1. Thanks for any advice. Happy New Year to all, Glenn Glenn E. Fisher University of Houston - Retired 22402 Diane Dr. Spring, Tx 77373 Fisher at uh.edu http://www.uh.edu/~fisher http://home.houston.rr.com/thegefishers/ From debonair at wooow.it Mon Dec 30 06:39:17 2002 From: debonair at wooow.it (Debonair Software) Date: Mon Dec 30 06:39:17 2002 Subject: OCX and/or VCL Message-ID: A question from a colleague Revolution can use OCX and/or VCL ? Thanks in advance Antonio Di Berardino From janschenkel at yahoo.com Mon Dec 30 06:43:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Dec 30 06:43:01 2002 Subject: Switching Menu Bars In-Reply-To: Message-ID: <20021230113716.33570.qmail@web11901.mail.yahoo.com> --- Graham Samuel wrote: > Looking at the documentation about menus, I don't > see (could have > missed it) a recommendation/ technique for switching > menu bars in a > single stack, i.e. replacing one menu bar with > another (after some > change of state in the app - this can be more > convenient than > fiddling with individual buttons and items when a > lot of stuff > changes simultaneously). My only guesses are: > > 1. That I should change the menuMode property of > each button in the > old menu and in the new one; or > > 2. I should do something (what?) with the properties > of the two > groups representing the two menu bars, so as to > effect a swap between > them. > > I'd be grateful for any guidance. > > Compliments of the season to all - I'm glad this is > such an active list! > > Graham Hi Graham, It is possible to switch between menubars as a whole. Define two menubars "menubar1" and "menubar2" using the menu manager, and then switch: - Under Windows/Unix: hide group "menubar1" show group "menubar2" - Under MacOS: set the menubar of stack "foobar" to "menubar2" 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From bvg at mac.com Mon Dec 30 06:49:00 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon Dec 30 06:49:00 2002 Subject: What causes pause when pinging? In-Reply-To: <95.27ce6d8f.2b411365@aol.com> Message-ID: I always tested the existence of a internet connection with this: on mouseUp set the cursor to watch put URL "http://www.google.com" into field "test" if the result is not empty then put the result into field "test" -- error message else put "connection successful" into field "test" end if end mouseUp note that you could check non blocking with this, but it does not always return an error (don't know why, maybe my fault): on mouseUp open socket "www.google.com:80" with message connected end mouseUp on connected IP close socket IP --don't forget this, I once had a stack with 29 connections open ;) put "connection successful" into field "test" end connected on socketError IP,error --not extremely reliable, sometimes nothing happens put IP && error into field "test" end socketError on socketTimeout IP -- probably lagging connection (wanna retry?) put IP && "error: Timeout" into field "test" end socketTimeout On Montag, Dez 30, 2002, at 04:11 Europe/Zurich, RGould8 at aol.com wrote: > I've got a revolution app that does a simple > > do field "runscript" as Applescript > > and then that field has: > > shell "ping -c 1 www.apple.com" > > > I then take the result and display it.? The question I have is that > sometimes this call takes a very long time. (15-20 seconds).? Part of > the reason I'm doing this ping is to see if the network is active and > that the user can reach the outside world.? (perhaps there's a better > way to do this?)? If the user's network isn't up, then I would expect > the ping to come back with "unknown server" quite quickly.? I'm > wondering if the delay is due to the ping-command when launching from > Unix, because I notice that sometimes the terminal window freezes for > a bit until the ping response comes back.? Is there a way to kind of > "off-load" this ping process and permit Revolution to churn on other > things, or is it stuck because I'm launching this via Applescript?? If > so, will the new Rev 2.0 solve this problem via the shell command that > works on OS X? > From livfoss at blueyonder.co.uk Mon Dec 30 06:50:01 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Dec 30 06:50:01 2002 Subject: Debugging from the start Message-ID: Doubtless this is a naive question, but how can I trace the action of a stack from the moment of opening (I mean starting with its startup or at least its preOpenStack handler). AFAIKS I can only open the Script Debug Window for a given stack after that stack has been opened. Can't find anything in the docs about this. TIA as ever Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Mon Dec 30 06:56:00 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Dec 30 06:56:00 2002 Subject: Yet another menu question Message-ID: Sorry for all these naive questions, but it says in the 1.1 docs: "to create individual menu items that will appear in the menu, set the button's text property to the menu's contents, one menu item per line. You can either set this property in a handler, or fill in the box..." I wanted to use this feature to change the text of individual menu items (for example to create menu item that toggles between "Show..." and "Hide...". Well, if I execute in the message box put line 1 of the text of button "Options" of card 1 of this stack I get the result I expected (a text, say "Show the picture" - without the quotes, of course). But if I try to execute set line 1 of the text of button "Options" of card 1 of this stack to "Blah" I get an error "Object can't set this property". What am I doing wrong? -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From janschenkel at yahoo.com Mon Dec 30 07:15:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Dec 30 07:15:01 2002 Subject: Yet another menu question In-Reply-To: Message-ID: <20021230121002.67955.qmail@web11905.mail.yahoo.com> --- Graham Samuel wrote: > Sorry for all these naive questions, but it says in > the 1.1 docs: > > "to create individual menu items that will appear in > the menu, set > the button's text property to the menu's contents, > one menu item per > line. You can either set this property in a handler, > or fill in the > box..." > > I wanted to use this feature to change the text of > individual menu > items (for example to create menu item that toggles > between "Show..." > and "Hide...". > > Well, if I execute in the message box > > put line 1 of the text of button "Options" of > card 1 of this stack > > I get the result I expected (a text, say "Show the > picture" - without > the quotes, of course). But if I try to execute > > set line 1 of the text of button "Options" of card > 1 of this stack to "Blah" > > I get an error "Object can't set this property". > > What am I doing wrong? > -- Hi Graham, The reason why this doesn't work is that it can't find a property named "line 1 of the text". Try this: put "Blah" into line 1 of the text of button \ "Options" of card 1 of this stack Or a bit clearer and better in case you have to make multiple changes: put the text of button "Options" of card 1 of \ this stack into tMenuText put "Blah" into line 1 of tMenuText set the text of button "Options" of card 1 of \ this stack to tMenuText 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From livfoss at blueyonder.co.uk Mon Dec 30 07:35:00 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Dec 30 07:35:00 2002 Subject: Another naive menu question Message-ID: >On Mon, 30 Dec 2002 03:05:47 -0800 Richard Gaskin > wrote: > >Graham Samuel wrote: > >> In the menu docs (Revo 1.1.1), there's an item called "Creating a >> stack menu". The implication is/may be that there's a kind of menu >> which isn't a stack menu - a menu for the whole app, perhaps. AFAIKS, >> there are only stacks in Revo (no concept of an overarching project >> as in SuperCard). Given this, what do developers feel is the norm for >> the place of a menu bar in a stack file? I mean the group which will >> be the main bar for a conventional-looking application: in a stack of >> its own, in the mainstack, in a stack which is always open, or what? >> This is perhaps a style question rather than a technical one, but I'd >> like to know what people feel is good style in this respect. > >There was a thread on this a while back: > > >Seems most folks use a quasi-MDI approach, with a common set of menus in a >detached window. > >I've used that muyself once, but I prefer to have the menus attached to the >window whener practical. > >The enable/disable routines can indeed be tedous to write, but you do it >once and never have to think about it again. > >As an alternative you could show/hide menus at the top of windows on >Windows, and set the menubar property of the stack to the appropriate set >for Mac. Richard, thanks for the prompt reply and the link. I am now trying to understand all the menu-related implications of being cross-platform (I didn't realise there were so many!), and of the effect on the standalone of my decisions about where I'm putting the menus for what I had thought of as purely internal structural tidiness. >What sort of app are you making, and how many windows does it have? Basically I'm trying to write cross-platform stuff with minimum (but not of course zero) maintenance effort required to keep up with the various platforms. My preferred development platform remains the Mac. My starting point is some SuperCard apps I've already written and published - including, as a training exercise for me, one which was in fact translated from Mac to PC using the then available technology some years ago. This was accomplished for me with enviable expertise and professionalism by Ken Ray. The general field is fairly small educational apps for primary and secondary schools, mostly in the UK. The applications include/will include: elementary physics, simple GIS, analysis of weather data, simple control systems simulation - this last is the growth area. With the average nine-year old being pretty computer-literate these days, the thing is to make the interface familiar so that the user can concentrate on the content. I have no desire at present to challenge any aspect of any HIG. Number of windows varies from 1 (not counting splash and help screens and registration logic) to say six including palettes. Thanks again Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From bvg at mac.com Mon Dec 30 07:57:01 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon Dec 30 07:57:01 2002 Subject: Debugging from the start In-Reply-To: Message-ID: <1E344A46-1BF2-11D7-8284-003065AD94A4@mac.com> On Montag, Dez 30, 2002, at 12:44 Europe/Zurich, Graham Samuel wrote: > Doubtless this is a naive question, but how can I trace the action of > a stack from the moment of opening (I mean starting with its startup > or at least its preOpenStack handler). AFAIKS I can only open the > Script Debug Window for a given stack after that stack has been > opened. Can't find anything in the docs about this. > ... I am not sure if that helps, but you can simulate any message by just typing it into the messagebox, when the right stack is the front most ( Its name shows top right in the messagebox) i.e.: preOpenStack or if you do not want to/cant have the stack front most: send preOpenStack to stack "I am a Stack" nice little trick Jeanne told me on this list some months ago Bj?rnke von Gierke From bvg at mac.com Mon Dec 30 07:57:18 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon Dec 30 07:57:18 2002 Subject: How to get my own IP In-Reply-To: Message-ID: <96904558-1BED-11D7-8284-003065AD94A4@mac.com> I was trying to get my IP for a little chat program I wrote, but with my code I always get the local IP of my subnet (192.168.1.2) To my understanding it is not possible to connect to me if the other Host does only know that IP. So is there a bug, is it because I coded this wrong, or is that IP sufficient? (www.yanku.net is the URL of a friend of mine) Script: on mouseUp open socket "www.yanku.net:80" with message connected end mouseup on connected put the hostAddress of "www.yanku.net:80" into field "myIP" close socket "www.yanku.net:80" end connected thanks in advance Bj?rnke von Gierke From bvg at mac.com Mon Dec 30 07:57:34 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon Dec 30 07:57:34 2002 Subject: Yet another menu question In-Reply-To: Message-ID: <7E756614-1BF1-11D7-8284-003065AD94A4@mac.com> On Montag, Dez 30, 2002, at 12:50 Europe/Zurich, Graham Samuel wrote: > ... > > set line 1 of the text of button "Options" of card 1 of this stack to > "Blah" > > I get an error "Object can't set this property". > > What am I doing wrong? > ... 1. You cannot use the "set" command on text. Use: put "Blah" into line 1 of the text of field "Options" Or shorter: put "Blah" into line 1 of field "Options" 2. A button has no text (or it is irrelevant) use "set the label of..." or "set the name of..." 3. the label and the name of a button always have only one line You surely mixed a lot of things :) hope it helped Bj?rnke von Gierke From kkaufman at snet.net Mon Dec 30 08:15:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Dec 30 08:15:01 2002 Subject: Yet another menu question Message-ID: <09F9FA58-1BF8-11D7-91A9-0003936D1F12@snet.net> Hi Graham, Just in case this hasn't already been mentioned: If you are planning on producing a Mac/Mac OS X version of your applications, be sure to set up you menu(s) initially, even if they don't yet contain any scripts. Also make sure that you check the "Set as Mac menu Bar" in the Menu Manager. It is particularly important to do this before you do any placement of visible objects in your stack(s). This will slightly resize your stack by removing some visible area at the top of the stack window and to have to move everything around later is a pain. HTH, Kurt From k_major at os.surf2000.de Mon Dec 30 08:16:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Mon Dec 30 08:16:01 2002 Subject: Yet another menu question In-Reply-To: <7E756614-1BF1-11D7-8284-003065AD94A4@mac.com> Message-ID: <32795BA0-1BF8-11D7-BF26-000A27B49A96@os.surf2000.de> Hi Bj?rnke, > ... > 3. the label and the name of a button always have only one line Labels of buttons CAN have multi-line names ! You can force a new line in the label (and ONLY there) by adding \n, where a linebreak should appear. This is the\nlabel of me Results in: This is the label of me Very cool feature :-) Regards Klaus Major k_major at os.surf2000.de From rpresender at earthlink.net Mon Dec 30 08:56:00 2002 From: rpresender at earthlink.net (Robert Presender) Date: Mon Dec 30 08:56:00 2002 Subject: Standalone Data folder Message-ID: Hi, Using OS 10.2.3 Is there a way to make the Data folder(and all its components) invisible and only have the app as a result of making a standalone for Mac and Windows? Using the procedure of Tip 1 of RR site. Is there a reason that the Data folder(and components therein) be visible? Thanks for any insight. Regards .. Bob From valetia at mac.com Mon Dec 30 10:10:00 2002 From: valetia at mac.com (valetia at mac.com) Date: Mon Dec 30 10:10:00 2002 Subject: Bounce in dock, flash in menu, blink in tray...!? Message-ID: Hi all, How do I do the following via Revolution: 1. Bounce app icon in the Mac OS X dock until a certain user action is performed 2. Flash Mac OS 9 application menu until a certain user action is performed 3. Generate and blink a system tray icon in Win32 until...blah blah Thanks in advance! Valetia From livfoss at blueyonder.co.uk Mon Dec 30 10:13:00 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Dec 30 10:13:00 2002 Subject: addressing menu items (was: Yet another menu question) Message-ID: At 11:50 +0000 30/12/02, I wrote: >[...] >I wanted to use this feature to change the text of individual menu >items (for example to create menu item that toggles between >"Show..." and "Hide...". > >Well, if I execute in the message box > > put line 1 of the text of button "Options" of card 1 of this stack > >I get the result I expected (a text, say "Show the picture" - >without the quotes, of course). But if I try to execute > > set line 1 of the text of button "Options" of card 1 of this stack to "Blah" > >I get an error "Object can't set this property". > >What am I doing wrong? Still don't know what I did wrong but I found out that this works (for a 2-item menu): set the text of button "Options" of cd 1 of stack "Test" to (gTogA & return & gTogB) It seems that I have to a) refer to the menu as a button - bringing into question when one should use the word 'menu' as an object specifier and when not (and why); b) set the whole text, not a line at a time Am I right, and if so, why? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From kray at sonsothunder.com Mon Dec 30 11:14:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Dec 30 11:14:01 2002 Subject: addressing menu items (was: Yet another menu question) References: Message-ID: <01f401c2b01d$1e5bfb80$6601a8c0@mckinley.dom> Graham, > It seems that I have to > > a) refer to the menu as a button - bringing into question when one > should use the word 'menu' as an object specifier and when not (and > why); This is part of the cross-platform learning experience. ;-) Basically in Rev, menus *are* buttons; you create a group of buttons that have certain menu properties and they work like menus. On the Mac, these are "converted" to being "real" menu items in a "real" menubar, but the menu buttons are still there in their group; it's just that Rev has hidden them to eliminate confusion to the user. This way, when you take the program over to Windows (which doesn't have a fixed menubar), the button group will be shown, and the "in-window" menus can be used. > > b) set the whole text, not a line at a time Actually, you can set it one line at a time, but you need to treat a button's contents like you would a field. You can't say to a field: set line 1 of field 2 to "Fred" you need to say: put "Fred" into line 1 of field 2 Similarly, for a button, you can say: put "Fred" into line 1 of button 1 and it will overwrite what is the first line of the button's contents (i.e. the first menu item). Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From harrison at all-auctions.com Mon Dec 30 11:15:45 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Mon Dec 30 11:15:45 2002 Subject: Standalone Data folder In-Reply-To: Message-ID: on 12/30/2002 8:51 AM, Robert Presender at rpresender at earthlink.net wrote: > Hi, > Using OS 10.2.3 > > Is there a way to make the Data folder(and all its components) > invisible and only have the app as a result of making a standalone for > Mac and Windows? Using the procedure of Tip 1 of RR site. > > Is there a reason that the Data folder(and components therein) be > visible? > > Thanks for any insight. > > Regards .. Bob Bob, I'm not sure as to whether or not it matters if the Data folder is invisible or not. There is an option that you can use when creating a standalone which is to check the box for no substacks which eliminates the data folder. You'll only want to do this if you don't have any substacks of course. To make a file invisible for Mac OS X just put a period in front of the name. You might like to use a utility like "GhostHunter" to be able to find your file again. Or just boot under Mac OS 9.2.2 and look for the file name with the period. In windows there is a way to do it too, but at this moment I don't remember quite how to do it. If you search the archives you'll probably come across it. It is a fairly common question. Good Luck! Rick Harrison From kray at sonsothunder.com Mon Dec 30 11:44:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Dec 30 11:44:01 2002 Subject: Bounce in dock, flash in menu, blink in tray...!? References: Message-ID: <01fc01c2b021$4eb04760$6601a8c0@mckinley.dom> Well, you can use the OS X version of 24U Appearance OSAX (http://www.24usoftware.com/info.php?ID=4) to bounce the icon in the dock via AppleScript and to use the OS 9 version (http://www.24usoftware.com/info.php?ID=2) to cause the Notification Manager to display a notification message in OS 9 (or use the freeware OSAX called Notify, found on Info-Mac); I'm not sure about blinking the system tray icon in Win32 though... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: To: Sent: Monday, December 30, 2002 9:04 AM Subject: Bounce in dock, flash in menu, blink in tray...!? > Hi all, > > How do I do the following via Revolution: > > 1. Bounce app icon in the Mac OS X dock until a certain user action is > performed > > 2. Flash Mac OS 9 application menu until a certain user action is performed > > 3. Generate and blink a system tray icon in Win32 until...blah blah > > Thanks in advance! > > Valetia > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bornstein at designeq.com Mon Dec 30 12:03:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Dec 30 12:03:01 2002 Subject: Yet another menu question Message-ID: <200212301658.gBUGw7F13040@mailout5-0.nyroc.rr.com> >Labels of buttons CAN have multi-line names ! >You can force a new line in the label (and ONLY there) by adding >\n, where a linebreak should appear. > >This is the\nlabel of me > >Results in: > >This is the >label of me > > >Very cool feature :-) Klaus, Are you sure about this? When I set the label of a button in Rev to "the\nlabel" it appears in the button as "the\nlabel". The "n" isn't escaped by the \ and everything remains on one line. ??? Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From k_major at os.surf2000.de Mon Dec 30 12:20:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Mon Dec 30 12:20:01 2002 Subject: Yet another menu question In-Reply-To: <200212301658.gBUGw7F13040@mailout5-0.nyroc.rr.com> Message-ID: <2F76FF77-1C1A-11D7-A30C-000A27B49A96@os.surf2000.de> Hi Howard, >> Labels of buttons CAN have multi-line names ! >> You can force a new line in the label (and ONLY there) by adding >> \n, where a linebreak should appear. >> This is the\nlabel of me >> Results in: >> This is the >> label of me >> >> Very cool feature :-) > > Klaus, > > Are you sure about this? > > When I set the label of a button in Rev to "the\nlabel" it appears in > the > button as "the\nlabel". The "n" isn't escaped by the \ and everything > remains on one line. Oooops, you are right... I works in MetaCard, RR uses the same engine so i will have to pass the question over to scotland... Why does that not work in RR (1.1.1 and 2.0xx) ??? Please make it work there, too... > ??? > > Howard Bornstein Regards Klaus Major k_major at os.surf2000.de From ambassador at fourthworld.com Mon Dec 30 12:23:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Dec 30 12:23:01 2002 Subject: Yet another menu question In-Reply-To: Message-ID: Graham Samuel wrote: > Well, if I execute in the message box > > put line 1 of the text of button "Options" of card 1 of this stack > > I get the result I expected (a text, say "Show the picture" - without > the quotes, of course). But if I try to execute > > set line 1 of the text of button "Options" of card 1 of this stack to "Blah" > > I get an error "Object can't set this property". > > What am I doing wrong? Try this: get the text of btn tMyMenu put "Blah" into line 1 of it put it into btn tMyMenu -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From livfoss at blueyonder.co.uk Mon Dec 30 12:27:01 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Dec 30 12:27:01 2002 Subject: Menus, buttons and how to refer to them Message-ID: Thanks to all who have replied so far to my menu queries. I'm learning a lot (one thing is that a hidden menubar is an inactive menubar - common sense, I suppose, but I never thought of it). I may well be confused (I am!) but it's not entirely because I came from SuperCard - I think there is some slightly unexpected syntax in the way one refers to objects in Transcript. For example, Jan Schenkel said: >The reason why set line 1 of the text of button "Options" of card 1 of this stack to "Blah" > doesn't work is that it can't find >a property named "line 1 of the text". >Try this: > put "Blah" into line 1 of the text of button \ > "Options" of card 1 of this stack So what that says is that you can't have a qualifier of a property, because 'the text of button.." IS a property, despite Bj?rnke von Gierke saying that you can't use the 'set' command on text. You can, as Jan confirms later in his mail. Ken Ray also points out that you can use 'put' as with a field. The issues here appear to be a) that qualifiers are forbidden when referring to properties - which is easy to remember once you know it. b) button contents are properties and also containers like fields, which is subtle and not that easy to pick up from the documentation. Now, I know that menus are buttons in Revo and I'm quite happy about that, but I am a bit confused about when we use the term 'menu' and when we use the term 'button'. For example, in the 1.1 Transcript Dictionary, there's an example under 'MenuItem': enable menuItem 2 of menu "Option Menu" I wondered - would this work the same if we wrote: enable menuItem 2 of button "Option Menu" The answer where I am is that the version from the Dictionary doesn't work (it gives an error "Chunk: no such object"), but the second one works OK. Where does that leave the term 'menu' as an object descriptor? Still trying to learn from the patient and knowledgeable folks on this list. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From soapdog at mac.com Mon Dec 30 12:40:01 2002 From: soapdog at mac.com (Andre Garzia) Date: Mon Dec 30 12:40:01 2002 Subject: OCX and/or VCL In-Reply-To: Message-ID: On Sunday, December 29, 2002, at 08:01 PM, Debonair Software wrote: > A question from a colleague > Revolution can use OCX and/or VCL ? > Thanks in advance > Antonio Di Berardino Revolution has it's own schemes of foreign function interfaces via their external SDK, this means that if your friend is building an OCX/VCL he/she can use the code and port it to the external SDK, but if your friend is collecting OCX/VCL components from third-party then he/she will not be able to use it... i do think only borland tools (delphi, c++ builder) use VCL and OCX is restricted to windows machines. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Andre Alves Garzia ? 2002 ? BRAZIL mailto://soapdog at mac.com Andre Garzia ? 2002 imac2 ibook p100 e uma torradeira.... From snharper at cs.uchicago.edu Mon Dec 30 13:43:01 2002 From: snharper at cs.uchicago.edu (sean nicholas harper) Date: Mon Dec 30 13:43:01 2002 Subject: invisible buttons - non-clickable?????? In-Reply-To: Message-ID: Ok, I make a button visible and it works fine. If it is invisible, however, it does not work. Is that really the intended functionality? That seems really stupid. How can I make an invisible button that works? Thanks Sean From DVGlasgow at aol.com Mon Dec 30 13:45:01 2002 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Mon Dec 30 13:45:01 2002 Subject: Groups and backgrounds (and psychopathology!) Message-ID: <6e.283dd699.2b41ecc6@aol.com> In a message dated 29/12/02 10:21:53 PM, use-revolution-request at lists.runrev.com writes: << Schizophrenia is a disease, DID is not. Just thought I'd clear that up. Jan Schenkel. >> I'm sorry to go off thread, but I wouldn't like the above to be assumed to be universally accepted. Prof Bentall in his excellent book "Reconstructing Schizophrenia" describes it as a disorder with no specific cause, no specific symptoms, no specific treatment, and no specific outcome. If you stretch the concept of 'disease' to encompass schizophrenia, it would arguably contain most psychopathology, including DID. To camoflage the offthreadedness of the above......... I had a nice moment today when I accidently ungrouped and generally messed up objects I had carefully grouped (and put a fairly sizeable script in the group). I only noticed far too late to undo. I morosely selected them all and grouped them. I noticed that the group automatically assumed the name of the previous group. This raised a smile. Then I found that the resurrected group contained the original script. This caused a cackle of delight. How does that happen? Does a group survive its objects being ungrouped if it is only placed on one card?? Best wishes, David Glasgow Home/ forensic assessments --> DVGlasgow Courses --> i-Psych From scott at tactilemedia.com Mon Dec 30 14:04:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Dec 30 14:04:01 2002 Subject: invisible buttons - non-clickable?????? In-Reply-To: Message-ID: Recently, sean nicholas harper wrote: > Ok, I make a button visible and it works fine. If it is invisible, > however, it does not work. Is that really the intended functionality? That > seems really stupid. How can I make an invisible button that works? Making something invisible is not "stupid", it allows you to easily hide/disable any control at will. What you want to create is a transparent button which you can do by disabling the default display properties of the button: showName, showBorder, threeD, and showHilite. You can also use graphics as transparent buttons by setting the filled to true and the ink effect to "noop". Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From k_major at os.surf2000.de Mon Dec 30 14:07:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Mon Dec 30 14:07:01 2002 Subject: invisible buttons - non-clickable?????? In-Reply-To: Message-ID: <28F55F42-1C29-11D7-A30C-000A27B49A96@os.surf2000.de> Hi Nicholas, > Ok, I make a button visible and it works fine. If it is invisible, > however, it does not work. Is that really the intended functionality? Yes :-) How do you exspect your customers to click, when not knowing where to click ? > That seems really stupid. I don't think so ;-) (G. Bush's speeches are really stupid !) > How can I make an invisible button that works? Make a button and set its ink (color palette) to "noop". This way it is not visible but will accept clicks etc... > Thanks > Sean Regards Klaus Major k_major at os.surf2000.de From snharper at cs.uchicago.edu Mon Dec 30 14:08:00 2002 From: snharper at cs.uchicago.edu (sean nicholas harper) Date: Mon Dec 30 14:08:00 2002 Subject: invisible buttons - non-clickable?????? In-Reply-To: Message-ID: Ok, cool, thanks for the info, very helpful. I didn't mean to offend by calling it stupid. One more thing: using OSX appearance manager, transparent buttons are not transparent, they block out everything else. Why is that? Thanks, Sean On Mon, 30 Dec 2002, Scott Rossi wrote: > Recently, sean nicholas harper wrote: > > > Ok, I make a button visible and it works fine. If it is invisible, > > however, it does not work. Is that really the intended functionality? That > > seems really stupid. How can I make an invisible button that works? > > Making something invisible is not "stupid", it allows you to easily > hide/disable any control at will. What you want to create is a transparent > button which you can do by disabling the default display properties of the > button: showName, showBorder, threeD, and showHilite. You can also use > graphics as transparent buttons by setting the filled to true and the ink > effect to "noop". > > Regards, > > Scott Rossi > Creative Director > > Tactile Media, Multimedia & Design > Email: scott at tactilemedia.com > Web: www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bvlahos at mac.com Mon Dec 30 14:09:01 2002 From: bvlahos at mac.com (Bill Vlahos) Date: Mon Dec 30 14:09:01 2002 Subject: invisible buttons - non-clickable?????? In-Reply-To: Message-ID: <5F186F28-1C29-11D7-8033-003065EC5590@mac.com> Yes. This way the button is disabled. To make an "invisible" button simply make a new button which is visible and turn everything else off like show name, show border, opaque, etc. Of course you won't really know where your button is other than that is where you put it. Remember that in Revolution, any object can act like a button. All you have to do is set up a mouseUp handler in it. Fields also need to be locked. If you have a graphic you want people to click on, simply put the on mouseUp (or whatever) handler(s) you want it it. Bill Vlahos On Monday, December 30, 2002, at 10:38 AM, sean nicholas harper wrote: > Ok, I make a button visible and it works fine. If it is invisible, > however, it does not work. Is that really the intended functionality? > That > seems really stupid. How can I make an invisible button that works? > > Thanks > Sean From scott at tactilemedia.com Mon Dec 30 14:18:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Dec 30 14:18:01 2002 Subject: invisible buttons - non-clickable?????? In-Reply-To: Message-ID: >>> Ok, I make a button visible and it works fine. If it is invisible, >>> however, it does not work. Is that really the intended functionality? That >>> seems really stupid. How can I make an invisible button that works? >> Making something invisible is not "stupid", it allows you to easily >> hide/disable any control at will. What you want to create is a transparent >> button which you can do by disabling the default display properties of the >> button: showName, showBorder, threeD, and showHilite. You can also use >> graphics as transparent buttons by setting the filled to true and the ink >> effect to "noop". > One more thing: using OSX appearance manager, transparent buttons are not > transparent, they block out everything else. Why is that? Try setting the ink effect of the button to "noop". If a button object still isn't working for you, you can use a graphic object as suggested above. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From Doug_Ivers at lord.com Mon Dec 30 19:57:11 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Dec 30 19:57:11 2002 Subject: elegant code tip Message-ID: to easily allow a boolean argument to be omitted, study this example: function searchMyList myList,toFind,matchWholeFlag -- allow matchWholeFlag to be omitted (false) set the wholeMatches to (matchWholeFlag = true) return lineOffset(toFind,myList) end function -- D From DVGlasgow at aol.com Mon Dec 30 19:58:47 2002 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Mon Dec 30 19:58:47 2002 Subject: Yet another menu question Message-ID: <155.1994d8a7.2b422afb@aol.com> In a message dated 30/12/02 4:12:42 PM, Klaus Major writes: << Hi Bj?rnke, > ... > 3. the label and the name of a button always have only one line Labels of buttons CAN have multi-line names ! You can force a new line in the label (and ONLY there) by adding \n, where a linebreak should appear. This is the\nlabel of me Results in: This is the label of me Very cool feature :-) Regards Klaus Major >> I have been trying to find the bits in the archives about this, so I was pleased to get this post.....but then I tried it. set the label of button "most attractive" to "most\nattractive" gives a label "most\nattractive" Somehow it looks likes something Spike Milligan would have said.... Best wishes, David Glasgow Home/ forensic assessments --> DVGlasgow Courses --> i-Psych From snharper at cs.uchicago.edu Mon Dec 30 20:00:13 2002 From: snharper at cs.uchicago.edu (sean nicholas harper) Date: Mon Dec 30 20:00:13 2002 Subject: cgi - help, I am confused In-Reply-To: Message-ID: I have seen lots of mailing list messages about cgi scripts. Is there no way to write the cgi functions in a stack and then just compile the stack and upload that to my web server? It seems like this would be much simpler than writing a text file with transcript in it. Thanks, Sean From Doug_Ivers at lord.com Mon Dec 30 20:00:38 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Dec 30 20:00:38 2002 Subject: new functions? Message-ID: the logical expression (there is a group "myG") has an equivalent function: exists(group "myG") which I prefer it would be nice to have an equivalent for (n is an integer) thus: isInteger(n) and optionally: isInteger(n,0,4) which returns true if n is 0, 1, 2, 3, or 4 here's another: isArray(a) and optionally: isArray(a,8) which returns true if a is an array with 8 elements these are simple enough to write and i'll code my own for now and add them to my library, but are such functions being added to transcript over time? How is the decision made regarding whether a new function belongs in the language, or should be left to the programmer? if such elementary functions are not going to be added to the language, seems that us programmers should be sharing them amongst ourselves. Here are some handlers i'll share right now: function forceBoolean T return (T = true) end forceBoolean on forceBoolean @T if (T <> true) then put false into T end forceBoolean the above are useful when processing optional arguments of a function function forceInteger N lowestN highestN -- lowestN <= highestN is not verified herein if (N is not a number) then put 0 into N if (lowestN is a number and N < lowestN) then return lowestN if (highestN is a number and N > highestN) then return highestN return trunc(N) end forceInteger on forceInteger @N lowestN highestN put forceInteger(N,lowestN,highestN) into N end forceInteger on testForceInteger answer "forceInteger(1.234) = "& forceInteger(1.234) answer "forceInteger(""e&"int""e&") = "& forceInteger("int") answer "forceInteger(-4.4,2,5) = "& forceInteger(-4.4,2,5) answer "forceInteger(4.4,-5,-1) = "& forceInteger(4.4,-5,-1) put 1.234 into int forceInteger int answer "forceInteger 1.234 = "& int put -4.4 into int forceInteger int,2 answer "forceInteger -4.4,2 = "& int end testForceInteger (note that args 2 and 3 are optional) Why don't I see "@" in the Transcript Dictionary? -- D doug_ivers at lord.com From Doug_Ivers at lord.com Mon Dec 30 20:01:02 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Dec 30 20:01:02 2002 Subject: ""e&" Message-ID: answer "She said, ""e&"I do.""e Seems like there should be a shorthand way of coding ""e&". I use it frequently and it makes things difficult to read. Javascript handles this nicely by allowing the use of single quotes within double quotes. -- D P.S. That was 18 years ago. From rpresender at earthlink.net Mon Dec 30 20:06:11 2002 From: rpresender at earthlink.net (Robert Presender) Date: Mon Dec 30 20:06:11 2002 Subject: Standalone Data folder In-Reply-To: <200212301701.MAA17129@www.runrev.com> Message-ID: <0EF33A64-1C5B-11D7-893B-000393A19046@earthlink.net> On Monday, December 30, 2002, at 09:01 AM, Rick Harrison wrote: > on 12/30/2002 8:51 AM, Robert Presender at rpresender at earthlink.net > wrote: > >> Hi, >> Using OS 10.2.3 >> >> Is there a way to make the Data folder(and all its components) >> invisible and only have the app as a result of making a standalone for >> Mac and Windows? Using the procedure of Tip 1 of RR site. >> >> Is there a reason that the Data folder(and components therein) be >> visible? >> >> Thanks for any insight. >> >> Regards .. Bob > > Bob, > > I'm not sure as to whether or not it matters if the Data folder is > invisible or not. Does the above imply that clicking on the data folder doesn't open the components folder and ability to click on the substacks therein? In my standalones, I can get down to the substacks in the data folder and enter data but no further action takes place. Am I creating standalones incorrectly? > There is an option that you can use when creating a standalone which > is to check the box for no substacks which eliminates the data folder. > You'll only want to do this if you don't have any substacks of course. I need the substacks to save data the user enters in the appl. > To make a file invisible for Mac OS X just put a period in front > of the name. Thanks for the tip. > You might like to use a utility like "GhostHunter" to be able to find > your file again. Or just boot under Mac OS 9.2.2 and look for the file > name with the period. > > In windows there is a way to do it too, but at this moment I don't > remember > quite how to do it. If you search the archives you'll probably come > across > it. It is a fairly common question. Have been searching the archives, but no luck so far. Will keep looking. Rick, thanks for your input. Regards ... Bob From kray at sonsothunder.com Mon Dec 30 20:29:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Dec 30 20:29:01 2002 Subject: ""e&" References: Message-ID: <023e01c2b06a$8aea0650$6601a8c0@mckinley.dom> Doug, I have used this function for years: answer "She said, " & q("I do.") function q what return quote & what & quote end q Might work for you; I agree it would be great to use quotes inside of quotes, and actually in the regular expression world of matchText and matchChunk you can include quotes in a string by escaping them with a backslash, but until it gets built into the engine, this function (or one like it) will have to do, IMHO. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Ivers, Doug E" To: Sent: Monday, December 30, 2002 3:45 PM Subject: RE: ""e&" > answer "She said, ""e&"I do.""e > > Seems like there should be a shorthand way of coding ""e&". I use it frequently and it makes things difficult to read. Javascript handles this nicely by allowing the use of single quotes within double quotes. > > > -- D > > P.S. That was 18 years ago. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Mon Dec 30 22:08:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 30 22:08:01 2002 Subject: How to get my own IP Message-ID: <6BBE31D8-1C6C-11D7-94FC-000A9567A3E6@swcp.com> On Monday, December 30, 2002, at 04:55 AM, Bj?rnke von Gierke wrote: > I was trying to get my IP for a little chat program I wrote, but with > my code I always get the local IP of my subnet (192.168.1.2) To my > understanding it is not possible to connect to me if the other Host > does only know that IP. So is there a bug, is it because I coded this > wrong, or is that IP sufficient? (www.yanku.net is the URL of a friend > of mine) Probably, none of those. The code and IP address are fine. You get the IP address of your computer. But that is probably not what you want. I assume you want to provide an Internet service from your computer. (This question has come up a few times.) You seem to be behind a firewall (perhaps a router) and your Internet packets are subject to Network Address Translation (NAT). There are two common methods (and combinations). With masquerade NAT, all computers for this service share the IP address of the firewall as viewed from the outside. With fixed NAT, your computer will have a fixed public address, one that is not the same as you get with your tests. If your case is the latter (fixed NAT), find out what that address is and use that. If your case is the first, this takes a little more work. Typically, a firewall can have a setting so that a service on an inside computer can be exposed to the outside. The firewall typically listens on a port for that service and then translates it to the port and computer specified. There are a few web sites that will probe back and get the IP address your connection seems to be coming from and those might give you some information that will help. (I'm on a new computer and don't have my bookmarks moved over, but I think if you go to grc.com, click on "Shields Up! and follow the directions you will get some information.) Dar Scott From harrison at all-auctions.com Mon Dec 30 22:50:00 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Mon Dec 30 22:50:00 2002 Subject: Standalone Data folder In-Reply-To: <0EF33A64-1C5B-11D7-893B-000393A19046@earthlink.net> Message-ID: on 12/30/2002 7:59 PM, Robert Presender at rpresender at earthlink.net wrote: > Rick, thanks for your input. > > Regards ... Bob Bob, You are most welcome! Rick From dsc at swcp.com Mon Dec 30 23:40:00 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Dec 30 23:40:00 2002 Subject: ""e&" In-Reply-To: Message-ID: <3A8B9E3D-1C79-11D7-94FC-000A9567A3E6@swcp.com> On Monday, December 30, 2002, at 02:45 PM, Ivers, Doug E wrote: > answer "She said, ""e&"I do.""e > > Seems like there should be a shorthand way of coding ""e&". I use > it frequently and it makes things difficult to read. Javascript > handles this nicely by allowing the use of single quotes within double > quotes. Here is a cool feature. I dismissed format() when I first saw it as catering to C programmers, but so far it seems to be cleaner and better than the C format. For some reason, this generates what you want: put format("She said, \"I do.\"") Think that is weird? This does, too: put format("She said, \"I" & "\"") So this works: put format( format( "She said, \\\"I" & "\\\"" ) ) The first parameter may be a variable and other expressions, but the language seems to shift to a special mode for literals. Or something. I'm not sure what is going on. What will this create? put format( line 1 of "She said, \"I do.\"\nThat was 18 years ago.") > P.S. That was 18 years ago. Much cooler than my format() tip! Dar Scott From katir at hindu.org Tue Dec 31 00:22:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue Dec 31 00:22:01 2002 Subject: OT: MP4 from the web In-Reply-To: <023e01c2b06a$8aea0650$6601a8c0@mckinley.dom> Message-ID: <64B71D82-1C7F-11D7-A1BC-003065FB9830@hindu.org> Anyone know about serving MP4 over the web? I put a movie on our server saved as MP4... but if I set the file name of the player to it's URL, it doesn't work. We don't have QT streaming yet, but I was still hoping our broad band users could view this on PORT 80 with HTTP and start seeing it as sson as enough got buffered... (yes, i know that's bad... but all we got right now, won't be that many hits) It also doesn't work from a web page or from QT player either. The movie is fine... if I set the file name of the player to the same movie sitting on a server on the LAN, it plays just fine. Does the server need to be configured to serve MP4? if you know anything, please email me off list. I also posted to the quicktime-talk list at apple. But thought you wizards might know... btw... there's an OT thread going on that list about about iShell vs Director...maybe we should jump into plug Rev? (or wait until 2.0 is out and is really solid?) Sannyasin Sivakatirswami Himalayan Academy Publications katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From ludovic.thebault at laposte.net Tue Dec 31 01:50:01 2002 From: ludovic.thebault at laposte.net (Ludovic Th=?ISO-8859-1?Q?=E9?=bault) Date: Tue Dec 31 01:50:01 2002 Subject: Standalone for MacOS X and rev. 2.0 In-Reply-To: References: Message-ID: <20021231074215.88EA8B%00000000@laposte.net> Robert Presender wrote: >Hi, >Using OS 10.2.3 > >Is there a way to make the Data folder(and all its components) >invisible and only have the app as a result of making a standalone for >Mac and Windows? Using the procedure of Tip 1 of RR site. A game for MacOS X, which seem to be created with MetaCard, is a package (a folder, but for OS X an application). With packages, all datas are inclued in the standalone. Rev 2.0 can create packages ? Or it is possible to convert standalone in packages ? From kee at kagi.com Tue Dec 31 02:00:01 2002 From: kee at kagi.com (kee nethery) Date: Tue Dec 31 02:00:01 2002 Subject: How to get my own IP In-Reply-To: <96904558-1BED-11D7-8284-003065AD94A4@mac.com> Message-ID: When I am traveling, I need to know the IP address that the rest of the world thinks that I have. I use: and it tells me. Kee Nethery From janschenkel at yahoo.com Tue Dec 31 02:08:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Dec 31 02:08:01 2002 Subject: Groups and backgrounds (and psychopathology!) In-Reply-To: <6e.283dd699.2b41ecc6@aol.com> Message-ID: <20021231070232.44051.qmail@web11908.mail.yahoo.com> --- DVGlasgow at aol.com wrote: > > In a message dated 29/12/02 10:21:53 PM, > use-revolution-request at lists.runrev.com writes: > > << Schizophrenia is a disease, DID is not. Just > thought > > I'd clear that up. > > > Jan Schenkel. > > >> > > I'm sorry to go off thread, but I wouldn't like the > above to be assumed to be > universally accepted. Prof Bentall in his excellent > book "Reconstructing > Schizophrenia" describes it as a disorder with no > specific cause, no > specific symptoms, no specific treatment, and no > specific outcome. If you > stretch the concept of 'disease' to encompass > schizophrenia, it would > arguably contain most psychopathology, including > DID. > Okay, you do have a point, as technically speaking there probably is no such thing as schizophrenia, as it's just a common name for a collection of symptoms. Oh well, at least people here will now know that multiple personality disorder is not the same thing as schizophrenia. > To camoflage the offthreadedness of the > above......... I had a nice moment > today when I accidently ungrouped and generally > messed up objects I had > carefully grouped (and put a fairly sizeable script > in the group). I only > noticed far too late to undo. I morosely selected > them all and grouped them. > I noticed that the group automatically assumed the > name of the previous > group. This raised a smile. Then I found that the > resurrected group > contained the original script. This caused a > cackle of delight. > > How does that happen? Does a group survive its > objects being ungrouped if it > is only placed on one card?? > My best bet is that as the stack wasn't saved to disk in the meantime, the 'group' object was still in memory somewhere. You lucky dogcow ;-) 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From chipp at chipp.com Tue Dec 31 03:48:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 31 03:48:00 2002 Subject: invisible buttons - non-clickable?????? In-Reply-To: Message-ID: Sean, You might want to check out my Button Tutorial stack at: http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of sean nicholas > harper > Sent: Monday, December 30, 2002 12:38 PM > To: use-revolution at lists.runrev.com > Subject: invisible buttons - non-clickable?????? > > > Ok, I make a button visible and it works fine. If it is invisible, > however, it does not work. Is that really the intended functionality? That > seems really stupid. How can I make an invisible button that works? > > Thanks > Sean > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From mcdomi at free.fr Tue Dec 31 05:02:00 2002 From: mcdomi at free.fr (Domi) Date: Tue Dec 31 05:02:00 2002 Subject: [ANN] RevNet launched In-Reply-To: Message-ID: <1fo1xz1.2a6sv31ovvwevM%mcdomi@free.fr> > Get the free Go RevNet plugin at the 4W Revolution Embassy page: > Very nice and useful :-)) It works seamlessly with my MC copy. How about directly loading text web pages in a MC (or Rev) window? I think here at the "Son of Thunder" Tips. -- Regards, (-8 Dominique From twoheroes at yahoo.com Tue Dec 31 05:08:28 2002 From: twoheroes at yahoo.com (Keith Villmer) Date: Tue Dec 31 05:08:28 2002 Subject: setting button script to field Message-ID: <20021230131713.40088.qmail@web20703.mail.yahoo.com> Are there any known issues with seting a button script to a field as in: set script of button "goButton" to field "theScript" This works just fine until I create a standalone for the OS X system where I can't get it to work. Thanks, Keith Villmer __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From logram at wanadoo.fr Tue Dec 31 05:08:43 2002 From: logram at wanadoo.fr (Roger Amar) Date: Tue Dec 31 05:08:43 2002 Subject: ListMaster alternative ? In-Reply-To: <200212301615.LAA15154@www.runrev.com> Message-ID: Is there something like ListMaster, the Supercard xternal for creating colored and sophisticated list fields, in Revolution ? Or an external which does the same job ? Thanks. Roger; From miscdas at boxfrog.com Tue Dec 31 05:17:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Tue Dec 31 05:17:01 2002 Subject: invisible buttons - non-clickable?????? In-Reply-To: <28F55F42-1C29-11D7-A30C-000A27B49A96@os.surf2000.de> References: <28F55F42-1C29-11D7-A30C-000A27B49A96@os.surf2000.de> Message-ID: <20021231101327.17505.qmail@www.boxfrog.com> [snip] >Klaus Major writes: > Hi Nicholas, > >> Ok, I make a button visible and it works fine. If it is invisible, >> however, it does not work. Is that really the intended functionality? > > Yes :-) > > How do you exspect your customers to click, > when not knowing where to click ? Is the concept of an invisible "HotSpot" so foreign? It's beauty is in the fact that it is indeed not visible to the user, yet an action can be triggered by a variety of events (e.g. mouseover, mouseclick, mousedouble click, collision). Can be very useful when used in layers with other objects. miscdas > > Klaus Major From ambassador at fourthworld.com Tue Dec 31 05:42:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Dec 31 05:42:01 2002 Subject: ListMaster alternative ? In-Reply-To: Message-ID: Roger Amar wrote: > Is there something like ListMaster, the Supercard xternal for creating > colored and sophisticated list fields, in Revolution ? > Or an external which does the same job ? To varying degrees, much of what it provides for SuperCard is available in native Transcript. What sort of list are you looking to build? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From bvg at mac.com Tue Dec 31 06:34:01 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue Dec 31 06:34:01 2002 Subject: How to get my own IP In-Reply-To: <6BBE31D8-1C6C-11D7-94FC-000A9567A3E6@swcp.com> Message-ID: <032A9511-1CB3-11D7-833B-003065AD94A4@mac.com> Well both http://www.grc.com and http://www.myipaddress.com/ give mme my "true" IP. As Dar mentioned, my ADSL connection has an NAT translation service, as there are 3 computers connected to it. But I am actually not developing this thing for me, so i need a way to get an IP to witch I can open a port without going to a website and under any circumstances. To be exactly, I do need a way of getting that IP by simply clicking a button in a RunRev app. I could probably do this: Put URL "http://www.myipaddress.com" into myVariable and then parse for the IP. But what if they change the layout? what if they stop the service? It is also not very nice to constantly pester them (I am targeting for up to 500 user!)... There must be a simpler way to do this! I am able of doing cgi and php on a remote server so I have maybe to do it that way, But it seems strange that RunRev with all its network abilities is not able to get a NAT translated IP. was angry during writing, sorry and thanks to Kee Nethery and Dar Scott for their help :( Bj?rnke von Gierke On Dienstag, Dez 31, 2002, at 04:03 Europe/Zurich, Dar Scott wrote: > On Monday, December 30, 2002, at 04:55 AM, Bj?rnke von Gierke wrote: > >> I was trying to get my IP for a little chat program I wrote, ... > > Probably, none of those. The code and IP address are fine. You get > the IP address of your computer. > > But that is probably not what you want. > ... > > There are a few web sites that will probe back and get the IP address > your connection seems to be coming from and those might give you some > information that will help. (I'm on a new computer and don't have my > bookmarks moved over, but I think if you go to grc.com, click on > "Shields Up! and follow the directions you will get some information.) From ambassador at fourthworld.com Tue Dec 31 06:52:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Dec 31 06:52:01 2002 Subject: [ANN] RevNet launched In-Reply-To: <1fo1xz1.2a6sv31ovvwevM%mcdomi@free.fr> Message-ID: Domi wrote: >> Get the free Go RevNet plugin at the 4W Revolution Embassy page: >> > > Very nice and useful :-)) > It works seamlessly with my MC copy. > > How about directly loading text web pages in a MC (or Rev) window? > I think here at the "Son of Thunder" Tips. Absolutely. I've updated the links section of my Web site's Rev page at , and now that page is downloaded and the relevant portion used in the Web Links card. A new Go_RevNet with some better error-checking is also available on that Rev page. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From livfoss at blueyonder.co.uk Tue Dec 31 07:17:01 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Dec 31 07:17:01 2002 Subject: How to get printer info Message-ID: I feel embarrassed asking questions that must have been asked before, but I've looked at the 1.1 docs, had a bit of a search with Google, and browsed the excellent links provided by Richard, Ken and others, but I can't find out if the Revo developer gets any feedback from the 'Page Setup' dialog which can be invoked with RevShowPrintDialog, or has any other access to printer parameters. AFAIK on both Mac and Windows, the dialog will return parameters to the app, stating the paper size chosen by the user and the printable area within the page, and probably a lot of other stuff. Clearly in general one needs this info to print - even on my modest home inkjet, size (chosen by the user outside the control of the application) can vary from US letter to A6 card, not to mention from portrait to landscape, and I need to know what the user has chosed so as to format my output accordingly - but this problem must have come up many many times. The Google search seemed to reveal that this was a 'blind spot' in Revo 1 but might be on the wish list for version 2.0. Can anyone clarify and/or suggest workarounds, including XCFNs/DLLs (provided one can get equivalent functionality on different platforms)? I really have no idea what kind of printers my users will be using, and I have no access to any detailed info about 2.0's report printer. TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From k_major at os.surf2000.de Tue Dec 31 09:21:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Tue Dec 31 09:21:01 2002 Subject: invisible buttons - non-clickable?????? In-Reply-To: <20021231101327.17505.qmail@www.boxfrog.com> Message-ID: <6E1070D2-1CCA-11D7-A3DB-000A27B49A96@os.surf2000.de> Hi miscdas, > [snip] >> Klaus Major writes: > >> Hi Nicholas, >>> Ok, I make a button visible and it works fine. If it is invisible, >>> however, it does not work. Is that really the intended functionality? >> Yes :-) How do you exspect your customers to click, >> when not knowing where to click ? > > Is the concept of an invisible "HotSpot" so foreign? Sorry, this was a bad case of "typing before thinking"... > It's beauty is in the fact that it is indeed not visible to the user, > yet an action can be triggered by a variety of events > (e.g. mouseover, mouseclick, mousedouble click, collision). > Can be very useful when used in layers with other objects. What i really meant was, that invisible (!) objects are invisible to the mouse, too. So you may have to use another technique. Like buttons or something else with its ink set to "noop". Sorry for the confusion. > miscdas I wish you a happy new year ! Regards Klaus Major k_major at os.surf2000.de From k_major at os.surf2000.de Tue Dec 31 09:25:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Tue Dec 31 09:25:01 2002 Subject: setting button script to field In-Reply-To: <20021230131713.40088.qmail@web20703.mail.yahoo.com> Message-ID: <020533A6-1CCB-11D7-A3DB-000A27B49A96@os.surf2000.de> Hi Keith, > Are there any known issues with seting a button script > to a field as in: set script of button "goButton" to > field "theScript" > > This works just fine until I create a standalone for > the OS X system where I can't get it to work. > > Thanks, > Keith Villmer Does this field contain more than 10 statements ? If yes, then you cannot set the script in runtime/standalone, since it will violate the 10 statements-limit of the "Starter-Kit". In fact your standalone will behave as a "Starter-Kit" with all its limitations... (Means, everything that was "pre"scripted will work, but you cannot "create" new scripts that contain more than 10 statements...) Hope that helps. Regards Klaus Major k_major at os.surf2000.de From mike at cyber-ny.com Tue Dec 31 09:37:01 2002 From: mike at cyber-ny.com (Mike Brown) Date: Tue Dec 31 09:37:01 2002 Subject: Filter items In-Reply-To: Message-ID: Does anyone have a list of the file names or types that can be filtered from the ask command? I have JPEG but can't find one for GIF images that works. Example Script for images: ask file "Import image:" with filter "JPEG file,*.jpg" This filter limits the import to jpegs only... How can I allow the user to see other file types such as Gifs, PDFs, Rev docs, etc... Thanks, Mike From bvg at mac.com Tue Dec 31 09:57:01 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue Dec 31 09:57:01 2002 Subject: Filter items In-Reply-To: Message-ID: <693606BF-1CCF-11D7-833B-003065AD94A4@mac.com> On Dienstag, Dez 31, 2002, at 15:31 Europe/Zurich, Mike Brown wrote: > ... > ask file "Import image:" with filter "JPEG file,*.jpg" > > This filter limits the import to jpegs only... How can I allow the > user to > see other file types such as Gifs, PDFs, Rev docs, etc... > ... ask file "Give Gifs" with filter "blah only gifs blah,*.gif" the text is not important as long as it does not contain a comma (,) but after the comma must stand: asterix point where as appendix can be any, well, appendix e.g. : gif jpg html txt exe png ... for multiple entries: ask file "pictures please" with filter "gif, *.gif, jpeg, *.jpg, bmp, *.bmp, png , *,png" see your documentation (the rightmost button on the toolbar) under "ask file" for more info and to see how to filter filenames under Mac OS. Bjoernke von Gierke From rcozens at pon.net Tue Dec 31 11:00:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Dec 31 11:00:01 2002 Subject: elegant code tip In-Reply-To: References: Message-ID: Hi Doug, >to easily allow a boolean argument to be omitted, study this example: > >function searchMyList myList,toFind,matchWholeFlag > -- allow matchWholeFlag to be omitted (false) > set the wholeMatches to (matchWholeFlag = true) > return lineOffset(toFind,myList) >end function If you want it to fail when matchWholeFlag is empty, substitute: "if matchWholeFlag then set wholeMatches to true else set wholdMatches to false" (should give "expected true or false" error) If you want something more graceful, add "if matchWholeFlag is empty then answer "Missing parameter" exit searchMyList end if" or (set a default) "if matchWholeFlag is empty then put true into matchWholeFlag" If you're just pointing out that appropriately-written handlers can deal with missing parameters, absolutely. Many Serendipity Library handlers have one or more parameters that are never passed unless the caller wishes to override the default. For example, the calling syntax for justifyString is: function justifyString theString,theLength,whichWay,padChar whichWay defaults to "right" if empty; padChar defaults to space; so if the string is to be right-justified and the pad character is space, only the first two arguments must be passed. The getSDBRecord command has six arguments. Only the first argument is required. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From wmb at internettrainer.com Tue Dec 31 11:11:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Tue Dec 31 11:11:01 2002 Subject: Tutorials + idea In-Reply-To: <70743DE4-18DE-11D7-8A4B-00039382D260@mac.com> Message-ID: On Donnerstag, Dezember 26, 2002, at 03:29 Uhr, manuel companys wrote: > Le Wednesday, 25 Dec 2002, ? 12:10 US/Central, Gernot Lorenz a ?crit : > >> Am Montag, 23.12.02 um 15:11 Uhr schrieb Andre Rombauts: >> >>> I?ve been learning Rev for several months but to really go ?inside? >>> I would need an ?in-depth-tutorial?. >>> --- >>> Will we get a good tutorial book?... >> >> Dear Andr?, >> I'm nearly in the same situation like You --- >> Like You I would like to have additionally an ?in-depth-tutorial? to >> avoid many experiments, but there is nothing on the market. >> >> Gernot > My case is more like Gernot's; except that I am much older and I used > HyperCard not to teach how to program but to teach languages and > linguistics., > But maybe some of the tricks I found out could be useful to you as > well. Hello to all of this thread... Caution: here comes an idea... I m not in the position of teaching but I m doing special mulitimedia apps for self learning. I had (seems still have) no idea about scripting. But Rev is the the only crossplatform tool to do this, and thats very important for my project. So I had to learn it!! At least the basics to do what I need. But there is so much more potential... And... there is nearly nothing for beginners. And... for beginners which have no idea of programming/scripting, there is less than nothing. And... for beginners which have no idea of programming/scripting with nativ language german, except from Maltes workshop, there is less than less... I had to struggle a lot to understand what of this example scripts (here) is xtalk (HC/MC/Rev)-specific and whats general programming. (I went to hell and back...=:o() BUT... some time ago I found a very nice book for learning: Programmieren spielend gelernt mit dem Java Hamster Modell (Dietrich Boles) It is not a Java-only learning book it uses a subset of Java to show that programming is much more than learning a language... The big point of it: Every line is well documented, And there are flowchart and pics of every script... (that helps also right brained persons to understand better, than text-only explications could do... And now the idea. What we need is: Programmieren spielend gelernt mit dem Revolution Hamster (or frog, turtle, etc...) modell. The author is professor of german university I think you (we) could contact him and make a suggestion of collaborating (coauthoring) adapt, or writing together with him or some of his students a version of his book for rev... http://www-is.informatik.uni-oldenburg.de/~dibo/hamster/ On the list are some great german speaking rev/MC gurus and/or malt drinkers;).. so if one of them could help a bit than maybe we get a great thing to learn rev... Just an idea; what do you -everybody here on the list is invited to- think about it..? regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From bvlahos at mac.com Tue Dec 31 11:19:00 2002 From: bvlahos at mac.com (Bill Vlahos) Date: Tue Dec 31 11:19:00 2002 Subject: How to get my own IP In-Reply-To: <032A9511-1CB3-11D7-833B-003065AD94A4@mac.com> Message-ID: I don't think it is possible for any application to know what it's NAT'd address is as that is done completely external to the computer itself on the router/firewall. The only way to get this is to use some sort of external reference. It is very simple to write a cgi to respond back with the information. If you build it and host it yourself then you would always have a guarantee of service and consistent format. I remember seeing a very simple AppleScript CGI awhile back which does just this but it would also be simple to write a Rev server app to do it. There are services such as dyndns.org which provide dynamic DNS service and software which can provide what you want but it would be too much work to have end users set it up. It would be simpler for you to do it yourself. Even 500 users would not be very taxing for a web server simply returning the IP address. Check out the chat software example that Tuviah made in the Rev user contributions area. Bill Vlahos On Tuesday, December 31, 2002, at 03:28 AM, Bj?rnke von Gierke wrote: > There must be a simpler way to do this! > I am able of doing cgi and php on a remote server so I have maybe to > do it that way, But it seems strange that RunRev with all its network > abilities is not able to get a NAT translated IP. From dsc at swcp.com Tue Dec 31 12:16:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Dec 31 12:16:01 2002 Subject: How to get my own IP In-Reply-To: Message-ID: On Tuesday, December 31, 2002, at 09:14 AM, Bill Vlahos wrote: > I don't think it is possible for any application to know what it's > NAT'd address is as that is done completely external to the computer > itself on the router/firewall. There may be some way way using SNMP, but even then there will be permission problems and it will be lots of work. > Check out the chat software example that Tuviah made in the Rev user > contributions area. This is good advice. Most computers behind a firewall can make http connections to the Internet. (This is a TCP connection to a particular port and if a proxy is used, it must have a particular protocol.) A subset of those can make any TCP connection to the Internet. A much smaller number can accept Internet TCP connections. If there are many computers involved in your idea, try to limit almost all Internet connections to one of the first two. In the chat example, there is _one_ server and many clients. If your idea must work across the Internet among computers behind firewalls, then try to bend it around that notion. Dar Scott From snharper at cs.uchicago.edu Tue Dec 31 12:24:01 2002 From: snharper at cs.uchicago.edu (sean nicholas harper) Date: Tue Dec 31 12:24:01 2002 Subject: automatic way to create new card with no groups? In-Reply-To: Message-ID: Is there such a thing? Thanks, Sean From Zzyzx at Relia.Net Tue Dec 31 12:53:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Tue Dec 31 12:53:01 2002 Subject: Oops... Message-ID: <000901c2b0f4$84140ad0$0201000a@ZZYZX> Howdie, I just made a little mistake. In a stack that I have, I just put in the code of... global Alarm_Set On Openstack if Alarm_Set="set" then send mouseup to btn "set alarm" else save this stack quit this stack end if End Openstack Well, as you see, when it opens up, it will automatically quit. All because "Alarm_Set" does not equal "set". I kinda forgot that I would be locked out of the program until I quit it to test it. Is there anyway that I can get into my stack without it quitting on me? Thanks! - Josh Dye GibCon LAN Gameing Center From janschenkel at yahoo.com Tue Dec 31 13:13:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Dec 31 13:13:00 2002 Subject: Oops... In-Reply-To: <000901c2b0f4$84140ad0$0201000a@ZZYZX> Message-ID: <20021231180731.12836.qmail@web11907.mail.yahoo.com> --- Josh Dye wrote: > Howdie, > I just made a little mistake. In a stack that I > have, I just put in the > code of... > > global Alarm_Set > > On Openstack > if Alarm_Set="set" then > send mouseup to btn "set alarm" > else > save this stack > quit this stack > end if > End Openstack > > > Well, as you see, when it opens up, it will > automatically quit. All because > "Alarm_Set" does not equal "set". I kinda forgot > that I would be locked out > of the program until I quit it to test it. > Is there anyway that I can get into my stack without > it quitting on me? > Thanks! > > - Josh Dye Howdie Josh, On the RunRev toolbar you'll see a button labeled 'Messages'. When you press that, it will display a tiny red X in the topright corner; when you open the stack, no 'openStack' message will be sent. 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From snharper at cs.uchicago.edu Tue Dec 31 13:18:01 2002 From: snharper at cs.uchicago.edu (sean nicholas harper) Date: Tue Dec 31 13:18:01 2002 Subject: redrawing buttons - animation In-Reply-To: Message-ID: So I have this button and it has a pretty color icon. I want to move the button around the screen (not using animation manager). So I have a loop that changes the location of the button. Now, it works fine in the debugger, but not outside the debugger. This leads me to suspect that I need to tell Runtime to refresh the screen or something. How do I do this? Thanks, Sean From revlists at canelasoftware.com Tue Dec 31 13:19:00 2002 From: revlists at canelasoftware.com (Mark Talluto) Date: Tue Dec 31 13:19:00 2002 Subject: Oops... In-Reply-To: <000901c2b0f4$84140ad0$0201000a@ZZYZX> Message-ID: On Tuesday, December 31, 2002, at 09:45 AM, Josh Dye wrote: > Howdie, > I just made a little mistake. In a stack that I have, I just put > in the > code of... > > global Alarm_Set > > On Openstack > if Alarm_Set="set" then > send mouseup to btn "set alarm" > else > save this stack > quit this stack > end if > End Openstack > > > Well, as you see, when it opens up, it will automatically quit. All > because > "Alarm_Set" does not equal "set". I kinda forgot that I would be > locked out > of the program until I quit it to test it. > Is there anyway that I can get into my stack without it quitting on me? > Thanks! > > - Josh Dye > GibCon LAN Gameing Center > > If you know where the code is placed, just open up rev and type into the message box: edit the script of [this object]. Fix the code and save it. Best regards, Mark Talluto http://www.canelasoftware.com From ambassador at fourthworld.com Tue Dec 31 13:23:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Dec 31 13:23:00 2002 Subject: automatic way to create new card with no groups? In-Reply-To: Message-ID: sean nicholas harper wrote: > Is there such a thing? Shared groups (a.k.a. "backgrounds") are only placed on a new card if the card open when the create command was issues has them, and their backgroundBehavior is true. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From janschenkel at yahoo.com Tue Dec 31 13:30:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Dec 31 13:30:01 2002 Subject: redrawing buttons - animation In-Reply-To: Message-ID: <20021231182514.15168.qmail@web11907.mail.yahoo.com> --- sean nicholas harper wrote: > So I have this button and it has a pretty color > icon. I want to move the > button around the screen (not using animation > manager). So I have a loop > that changes the location of the button. > > Now, it works fine in the debugger, but not outside > the debugger. This > leads me to suspect that I need to tell Runtime to > refresh the screen or > something. > > How do I do this? > > Thanks, > Sean > Hi Sean, Instead of setting the location in a loop, why not use the 'move' command? You might also want to have a look at the 'lock moves' and 'unlock moves' entries in the Transcript Dictionary. These form the heart of the Animation Manager, but can be used on their own, and shouldn't have a redraw problem. 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From mdswindell at charter.net Tue Dec 31 13:54:01 2002 From: mdswindell at charter.net (Mark Swindell) Date: Tue Dec 31 13:54:01 2002 Subject: automatic way to create new card with no groups? In-Reply-To: Message-ID: on 12/31/02 10:17 AM, Richard Gaskin at ambassador at fourthworld.com wrote: > sean nicholas harper wrote: > >> Is there such a thing? > > Shared groups (a.k.a. "backgrounds") are only placed on a new card if the > card open when the create command was issues has them, and their > backgroundBehavior is true. This is true, but requires taking all the groups and resetting their background behavior properties to false (and then resetting them to true if you want them to copy their grps in the future). What about creating a fresh card without having to go through this? Thanks Mark From dsc at swcp.com Tue Dec 31 13:57:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Dec 31 13:57:01 2002 Subject: developing on shared stacks Message-ID: I've been having trouble with version branching emerging from my habits. I work on the same stack on OS X and on XP. Sometimes on other systems. Unfortunately they diverge. To address this, I'm planning on putting them in one place and accessing the same stack. That means I might work on a stack from OS X one day and then work on it from XP the next day. I assume the stack is written only upon save. Any potential problems? I can share from my XP, and with a little work, from OS X. (OS X 10.2 can share user folders with Windows easily; shareware is needed to create other shares.) Is there an advantage to sharing from one or the other? (such as mailing stacks to others from OS X and getting the type sent, too) Dar Scott From ambassador at fourthworld.com Tue Dec 31 14:04:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Dec 31 14:04:01 2002 Subject: automatic way to create new card with no groups? In-Reply-To: Message-ID: Mark Swindell wrote: > on 12/31/02 10:17 AM, Richard Gaskin at ambassador at fourthworld.com wrote: > >> sean nicholas harper wrote: >> >>> Is there such a thing? >> >> Shared groups (a.k.a. "backgrounds") are only placed on a new card if the >> card open when the create command was issues has them, and their >> backgroundBehavior is true. > > > This is true, but requires taking all the groups and resetting their > background behavior properties to false (and then resetting them to true if > you want them to copy their grps in the future). What about creating a > fresh card without having to go through this? That's by far the simpler of the two options. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Tue Dec 31 14:14:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Dec 31 14:14:01 2002 Subject: Tutorials + idea In-Reply-To: Message-ID: Wolfgang M. Bereuter wrote: > On the list are some great german speaking rev/MC gurus and/or malt > drinkers;).. so if one of them could help a bit than maybe we get a > great thing to learn rev... > > Just an idea; what do you -everybody here on the list is invited to- > think about it..? While I don't speak German, I do appreciate a good malt. :) I would love nothing more than to spend half my working hours crafting learning materials for scripters, but alas I have yet to come up with the business model to make that practical. I've asked my landlord if he would consider offering open source housing, but he doesn't seem quick to jump on that bandwagon. :) My limited experience with printed books supports what most tech authors will tell you: given the effort and materials needed to produce a good book they rarely deliver enough revenue to break even, with most publishing houses relying on a few great sellers to subsidize the majority of their catalog. For the writer, unless a book hits a second printing they will usually make something that beaks down to being close to minimum wage. And in the tech world, where new software versions give a shorter shelf life to tech books than nearly any other genre, it is extremely rare that a second printing will occur. I have no doubt that as Rev's audience continues to grow by leaps and bounds the opportunities for publishing will grow right along with it. But for the near term, while printed books have many advantages, it seems more worthwhile focusing on electronic learning materials. In addition to being more enviro-friendly than a dead-trees version that lives only a few months, along with that comes a much lower production and distribution cost, and the work can be delivered piecemeal rather than needing everything done at once. Fortunately the production of such things is something Rev is particularly good at. To encourage this sort of thing I've added a "Tutorials" section to the RevNet Stacks listing. I've begun work on a simple shell project that can be used for tutorials, and will be a tutorial itself -- on how to make tutorials. :) But we needn't wait for that: if any of the readers of this list have insights to share with newcomers, please consider making a tutorial stack or a Web page to share that knowledge. If you're a consultant, I can tell you that, judging from my hits logs, there are definite benefits to having Rev-related materials on your site -- seems RunRev's marketing is raising interest in Rev rather well, as I see a month-to-month increase in hits from search engines for Rev-related searches. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From k_major at os.surf2000.de Tue Dec 31 14:39:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Tue Dec 31 14:39:01 2002 Subject: redrawing buttons - animation In-Reply-To: Message-ID: Hi Sean, > So I have this button and it has a pretty color icon. I want to move > the > button around the screen (not using animation manager). So I have a > loop > that changes the location of the button. > > Now, it works fine in the debugger, but not outside the debugger. This > leads me to suspect that I need to tell Runtime to refresh the screen > or > something. > > How do I do this? I would also recommend to "move" this button to the points of some grc like Jan. Then you can define the time and the path. ...and it is asynchronious ! > Thanks, > Sean I wish you a happy new year. Regards Klaus Major k_major at os.surf2000.de From dsc at swcp.com Tue Dec 31 14:41:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Dec 31 14:41:01 2002 Subject: automatic way to create new card with no groups? In-Reply-To: Message-ID: <1356ACD0-1CF7-11D7-8B04-000A9567A3E6@swcp.com> On Tuesday, December 31, 2002, at 11:59 AM, Richard Gaskin wrote: >>>> Is there such a thing? >>> >>> Shared groups (a.k.a. "backgrounds") are only placed on a new card >>> if the >>> card open when the create command was issues has them, and their >>> backgroundBehavior is true. >> >> >> This is true, but requires taking all the groups and resetting their >> background behavior properties to false (and then resetting them to >> true if >> you want them to copy their grps in the future). What about creating >> a >> fresh card without having to go through this? > > That's by far the simpler of the two options. But is that really an option? The simplest I know of is to "New Card" and then remove unwanted groups. Perhaps a menu option "New Empty Card" or something like that is a good suggestion. An alternative suggestion is a popup or menu item to remove _all_ selected groups or maybe all groups on the card. I have recently learned that it is possible to share groups without backgroundBehavior set to true. I think I would be better off with an option to not have this property changed when a group is placed. Then new cards are always blank if I never set it. I can then place the ones I want. I can also then forget about the special path behavior. "Stationary" cards can also help and can work well with the idea of (effectively) not setting backgroundBehavior on creating a new card. In this case, in Rev backgroundBehavior is only for those who need the special path behavior. Now that I've made four Rev suggestions (not the right place for them, I know), I expect someone will mention a quick way to create a blank card. Dar Scott From jswitte at bloomington.in.us Tue Dec 31 14:48:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Tue Dec 31 14:48:01 2002 Subject: ""e&" In-Reply-To: Message-ID: <947965CC-1C93-11D7-932B-000393BF0854@bloomington.in.us> > answer "She said, ""e&"I do.""e LOL! > Javascript handles this nicely by allowing the use of single quotes > within double quotes. Doesn't Perl also let you do this? -J From chipp at chipp.com Tue Dec 31 14:58:02 2002 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 31 14:58:02 2002 Subject: How to get my own IP In-Reply-To: <032A9511-1CB3-11D7-833B-003065AD94A4@mac.com> Message-ID: Bj?rnke, I'm not sure if this is what you want, but it does work on my machine here at home... put "This machine's IP Address: " & hostAddress("www.google.com:80") into fld "ipaddress" -Chipp From chipp at chipp.com Tue Dec 31 15:03:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 31 15:03:00 2002 Subject: ListMaster alternative ? In-Reply-To: Message-ID: You might try: Altuit XML TreeView at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm but it only works with every version of RR including new ones *except* 1.1.1. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Roger Amar > Sent: Monday, December 30, 2002 12:08 PM > To: use-revolution at lists.runrev.com > Subject: ListMaster alternative ? > > > Is there something like ListMaster, the Supercard xternal for creating > colored and sophisticated list fields, in Revolution ? > Or an external which does the same job ? > > Thanks. > > Roger; > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Tue Dec 31 15:09:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Dec 31 15:09:01 2002 Subject: Tutorials + idea In-Reply-To: Message-ID: Richard, How simple are we talking? I have the beginnings of a mouse events tutorial stack that aims, well, to teach mouse events to people having no knowledge of scripting. I actually have a completed Director (ugh!) version (because that is what the instructor required) but I don't like it and have the start of its prototype in Rev (ran out of time so jumped straight into Director to finish). Right now the Director file is in a password-protected location but when I'm done gradingh a few inches of term papers and 50 or so programs, I could make a copy elsewhere. I'm hoping eventually to complement it as a series of things like "Math" and "Music" and, oh, I don't know, what-have-you. Anyone interested? Have a great new year! Judy On Tue, 31 Dec 2002, Richard Gaskin wrote: > But we needn't wait for that: if any of the readers of this list have > insights to share with newcomers, please consider making a tutorial stack or > a Web page to share that knowledge. If you're a consultant, I can tell you > that, judging from my hits logs, there are definite benefits to having > Rev-related materials on your site -- seems RunRev's marketing is raising > interest in Rev rather well, as I see a month-to-month increase in hits from > search engines for Rev-related searches. From Doug_Ivers at lord.com Tue Dec 31 15:25:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Tue Dec 31 15:25:01 2002 Subject: quit problem Message-ID: When I create a standalone for MacOS, there is a default quit under the application menu, even though I didn't create a menubar. The problem is that picking this quit menu doesn't seem to generate any of the normal messages such as closeStack, closeStackRequest, shutdown, and shutDownRequest. Consequently, I don't have a chance to do my clean up and save. Is this behavior intended? Will it be the same in 2.0? Any ideas for a workaround? -- D doug_ivers at lord.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2373 bytes Desc: not available URL: From kray at sonsothunder.com Tue Dec 31 15:26:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Dec 31 15:26:00 2002 Subject: developing on shared stacks References: Message-ID: <030701c2b109$84df8ba0$6601a8c0@mckinley.dom> Dar, I've been doing that for a while, and have either shared between two PCs with different OS'es or a Mac running OS X and a PC. It doesn't seem to make a difference who's the host, other than the fact that it might be better to host it on a Mac because of type/creator/extension issues. Just my $0.02, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Dar Scott" To: Sent: Tuesday, December 31, 2002 12:51 PM Subject: developing on shared stacks > I've been having trouble with version branching emerging from my > habits. I work on the same stack on OS X and on XP. Sometimes on > other systems. Unfortunately they diverge. > > To address this, I'm planning on putting them in one place and > accessing the same stack. That means I might work on a stack from OS X > one day and then work on it from XP the next day. > > I assume the stack is written only upon save. > > Any potential problems? > > I can share from my XP, and with a little work, from OS X. (OS X 10.2 > can share user folders with Windows easily; shareware is needed to > create other shares.) > > Is there an advantage to sharing from one or the other? (such as > mailing stacks to others from OS X and getting the type sent, too) > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mdswindell at charter.net Tue Dec 31 15:29:01 2002 From: mdswindell at charter.net (Mark Swindell) Date: Tue Dec 31 15:29:01 2002 Subject: automatic way to create new card with no groups? In-Reply-To: <1356ACD0-1CF7-11D7-8B04-000A9567A3E6@swcp.com> Message-ID: on 12/31/02 11:35 AM, Dar Scott at dsc at swcp.com wrote: > > On Tuesday, December 31, 2002, at 11:59 AM, Richard Gaskin wrote: > >>>>> Is there such a thing? >>>> >>>> Shared groups (a.k.a. "backgrounds") are only placed on a new card >>>> if the >>>> card open when the create command was issues has them, and their >>>> backgroundBehavior is true. >>> >>> >>> This is true, but requires taking all the groups and resetting their >>> background behavior properties to false (and then resetting them to >>> true if >>> you want them to copy their grps in the future). What about creating >>> a >>> fresh card without having to go through this? >> >> That's by far the simpler of the two options. > > But is that really an option? > > The simplest I know of is to "New Card" and then remove unwanted groups. > > Perhaps a menu option "New Empty Card" or something like that is a good > suggestion. An alternative suggestion is a popup or menu item to > remove _all_ selected groups or maybe all groups on the card. > > I have recently learned that it is possible to share groups without > backgroundBehavior set to true. I think I would be better off with an > option to not have this property changed when a group is placed. Then > new cards are always blank if I never set it. I can then place the > ones I want. I can also then forget about the special path behavior. > > "Stationary" cards can also help and can work well with the idea of > (effectively) not setting backgroundBehavior on creating a new card. > In this case, in Rev backgroundBehavior is only for those who need the > special path behavior. > > Now that I've made four Rev suggestions (not the right place for them, > I know), I expect someone will mention a quick way to create a blank > card. > > Dar Scott Using the application overview window I was able to create a new card and remove all groups pretty easily... select all in the groups overview... remove. (Although the group names didn't all hilite with the select all (command-A) they did all disappear). So that's not very cumbersome, but I think some form of a menuitem with "New Card...No Groups" would be even simpler. Mark From dsc at swcp.com Tue Dec 31 16:02:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Dec 31 16:02:01 2002 Subject: developing on shared stacks In-Reply-To: <030701c2b109$84df8ba0$6601a8c0@mckinley.dom> Message-ID: <6F4FA9F8-1D02-11D7-AA08-000A9567A3E6@swcp.com> On Tuesday, December 31, 2002, at 01:16 PM, Ken Ray wrote: > I've been doing that for a while, and have either shared between two > PCs > with different OS'es or a Mac running OS X and a PC. It doesn't seem > to make > a difference who's the host, other than the fact that it might be > better to > host it on a Mac because of type/creator/extension issues. I was thinking along this line. > Just my $0.02, A mint I value. Dar Scott From yvescoppe at skynet.be Tue Dec 31 16:16:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Tue Dec 31 16:16:01 2002 Subject: quit problem In-Reply-To: References: Message-ID: >When I create a standalone for MacOS, there is a default quit under >the application menu, even though I didn't create a menubar. The >problem is that picking this quit menu doesn't seem to generate any >of the normal messages such as closeStack, closeStackRequest, >shutdown, and shutDownRequest. Consequently, I don't have a chance >to do my clean up and save. > >Is this behavior intended? Will it be the same in 2.0? Any ideas >for a workaround? > > I've also aske the question a time ago. It seems it will be fixed with 2.0 -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From k_major at os.surf2000.de Tue Dec 31 16:28:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Tue Dec 31 16:28:01 2002 Subject: developing on shared stacks In-Reply-To: Message-ID: <0EC56D7A-1D06-11D7-A3DB-000A27B49A96@os.surf2000.de> Hi Dar, > I've been having trouble with version branching emerging from my > habits. I work on the same stack on OS X and on XP. Sometimes on > other systems. Unfortunately they diverge. > To address this, I'm planning on putting them in one place and > accessing the same stack. That means I might work on a stack from OS > X one day and then work on it from XP the next day. > I assume the stack is written only upon save. > Any potential problems? > I can share from my XP, and with a little work, from OS X. (OS X 10.2 > can share user folders with Windows easily; shareware is needed to > create other shares.) > Is there an advantage to sharing from one or the other? (such as > mailing stacks to others from OS X and getting the type sent, too) > > Dar Scott i do it all day, so to say :-) The stacks are hosted on an OS 9.x AppleShare server and acced via OS X and win 98 and 2000. No problems so far. OS X also looks for the extension (*.mc) before this annoying dialog pops up, asking what appp to use etc... Looks like these times are gone forever :-) Love that... :-) Hey, there is James Brown with some older live-performance on the german TV... (Living in america :-)... (3 Sat ;-) I hope you all have a good time on this special evening :-) Have a very big party everyone !!! (I do !!!) Regards Klaus Major k_major at os.surf2000.de From jacque at hyperactivesw.com Tue Dec 31 16:56:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Dec 31 16:56:01 2002 Subject: developing on shared stacks In-Reply-To: <200212311959.OAA19831@www.runrev.com> References: <200212311959.OAA19831@www.runrev.com> Message-ID: <3E12113D.50002@hyperactivesw.com> Dar Scott wrote: > I've been having trouble with version branching emerging from my > habits. I work on the same stack on OS X and on XP. Sometimes on > other systems. Unfortunately they diverge. > > To address this, I'm planning on putting them in one place and > accessing the same stack. That means I might work on a stack from OS X > one day and then work on it from XP the next day. > > I assume the stack is written only upon save. Correct. > Any potential problems? I've had good success with this, not only sharing across computers, but sharing an open stack simultaneously between MetaCard and Revolution -- I work in both environments at the same time from various computers. It is really pretty cool. The idea is the same whether you are sharing a stack between computers or between IDEs or both. You make changes to the stack, then save it to disk. In the other IDE, or on the other computer, type "revert" into the message box or use the Revert menu item, which forces the IDE to reload the stack from disk. The changes that were made on the other computer, or in the other IDE, show up in the stack immediately after it is reloaded. Since my clients send me both MC and Rev files, I often have the same stack open in both environments on my Mac and work on it in both places simultaneously. Sometimes I also open the stack across the network on my Windows machine. The only problem I've run into so far is a wetware issue: I have to remember which machine or IDE needs to do the "save" and which one needs to do the "revert". > Is there an advantage to sharing from one or the other? (such as > mailing stacks to others from OS X and getting the type sent, too) If you want to keep the Mac creator and type codes, probably saving on the Mac will work better. But it is trivial to reset those later if you end up moving the stack from a PC to a Mac, so it is no big deal. In Rev, just open the stack on a Mac and save it, and you'll get the type/creator codes automatically re-applied. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MFitz53 at cs.com Tue Dec 31 18:04:01 2002 From: MFitz53 at cs.com (MFitz53 at cs.com) Date: Tue Dec 31 18:04:01 2002 Subject: Navigation Arrows in Standalones Message-ID: <172.14284334.2b437b04@cs.com> I have a standalone with two pages. Before I build the app, I set the navigationArrows to false and can no longer key between cards. This is as I want it. Card one simply asks for a password to card two, and checks it against a hidden file in the data stack. However, after the build, one can simply key between the cards again and circumvent the password. I uncheck"Remove Custom UI Properties" (I believe that's what it says) without any noticable effect. Am I missing something? Thanks, mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From snharper at cs.uchicago.edu Tue Dec 31 18:15:01 2002 From: snharper at cs.uchicago.edu (sean nicholas harper) Date: Tue Dec 31 18:15:01 2002 Subject: trace? In-Reply-To: <172.14284334.2b437b04@cs.com> Message-ID: Is there a way to set the trace delay time? From k_major at os.surf2000.de Tue Dec 31 18:31:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Tue Dec 31 18:31:01 2002 Subject: Navigation Arrows in Standalones In-Reply-To: <172.14284334.2b437b04@cs.com> Message-ID: <40718B43-1D17-11D7-A3DB-000A27B49A96@os.surf2000.de> Hi Mike, > I have a standalone with two pages. Before I build the app, I set the > navigationArrows to false and can no longer key between cards. This is > as I want it. Card one simply asks for a password to card two, and > checks it against a hidden file in the data stack. > ?However, after the build, one can simply key between the cards again > and circumvent the password. I uncheck"Remove Custom UI Properties" (I > believe that's what it says) without any noticable effect. Am I > missing something? Put this in your stack-script: on preopenstack set the navigationarows to false end preopenstack If it does not work, there must be a bug at some other place. > Thanks, > mike A happy new year from germany... (It's 00:25...) Klaus Major k_major at os.surf2000.de From jeanne at runrev.com Tue Dec 31 20:32:02 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Dec 31 20:32:02 2002 Subject: Another naive menu question In-Reply-To: Message-ID: At 2:26 AM -0800 12/30/02, Graham Samuel wrote: >In the menu docs (Revo 1.1.1), there's an item called "Creating a >stack menu". The implication is/may be that there's a kind of menu >which isn't a stack menu - a menu for the whole app, perhaps. A stack menu is a menu that's built in the form of a stack window, rather than a button. When you click the button, instead of building a menu out of the text in the button, Rev pops up the designated stack window and lets you interact with it as though it were a menu. Stack windows are more cumbersome to create, because you have to build them item by item, but they give you a lot of flexibility in layout and design. To see a stack menu in action, open any stack's Properties palette and click the Stacks tab. The graphical menu that pops up when you click the "Window Decorations" menu on that tab is an example of a stack menu. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Tue Dec 31 20:33:04 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Dec 31 20:33:04 2002 Subject: setting pointer location In-Reply-To: <2d.28b022a4.2b3f55e2@aol.com> Message-ID: At 11:30 AM -0800 12/28/02, DVGlasgow at aol.com wrote: >...and while I am on, how do you replicate the 'step' parameter in Hypercard >repeats? I want to put a return after every third line between lines 3 and >168 of a field. This is in 2.0. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From dsc at swcp.com Tue Dec 31 22:29:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Dec 31 22:29:01 2002 Subject: popup and background reference Message-ID: <6B18F11F-1D38-11D7-AA08-000A9567A3E6@swcp.com> I think I'm still having trouble with background. I have this script in a graphic: on mouseDown popup button "Hidden Popup" of background "Hidden" end mouseDown This works fine if the group containing the popup button is on the same card but does not work if it is not. What am I doing wrong? Dar Scott From jeanne at runrev.com Tue Dec 31 22:46:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Dec 31 22:46:01 2002 Subject: Menus, buttons and how to refer to them In-Reply-To: Message-ID: At 9:22 AM -0800 12/30/02, Graham Samuel wrote: >>The reason why > > set line 1 of the text of button "Options" of card 1 of this stack to "Blah" > >> doesn't work is that it can't find >>a property named "line 1 of the text". >>Try this: >> put "Blah" into line 1 of the text of button \ >> "Options" of card 1 of this stack > >So what that says is that you can't have a qualifier of a property, >because 'the text of button.." IS a property, despite Bj?rnke von >Gierke saying that you can't use the 'set' command on text. Right. This works the same way as in HyperCard or SuperCard: if you set a property, you need to set all of it - you can't set a chunk of a property. (In HC, I generally run into this trying to set one line of a script - same problem, because "script" is a property.) >a) that qualifiers are forbidden when referring to properties - which >is easy to remember once you know it. Not quite: you can't set a particular chunk of a property - you have to set the whole thing at once - but you can get a chunk of a property. For example, "put line 3 of button ID 343" works fine. >b) button contents are properties and also containers like fields, >which is subtle and not that easy to pick up from the documentation. Can you tell me where you were looking? (Buttons are listed in "About Containers, Variables, and Sources of Value", and most of this is explained there, but I may need to add some notes elsewhere.) >Now, I know that menus are buttons in Revo and I'm quite happy about >that, but I am a bit confused about when we use the term 'menu' and >when we use the term 'button'. The "menu" term can be used to refer to the menus in the current menu bar. For example, if the menu bar contains menus "File", "Edit", and "Go", you can say something like get menuItem 1 of menu "Edit" to get the first menu item in that menu. Because menus are also buttons, you can use button syntax to get the same information - but you may need to specify the group and stack the button is in, because if you're referring to it as "button" it can be ambiguous. (For example, you might have a standard button called "Edit" on the current card, so simply referring to 'button "Edit"' might give you the button instead of the menu.) An unambiguous button reference might look like this: get line 1 of button "Edit" of group "myMenus" of stack "Main" This will return the same information as the form using "menu", but you have to know the group name and possibly which stack it's in, so the "menu" form is a little more convenient for menubar menus. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Tue Dec 31 22:46:34 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Dec 31 22:46:34 2002 Subject: trace? In-Reply-To: References: <172.14284334.2b437b04@cs.com> Message-ID: At 3:09 PM -0800 12/31/02, sean nicholas harper wrote: >Is there a way to set the trace delay time? Set the traceDelay property. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Tue Dec 31 22:46:58 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Dec 31 22:46:58 2002 Subject: popup and background reference In-Reply-To: <6B18F11F-1D38-11D7-AA08-000A9567A3E6@swcp.com> Message-ID: At 7:23 PM -0800 12/31/02, Dar Scott wrote: >on mouseDown > popup button "Hidden Popup" of background "Hidden" >end mouseDown > >This works fine if the group containing the popup button is on the same >card but does not work if it is not. > >What am I doing wrong? I quote myself (from the dictionary entry for "popup"): The button is a reference to a button on the current card. You're not doing anything wrong with your syntax; it's just that the button needs to be on the card (or its group does). If not for that condition, your formulation would work fine. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/