You should ask the plugin's manufacturer.
If you run this script...
it will return the names of all the available menu actions. The list is quite long, but it includes some of the InMath actions. At least the ones you can assign keyboard shortcuts to. In my case, I needed to refresh the InMath styles from a script. So I found the name of the InMath menu action that was returned from the above script (Refresh All InMath Expressions) and was able to make a script that refreshed the styles like this.
app.menuActions.itemByName("Refresh All InMath Expressions").invoke();
However, I'm trying to figure out how to do this in CS2 because my client is still using CS2 and can't find the CS2 version of menuActions.
I think I read your other post about the find/change fillColor bug. I was stuck in the same place and now have it working thanks to the posted help. I was working on a script that would fix fractions based on their colors.
Hope this helps.
If anyone knows the way to access Inmath styles in Indesign using VC++ Please tell me.
You need to contact the InMath people. The last time I had anything to do with InMath they were working on scriptability, but I didn't ever hear that they had accomplished it.