Enumerate MoI commands from a startup script?

 From:  Larry Fahnoe (FAHNOE)
10349.4 In reply to 10349.2 
Hi Michael,

Well I replied a bit too soon... ;-}

So of the 62 buttons, there are 32 with command attributes 20 with commanset attributes, 7 with onclick attributes and 3 that are visibility:hidden. How would I go about finding the commands within the commandsets? Earlier I'd written a little script to dump the nodes of the moi.ui.sidePane.document, but I didn't find any hints about how to see the contents of the commandsets. I suppose I could parse the commands/*.xml files, but I'm guessing that MoI already has done that.

--Larry