Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!nosc!ucsd!ucbvax!agate!violet.berkeley.edu!8hum190 From: 8hum190@violet.berkeley.edu (Elliot Wilen) Newsgroups: comp.sys.mac.hypercard Subject: Re: Deleting Cards Unintentionally Message-ID: <13632@agate.BERKELEY.EDU> Date: 26 Aug 88 07:49:35 GMT References: <13631@agate.BERKELEY.EDU> Sender: usenet@agate.BERKELEY.EDU Organization: University of California, Berkeley Lines: 21 My apologies for not testing the second script; I thought of it while typing my article. A version which works, and which currently resides in the script of my Home Stack, is as follows: on doMenu command if command is "Delete Card" and the commandKey is down then answer "Delete this card?" with "Okay or "Cancel" if it is "Cancel" then exit doMenu end if pass doMenu end doMenu This seems to be reasonably satisfactory. But it will ask for conformation for a menu-issued "Delete Card" command if the command key happens to be down at the time--no big deal. And it will be foiled if the shortcut is typed very quickly, which could be a big deal. On the other hand, it almost certainly would have prevented tonight's mini-calamity. --Elliot ------------------------------------------------------------------------------ ucbvax!violet!8hum190 | Credo ut vos sanguinarius mendax estis.