Trapping the Command key combination which already has use like "Command N"

Mark Wieder mwieder at
Wed Dec 9 15:12:59 EST 2009


Wednesday, December 9, 2009, 11:37:20 AM, you wrote:

> I have a trap in the background script of my main stack which makes a
> special new card like process (but not the one in the I.D.E.) when someone
> types "Command N". This works when I'm in that stack and mysteriously works
> in the substacks usually but occasionally I get a new card instead of the
> special routine it is supposed to do.

If you want to trap keys reliably you probably want this in a
frontscript rather than a backscript.

-Mark Wieder
 mwieder at

More information about the Use-livecode mailing list