Car and Steering wheel demo and Squeak-DEMOS
swart at home.com
Fri Aug 27 02:05:45 UTC 1999
You should open a new morphic project and make sure no windows are open in
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.
> -----Original Message-----
> From: Stewart MacLean [mailto:stewart.maclean at nzhis.govt.nz]
> Sent: August 26, 1999 5:40 PM
> To: 'squeak at 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,
> > -----Original Message-----
> > From: Torsten.Bergmann at phaidros.com
> > [mailto:Torsten.Bergmann at phaidros.com]
> > Sent: Friday, August 27, 1999 3:54 AM
> > To: squeak at 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:
> > >
> > >1. Get a fully updated standard Squeak 2.5 image
> > >2. Start it (don't resize anything).
> > >3. Create and Enter a Morphic project
> > >4. Open an EventRecorderMorph and position it precisely in the
> > > top left corner of the screen (aligning the pixels with the top
> > left)
> > >5. 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.
> > >6. 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
More information about the Squeak-dev