Re: Call for Tutorial Topics
Another tutorial I think would be helpful (though I don't know how many people would use it) would be one on handling Unicode and other multibyte formats. Areas would include entering Unicode/multi-byte text into fields, copying values between fields and other controls, setting labels to Unicode/multi-byte text values, and reading and writing to files with Unicode content. The existing documentation entries are not very helpful -- they give the commands, but don't explain which ones you would want to use and why. Searching this list isn't much better -- I found partial answers to some questions in old threads, but not a good comprehensive look at the issues (other than the humorous but unhelpful comment that The inspector is a disaster for Unicode input). I've been finding my way through by trial and error (and fortunately, I know a fair amount about how Unicode works). I may be in a position to write this tutorial and an example stack after a couple of weeks, as I'm working on Chinese language learning software and I'm going to need to be thoroughly acquainted with how it all works by the time I'm done. So if anyone has any other related topics (besides the ones I listed above), it would be helpful if you could send them to me. Regards, Elizabeth Dalton ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Call for Tutorial Topics
I just posted another response elsewhere about this. The key is to use the Kensington High Speed serial adapter. It is the only one that works reliably. Once that is used the USB port is actually now a Serial port and the device connected will receive serial commands as normal. I do this with Virtual PC on OSX and with my GPS, Telescope (Meade), Cell phone, MacBrick computer controller, etc. There was some problem that I can't remember using Sarah's Serial Stack with my MacBrick IO board. I think it was a time out issue waiting for a response. I got away from it and never got back. I am interested in the Mindstorm kit/solution as well, especially since they now have a mac software component. The mac software is from the classroom lab software if others are interested. I can get the web address. I would love to be in the loop on this one. Tom On Jul 9, 2004, at 1:36 AM, Scott Rossi wrote: Recently, Andre Garzia wrote: anyone want help me build a Rev Controled mindstorms lego robot? I would really dig on doing this -- I have a MindStorms (v1) kit. But I think the bigger issue as stated is USB communication: this really needs to be figured out, or the RunRev folks need to acknowledge that it's not possible at this time. In any event, if you find yourself in need of assistance, I'm open to it. Regards, Scott Rossi Creative Director Tactile Media, Development Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RCX and Rev (was Re: Call for Tutorial Topics)
Kensington High Speed serial adapter works. See another thread about it. Tom On Jul 9, 2004, at 1:40 AM, Andre Garzia wrote: On Jul 9, 2004, at 2:36 AM, Scott Rossi wrote: I would really dig on doing this -- I have a MindStorms (v1) kit. But I think the bigger issue as stated is USB communication: this really needs to be figured out, or the RunRev folks need to acknowledge that it's not possible at this time. In any event, if you find yourself in need of assistance, I'm open to it. Regards, Scott, my kit is also a v1 kit... I use an iConcepts usb to serial adapter (yes, it sucks)... for programming the mindstorms, this is enought, but since people want to learn about USB, then, well, I just can't help, I know nothing about USB. but I want to do some simple things with the RCX and Rev just to show it is possible... andre Scott Rossi Creative Director Tactile Media, Development Design -- Andre Alves Garzia 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Call for Tutorial Topics
Recently, Thomas McGrath III wrote: anyone want help me build a Rev Controled mindstorms lego robot? I would really dig on doing this -- I have a MindStorms (v1) kit. But I think the bigger issue as stated is USB communication: this really needs to be figured out, or the RunRev folks need to acknowledge that it's not possible at this time. In any event, if you find yourself in need of assistance, I'm open to it. The key is to use the Kensington High Speed serial adapter. It is the only one that works reliably. Once that is used the USB port is actually now a Serial port and the device connected will receive serial commands as normal. I do this with Virtual PC on OSX and with my GPS, Telescope (Meade), Cell phone, MacBrick computer controller, etc. That's an optional workaround, true, but it's not an example of Rev doing USB: Rev is still speaking serial. The goal is to get true USB happening, if that's even possible. Regards, Scott Rossi Creative Director Tactile Media, Development Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Call for Tutorial Topics
OOpps, Not kensington but Keyspan Sorry Tom On Jul 9, 2004, at 2:30 AM, Thomas McGrath III wrote: I just posted another response elsewhere about this. The key is to use the Kensington High Speed serial adapter. It is the only one that works reliably. Once that is used the USB port is actually now a Serial port and the device connected will receive serial commands as normal. I do this with Virtual PC on OSX and with my GPS, Telescope (Meade), Cell phone, MacBrick computer controller, etc. There was some problem that I can't remember using Sarah's Serial Stack with my MacBrick IO board. I think it was a time out issue waiting for a response. I got away from it and never got back. I am interested in the Mindstorm kit/solution as well, especially since they now have a mac software component. The mac software is from the classroom lab software if others are interested. I can get the web address. I would love to be in the loop on this one. Tom On Jul 9, 2004, at 1:36 AM, Scott Rossi wrote: Recently, Andre Garzia wrote: anyone want help me build a Rev Controled mindstorms lego robot? I would really dig on doing this -- I have a MindStorms (v1) kit. But I think the bigger issue as stated is USB communication: this really needs to be figured out, or the RunRev folks need to acknowledge that it's not possible at this time. In any event, if you find yourself in need of assistance, I'm open to it. Regards, Scott Rossi Creative Director Tactile Media, Development Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RCX and Rev (was Re: Call for Tutorial Topics)
Keyspan and not kensington sorry Tom On Jul 9, 2004, at 2:32 AM, Thomas McGrath III wrote: Kensington High Speed serial adapter works. See another thread about it. Tom On Jul 9, 2004, at 1:40 AM, Andre Garzia wrote: On Jul 9, 2004, at 2:36 AM, Scott Rossi wrote: I would really dig on doing this -- I have a MindStorms (v1) kit. But I think the bigger issue as stated is USB communication: this really needs to be figured out, or the RunRev folks need to acknowledge that it's not possible at this time. In any event, if you find yourself in need of assistance, I'm open to it. Regards, Scott, my kit is also a v1 kit... I use an iConcepts usb to serial adapter (yes, it sucks)... for programming the mindstorms, this is enought, but since people want to learn about USB, then, well, I just can't help, I know nothing about USB. but I want to do some simple things with the RCX and Rev just to show it is possible... andre Scott Rossi Creative Director Tactile Media, Development Design -- Andre Alves Garzia 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Call for Tutorial Topics
Your right, but I thought the Mindstorm only used serial commands Is this true? And, I agree that Rev doing USB is very important for any modern device connections. I don't know enough though about Rev's USB capabilities. Thanks Tom On Jul 9, 2004, at 2:39 AM, Scott Rossi wrote: Recently, Thomas McGrath III wrote: anyone want help me build a Rev Controled mindstorms lego robot? I would really dig on doing this -- I have a MindStorms (v1) kit. But I think the bigger issue as stated is USB communication: this really needs to be figured out, or the RunRev folks need to acknowledge that it's not possible at this time. In any event, if you find yourself in need of assistance, I'm open to it. The key is to use the Kensington High Speed serial adapter. It is the only one that works reliably. Once that is used the USB port is actually now a Serial port and the device connected will receive serial commands as normal. I do this with Virtual PC on OSX and with my GPS, Telescope (Meade), Cell phone, MacBrick computer controller, etc. That's an optional workaround, true, but it's not an example of Rev doing USB: Rev is still speaking serial. The goal is to get true USB happening, if that's even possible. Regards, Scott Rossi Creative Director Tactile Media, Development Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: total beginners database series.
At 12:22 09/07/2004 +1000, you wrote: Hi Bob, Great start, friendly writing and lots of screen shots. Scanning through the page, I came across a stack I though I recognized :-) A closer look revealed that it was indeed my calendar stack - I'm glad you like it. You then give instructions on how to insert one of the calendar stacks into a new project. It is probably a good thing to teach, but in this case, it is unnecessary as I included an install button on the Calendar Demos main stack :-) Ahh so It does. I'll stick on an image showing that this is the method generally, however mantion your fast method with a self installer. This was just a quick cobble together and indeed the webpage has to be built. Any recomendations anyone on a good website management and authoring package. I looked at hemmingway (keeping it in the fold) but as far as I can see you need to host with them. Is that correct? Cheers Bob Keep up the good work, Sarah On 8 Jul 2004, at 7:50 pm, Bob Hartley wrote: Hi all I have put up the first part of a total beginners guide on a page I have http://www.gla.ac.uk/~rh82p/mydb.html Just to give you an idea of what I envisage. All the best Bob ___ 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 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Shell $PATH problems
Following earlier suggestions on this list, I am using the get shell() command to send shell commands without going through Terminal. Here is the problem I have. Please compare my result from Terminal: === [~]: echo $SHELL /bin/bash [~]: echo $PATH /usr/bin/java:/sw/bin:/Users/kaveh/bin:/bin:/usr/X11R6/bin:usr/local/X11/bin:/usr/X11R6/lib:/usr/X11R6/include/X11:/Users/kaveh/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/lib:.:/Library/teTeX/bin/powerpc-apple-darwin1.3.7:/Users/kaveh/macgs-704-shlib/lib:/usr/local/bin/ [~]: And here is what I get back in RunRev, using put shell(echo $SHELL; echo $PATH) /bin/bash /usr/bin:/bin:/usr/sbin:/sbin:/Users/kaveh I am a Unix newbie, so answer may be obvious. Where does the last command get its path from? Does it not read from the same .bashrc, .bash_profile, etc? -- -- Kaveh Bazargan http://www.focalimage.com/ http://www.holographer.org/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Call for Tutorial Topics
At 2:02 AM -0400 7/9/2004, Elizabeth Dalton wrote: Another tutorial I think would be helpful (though I don't know how many people would use it) would be one on handling Unicode and other multibyte formats. Areas would include entering Unicode/multi-byte text into fields, copying values between fields and other controls, setting labels to Unicode/multi-byte text values, and reading and writing to files with Unicode content. The existing documentation entries are not very helpful -- they give the commands, but don't explain which ones you would want to use and why. Searching this list I guess I'm not sure what additional information you're looking for. The documentation entries regarding Unicode are short and don't explain the Unicode philosophy, but I'm not sure that's called for at this level. For example, How to enter or display Unicode text in a field just explains how to do it manually or in a script - not why you would want to use double-byte text in the first place. Similarly, How to import a Unicode text file doesn't talk about, for instance, why an app might store data as Unicode. But I don't know how reasonable that kind of in-depth information is for a product that after all is not primarily a Unicode tool. -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Documentation Books
Great things, some true, some usefull, some to the point and some less to the point, have been said in his thread, and I have been reading it with interest. My interest stems also from the fact that I am currently working on a project which deals with the organising, sorting and presenting of information. A personal, well I hate the word assistend in this context, but it will serve you well. It should even learn from the way you interact with the program and the way you organise information in yor head, the way you think. The funny thing is even if you have all the facts, this doesn't mean you understand or are able to use, the information. If your internal representation of the facts isn't in the right way for YOU, then the facts mean didtly to you. In that case your not able to combine the facts in a way that makes sense to YOU. This is something I find very often amiss in manuals and teaching books. While I was still in school I very quickly became aware that not so much learning was important but understanding. Most people learned algebra, mathematics, physics or chemestry. Well guess what, the moment you understand a certain principle you don't need to memorize and learn a lot. Since you understand what's going on you can always deduce the facts again when you need them. More over it doesn't matter that much if you forget the facts, which you tend to to over time, you can recreate them again and again. Teachers and manuals, which act as a sort of teacher, don't they, should be keenly aware of this fact. It's about understanding and the CONNEXION between the different pieces of information is the vihicul and the means to do this. Facts in itself have very little informational value. This is one of the flaws of the documantation. I know there is a popUp with related topics in the documentation but that's not quite the same as what I am saying. The what's related feature, is just a list of simular topics. It doesn't explicitly try to make a broader understanding available to the reader. People tend to learn in many different ways and use different strategies to do it. Some people learn by what's different from what they know, others by what is the same, the likeness. Some are very visual and without explicit pictures they have a hard time to learn, others like step by step instrucions. Manuals should be made to exploit all these different features people use to learn. Unfortunatly this is very exeptional. (I hope I'll do it right) There is yet another very important aspect about information and facts. The meaning of everything, litteraly everything, depends on the context. Change the context and you change the meaning. This means that the cross conexions between information are at least as important as the information itself, since information without context is no information at all. Those very small very specific exampless, have not much informational value. Examples should be real world working demonstrations of a principle. Since it's more than just a specific fact it wil automaticly show, and 'teach' other principles as well along the way. Personaly I learn best from real live examples and I believe this works for a lot of people. Having said all this, I am putting the last hand on a I believe a much needed tutorial about scrolling. For the project I am working on I needed a huge virtual space where liturally hundreds of different objects can be moved around and interacted upon. (I sure hope revolution can handle this) So I needed a scrolling card and a lot of features for the scrolling.(automatic expanding in 3 directions and blocking in the fourth) It took me an awfull lot of time to get this working. (no examples that I found about this kind of scrolling Simply scrolling a picture is no problem, in fact it's trivial, but if you need more complex possibility's and features, well take a deep breath 'cause you're in for quite a journy or . . . . . . . wait a couple of days and read my tutorial as I will make my discovery's available to all. I think these kind of things should be standart examples 'cause a lot of programs could benefit from it or indeed tare dependend on this feature. Like it is now we all have to invent the wheel by ourself, wich seems to me a kind of waist of time. I have a couple of other ideas for tutorials, namly hings I stumble on myself while developing my app and learning revolution. (tricks with groups, selecting multiple objects by clicking or drawing a marquee around them and my adventure with trying to take a OOP apraoch to creating objects even with inheritance and all. I don't know wether it will work but I certainly gonna try this, 'cause I could use it.) As soon as this first tutorial is presentable I'll post the link on this list, so you don't have to reinvent the wheel again, when you need somemore complex scrolling done. In the mean time happy programming Claudi
Re: armedIcon behavior
Morning John. I've been messing with the armedIcon setting, and it doesn't seem logical. My expectations are that I can simply have an image show when the mouse is over the button. I had several unexpected (and fairly annoying) results: I created a one card stack with one button. I set the button's icon armedIcon properties. I included in the button script: on mouseDown put The mouse is down end mouseUp - It didn't actually do anything until I had 'autoArm' and 'traversal' set to 'true'. Both settings are necessary if you want the button to automatically change icon image on mouseEnter mouseLeave. Neither setting is required if one scripts the action: on mouseEnter if word 1 of the long name of the target is button then set the armed of the target to true end mouseEnter on mouseLeave if word 1 the long name of the target is button then set the armed of the target to false end mouseLeave - It automatically triggered the 'mouseDown' script. Not here (RR 2.1.2, Mac OS 10.2.3) - 'Resuming' the stack automatically arms (and triggers) the last button that had the focus. This was really annoying! When I select another Revolution stack and then resume the original stack, the button is not armed. When I select another application and then resume the stack, the button flashes as it is armed and then disarmed. (RR 2.1.2, Mac OS 10.2.3); however the armed state does not persist and mouseDown is NOT triggered. Is this the correct behavior? All I wanted to do was create a 'rollover'...maybe I will switch to a simple 'mouseEnter/Leave' routine of my own. As noted, I am unable to trigger mouseDown (except by physically clicking the mouse while it is over the button); however, I agree that the arming/disarming of the button when Rev is resumed after another application was brought to the front doesn't seem right. But the triggering of mouseDown is caused by something else, IMFO. -- Rob Cozens CCW, Serendipity Software Company 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: CNC software by Rev
Hi Ken. You may be correct on this. In fact, I think you are. I picked up this particular unit for old time nostalgia. In the after glow of which I thought I would experiment with it hoping that Rev might be coaxed to run on it without modification to the Mac. However, reality often bites. In seeing how early a Mac unit might work well with Rev and this CNC project I may be stuck with using a 6100 model because of the limitations you are pointing out. I am by first training an archaeologist and sometimes can't let go of a functioning past! In any case the CNC project is a very practically based real world project and will be made to work on the first reasonable equipment platform which may be an old Windows box. But, I would then work back through my Mac inventory. It seems that a small, practical CNC program for the Mac which will run on pre-OS X computers might be useful to some people I have begun to run across in my searches. Ken Norris wrote: Hi mark, Date: Thu, 08 Jul 2004 19:44:15 -0600 From: Mark MacKenzie [EMAIL PROTECTED] Subject: Re: CNC software by Rev I am actually aiming to use a Mac Plus I picked up a few weeks ago just to see if I can and what Rev is capable of doing when pushed or stretched on marginal platforms and operating systems. I think it would be kind of cute to see an old Mac all in one running this rig. === Question: How will you run even a Rev standalone on a machine which cannot have more than 8MB of RAM? In fact, I've never seen a Rev - built app run on one of those. It'll be interesting to see if it's at all possible. Ken N. ___ 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: CNC software by Rev
Hi Tom. You are well into an area I would like to go one day. I have been looking at controlling a panorama head for photo work. I am very interested in what you are doing with telescopes as well. My short research so far leads me to want to investigate using the printer port, feeding the signals through a black box (with circuit board) and then to the particular units I wish to control. Although adding another hardware component to the path this might simplify the Rev work. Glad to have your experience and knowledge on board. Mark M Thomas McGrath III wrote: Mark M, I don't know how related this might be but I have been playing with robot controllers and X10 stuff for a while and also with Telescope software. Anyway, One thing I have found for any serial devices is that the key serial to usb issue is using the Kensington High Speed serial adapter. I tried all kinds of other adapters for serial to USB but that is the only one that works right. I also use Virtual PC and it recognizes the high speed serial adapter for my GPS etc The other adapters would work sometimes and others not and this lesson was hard come by for me. FWIW I know if you are using an old mac that you are looking for ADB but I don't know where or what to look for for that. I did splice and rewire a few serial adapters and I think I remember splicing a 25 foot ADB once that 'they' said shouldn't work for my web cam, but it did. I am going to research this as well. I want to do some metal etching and clay/cement/stone etching with at least an XY controller. Thanks Tom Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 ___ 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
Unicode : was call for tutorial topics
FWIW, not knowing anything about Unicode and having gotten my curiosity tweaked by these postings, I was able to google Unicode and find information about what it is and why one might want to use it. Might it suffice to refer people who want more background info on Unicode to www.unicode.org? M On Jul 9, 2004, at 3:39 AM, Jeanne A. E. DeVoto wrote: At 2:02 AM -0400 7/9/2004, Elizabeth Dalton wrote: Another tutorial I think would be helpful (though I don't know how many people would use it) would be one on handling Unicode and other multibyte formats. Areas would include entering Unicode/multi-byte text into fields, copying values between fields and other controls, setting labels to Unicode/multi-byte text values, and reading and writing to files with Unicode content. The existing documentation entries are not very helpful -- they give the commands, but don't explain which ones you would want to use and why. Searching this list I guess I'm not sure what additional information you're looking for. The documentation entries regarding Unicode are short and don't explain the Unicode philosophy, but I'm not sure that's called for at this level. For example, How to enter or display Unicode text in a field just explains how to do it manually or in a script - not why you would want to use double-byte text in the first place. Similarly, How to import a Unicode text file doesn't talk about, for instance, why an app might store data as Unicode. But I don't know how reasonable that kind of in-depth information is for a product that after all is not primarily a Unicode tool. -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.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: CNC software by Rev
Hi Tom. You are well into an area I would like to go one day. I have been looking at controlling a panorama head for photo work. I am very interested in what you are doing with telescopes as well. My short research so far leads me to want to investigate using the printer port, feeding the signals through a black box (with circuit board) and then to the particular units I wish to control. Although adding another hardware component to the path this might simplify the Rev work. Note that Smile (the applescript programming toolset) has serial communication built in. The whole reason Smile exists is to do machine vision systems, process control, and data display. The fact that we all get a free editor and scientific graphing utility out of it is merely a side effect of Satimage's main business. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Documentation Books
C List wrote: Great things, some true, some usefull, some to the point and some less to the point, have been said in his thread, and I have been reading it with interest. My interest stems also from the fact that I am currently working on a project which deals with the organising, sorting and presenting of information. A personal, well I hate the word assistend in this context, but it will serve you well. It should even learn from the way you interact with the program and the way you organise information in yor head, the way you think. I have a couple of other ideas for tutorials, namly hings I stumble on myself while developing my app and learning revolution Great post. I look forward to your contributions in the RevDocs group: http://groups.yahoo.com/group/RevDocs/ -- Richard Gaskin Fourth World Media Corporation ___ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Shell $PATH problems
On Jul 9, 2004, at 1:34 AM, Kaveh Bazargan wrote: I am a Unix newbie, so answer may be obvious. Where does the last command get its path from? Does it not read from the same .bashrc, .bash_profile, etc? This depends on the shell. Function shell() and Terminal need not be using the same shell. Terminal uses bash, but you can change that in preferences. I think the shell for shell() changed recently for OS X. You can set the shellCommand property to determine the shell that the shell() function uses. On my Rev 2.2 on OS X the shellCommand is /bin/sh. Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
sponateneous purging of a backscript?
As far as I know, a backscript can be removed under only two circumstances: - with the remove command - when the stack containing the frontscript object has its destroyStack is set to true and the stack is closed Yet somehow the RevNet backscript is being purged and I can find neither of those two circumstances at play. RevNet has two components: GoRevNet is the local plugin that fetches RevNet from one of my servers. Because both stacks need a download routine that updates a progress bar, I put that code in a backscript in an object in GoRevNet, with the aim of avoiding code redundancy and minimizing the size of the downloaded RevNet stack. While the GoRevNet stack closes after it has successfully downloaded RevNet, the backscript remains in place until RevNet is closed; a closeStack handler in RevNet does the tidying up of the environment, removing that backscript since it will no longer be needed until the next time GoRevNet is opened. In the year and half RevNet's been in circulation I've had three reports of behavior which suggests GoRevNet's backscript is being purged. In the most recent case the purging of the backscript has been confirmed, and the destroyStack of GoRevNet has been confirmed to remain false. Of course the most solid fix would be to go ahead and have redundant code in each and get rid of the backscript entirely (did that this morning), but that wouldn't address the mystery here: Why is it working great for most people but not for the three reported cases, and what could be purging that backscript? In each of these cases their setup is reported to be a stock installation -- no additional plugins or other modifications to the Rev installation, and all three are running OS X. A further data point is that this issue has not been reported when using RevNet within the MetaCard IDE, and in spite of my best efforts I've been unable to reproduced the issue here. I ran a search through the message path for the phrase remove script, and while I was able to find a few cases where the IDE removes backscripts each one was explicitely removing a specific IDE backscript, so it should not affect any others. Can you think of anything else that might be causing the backscript to be removed out from under only a very few users yet work fine for everyone else? -- Richard Gaskin Fourth World Media Corporation ___ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Tabkey and Positioning Cursor
I wrote about send tabkey giving a message that the handler couldn't be found when it was part of the script. I need to make the cursor appear in a field. The software makes a field visible for the user to type in, but I don't want the user to have to click in there; I want the cursor to just appear so the user is ready to go. It will say, Type your name and hit return. and the cursor will be blinking in the field ready, but my old HC send tabkey doesn't work. There is another unlocked field on the card. Thanks for helping! Tom in Arizona ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Tabkey and Positioning Cursor
Hi Tom I wrote about send tabkey giving a message that the handler couldn't be found when it was part of the script. I need to make the cursor appear in a field. The software makes a field visible for the user to type in, but I don't want the user to have to click in there; I want the cursor to just appear so the user is ready to go. It will say, Type your name and hit return. and the cursor will be blinking in the field ready, but my old HC send tabkey doesn't work. There is another unlocked field on the card. Thanks for helping! no need for TABKEY .-) try this: ... show fld xyz select before text of fld xyz ... This will set the cursor to where you want it :-) Tom in Arizona Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Bringing some Game Sounds into Rev
Hi Tom, The HyperCard stack I am converting is a little pinball game and I used to use the Play Harpsichord command to get music to play. I'd just write in the notes. All I really need is for the game to beep, and boing at wrong answers and maybe play a few notes or go ding! when the ball hits something. What is the easiest way to accomplish this? Do I make Mp3 files and somehow incorporate them into the RunRev stack? Just something simple to get me started would really be appreciated. if you use internal (imported) sounds you are restricted to 3 file formats: The *.WAV and *.AIF !!!UNCOMPRESSED!!! ...and the compressed *.AU format... Anything else has to be a referenced file in a player object... Tom Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Bringing some Game Sounds into Rev
I just use WAV files and import them into the stack using import as control [File menu]. I even converted a piece created in GarageBand on the Mac to WAV (if memory serves, used QT Pro to do this), so I can play music without copyright issues. HTH. M On Jul 9, 2004, at 12:37 PM, Tom Cole wrote: The HyperCard stack I am converting is a little pinball game and I used to use the Play Harpsichord command to get music to play. I'd just write in the notes. All I really need is for the game to beep, and boing at wrong answers and maybe play a few notes or go ding! when the ball hits something. What is the easiest way to accomplish this? Do I make Mp3 files and somehow incorporate them into the RunRev stack? Just something simple to get me started would really be appreciated. Tom ___ 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: sponateneous purging of a backscript?
Hi Richard, Can you think of anything else that might be causing the backscript to be removed out from under only a very few users yet work fine for everyone else? Different versions of Run Rev or the OS? Different hardware configurations? Different third party software (eg: QuickKeys, Norton Utilities, virtual firewalls, virus checkers)? Is it practical to track this down by placing a handler somewhere to check for the existence of the backScript every so often and report when it doesn't find them...the idea being one might focus in on the event--if it is an event--that zaps your backScript? -- Rob Cozens CCW, Serendipity Software Company 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: Shell $PATH problems
At 9:39 am -0600 9/7/04, Dar Scott wrote: [...] This depends on the shell. Function shell() and Terminal need not be using the same shell. Terminal uses bash, but you can change that in preferences. I think the shell for shell() changed recently for OS X. You can set the shellCommand property to determine the shell that the shell() function uses. On my Rev 2.2 on OS X the shellCommand is /bin/sh. It's bash, which I think is default for Panther, but the path is not the same as Terminal. Here's the response to put shell(echo $SHELL; echo $PATH): /bin/bash /usr/bin:/bin:/usr/sbin:/sbin:/Users/kaveh -- -- Kaveh Bazargan http://www.focalimage.com/ http://www.holographer.org/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: sponateneous purging of a backscript?
At 9:01 AM -0700 7/9/2004, Richard Gaskin wrote: Yet somehow the RevNet backscript is being purged and I can find neither of those two circumstances at play. [...] A further data point is that this issue has not been reported when using RevNet within the MetaCard IDE, and in spite of my best efforts I've been unable to reproduced the issue here. I ran a search through the message path for the phrase remove script, and while I was able to find a few cases where the IDE removes backscripts each one was explicitely removing a specific IDE backscript, so it should not affect any others. Can you think of anything else that might be causing the backscript to be removed out from under only a very few users yet work fine for everyone else? You might try a similar search for delete stack - in case the IDE is removing the stack from memory. (I seem to recall there are a few loops that do a delete stack.) I'd also seriously consider changing the stack name to something that doesn't begin with the letters rev. The IDE assumes all stacks starting with this string are part of it, and it can cause unexpected behavior (for instance if the IDE is looping through the openStacks looking for its own stacks). The fact that you're seeing this in Rev but not MetaCard suggests this might be the problem -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: sponateneous purging of a backscript?
Hi Richard, couple of things... 1) Jeanne's suggestion regarding changine the 'rev' prefix to something else would be my first fix attempt. If RR is walking through the backscripts and checking their owners, they could assume your backscript is theirs, and do whatever with it. 2) Consider moving your backscript into a subStack of RevNet and start using it. Perhaps backscripts are purged, but I've never seen an open stack purged (and I've done a lot of rev prefixed plugins;-) 3) This is a bit controversial idea...but consider not using backscripts, library stacks, or frontscripts in IDE plugins, unless you *have to*. Each of these 'play outside the sandbox' and can interfere with the IDE (you of course know this). All of my plugins which have frontScripts (potentially the most troublesome) also have a toggle to turn the frontScripts OFF. Course, when you close a plugin, the frontScripts are removed automatically. That being said, altPluginToolbar does have a libraryStack, which is unique to it. I've never seen it interfere with anything, but you never know. I'll probably move it all up to the mainStack stack script sometime (as you are now doing as well), but as you know-- it's less efficient there. Some of the comments above, I know you already know-- but are included for the sake of others who may stumble across this. One day I hope to grow up and be as good a coder as you. :-) best, Chipp ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Shell $PATH problems
On Jul 9, 2004, at 12:04 PM, Kaveh Bazargan wrote: It's bash, which I think is default for Panther, but the path is not the same as Terminal. Here's the response to put shell(echo $SHELL; echo $PATH): /bin/bash /usr/bin:/bin:/usr/sbin:/sbin:/Users/kaveh Sorry. It was right in front of me. (It does look like we found a bug not directly related to your problem. My shellCommand property is /bin/sh, but bash is run in my shell(), too.) I'm naive in Unix. From my Terminal I get this: echo $PATH /bin:/sbin:/usr/bin:/usr/sbin From shell() on Rev 2.2 I get this: /usr/bin:/bin:/usr/sbin:/sbin:/Users/dar I'd look in /etc/bashrc and in .profile, too. There might be other files. I don't get the long $PATH in Terminal. Maybe some installers put them in .profile or other file. Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: sponateneous purging of a backscript?
sez [EMAIL PROTECTED] Can you think of anything else that might be causing the backscript to be removed out from under only a very few users yet work fine for everyone else? Isn't there an upper limit on how many backscripts can exist at any one time? If so, how does Rev keep track of the backscripts, and how does it decide which backscripts are excess, and what does it do to excess backscripts? If not, well, I'm clueless... ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Shell $PATH problems
At 1:11 pm -0600 9/7/04, Dar Scott wrote: [...] I'm naive in Unix. Makes two of us. ;-) From my Terminal I get this: echo $PATH /bin:/sbin:/usr/bin:/usr/sbin From shell() on Rev 2.2 I get this: /usr/bin:/bin:/usr/sbin:/sbin:/Users/dar OK. So two paths are being looked at depending on whether we are in Terminal or RR. Any more guidance on this from Unix gurus would be appreciated. -- -- Kaveh Bazargan http://www.focalimage.com/ http://www.holographer.org/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Shell $PATH problems
On Jul 9, 2004, at 1:35 PM, Kaveh Bazargan wrote: I'm naive in Unix. Makes two of us. ;-) I found _Learning Unix for Mac OS X Panther_. It might help. From my Terminal I get this: echo $PATH /bin:/sbin:/usr/bin:/usr/sbin From shell() on Rev 2.2 I get this: /usr/bin:/bin:/usr/sbin:/sbin:/Users/dar OK. So two paths are being looked at depending on whether we are in Terminal or RR. Any more guidance on this from Unix gurus would be appreciated. Well, until a guru weighs in... I found in the above reference that bash looks at both /etc/profile and /etc/bashrc. Then it looks in .profile. I have no .profile, the best I can tell. Maybe you have one and it adds the paths. Maybe you can get your shell to look at it or maybe you can switch to absolute paths. An alternate way to shell is to use appleScript to get to a shell. Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Documentation Books OT
One of the absolutely 'best documented' products for newbies is SketchUp. It's a 3D application. And IMO what makes it so absolutely great are the video tutorials found at: http://www.sketchup.com/training.php You can't watch but a few of these and you are compelled to buy the product (at least I did!). Which brings me around to 'the best multimedia app ever'. First, some boring background. Many of you know I founded Human Code in the early 90's. We created 100's of commercial CD-ROM's over a period of 8 years including games, edutainment and multimedia demos. One of our claims to fame was all the awards we won-- mostly due to the fact the core group had a very strong design background. The only reason I mention this, is to say I've had a lot of experience working with 'compelling media integration' (Apple's old buzz words;-). But, the best multimedia I ever saw, I had nothing to do with it. Frankly, It was a most surprising revelation, as the CD-ROM had extremely poor production quality. The graphics were lame, the interface brutally simple, but it did one thing EXACTLY correct. It did not get in the way of displaying the content. And, for me, the content was SO COMPELLING, the rest didn't matter. The CD-ROM was simply a video introduction to coding in Visual Basic. The onscreen video tutorials were done well, and you could have it open next to the VB IDE and actually work right along with it. It made things SO EASY! I learned a lot about compelling media integration vs design that day. I guess it's one of the reasons I'm not so Flash gung-ho, because while the 'designs' are fabulous, most of the Flash websites I've seen have little compelling content on them. So, to Judy and Marian and others (if you're still reading by now)-- I hear you! I can certainly see the benefits of having video tutorials as opposed to the text only approach currently used. The issue is only one of cost and priorities for RR. I think they're listening, too ;-) best, Chipp ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Documentation Books OT
On Jul 9, 2004, at 3:54 PM, Chipp Walters wrote: And IMO what makes it so absolutely great are the video tutorials found at: http://www.sketchup.com/training.php You can't watch but a few of these and you are compelled to buy the product (at least I did!). Makes two of us! And I already had some more advanced 3D programs. (Cinema4D Studio, Lightwave) -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Communication with USB HID devices?
I have an HID-compliant USB 1.1 device that I want to interact with via a Rev stack. The device has no custom driver - it relies on the HID driver included with the operating system. The device enumerates correctly when plugged in, so the OS recognizes it; but Rev can't see the driver (it doesn't list it in 'the driverNames' on OSX), so I don't know how to use Rev to communicate with it. Any suggestions? Observations? Guesses? Thanks - Phil Davis ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: sponateneous purging of a backscript?
Hi Richard, Can you think of anything else that might be causing the backscript to be removed out from under only a very few users yet work fine for everyone else? What happens if development tools are suspended? -- Rob Cozens CCW, Serendipity Software Company 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: Communication with USB HID devices?
On Jul 9, 2004, at 2:41 PM, Phil Davis wrote: Any suggestions? Observations? Guesses? Guess: Maybe it can look like a mouse/keyboard? Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Communication with USB HID devices?
Unfortunately the device doesn't use the regular keyboard (or mouse) interface. The docs suggest that on OSX/Unix I should be able to find device names in the /dev/tty file. That file is empty on my machine - the device isn't listed there, maybe? because it doesn't have a custom driver. Try again! Phil - Original Message - From: Dar Scott [EMAIL PROTECTED] To: How to use Revolution [EMAIL PROTECTED] Sent: Friday, July 09, 2004 2:17 PM Subject: Re: Communication with USB HID devices? On Jul 9, 2004, at 2:41 PM, Phil Davis wrote: Any suggestions? Observations? Guesses? Guess: Maybe it can look like a mouse/keyboard? Dar Scott ___ 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
Revolution Toolbar
Alright, has anyone sucessfully moved the Tools Palette to the menubar on Revolution for Windows? I really would like to have it appear directly under the menus. That ways I have less windows open and more room on the screen to work with. The ultimate would be for that to be an option. It can either be a palette or it can be docked inside the menubar. I tried to do it but kept running into problems. Any ideas? Derek Bump Dreamscape Software Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Communication with USB HID devices?
On Jul 9, 2004, at 3:43 PM, Phil Davis wrote: The docs suggest that on OSX/Unix I should be able to find device names in the /dev/tty file. That file is empty on my machine - the device isn't listed there, maybe? because it doesn't have a custom driver. Try again! Look for /dev/tty*. For example the built-in modem is shown as /dev/tty.modem. Look for /dev/cu*. Those are the one you will use. I was going to suggest something else and based on what you are saying, it may work out. Many devices have (sometimes in addition to other interfaces) a interface that looks like a serial device. Sometimes driverNames() will miss devices. Try this: -- Ken Ray and Dar Scott did this function deviceNames local theNames=, ioregOutput, skipLines, temp local IOTTYDevice, IODialinDevice, IOCalloutDevice set the hideConsoleWindows to true put shell(ioreg -n IOSerialBSDClient) into ioregOutput repeat forever put lineOffset(IOSerialBSDCLient,ioregOutput) into skipLines if skipLines is zero then return thenames delete line 1 to skipLines of ioregOutput -- Get all the data between the braces put char(offset({,ioregOutput)) to (offset(},ioregOutput)) of ioregOutput into temp get matchText(temp,\IOTTYDevice\ = \(.*?)\,IOTTYDevice) if it is not true then next repeat get matchText(temp,\IODialinDevice\ = \(.*?)\,IODialinDevice) if it is not true then next repeat get matchText(temp,\IOCalloutDevice\ = \(.*?)\,IOCalloutDevice) if it is not true then next repeat put IOTTYDevice,IODialinDevice,IOCalloutDevice lineFeed after theNames end repeat end deviceNames For example, this will find my internal modem. Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: sponateneous purging of a backscript?
FWIW, I didn't have any clever thoughts about what might be happening, but my one reaction was that the IDE must be making a mistake when trying to remove it's own backscript(s). I know that doesn't help much, but sometimes when two heads reach the same place it's a good sign! That is, unless there's a bug in the IDE which checks for stack names which merely contain rev rather than start with rev. But if that were the case it's probably better for them to have this bug caught by a patient person like me rather than a newcomer making something like My Rev Experiments. ;) ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Shell $PATH problems
At 1:48 pm -0600 9/7/04, Dar Scott wrote: [...] Well, until a guru weighs in... I found in the above reference that bash looks at both /etc/profile and /etc/bashrc. Then it looks in .profile. I have no .profile, the best I can tell. Maybe you have one and it adds the paths. Maybe you can get your shell to look at it or maybe you can switch to absolute paths. I would have thought RR would look in the same place as Terminal, so getting the same $PATH. An alternate way to shell is to use appleScript to get to a shell. Actually this is what I was doing till I learnt shell() on this list a few days ago. ;-) -- -- Kaveh Bazargan http://www.focalimage.com/ http://www.holographer.org/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Communication with USB HID devices?
Thanks for the effort. So far, no cigar. I ran the script and it returned empty. I haven't succeeded in opening or even copying /dev/cu.modem (my only 'cu' file) yet - it hangs things up when I try. (I tried copying it to Desktop via Terminal and via Rev 'shell' command. I also tried Rev 'put url' into fld, but it hung.) Other thoughts? Phil original post I have an HID-compliant USB 1.1 device that I want to interact with via a Rev stack. The device has no custom driver - it relies on the HID driver included with the operating system. The device enumerates correctly when plugged in, so the OS recognizes it; but Rev can't see the driver (it doesn't list it in 'the driverNames' on OSX), so I don't know how to use Rev to communicate with it. Any suggestions? Observations? Guesses? === end original = - Original Message - From: Dar Scott [EMAIL PROTECTED] To: How to use Revolution [EMAIL PROTECTED] Sent: Friday, July 09, 2004 2:53 PM Subject: Re: Communication with USB HID devices? On Jul 9, 2004, at 3:43 PM, Phil Davis wrote: The docs suggest that on OSX/Unix I should be able to find device names in the /dev/tty file. That file is empty on my machine - the device isn't listed there, maybe? because it doesn't have a custom driver. Try again! Look for /dev/tty*. For example the built-in modem is shown as /dev/tty.modem. Look for /dev/cu*. Those are the one you will use. I was going to suggest something else and based on what you are saying, it may work out. Many devices have (sometimes in addition to other interfaces) a interface that looks like a serial device. Sometimes driverNames() will miss devices. Try this: -- Ken Ray and Dar Scott did this function deviceNames local theNames=, ioregOutput, skipLines, temp local IOTTYDevice, IODialinDevice, IOCalloutDevice set the hideConsoleWindows to true put shell(ioreg -n IOSerialBSDClient) into ioregOutput repeat forever put lineOffset(IOSerialBSDCLient,ioregOutput) into skipLines if skipLines is zero then return thenames delete line 1 to skipLines of ioregOutput -- Get all the data between the braces put char(offset({,ioregOutput)) to (offset(},ioregOutput)) of ioregOutput into temp get matchText(temp,\IOTTYDevice\ = \(.*?)\,IOTTYDevice) if it is not true then next repeat get matchText(temp,\IODialinDevice\ = \(.*?)\,IODialinDevice) if it is not true then next repeat get matchText(temp,\IOCalloutDevice\ = \(.*?)\,IOCalloutDevice) if it is not true then next repeat put IOTTYDevice,IODialinDevice,IOCalloutDevice lineFeed after theNames end repeat end deviceNames For example, this will find my internal modem. Dar Scott ___ 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: Shell $PATH problems
On Jul 9, 2004, at 3:57 PM, Kaveh Bazargan wrote: An alternate way to shell is to use appleScript to get to a shell. Actually this is what I was doing till I learnt shell() on this list a few days ago. ;-) Long ago, before shell() worked on OS X, I used this workaround that I mentioned on this list: I know nothing about AppleScript, but with a tiny bit of fooling around I came up with this: function shellSH cmd -- Sorry, no quote marks in cmd in this version -- And shellCommand is ignored put do shell script quote cmd quote into s do s as AppleScript put result() into r replace numToChar(13) with linefeed in r return r end shellSH This uses sh and not tcsh that the Terminal program uses. The shell used may not apply any more. In your case, if you 'cat .profile', you might see what it does to the path if it exits. Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Bringing some Game Sounds into Rev
Tom, I'll chime in case 1,000 other HCers haven't... Try Jonathan Bettancourt's (sp?) Shakobox and etc. stuff. I think Jacque has it at www.hyperactivesw.com somewhere in there. Let's you use HC-like musical scripting (a few differences, though; check the documentation). Just not sound channels. Kinda cool. You get access to the full range of QT musical instruments. Judy On Fri, 9 Jul 2004, Tom Cole wrote: The HyperCard stack I am converting is a little pinball game and I used to use the Play Harpsichord command to get music to play. I'd just write in the notes. All I really need is for the game to beep, and boing at wrong answers and maybe play a few notes or go ding! when the ball hits something. What is the easiest way to accomplish this? Do I make Mp3 files and somehow incorporate them into the RunRev stack? Just something simple to get me started would really be appreciated. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Documentation Books OT
Chipp, On Fri, 9 Jul 2004, Chipp Walters wrote: I learned a lot about compelling media integration vs design that day. I guess it's one of the reasons I'm not so Flash gung-ho, because while the 'designs' are fabulous, most of the Flash websites I've seen have little compelling content on them. --I agree completely! It was an issue I wrestled with with my master's project being an intro to Rev because, on the one hand, I knew they were the types who love media for media's sake and not for its communications value (despite saying the opposite), and, on the other, you almost HAVE to use some of this content to get across the point that you CAN use these media elements in Rev... And then I realized that they probably were never going to even look at it. Still, I tried for a balance; hope it worked! Judy ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: customKeys and how to address them
Devin, Thanks for the assistance. I'm reproducing the few script lines that I found demonstrate the basic concept (in case there are others here who are as bamboozled as I was): get line 2 of the customKeys of fld 1 put answer the it of fld 1 into thePhrase do thePhrase That gets me the contents of the property. Apparently you have to use some indirection to get the -contents- of the custom property; why this is the case is beyond me. I'm a Hypercard kind of guy so I expect it all to be totally transparent. (*grin*) Again, thanks very much. Regards, Barry On 7/8/04 6:33 PM, Devin Asay allegedly flung into the void: From: Devin Asay [EMAIL PROTECTED] Subject: Re: Custom property selection of text On Jul 8, 2004, at 3:36 PM, Barry Levine wrote: snip ...but the scripting of this escapes me. I've looked at: get the customproperties[customKeys] of field 1 answer it ...but this returns nothing. The property you want is the customKeys. You'll have to do it like this (untested, but this is the gist): repeat with i = 1 to number of lines in the customeKeys of fld 1 get line i of the customKeys of fld 1 put select it of fld 1 into cmd do cmd wait 2 seconds end repeat ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: customKeys and how to address them
Barry Levine wrote: Devin, Thanks for the assistance. I'm reproducing the few script lines that I found demonstrate the basic concept (in case there are others here who are as bamboozled as I was): get line 2 of the customKeys of fld 1 put answer the it of fld 1 into thePhrase do thePhrase That gets me the contents of the property. Apparently you have to use some indirection to get the -contents- of the custom property; why this is the case is beyond me. I'm a Hypercard kind of guy so I expect it all to be totally transparent. (*grin*) Again, thanks very much. If you know the key in advance you can write (e.g., for a custom property named uMyProp): get the uMyPop of tMyObj If you don't know the name in advance and need a bunch of such properties, remember that you can use a custom property set and access its keys with array notation -- if we assume the variable tVar contains uMyProp we can write: get the uMyProps[tVar] of tMyObj Or you can index a custom property set by numbers: repeat with i = 1 to 10 set the uMyProps[i] of tMyObj to somevalue end repeat -- Richard Gaskin Fourth World Media Corporation ___ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Communication with USB HID devices?
On Jul 9, 2004, at 4:32 PM, Phil Davis wrote: I haven't succeeded in opening or even copying /dev/cu.modem (my only 'cu' file) yet - it hangs things up when I try. (I tried copying it to Desktop via Terminal and via Rev 'shell' command. I also tried Rev 'put url' into fld, but it hung.) This should open the modem: open driver /dev/cu.modem for binary update The driver seems to insert a 3 second delay for me in the open. I ran the script and it returned empty. If your device has a serial view in addition to the HID view, then you should see it in either driverNames() or deviceNames(). I have seen some problems with serial if you can get a serial driver set up for the device, but there is a chance you can avoid them. (By serial, I mean something that looks like an RS-232 driver, I don't mean the USB itself.) I just tried deviceNames() on Panther. It returns the built-in modem entry 3 times. Weird. (I'll check it out.) The Revolution driverNames() does not return anything for the built-in modem. Other thoughts? There's nothing in the control panel or someplace to make the device look like a mouse? I'm running out of ideas. If it was me, I'd be thinking of making an external. Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Unicode (was Call for Tutorial Topics)
Jeanne A. E. DeVoto wrote: I guess I'm not sure what additional information you're looking for. The documentation entries regarding Unicode are short and don't explain the Unicode philosophy, but I'm not sure that's called for at this level. Marian Petrides wrote: Might it suffice to refer people who want more background info on Unicode to www.unicode.org? It's really not philosophy or history I'm looking for. My problems are very RunRev specific. Here are the kinds of things I'm struggling to figure out on my own, that I think a good tutorial could have helped with: 1 - I'm writing a children's online Chinese dictionary, so I want a text field to hold multibyte characters (specifically Chinese and Japanese characters). I'm using Mac OSX, so I can easily activate the input method to enter the characters, but I can't seem to manipulate them in any way. For example, I can't choose a font or size in the Property Inspector, can't get or set the contents using the message box, etc. It turns out that I need to manually (using script or messagebox) set the textFont of the field to something like Osaka,Japanese (and you can't have any extra spaces after the comma). That wasn't intuitively obvious. 2 - Ok, now I have double-byte text in a field, and I want to copy it and display it somewhere else. I plan to use characters from the dictionary stack and I want to have a Concentration card game which will let kids practice recognizing Chinese characters. Unlike situations involving plain text, I can't just say put field 1 into field 2. I have to say something like put the unicodeText of field 1 into field 2. Oh yeah, and Field 2 had better already have its textFont property set correctly, too, or the results will be gibberish. How would I have known to even look for a unicodeText value? I think it took me about an hour to figure out how to use it correctly, even after I found it. 3 - I have a solitaire tile game ported from Hypercard which lets you click on matching tiles to remove them from the pattern-- very standard. Each tile is a button, and when you click on them, the sound that goes with the character is also played. In my original, I hand-drew all the Japanese characters as icons, and set the icons and names of each button with a shuffle script. Now I'd like to set the labels of the tiles instead, to a multibyte value. Well, it's a good thing I wanted to script this, because as I discovered while testing to find a good font and size to use, you can't set the label to a multibyte or Unicode value using the Property Inspector. You also can't just type the Unicode text into a script or the messagebox. You need to put it in a file or field which has had its textFont property set. After searching the documentation, this list, and much trial and error, I found the command I needed: set the label of button mu to the unicodeText of line 1 of card field testUnicode But even that won't work unless one has also remembered to set the textFont of the button itself. I still haven't found an actual use for uniEncode and uniDecode. I assume I'll find some situation within the next week or so for which I'll need them, but it sure would be nice to know now where I'll use them. My point is that the existing documentation on this subject resembles an old joke in which a man lost in a hot air balloon tries to get help figuring out where he is from someone in a window who turns out to be a Microsoft tech support engineer, who tells him you're in a hot air balloon. Absolutely true, but not very helpful. Knowing the syntax of a command does one little good unless one knows which command to use in a given situation, and the docs are woefully low on context. Then again, that's what a good tutorial should provide. Regards, Elizabeth Dalton ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Documentation Books OT
I thought I had already posted the following to the list, but I'm not sure I ended up sending itanyway: The music notation program Finale has a rather steep learning curve and many, many tools that do very specific things in terms of notation, precise page layout and symbol design. In the latest release there are included a dozen or so Flash movies that a geared towards the new user, and are task-oriented, i.e. setting up a document; entering notes; editing notes; adding a staff; printing parts, etc. This same sort of Quickstart video tutorial might be useful for beginners where Revolution is concerned. The movies might be included with the product, or could be a separate download (Flash movies are not generally large files compared to video)- and new users who are non-programmers could be especially encouraged to view them. KK ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Bringing some Game Sounds into Rev
If you know the piano keyboard you might also use the sample stack MIDIBuilder (included with the Revolution distribution) to generate MIDI files which you could reference in a Player object. KK ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Documentation Books OT
Kurt Kaufman wrote: The music notation program Finale has a rather steep learning curve and many, many tools that do very specific things in terms of notation, precise page layout and symbol design. In the latest release there are included a dozen or so Flash movies that a geared towards the new user, and are task-oriented, i.e. setting up a document; entering notes; editing notes; adding a staff; printing parts, etc. This same sort of Quickstart video tutorial might be useful for beginners where Revolution is concerned. The movies might be included with the product, or could be a separate download (Flash movies are not generally large files compared to video)- and new users who are non-programmers could be especially encouraged to view them. Good suggestions like that are exactly the sort of thing that would be useful in the RevDocs group: http://groups.yahoo.com/group/RevDocs/ -- Richard Gaskin Fourth World Media Corporation ___ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Getting back stack resizability
Try this on Windows XP+Rev 2.21: - create a new stack - turn Metal Texture on - turn Metal Texture off - try to resize your stack I've learned by trial and error that Metal Texture is intended for Mac apps, but after doing this is there any way to get my resizability back? I've already done a complete transplant of cards substacks once to a new stack but it takes so darn long, I'd rather not do it again. Is another property to switch? Thanks ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Revolution Toolbar
Sounds like: http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi?id=127 7 Not quite. What I want is for the Revolution Menubar to have the menus on top, and then immediately below them would be the toolbar button flush across in 1 row. That way I don't have to move the Tools palette around all the time to make my edits. Derek Bump Dreamscape Software Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution