Graham.
It should. It always has for me. Is the handler in the library stack in the stack script? It has to be, unless you send it explicity to a card or control on that stack. Are you sure you are not trapping it anywhere in the main stack? Or if you are, are you sure you are passing the message? Craig -----Original Message----- From: Graham Samuel <livf...@mac.com> To: How to use LiveCode <use-livecode@lists.runrev.com> Sent: Tue, Jul 15, 2014 1:51 pm Subject: CommandKeyDown in a library script? When I create a new mainstack and put a commandKeyDown handler in it, the handler fires when I press the relevant key. When I put the same code in a library stack, which is used via a "start using" command at initialisation, it doesn't seem to fire. Can anyone say why? TIA Graham _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode