You should open a new morphic project and make sure no windows are open in it.
The problem with event recorders like this is that they play back a sequence of mouse and keyboard events, without regard to things in the playback environment that can get in the way.
I had a similar problem and it turned out that the first mouse click that was supposed to open the menu happened over top of something else I had open in the window. Once the recorder gets off to the wrong start, the result is essentially what you describe.
Steve
-----Original Message----- From: Stewart MacLean [mailto:stewart.maclean@nzhis.govt.nz] Sent: August 26, 1999 5:40 PM To: 'squeak@cs.uiuc.edu' Subject: RE: Car and Steering wheel demo and Squeak-DEMOS
Using 2.5 and Windows 95 this just opens a few menus and shuffles them around - no car or steering wheel insight!
I carefully positioned the RecorderMorph in the top left. I guess the co-ordinates are misaligned?
Looks promising though,
Stewart
-----Original Message----- From: Torsten.Bergmann@phaidros.com [mailto:Torsten.Bergmann@phaidros.com] Sent: Friday, August 27, 1999 3:54 AM To: squeak@cs.uiuc.edu Cc: recipient.list.not.shown; @cs.uiuc.edu Subject: AW: Car and Steering wheel demo and Squeak-DEMOS
I've placed a recorded demo of creating a car and string
wheel and then
hooking them up at: http://www.advantive.com/squeak/car.tape
Instructions:
- Get a fully updated standard Squeak 2.5 image
- Start it (don't resize anything).
- Create and Enter a Morphic project
- Open an EventRecorderMorph and position it precisely in the top left corner of the screen (aligning the pixels with the top
left)
- Select "readTape" and enter your downloaded copy of the above file
If I use the Windows version the recorder does not read the file (I placed it directly in the squeak directory). So I commented out "(FileStream isAFileNamed: fileName) ifFalse: [^ nil]." in the EventRecorder>>readTape: method. Must be a bug or a wrong location, because FileStream isFileNamed: ... always returns false, so the method returns nil. After commenting the line out it worked fine.
- Select "play" and watch
YEAHHH... COOOOOL
After editing the created script textually (selecting "edit this cript textually" on the scripts name) I saw what Scripting really is about: visually composing methods with players. Thank you Stephen and Bob for enlightening me.
I think morpic tapes are a good way to explain morphic stuff. We should create more tape files and put them on a swiki page! Squeak Central can create a Morphic-PWM-9 with Scamper showing this page and if a beginner clicks on one of the listed tapes scamper can open the recorder to play the demo. So we can create Tape-DemoWithMe's on the swiki page and so it's much easier to learn Squeak. What do you think about that ?
Bye Torsten
The problem with event recorders like this is that they play back a sequence of mouse and keyboard events, without regard to things in the playback environment that can get in the way.
This is why I built the BookEventRecorderMorph -- it is placed inside a SqueakBook, then (records and) plays back within that book (i.e., offsets all events from the upper left of the enclosing book). Tools can be left within the book, and they'll for-sure be there when the tape begins. I haven't tested it with Squeak 2.5 yet, though. http://guzdial.cc.gatech.edu/st/BookRecorder.cs
Mark
-------------------------- Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280 (404) 894-5618 : Fax (404) 894-0673 : guzdial@cc.gatech.edu http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html
squeak-dev@lists.squeakfoundation.org