Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ncar!noao!amethyst!Jahnke@brahms.biosci.arizona.edu From: Jahnke@brahms.biosci.arizona.edu (Jerome Jahnke) Newsgroups: comp.sys.mac.programmer Subject: Re: Idle and Hypercard 2.0 Message-ID: <2397@amethyst.math.arizona.edu> Date: 31 Dec 90 23:02:37 GMT References: <22363@well.sf.ca.us> Sender: news@amethyst.math.arizona.edu Organization: Dept. Molecular and Cellular Biology: University Lines: 22 In article <22363@well.sf.ca.us> wdh@well.sf.ca.us (Bill Hofmann) writes: >Here's a question, since MacDTS is on (gasp!) vacation. I have an XCMD >which sits in a loop waiting for a condition to match or a timer to expire, >but I'd like other processes *in* Hypercard to get time. (That is, GNE or >WNE won't do the trick.) Should I SendCardMessage(paramPtr, 'idle')? That >doesn't seem to work. Suggestions are welcome. > How bout making the XCMD an XWindow and allowing HC to send it nullevents? This way you let HyperCard do most of the work and just accept nullevents and test your timer and condition. >-Bill > wdh@well.sf.ca.us > D6082@AppleLink.apple.com > Jer, ---- University of Arizona Dept. Molecular and Cellular Biology jahnke@brahms.biosci.arizona.edu