Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!usc!samsung!think!snorkelwacker!mit-eddie!uw-beaver!uw-june!moore From: moore@cs.washington.edu (Charles Moore) Newsgroups: comp.sys.mac.hypercard Subject: capturing keystrokes and stacks for children Keywords: keystrokes, children Message-ID: <10464@june.cs.washington.edu> Date: 23 Jan 90 08:23:34 GMT Organization: U of Washington, Computer Science, Seattle Lines: 24 A friend of mine is trying to capture individual keystrokes in HyperCard so that he can make his Mac do interesting things (mostly play sounds) when his 18-month-old son pounds on the keyboard. He would like to be able to program specific keys to do specific things and thus needs a function like "keyPressed" that he could use in "if" statements like: put keyPressed into key if key = "a" then play "boing" else if key = "b" then ... If anybody knows of any good way of doing something like this in HyperTalk, please let me know. Alternatively, does anybody out there have an XFNC that performs the function of "keyPressed"? Finally, are there any stacks out there that are fun for little kids to play with? We'd be particularly interested in anything that makes noise. Thanks, Charles Moore