Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!csus.edu!ucdavis!csusac!csuchico.edu!OAVAX.CSUCHICO.EDU!RGOLDSTONE From: rgoldstone@OAVAX.CSUCHICO.EDU (Robin Goldstone) Newsgroups: comp.sys.mac.hypercard Subject: multi-function button Message-ID: <1991Feb04.165944.24257@ecst.csuchico.edu> Date: 4 Feb 91 16:58:26 GMT Sender: news@ecst.csuchico.edu (USENET) Reply-To: rgoldstone@OAVAX.CSUCHICO.EDU Organization: California State University, Chico Lines: 12 I think someone asked a question like this recently, but naturally I wasn't paying attention since it didn't apply to *me* ... I have a button that is used to control a counter. Every time you click the button, the value of the counter is incremented by one. I would also like to have a way for the same button to decrement the counter. Either option-click or command-click or control-click. Can my button script check to see if one of these keys was held down when the mouse was clicked? *********************************************************************** Robin Goldstone, California State University, Chico Computing Services rgoldstone@oavax.csuchico.edu