Thanks Ron,<br />There's some good info. in there. Unfortunately, scene doesn't have respondWith: to: method, but I might be able to find a workaround. <br /><br />One method I was trying to use in the past was to create a script from tiles, and have that script always ticking and just send the helicopter the command to move in response to the world's last keystroke. I couldn't get the script to find the helicopter at all, and have been having trouble with going from one workspace to another attempting to refer to the same thing, and also with the differences between tile scripts and workspace scripts, for some reason they don't act the same and I'm not sure why. Even when I tried creating a class MyWonderland with instance variables | wonder copter |, I couldn't figure out how to get a method to understand what 'copter' was and pass messages to it other than the one that created it. Also related, when I define jump as <br />jumpup := wonder helicopter move:#up.<br /><br />I 
still don't know exactly how to make this method do this again. I've tried World jumpup. jumpup. wonder helicopter jumpup. but only jumpup loop. seems to work, and again only from the particular workspace I defined it in. I know all of this is related somehow. Anyone got a hint?<br /><br /><br /><br /><br /><br /><br /><br /> --- On Wed 11/08, Ron Teitelbaum &lt; <a title="Linkification: mailto:Ron@USMedRec.com" href="mailto:Ron@USMedRec.com" class="linkification-ext">Ron@USMedRec.com</a> &gt; wrote:<br /><blockquote style="border-left: 2px solid orange; padding-left: 7px; margin-left: 7px;"><b>From: </b>Ron Teitelbaum [mailto: <a title="Linkification: mailto:Ron@USMedRec.com" href="mailto:Ron@USMedRec.com" class="linkification-ext">Ron@USMedRec.com</a>]<br /><b>To: </b><a title="Linkification: mailto:hombreviii@myway.com" href="mailto:hombreviii@myway.com" class="linkification-ext">hombreviii@myway.com</a>, <a title="Linkification: 
mailto:beginners@lists.squeakfoundation.org" href="mailto:beginners@lists.squeakfoundation.org" class="linkification-ext">beginners@lists.squeakfoundation.org</a><br /><b>Date: </b>Wed, 8 Nov 2006 11:07:48 -0500<br /><b>Subject: </b>KeyPress On World of Squeak Wonderland (was: Disappointed)<br /><br /><br /><br /><br /><br /><br /><!--[if !mso]><br /><style><br />v\:* {behavior:url(#default#VML);}<br />o\:* {behavior:url(#default#VML);}<br />w\:* {behavior:url(#default#VML);}<br />.shape {behavior:url(#default#VML);}<br /></style><br /><![endif]--><br /><br /><br /><br /><br /><br /><br /><div class="Section1"><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">Hi Jeff,<o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" 
color="navy"><span style="font-family: Arial; color: navy;">Welcome to the beginners list!<o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">I appreciate the fact that you are<br />sticking with the problem.  That in my opinion is the best way to learn.  I<br />didn’t answer your question because I do not feel that I am an expert in<br />Wonderland.  If the question was something like how can I map a key to so<br />some action that is pretty easy, IF that action is an isolated easily called<br />method.  Something like: Utilities garbageCollectAndReport.  This is<br />a class method and there is no instance that needs to be sent to.  <o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" 
color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">If a key stroke needs to be captured and affect<br />a running instance it is a bit more difficult to do but still very possible.  The<br />issue here is that there is a complicated event loop that needs to be tapped<br />into but this would be very difficult to explain to someone with limited experience. <br />The fact that you are using wonderland means that there is probably already a<br />hook to do what you want so a complicated explanation of what I know will<br />probably only confuse the matter and make things more difficult for you.  <o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font size="2" 
face="Arial" color="navy"><span style="font-family: Arial; color: navy;">There are people on this list that have<br />much more experience with Wonderland, but nobody that will answer your question<br />within hours.<o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">I would love to have Squeak be much more a<br />pleasant experience for you.  My suggestion is that you start slower and<br />work on understanding basic concepts of Squeak.  Do more tutorials; look<br />into how some things work before trying to extend them. <o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font 
size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">Also a comment, starting with the<br />assumption that people are not going to help you is discouraging to people who<br />might.  People are more likely to help people that work hard themselves<br />and will benefit from the help and will appreciate that help.  I think you<br />have the work hard part down.  You need to be a bit more appreciative of<br />the effort and time that goes into helping you.<o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">Now to your question: Matthias was right<br />and he sent you to exactly the place you needed to go.   I just<br />loaded a 3.8 image and did the helicopter tutorial.  I have to say it was<br />great fun!  
Wonderland is a very nice piece of code and I can see that it<br />would be fun to play with.  The tutorial is fun but the concepts are not<br />easy and how the authors did what they did is very clever but also difficult especially<br />when you venture off the beaten path.  You picked a hard place to<br />start!  That by itself can be very frustrating.   <o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">Here is your answer but the answer is not<br />perfect.  What I noticed is that the keys only have focus when the actor<br />is under the mouse.  There may be a way to make this work in the context<br />of a world but I couldn’t get it to work that way.  The world does<br />not appear to have a reactions collection, but there does 
seem to be a little hook<br />in Scene that might have been intended to work that way.  Again this is an<br />advanced concept.  I also tried adding a reaction to the ground to make it<br />easier for this to work.  The ground accepted the reaction but did not act<br />on it.  I added a reaction of [:event | self halt] but that did nothing so<br />maybe background items like ground and sky don’t quite work or don’t<br />respond to certain reactions the way other actors do.  It makes sense that<br />Wonderland might be written this way.  If you added a right key press to<br />multiple objects how is it supposed to know which item the key press should<br />control.  There could be a number of ways to fix this like adding an actor<br />that is a control stick or something, then placing the mouse over the control<br />stick would work the helicopter.  (just a suggestion of where you might go<br />from here)<o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" 
face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">Ok so here is the code: <o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">helicopter addResponse: [:event | <o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">            event<br />getMorphicEvent keyString = '<left>' <o:p /></left></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">                        ifTrue:<br />[helicopter 
move: #left].<o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">            event<br />getMorphicEvent keyString = '<right>'<o:p /></right></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">                        ifTrue:<br />[helicopter move: #right].<o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">] to: #keyPress<o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">I hope that helps, welcome to the list and<o:p /></span></font></p><br /><br /><p 
class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">Happy coding,<o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">Ron Teitelbaum<o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">President / Principal Software Engineer<o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;">US Medical Record Specialists<o:p /></span></font></p><br /><br /><p 
class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><a href="mailto:Ron@USMedRec.com">Ron@USMedRec.com</a><br /><o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="2" face="Arial" color="navy"><span style="font-family: Arial; color: navy;"><o:p> </o:p></span></font></p><br /><br /><div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;"><br /><br /><div><br /><br /><div align="center" style="text-align: center;" class="MsoNormal"><font size="3">face=&quot;Times New Roman&quot;&gt;<span style="font-size: 12pt;"><br /><br /><hr width="100%" size="2" align="center" tabindex="-1" /><br /><br /></span></font></div><br /><br /><p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-weight: bold;">From:</span></font></b><font 
size="2">face=Tahoma&gt;<span style="font-size: 10pt; font-family: Tahoma;"><br /><a title="Linkification: mailto:beginners-bounces@lists.squeakfoundation.org" href="mailto:beginners-bounces@lists.squeakfoundation.org" class="linkification-ext">beginners-bounces@lists.squeakfoundation.org</a><br />[<a title="Linkification: mailto:beginners-bounces@lists.squeakfoundation.org" href="mailto:beginners-bounces@lists.squeakfoundation.org" class="linkification-ext">mailto:beginners-bounces@lists.squeakfoundation.org</a>] <b><span><br />style='font-weight:bold'&gt;On Behalf Of </span></b>Jeff<br /><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, November 08, 2006<br />12:28 AM<br /><b><span style="font-weight: bold;">To:</span></b><br /><a title="Linkification: mailto:beginners@lists.squeakfoundation.org" href="mailto:beginners@lists.squeakfoundation.org" class="linkification-ext">beginners@lists.squeakfoundation.org</a><br /><b><span style="font-weight: 
bold;">Subject:</span></b> [Newbies] Disappointed</span></font><o:p /></p><br /><br /></div><br /><br /><p class="MsoNormal"><font size="3" face="Times New Roman"><span><o:p> </o:p></span></font></p><br /><br /><p class="MsoNormal"><font size="3" face="Times New Roman"><span>I'm pretty disappointed with this list at the moment. My last post,<br />&quot;beginners questions&quot; talked about how beginners often don't get<br />their questions answered and pointed out that often when the experts see that<br />an answer, ANY answer, was given they then assume the question was answered, so<br />they don't offer anything more. Now I do appreciate Matthias's honest attempt<br />to answer the question, so I don't want this to be misconstrued as an attack on<br />him. But he obviously misread it. And, well, once people saw that the question<br />of how to make a wonderland actor move in response to mouse clicks had been<br />answered, I didn't get any more help. The question I asked 
was how to move a<br />wonderland actor with the arrow keys, and I need to do that without the actor<br />having the focus. Unfortunately, since it's been taking so many hours for the<br />messages I've tried to send to get posted on here, (I think I had screwed up<br />joining the list somehow, and redid it so hopefully that problem is solved), it<br />took me a full day to get my question asked and now another full day to explain<br />that the answer I got was to a different question. By the by, I've been<br />spending about 10 hours a day for 5 days now trying to solve this problem. It's<br />getting quite frustrating for me and making me want to give up on squeak. <img /><br />border=0 width=23 height=23 id=&quot;_x0000_i1025&quot;<br />src=&quot;<a title="Linkification: http://imgfarm.com/images/webmail/rt/img/img1017a1.gif" href="http://imgfarm.com/images/webmail/rt/img/img1017a1.gif" 
class="linkification-ext">http://imgfarm.com/images/webmail/rt/img/img1017a1.gif</a>&quot;&gt;<o:p /></span></font></p><br /><br /><p class="MsoNormal"><font size="3" face="Times New Roman"><span> <o:p /></span></font></p><br /><br /></div><br /><br /></div><br /><br /><br /><br /><br /><p /></blockquote><p><hr><font size=2 face=verdana><span style='font-weight:bold'>No banners. No pop-ups. No kidding.</span><br>Make My Way  your home on the Web - <a href=http://www.myway.com target=_blank>http://www.myway.com</a></font></b>