No Key Shortcut...

 From:  Michael Gibson
35.5 In reply to 35.4 
Cool, I'm glad you figured it out!

I don't have a good list of all the command names right now, but if there is a button that you want to make a keyboard shortcut for, you can look in the UI files to find the button and the command name will be present there.

Say for instance you want to have a shortcut for the "Show pts" button. This one is not quite as simple as Extrude or Rotate, because the label on the UI button is not the same as the actual command name.

But if you go to your Program Files / MoI directory, there is a /ui sub directory in there. Go in there and open up SidePane.htm, there you will find the markup for the right-side panel of MoI. Go find "Show pts", and you will see this:

<td><moi:CommandButton style="icon:icons/ShowPointsIcon.png;" command="showpoints">Show pts</moi:CommandButton></td>

So what you're looking for is the command="" item, so in this case "showpoints".

There are a few commands where the text on the button has been abbreviated and doesn't exactly match the real command name like this.

By the way, if you want to rearrange parts of the UI, you can edit the UI files to remove or change where buttons are at. If you change the SidePane.htm file, for instance, you are changing the actual definition of the UI in MoI (it will be changed the next time you run it). You should probably save a backup before you mess around with it, though. :) The other major piece is CommandBar.htm for the bottom bar.

One other thing for keyboard shortcuts - as you found, you can use just the letter of a key for the key. You can use these names for special keys: UpArrow, DownArrow, LeftArrow, RightArrow, Home, End, PageUp, PageDown, Insert, Delete, Backspace, Space, F1, F2, ... F12. You should also be able to use prefixes of Ctrl+ or Shift+ or Alt+ in any combination (like Ctrl+Shift+A should work).

- Michael