I'm trying to write a script to run in program 1 that will pull information from program 2, but I can't figure out how to access program 2. The information I have on writing external scripts/applications for program 2 is:
and the example they give is:In order to work with MediaMonkey’s objects from outside a MediaMonkey script, you need to create a reference to the SDB object (an instance of the SDBApplication class) yourself. For external applications, make sure that you have added a reference to the SongsDB library, first.
I tried putting the example code into my main function, which of course didn't work but I have no idea on what I'm doing. Any help is much appreciated.Code:SongsDB::SDBApplication^ SDB = gcnew SongsDB::SDBApplication(); SDB->ShutdownAfterDisconnect = false; // in case you want to keep an opened instance open after disconnecting the SDB object