Re: Newbie Questions!
At 9:04 PM -0800 11/11/02, Igor de Oliveira Couto wrote: On Tuesday, November 12, 2002, at 10:16 AM, Jeanne A. E. DeVoto wrote: 1) How do I save more than one type of data (text and graphics) to a single file? The simplest way of doing this is to save the data in a stack file. 1) Is this stack cross-compatible? ie, will my Mac and Windows users be able to exchange files? Yes. All Revolution stack files are cross-platform and can be opened by Revolution (or standalones) on any other platform. (Of course, you may need to tweak fonts and colors slightly for best appearance on each operating system, but the basic stack format is the same regardless of platform.) 2) Is it possible to assign a specific file/document type to the created stack - and an associated icon? Yes, although it is a bit complex and involves work with ResEdit. (This will become simpler in the next version. I think. ;-) The essential thing is to set the fileType property before saving the stack file: this lets you assign a custom file type, and your standalone app's creator code, to the stack file. -- Jeanne A. E. DeVoto ~ [EMAIL PROTECTED] Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 1.5 (now 2.0)
non-rectangular buttons Remember, too, that other objects get all the messages buttons get. You can, for example, create a graphic of any shape that acts like a button - even do a pseudo-highlight under script control. We tend to get into the habit of thinking clickable object = button, but there are additional options... -- Jeanne A. E. DeVoto ~ [EMAIL PROTECTED] Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: rectangle button q's
At 5:12 PM -0800 11/11/02, Alex Rice wrote: 2) When the rectangle style button is selected, and the hilite background property is yes, then button highlights when clicked, drawing a dark blue background color. How can I change that dark blue hilite color? Set the button's hiliteColor to the color you want. -- Jeanne A. E. DeVoto ~ [EMAIL PROTECTED] Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Not all mail goes into the Digest
Hi all Over and over again I see replies to mail where the original mail was not in the Digest. It seams that the Digest is cut of at some place. A recent example is the mail with the Topic: 1.5 (now 2.0) The replies is there but not the original. Kind regards Michael Kristensen ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 1.5 (now 2.0
On Dienstag, November 12, 2002, at 09:18 Uhr, [EMAIL PROTECTED] wrote: Sure buttons can be any shape. Just use a transparent GIF or PNG and set the icon of the button to it. That changes the visual shape of a button, but the clickable area is still a rectangle. In the cases a non-rectangular clickable area is needed, a script that does some calculations with the mouse location could provide a solution for those cases. Still there are cases imaginable where this also wouldn't help. But to introduce a true non-rectangular button just for those rare cases seems overkill. RunRev is not the right app for 100% of all the development work, but it sure covers 90 to 99%. Rare cases?? What you have on more than 50% of the sites on the net and on nearly every MM App? Sorry, but thats *not* an overkill. Thats urgently needed!! regards Wolfgang M. Bereuter Learn easy with trainingsmaps© INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ... http://www.internettrainer.com, [EMAIL PROTECTED] ... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 1.5 (now 2.0)
On Dienstag, November 12, 2002, at 09:18 Uhr, [EMAIL PROTECTED] wrote: Re: 1.5 (now 2.0) Reply-To: [EMAIL PROTECTED] non-rectangular buttons Remember, too, that other objects get all the messages buttons get. You can, for example, create a graphic of any shape that acts like a button - even do a pseudo-highlight under script control. We tend to get into the habit of thinking clickable object = button, but there are additional options... I have such a structur . If I had to do that with singular clickable object = buttons than the number of gifs, I have to handle, which are about 60-70, would expand to thousands... Its like image maps in html. A lot of invisible buttons sitting on the gif (1. layer = exact size of the card) and flashing on click. Looks fine on rectangular objects. But the world is not rectangular only, and thats the reason why I miss a unregular shape (round) button so much regards Wolfgang M. Bereuter Learn easy with trainingsmaps© INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ... http://www.internettrainer.com, [EMAIL PROTECTED] ... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Not all mail goes into the Digest
On Tuesday, November 12, 2002, at 03:01 AM, Michael Kristensen wrote: It seams that the Digest is cut of at some place. A recent example is the mail with the Topic: 1.5 (now 2.0) In this particular case, the thread was started back on October 16 as 1.5 and was quiet between the 21st and yesterday. I have my mail client automatically sort my use-revolution mail into its own mailbox. For me this works better than subscribing to a digest. My in-box is not cluttered and I can sort and search better. Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: 1.5 (now 2.0)
Sure buttons can be any shape. Just use a transparent GIF or PNG and set the icon of the button to it. Hi Chipp, Here's the issue I am dealing with: I have a round button named Clock and a series of transparent, round clock-face icons depicting clock hand positions for all possible times of day (in five minute increments). I want to be able to change the clock's background color to depict daytime (6 AM - 5:55 PM) vs nighttime (6 PM - 5:55 AM) hours. How can I change the background color inside the circular image without changing the color of the button's corners protruding around the circular image. The only solution I can see at present (other than doubling the number of icons) is to paint an opaque mask over the portion of the button not covered by the image. This is not a good solution because the mask must be repainted every time the button is placed on a different colored background. Anyone have a better solution? -- 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 [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 1.5 (now 2.0)
This isn't the case with transparent GIFs and PNGs, at least in MetaCard. All transparent pixels in these images ignore mouse events, so you can indeed have irregular regions that respond appropriately to mouse clicks. Test this for yourself and see if you get the same results. Scott, et al: It works that way for me...but, as noted previously, my issue has to do with changing the background color of an irregular region. And while I'm on the subject, here's a similar issue I'll need a solution for soon: Suppose I have a round button depicting a wine barrel. If the barrel is half full of wine, I want to show the inside of the barrel half full; if it's 3/4 full I want to show the inside of the barrel 3/4 full. The basic mechanism I used in HyperCard was to place a highlighted button behind the barrel button and adjust the top of the button to the correct height. Once again, I see no way of doing this with rectangular buttons without painting an opaque border around the hilited button, and in this case the workaround would be to create different icons for every possible setting (eg: 1 pixel full, 2 pixels full, etc), which is worse than drawing a new mask for each background the buttons are placed on. -- 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 [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Newbie Questions!
My problem really is being able to specify more than one element to a file, and then being able to read them back. Igor, As others have suggested, a stack is probably easier to use for this purpose than a data file. One can simply install the images in the stack and place the text in a field or stack property. -- 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 [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 1.5 (now 2.0)
This isn't the case with transparent GIFs and PNGs, at least in MetaCard. All transparent pixels in these images ignore mouse events, so you can indeed have irregular regions that respond appropriately to mouse clicks. Test this for yourself and see if you get the same results. Scott, et al: It works that way for me... Oops! I spoke too soon: All transparent pixels in these images ignore mouse events IF the image is directly clickable; however, if the image is attached to a button as an icon, the button responds to mouse events anywhere in the rect of the mouse. -- 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 [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: 1.5 (now 2.0)
I have a round button named Clock and a series of transparent, round clock-face icons depicting clock hand positions for all possible times of day (in five minute increments). I want to be able to change the clock's background color to depict daytime (6 AM - 5:55 PM) vs nighttime (6 PM - 5:55 AM) hours. How can I change the background color inside the circular image without changing the color of the button's corners protruding around the circular image. Rob, is the button round or rectangular. You talk about the button's corners, but a round button has no corners - so I'm not sure I understand exactly the question. If I were to try and create the effect I *think* you're after, I'd probably overlay a circular graphic with a color and use one of the ink effects to create a see-thru effect. Or, I would use a single transparent circular.gif and set the the blendLevel of it to a transparent number. Of course you'll need to pass the mouseUp event (or others if you use them) through it. Also, don't forget you can set the backPattern of a graphic to an image. Not sure if it will help, but it is an interesting way to crop images to a circle. hope this helps. -Chipp ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 1.5 (now 2.0)
on 11/12/02 7:24 AM, Rob Cozens at [EMAIL PROTECTED] wrote: Here's the issue I am dealing with: I have a round button named Clock and a series of transparent, round clock-face icons depicting clock hand positions for all possible times of day (in five minute increments). I want to be able to change the clock's background color to depict daytime (6 AM - 5:55 PM) vs nighttime (6 PM - 5:55 AM) hours. How can I change the background color inside the circular image without changing the color of the button's corners protruding around the circular image. I'm not sure I understand... why does it have to be a button? Why not use a graphic and change the bg color in the graphic script? Mark Swindel ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 1.5 (now 2.0)
Rob, is the button round or rectangular. You talk about the button's corners, but a round button has no corners - so I'm not sure I understand exactly the question. Chipp, I think Rob answered that in his last post... he was talking about a round image as the icon of a button object, vs. using an image itself as a button. Rob, there's a lot you can do with images as buttons; you don't specifically have all the button properties available, but you can set the backgroundPattern or backgroundColor of an image so that might help your situation. For example, if you make the clock face such that the white areas inside the clock are actually transparent, and then set the backgroundColor of the image to white, you *should* see a white clock. If you then set it to yellow, you see a yellow clock. I'm doing this from memory, but try it out... it might just work. Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 1.5 (now 2.0)
Here's the issue I am dealing with: I have a round button named Clock and a series of transparent, round clock-face icons depicting clock hand positions for all possible times of day (in five minute increments). I want to be able to change the clock's background color to depict daytime (6 AM - 5:55 PM) vs nighttime (6 PM - 5:55 AM) hours. How can I change the background color inside the circular image without changing the color of the button's corners protruding around the circular image. Chip Walters has already explained one way to achieve this. Just remember there's no need to use buttons to grab mouseclicks; any object will work. Another way to do the above is to use a transparent circular graphic to grab the mouseclicks and display the clock faces in a button behind the graphic. Why do this? Because this way you can place the clock face images anywhere you want in the stack, even off screen or in a separate substack, and then display them at will in the button by setting the button's icon to the id of the desired face image. You don't need to worry about aligning all the clock images or repositioning them if you edit the stack. Sometimes folks who come from a SuperCard background lament the absence of the pictureData property of graphics in MC, but in reality, the feature is available, just as the icon property of buttons. Another thing to consider is whether or not you need any soft edges in your clock image. If you do, use a 24 bit PNG image with translucency -- your clock will look nicely rendered. And here's one last trick: if a GIF is suitable for your needs (one level of transparency) you can use an animated GIF that contains each clock face on a separate frame. When you need to change the clock, simply script set the currentFrame of img myClock to x where x is the frame number of the appropriate clock face. When it comes to screen display of images and graphics, Scott Raney's catchphrase There's a better way to do that has never been more true. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 1.5 (now 2.0
In the cases a non-rectangular clickable area is needed, a script that does some calculations with the mouse location could provide a solution for those cases. Still there are cases imaginable where this also wouldn't help. But to introduce a true non-rectangular button just for those rare cases seems overkill. RunRev is not the right app for 100% of all the development work, but it sure covers 90 to 99%. Rare cases?? What you have on more than 50% of the sites on the net and on nearly every MM App? Sorry, but thats *not* an overkill. Thats urgently needed!! I don't underestimate the need for non-rect btns (although you probably overestimate it), but I think the cases where a non-rectangular clickable area is needed that cannot be handled by a script doing calculations with the mouse loc to determine the right action, is very rare. Terry ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: building Mac OSX-stand-alones problem
On Dienstag, November 12, 2002, at 09:18 Uhr, [EMAIL PROTECTED] wrote: I was successfully building Mac OS X stand-alone versions of a revolution stack that I'm working on. Now suddenly every time I build a new stand-alone, despite selecting the OS X Standalone option, Revolution builds a 'classic' stand-alone application--this despite the fact that the folder in which the stand-alone is created is correctly labeled as 'Standalone_MacOSX'. Can anyone suggest what is happening?? rob crutcher BTW I am running the OS X version of Revolution 1.1.1 and Mac OS 10.2.1 ... We are in the middle of november... If you *can* wait, wait for 2.0... Thats my 2cents... regards Wolfgang M. Bereuter Learn easy with trainingsmaps© INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ... http://www.internettrainer.com, [EMAIL PROTECTED] ... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: 1.5 (now 2.0)
And here's one last trick: if a GIF is suitable for your needs (one level of transparency) you can use an animated GIF that contains each clock face on a separate frame. When you need to change the clock, simply script set the currentFrame of img myClock to x where x is the frame number of the appropriate clock face. my personal favorite. You could have different images for night and day. Let's see. 12 images per hour * 24 hours per day = 288 separate images...lot's of images to keep track of *unless* it's one GIF file. Some points to note: 1) don't forget to set the repeatcount of img myClock to 0 2) You don't what to use frame differencing or bounding box removal settings for the GIF. Each frame should be a complete picture in itself. -Chipp ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
insert script into back?
insert script of stack MyMainStack into back Somewhere I found this code snippet, without a real good explanation of why one would need it. Does this transcript do anything really? Doesn't the mainstack already catch all messages by virtue of being the main stack? Alex Rice, Software Developer Architectural Research Consultants, Inc. [EMAIL PROTECTED] [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: insert script into back?
--- Alex Rice [EMAIL PROTECTED] wrote: insert script of stack MyMainStack into back Somewhere I found this code snippet, without a real good explanation of why one would need it. Does this transcript do anything really? Doesn't the mainstack already catch all messages by virtue of being the main stack? Yes it does, but sometimes you might want to sêtup something from a library stack to catch all the messages. The backScripts sit just before the engine, but behind the stacksInUse. So you could use them (for example) to complement certain standard behaviour. As for frontScripts, you can use those (for example) to check input in fields by inserting the script of a library field in the front on openField. Pretty powerful things, frontScripts and backScripts, though admittedly I only use frontScripts. 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!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Web Access + Port Control
An update on my problem with using revGoURL with XP and an SBCGlobal DSL connection. It seems that the DSL software also installed an SBC browser. Somewhere in the process this added extra characters to an address sent with revGoURL and did not work. I am happy to say that changing the XP system settings back to Internet Explorer has fixed the problem. Thanks for all the useful suggestions. But now another problem. My DSL connection is through the USB port on phone line A. I can access the web and use RR to dial phone numbers through an internal modem on phone line B. However when I listen to LaunchCast I cannot access the modem port with the usual 'open file "com3:" for write' command. LaunchCast is set to download music through the DSL connection, but it appears to commandeer the modem port as well. The port becomes available as soon as I shut down LaunchCast. Is there any other way regain access to it through RR? Thanks for the reminder to post my messages in Plain Text. Currently I have the SBC Yahoo Mail system that comes with the DSL and it does not appear to offer a Plain option. It is probably possible to change to OutLook which would be better, but I have not had time to do that yet. And maybe I can build something better within RR using the improvements coming later this month. As I write I see that there is a "Plain" button lurking up the top of this page. I will use it and see if it removes the formatting. Appologies if it does not. Sorry If I do not have all the technical terminology correct - but I think you can get the idea. Happy programming y'all - Gary
Re: Web Access + Port Control
Uh, Gary... it *did* remove the formatting... and all the line breaks as well. Fine for a short post, but if you post a long one with code in it, it will be pretty hard to read. Outlook sounds like a good option to me. ;-) Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ - Original Message - From: Gary Aitcheson [EMAIL PROTECTED] To: RUG [EMAIL PROTECTED] Sent: Tuesday, November 12, 2002 4:40 PM Subject: Web Access + Port Control An update on my problem with using revGoURL with XP and an SBCGlobal DSL connection. It seems that the DSL software also installed an SBC browser. Somewhere in the process this added extra characters to an address sent with revGoURL and did not work. I am happy to say that changing the XP system settings back to Internet Explorer has fixed the problem. Thanks for all the useful suggestions.But now another problem. My DSL connection is through the USB port on phone line A. I can access the web and use RR to dial phone numbers through an internal modem on phone line B. However when I listen to LaunchCast I cannot access the modem port with the usual 'open file com3: for write' command. LaunchCast is set to download music through the DSL connection, but it appears to commandeer the modem port as well. The port becomes available as soon as I shut down LaunchCast. Is there any other way regain access to it through RR?Thanks for the reminder to post my messages in Plain Text. Cur! rently I have the SBC Yahoo Mail system that comes with the DSL and it does not appear to offer a Plain option. It is probably possible to change to OutLook which would be better, but I have not had time to do that yet. And maybe I can build something better within RR using the improvements coming later this month.As I write I see that there is a Plain button lurking up the top of this page. I will use it and see if it removes the formatting. Appologies if it does not. Sorry If I do not have all the technical terminology correct - but I think you can get the idea.Happy programming y'all - Gary ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Several questions about the Menu Mgr
Thanks, Jeanne. That sounds a lot simpler than the workaround I came up with: use the Application Overview to see the button text of the menu, copy it, paste it into a word processor, enter tabs, then paste it back into the Application Overview! Come to think of it, my solution is pretty close to what Ken Ray suggested that I do. Thanks, Ken. Now, about the other questions: can I specify a keyboard equivalent of a menu item that needs Command+Shiftkey+letter or a Function key (e.g. F2)? -Gareth At 9:51 AM -0800 11/11/02, Gareth Jones wrote: I did read Richard Gaskins' recent e-mail about hierarchical menus. where he seemed to say that entering tab)menuname would do it. If I type tabmenuname into the Menu Manager, however, the resulting menu item shows in the main menu as abmenuname ... and if I press the tab key, it just pops into the next text entry field, so that doesn't work :-) Not literally tab - a tab character. In the Menu Manager, you can insert the tab character by selecting the menu item, then clicking the right-arrow icon to the right of the menu name (its tooltip is Make the selected menu item into a submenu item). If you're building the menu in a handler, you'd use something like put First Item tab return Subitem return \ Last Item into button File -- Jeanne A. E. DeVoto ~ [EMAIL PROTECTED] Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Global /local variables
--- Ken Ray [EMAIL PROTECTED] wrote: Locals are the same as globals, except that they cannot have a scope outside of a single script. If you declare them inside of a handler, they apply only to that handler. If you declare them inside of a script, they are available to any handler in that script only. Other scripts don't see them. i like declaring locals mainly to control the order in which the variables are displayed during debugging. are there any other important reasons for declaring locally? = [EMAIL PROTECTED]http://www.erikhansen.org __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Get Popup submenu name
Title: Get Popup submenu name Dear yesterday evening I was trying to get the value(or name) of a submenu of popup list. let me explain it a litle bit I have a Popup menu which is named Platform when you klik on it you get a list of platforms f.e. - PC - Linux - Macintosh now when a user slects on of the items I want to put this as a text i a Global or Local var but i dont seem to find any function or command in the dicionary that does something like this where am i going wrong?