<!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.&nbsp; I am (hopefully) going to make my own HandMorph </FONT>
<BR><FONT SIZE=2>subclass this weekend.&nbsp; 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>&gt;What you might want to do instead would be to have a little do-it that replaces the current &gt;hand by yours, and saves the original in a global or a class variable.&nbsp; Then you could add &gt;a line to the error handler that would restore the original hand and put yours where it can &gt;be inspected -- maybe just swap them.</FONT></P>

<P><FONT SIZE=2>&gt;You might want to check out 'as:', a message in object that would allow you to very quickly &gt;initialize your hand as a copy of the existing hand.</FONT></P>

<P><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SaveHand := World swapHandWith: (World activeHand as: CosmoHandMorph).</FONT>
<BR><FONT SIZE=2>&gt;Then in errors,</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>