<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV>[key] gives you data on key down, [keyup] on up, and [keyname] give you both in a different format.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>.hc</DIV><BR><DIV><DIV>On May 24, 2006, at 4:42 PM, Carlos Caires wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"><BR> Hi,<BR> <BR> Is there any method to receive a "bang" ONLY when I start or finishes pressing a key on the keyboard? (and not in-between)<BR> <BR> In attach, the patch for better understanding.<BR> <BR> Thanks.<BR> <BR> Carlos Caires</SPAN></FONT> <SPAN><DIV>&lt;bang-question.pd&gt;</DIV></SPAN><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:PD-list@iem.at">PD-list@iem.at</A> mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">UNSUBSCRIBE and account-management -&gt; <A href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</A></DIV> </BLOCKQUOTE></DIV><BR><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Tahoma; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Tahoma" size="3" style="font: 12.0px Tahoma">____________________________________________________________________________</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Tahoma; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Tahoma" size="3" style="font: 12.0px Tahoma">"Information wants to be free."</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Tahoma" size="3" style="font: 12.0px Tahoma"><SPAN class="Apple-converted-space">                                     </SPAN>-Stewart Brand</FONT></P>  </DIV><BR></BODY></HTML>