What Is Triggering The Menu?

Scott Rossi scott at tactilemedia.com
Mon Feb 7 23:52:40 EST 2005


Recently, J. Landman Gay wrote:

>> On OSX, I set up a menu with 1, 2 and 3 as command keys for one of the menu
>> buttons.  When pressing the keys on the keyboard, the menu flashes as if
>> triggered, but no menuPick message is generated and the menu does nothing.
>> If I change the command keys to letters, for example, the menuPick message
>> is sent and the menu operates as expected.  How can I use numbers as command
>> key equivalents for menu options?
> 
> The IDE traps for these and uses them to navigate around the stack.
> Could it be that the IDE is intercepting your menu commands? If your
> stack is frontmost and its menubar is showing, then that shouldn't
> happen of course.

Thanks for the reminder.  Turned out this was the case, but in the MC IDE.
Even though my menubar was active, MC still trapped the commands for itself.
I commented the commandkey lines out in the tools stack and things seem to
be working as needed.  Thanks again.

Regards,

Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com



More information about the use-livecode mailing list