Author Topic: Invoking registered command from another plugin?  (Read 7490 times)


  • Newbie
  • *
  • Posts: 13

This is kinda a two part question.

1) How is the "mbApiInterface.MB_InvokeCommand(Command command, object parameter);" used? Is there an example of this function call someone's used before as an example I could see?

2) Is it possible to call a function that was registered by another plugin?

For example, if in Plugin A I did: "mbApiInterface.MB_RegisterCommand("MyFunction", DoSomething);"

In plugin B: Can I call that registered method? If so how would I go about it?



  • Administrator
  • Hero Member
  • *****
  • Posts: 34416
1 - its just a easy way to invoke musicbee commands - have a look at the Command enumeration
2 - not in the current api