Where do Command-C and Command-V get handled?
Hugh Senior
h at FlexibleLearning.com
Tue Nov 11 13:04:08 CST 2008
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: metacard-bounces at lists.runrev.com
[mailto:metacard-bounces at lists.runrev.com]On Behalf Of
metacard-request at lists.runrev.com
Sent: 11 November 2008 18:00
To: metacard at lists.runrev.com
Subject: metacard Digest, Vol 61, Issue 5
Send metacard mailing list submissions to
metacard at lists.runrev.com
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
metacard-request at lists.runrev.com
You can reach the person managing the list at
metacard-owner at lists.runrev.com
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" <dfepstein at gmail.com>
Subject: Where do Command-C and Command-V get handled?
To: metacard at lists.runrev.com
Message-ID:
<d69de8ad0811110943k71d485efv2c041666547641d2 at mail.gmail.com>
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
metacard at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard
End of metacard Digest, Vol 61, Issue 5
***************************************
More information about the metacard
mailing list