Enumerate MoI commands from a startup script?

 From:  Larry Fahnoe (FAHNOE)
10349.1 
Hello,

I have not been able to figure out how it would be possible for a startup script to get a list of MoI's commands that are referenced by the UI. In other words, all MoI commands other than the "Additional commands" like IncrementalSave, Rebuild, Flip, etc. Seems like I ought to be able to get there by walking though the SidePanePalettes but I haven't quite figured out how to do that. Or maybe there is a better way?

The reason I'm asking is because I'm tinkering with a script inspired by Scripts.menu.htm from Max’s CustomUI, but seeking to avoid all the hard coded command names. My preference is to stay with a fairly stock MoI UI, so I don't actually use CustomUI, I'm just using it as a starting example.

--Larry