<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>RE: HandMorph mega mail</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>[mega snip]</FONT>
</P>
<P><FONT SIZE=2>Thanks for this. I am (hopefully) going to make my own HandMorph </FONT>
<BR><FONT SIZE=2>subclass this weekend. I will be very interested in any work that</FONT>
<BR><FONT SIZE=2>is done with HandMorph.</FONT>
</P>
<P><FONT SIZE=2>I got the following advice from Dan Ingalls on working on something</FONT>
<BR><FONT SIZE=2>like HandMorph without clobbering Morphic:</FONT>
</P>
<P><FONT SIZE=2>>What you might want to do instead would be to have a little do-it that replaces the current >hand by yours, and saves the original in a global or a class variable. Then you could add >a line to the error handler that would restore the original hand and put yours where it can >be inspected -- maybe just swap them.</FONT></P>
<P><FONT SIZE=2>>You might want to check out 'as:', a message in object that would allow you to very quickly >initialize your hand as a copy of the existing hand.</FONT></P>
<P><FONT SIZE=2>> SaveHand := World swapHandWith: (World activeHand as: CosmoHandMorph).</FONT>
<BR><FONT SIZE=2>>Then in errors,</FONT>
<BR><FONT SIZE=2>> CosmoHand := World swapHandWith: SaveHand.</FONT>
</P>
<P><FONT SIZE=2>Any other advice is very welcome.</FONT>
</P>
<P><FONT SIZE=2>-david</FONT>
</P>
</BODY>
</HTML>