Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ucsd!rutgers!orstcs!jacobs.CS.ORST.EDU!johnsot From: johnsot@jacobs.CS.ORST.EDU (Tim G. Johnson) Newsgroups: comp.sys.mac.hypercard Subject: Re: Double-Clicking and Hypercard Message-ID: <8827@orstcs.CS.ORST.EDU> Date: 13 Feb 89 01:11:00 GMT References: <968@taurus.BITNET> Sender: usenet@orstcs.CS.ORST.EDU Reply-To: johnsot@jacobs.CS.ORST.EDU.UUCP (Tim G. Johnson) Organization: Oregon State University - CS - Corvallis Oregon Lines: 23 In article <968@taurus.BITNET> writes: > Anyone has an idea how to simulate a double-click on HC? my expirience is >that if you doubleclick a button, HC treats it as a single click... The method I've always used to Make HC accept double-clicks as such is to use a wait in the mouseUp script: on mouseUp wait 10 ticks --60 ticks in a second - adjust to your liking. if the mouseclick then --double-click script else --SIngle-click script end if end mouseUp This doesn't check if the second click was actually on the button, only if the mouse was clicked again. Hope that is OK. -Tim G. Johnson -johnsot@mist.CS.ORST.EDU