Re: Results of using FIND command etc.
On 7/1/01 10:35 pm, Monte Goulding [EMAIL PROTECTED] wrote: send mouseUp after the select command Or: find empty Kevin Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/ Runtime Revolution Limited (formerly Cross Worlds Computing). Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: graphic handles
Monte Goulding wrote/ schreef: Hi all I have a project that involves interacting with graphic objects in simmilar ways to MC. I need to be able to draw, resize, move, stretch, color. Does anyone have any experience doing this that could explain how to script user interaction. How to I get handles on a graphic for instance? You can get handles by: select graphic 1 But the user can't resize the graphic because of the browse tool. You have to: choose pointer tool to allow the user to resize the graphic. You can make a group of the graphic and 8 little rectangles, which you show if you want to get handles, and give them a script like this: on mouseDown repeat until the mouse is up set the loc of me to the mouseLoc set the rect of graphic "TheGraphic" to item 1 to 2 of the rect of graphic "TheGraphic" comma the bottomRight of me end repeat end mouseDown -- (Didn't test it, but something like this for the bottom-right handle.) Give the graphic itself the script: on mouseDown grab this group -- the group will follow the pointer 'till mouseUp end mouseDown For other user interaction you can use set the mouseLoc to tNewLoc -- not prefferable, and doesn't work on some computers drag from tStart to tFinish Best regards Monte Hope this helps, Sjoerd Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Image problems.
Recently, James C. Wall wrote: I would be most greatful if someone would help me with the following problem. I am developing a stack on a G3 Mac which allows the user to time events by clicking on an image of a stopwatch. This is a gray scale image on a white background. To indicate that the cursor is over the image I would like the white to turn to red, leaving the image of the stopwatch visible. For crossplatform delivery, easiest (most reliable?) way is to use two different images, one normal, one colored. Regards, Scott _ Scott Rossi Tactile Media - Multimedia Design Creative Director Email: [EMAIL PROTECTED] Web: www.tactilemedia.com Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Making Text Files for Unix
1.- Best : You can use the mc chartonum() function to check the differences betwin the MacOS and Linux chars tables and than parse the needed file with the "replace numtochar(xx) with numtochar(yy) in varzz". Well we are already processing out all the Mac only chars like curly quotes, m-dashes ("") and other "off the charts" Mac characters, before shipping the file to the web host servers. I think the non-Unix compatible text file issue has to do with line breaks being mandatory in UNIX? You are right. Try "#10;" for the html unix format. Or let MetaCard do the work for you: put the text into a hidden field, then get the htmlText of that field. -- Richard Gaskin Fourth World Media Corporation Multimedia Design and Development for Mac, Windows, UNIX, and the Web _ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 ICQ#60248349Fax: 323-225-0716 Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Image problems.
Could you make the image a button with the icon set to the image and use: on mouseEnter set the icon of me to redIcon end mouseEnter on mouseLeave set the icon of me to whiteImage end mouseLeave I would be most greatful if someone would help me with the following problem. I am developing a stack on a G3 Mac which allows the user to time events by clicking on an image of a stopwatch. This is a gray scale image on a white background. To indicate that the cursor is over the image I would like the white to turn to red, leaving the image of the stopwatch visible. Her's what I have done so far: 1. I selected the image and brought up the color pallette. If I selct foreground and then red I get the result that I want. However, when I set the foreground property from a script nothing happens ( I was using on mouseEnter) 2. I then created a graphic to cover the image of the stopwatch. I played with this for a while and got it to work by selecting color 0,255,255 which is a greenish blue and then setting the ink to SubOver. When I show the image from the script the result is exactly what I want. The problem is when I then run the stack on a wintel machine The result is that the image comes out the greenish blue color and obliterates the image of the stopwatch. I am running MetaCard 2.3.1 Any help would be appreciated. Jim Wall *** James C. Wall, Ph.D. Professor Department of Physical Therapy University of South Alabama 1504 Springhill Avenue, Room 1214 Mobile AL 36604 Phone: (334) 434 3575 Fax: (334) 434 3822 e-mail: [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
RE: graphic handles
Thanks for the help. I'd also like to double click with the pointer tool to bring up a custom palette. I'm sure Kevin would have done this. Thanks in advance Regards Monte -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sjoerd Op 't Land Sent: Tuesday, 9 January 2001 1:58 AM To: [EMAIL PROTECTED] Subject: Re: graphic handles Monte Goulding wrote/ schreef: Hi all I have a project that involves interacting with graphic objects in simmilar ways to MC. I need to be able to draw, resize, move, stretch, color. Does anyone have any experience doing this that could explain how to script user interaction. How to I get handles on a graphic for instance? You can get handles by: select graphic 1 But the user can't resize the graphic because of the browse tool. You have to: choose pointer tool to allow the user to resize the graphic. You can make a group of the graphic and 8 little rectangles, which you show if you want to get handles, and give them a script like this: on mouseDown repeat until the mouse is up set the loc of me to the mouseLoc set the rect of graphic "TheGraphic" to item 1 to 2 of the rect of graphic "TheGraphic" comma the bottomRight of me end repeat end mouseDown -- (Didn't test it, but something like this for the bottom-right handle.) Give the graphic itself the script: on mouseDown grab this group -- the group will follow the pointer 'till mouseUp end mouseDown For other user interaction you can use set the mouseLoc to tNewLoc -- not prefferable, and doesn't work on some computers drag from tStart to tFinish Best regards Monte Hope this helps, Sjoerd Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
RE: Image problems.
try the brushColor for fill or penColor for border. I had this same problem with graphics but I don't know it it applies to images -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of James C. Wall Sent: Tuesday, 9 January 2001 2:38 AM To: [EMAIL PROTECTED] Subject: Image problems. I would be most greatful if someone would help me with the following problem. I am developing a stack on a G3 Mac which allows the user to time events by clicking on an image of a stopwatch. This is a gray scale image on a white background. To indicate that the cursor is over the image I would like the white to turn to red, leaving the image of the stopwatch visible. Her's what I have done so far: 1. I selected the image and brought up the color pallette. If I selct foreground and then red I get the result that I want. However, when I set the foreground property from a script nothing happens ( I was using on mouseEnter) 2. I then created a graphic to cover the image of the stopwatch. I played with this for a while and got it to work by selecting color 0,255,255 which is a greenish blue and then setting the ink to SubOver. When I show the image from the script the result is exactly what I want. The problem is when I then run the stack on a wintel machine The result is that the image comes out the greenish blue color and obliterates the image of the stopwatch. I am running MetaCard 2.3.1 Any help would be appreciated. Jim Wall *** James C. Wall, Ph.D. Professor Department of Physical Therapy University of South Alabama 1504 Springhill Avenue, Room 1214 Mobile AL 36604 Phone: (334) 434 3575 Fax: (334) 434 3822 e-mail: [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: graphic handles
On 8/1/01 8:43 pm, Monte Goulding [EMAIL PROTECTED] wrote: Thanks for the help. I'd also like to double click with the pointer tool to bring up a custom palette. I'm sure Kevin would have done this. Its very simple: insert the scripts you need into the front. E.g. on mouseDoubleUp if the tool is "pointer tool" then palette "my properties palette" end if end mouseDoubleUp Regards, Kevin Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/ Runtime Revolution Limited (formerly Cross Worlds Computing). Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Making Text Files for Unix
Richard Gaskin a crit : 1.- Best : You can use the mc chartonum() function to check the differences betwin the MacOS and Linux chars tables and than parse the needed file with the "replace numtochar(xx) with numtochar(yy) in varzz". Well we are already processing out all the Mac only chars like curly quotes, m-dashes ("") and other "off the charts" Mac characters, before shipping the file to the web host servers. I think the non-Unix compatible text file issue has to do with line breaks being mandatory in UNIX? You are right. Try "#10;" for the html unix format. Or let MetaCard do the work for you: put the text into a hidden field, then get the htmlText of that field. -- Richard Gaskin Fourth World Media Corporation Multimedia Design and Development for Mac, Windows, UNIX, and the Web _ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 ICQ#60248349Fax: 323-225-0716 Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Eureka ;-) Pierre Sahores -- chef de projet cyberlibrairie SNPIN - CNDP. 91, rue Gabriel-Peri 92120 Montrouge. Tl.: 01.64.45.05.33 Du vent aux caramels mous, dix ans d'avance aux autres et le reste demain. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
RE: graphic handles
That's much easier than I thought it would be. Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Miller Sent: Tuesday, 9 January 2001 9:33 AM To: [EMAIL PROTECTED] Subject: Re: graphic handles On 8/1/01 8:43 pm, Monte Goulding [EMAIL PROTECTED] wrote: Thanks for the help. I'd also like to double click with the pointer tool to bring up a custom palette. I'm sure Kevin would have done this. Its very simple: insert the scripts you need into the front. E.g. on mouseDoubleUp if the tool is "pointer tool" then palette "my properties palette" end if end mouseDoubleUp Regards, Kevin Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/ Runtime Revolution Limited (formerly Cross Worlds Computing). Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Results of using FIND command etc.
Hi Kevin and Monte, I take it, Kevin, that your suggestion to "find empty" will get rid of the rectangle around the found text. Clever; I never would have thought of that. Monte, sending mouseUp to the field after selecting the foundLine doesn't appear to invoke the field's script. Perhaps I've misunderstood. Regards, Greg On 9/1/2001 4:39 AM, [EMAIL PROTECTED] wrote: From: Kevin Miller [EMAIL PROTECTED] Subject: Re: Results of using FIND command etc. Date: Mon, 08 Jan 2001 13:50:52 + MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: [EMAIL PROTECTED] On 7/1/01 10:35 pm, Monte Goulding [EMAIL PROTECTED] wrote: send mouseUp after the select command Or: find empty Kevin Gregory Lypny Associate Professor John Molson School of Business Concordia University Montreal, Canada "I am just going outside and may be some time." - Captain Lawrence Oates, 17 March 1912, Scott Expedition Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Menus
I'd like to control the color of the hilite a menu item has when someone is going through a set of menus. The only stack I ever did this in crashes when ever I look at the code (or try to). Any help would be welcome. -- -- Cheers, Simon All your .com .net and .org domains for only $14.50 each. Get them while they last... http://www.amigo-3.com/hosting/ -- "The great discoveries in science are not punctuated by 'Eureka! I've found it!' but rather "Hmmm,that's funny" Isaac Asimov Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
RE: Results of using FIND command etc.
Sorry I think it was me that misunderstood I thought you were selecting a line of a button. send whatever message you need to invoke. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gregory Lypny Sent: Tuesday, 9 January 2001 10:41 AM To: [EMAIL PROTECTED] Subject: Re: Results of using FIND command etc. Hi Kevin and Monte, I take it, Kevin, that your suggestion to "find empty" will get rid of the rectangle around the found text. Clever; I never would have thought of that. Monte, sending mouseUp to the field after selecting the foundLine doesn't appear to invoke the field's script. Perhaps I've misunderstood. Regards, Greg On 9/1/2001 4:39 AM, [EMAIL PROTECTED] wrote: From: Kevin Miller [EMAIL PROTECTED] Subject: Re: Results of using FIND command etc. Date: Mon, 08 Jan 2001 13:50:52 + MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: [EMAIL PROTECTED] On 7/1/01 10:35 pm, Monte Goulding [EMAIL PROTECTED] wrote: send mouseUp after the select command Or: find empty Kevin Gregory Lypny Associate Professor John Molson School of Business Concordia University Montreal, Canada "I am just going outside and may be some time." - Captain Lawrence Oates, 17 March 1912, Scott Expedition Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
RE: Menus
I think it's a global property accentColor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Simon Lord Sent: Tuesday, 9 January 2001 12:01 PM To: [EMAIL PROTECTED] Subject: Menus I'd like to control the color of the hilite a menu item has when someone is going through a set of menus. The only stack I ever did this in crashes when ever I look at the code (or try to). Any help would be welcome. -- -- Cheers, Simon All your .com .net and .org domains for only $14.50 each. Get them while they last... http://www.amigo-3.com/hosting/ -- "The great discoveries in science are not punctuated by 'Eureka! I've found it!' but rather "Hmmm,that's funny" Isaac Asimov Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.