UNSOLVED Getting the command for a menu item



  • Hi, this is a rather odd request! It's possible to get menu shortcuts using the getMenuShortCuts in mojo.UI, I was wondering if I can also access its command?

    I want to introduce shortcuts through a tool that conflicts with RF default keys like "⌘s" or "⌘⇧s" and I want to replace them to "␣s" or "␣⇧s" when the tool is active. But now I want to fire the command that saves the active UFO when the user hits "␣s", it's possible through font.save() but I'm not sure if it works for "Save as" or other menu items. So I want to access the command itself so I don't have to redefine it.

    Thanks!


Log in to reply