Skip to main content
May 16, 2011
Question

Keyboard Shortcuts

  • May 16, 2011
  • 1 reply
  • 523 views

I am trying to set a keyboard shortcut for the menu item that displays our plug-in, but it doesn't work in Windows (it works on the Mac just fine).  Is this a known issue?

sAIMenu->SetItemCmd(showPluginEdit, 'U', kMenuItemCmdOptionModifier | kMenuItemCmdControlModifier);

I verified that this shortcut isn't already in use by Illustrator, and I have tried all different flavors of modifiers.  The shortcut shows up correctly in the menu itself, but the GoMenuItem never gets called.

This topic has been closed for replies.

1 reply

minimum99
Known Participant
May 31, 2011

Most likely is because AI keyboard shortcut requires all menu or submenu item names to be unique.

That is not a good design but that is the way it works. The shortcut shows up in the menu, but if you open the keyboard shortcut menu, it will not show up because some item names are identical.