INTERACT FORUM

Windows => Plug-in Development => Topic started by: glynor on November 23, 2012, 07:56:39 am

Title: MJViewItemAutomation.DoCommand()
Post by: glynor on November 23, 2012, 07:56:39 am
In the Wiki, it says that MJViewItemAutomation.DoCommand(0) will take a future parameter that allows it to Play, Show, etc (http://wiki.jriver.com/index.php/MJViewItemAutomation#void_DoCommand.28number_nParam.29).  Right now, it seems to only play the selected View.

It would really help if I had one that would Show the view in MC.

I can't seem to find any other way to reliably show a particular view or Playlist in MC through any of the Automation interfaces.  If the MJViewItemAutomation was able to provide the nTreeRootIndex as a property, then I could use MCC_SHOW_TREE_ROOT instead, I suspect, but it doesn't have any such property.

So...

1. Can you tweak the DoCommand() method to allow it to Show the view for the object?
2. Or, can you add a parameter that provides the current nTreeRootIndex?
Title: Re: MJViewItemAutomation.DoCommand()
Post by: glynor on November 28, 2012, 04:36:57 pm
Any love while you're in there mucking about with the COM stuff?