I think you mean something like this in the stack script... on commandKeyDown pKey if pKey="C" then copy else if pKey="V" then paste else pass commandKeyDown end commandKeyDown
/H -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: 11 November 2008 18:00 To: [email protected] Subject: metacard Digest, Vol 61, Issue 5 Send metacard mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.runrev.com/mailman/listinfo/metacard or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of metacard digest..." This is the Metacard mailing list. Today's Topics: 1. Where do Command-C and Command-V get handled? (David Epstein) ---------------------------------------------------------------------- Message: 1 Date: Tue, 11 Nov 2008 12:43:08 -0500 From: "David Epstein" <[EMAIL PROTECTED]> Subject: Where do Command-C and Command-V get handled? To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" In my own customized defaultMenuBar, I have included an Edit menu with my own copy and paste commands, with command-C and command-V equivalents defined using the "/" convention. When those commands are chosen from the menu, my copy and paste scripts are executed as expected. But when I use the command-key equivalents, my scripts are not executed, and some standard copy and paste behavior takes place instead. I can see why when Metacard's own menu is open as a palette there could be some ambiguity about which command-key equivalents have priority. But this problem occurs even when Metacard's own menu is not open. And when I press command-C, my own menubar's "Edit" button flashes, as if to confirm that the keypress has triggered the action that my menubar's script commands. What is governing this behavior, and how can I get my own scripts to be called when the command-key combinations are used? Many thanks. David Epstein (MC2.5 on Mac OSX 10.4.) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.runrev.com/pipermail/metacard/attachments/20081111/3708b7fc/atta chment-0001.html ------------------------------ _______________________________________________ metacard mailing list [email protected] http://lists.runrev.com/mailman/listinfo/metacard End of metacard Digest, Vol 61, Issue 5 *************************************** _______________________________________________ metacard mailing list [email protected] http://lists.runrev.com/mailman/listinfo/metacard
