Page 1 of 1

[solved] how to make MP open manialink from another program?

Posted: 29 Jun 2015, 20:01
by Alexey85
If to start a new MP process with corresonding parameters, it will launch a new MP window and open specified manialink there but I need an existing instance of MP open a certain manialink if another application sends corresponding message to it. Does MP support this?

Re: how to open make MP open manialink from another program?

Posted: 29 Jun 2015, 20:27
by Electron
Yes, by default, the maniaplanet protocol opens a Manialink in the already executed program instance.

If you want to launch the Manialink using command line, use the /singleinst parameter.

Sample:

Code: Select all

"%ProgramFiles(x86)%\ManiaPlanet\ManiaPlanet.exe" /singleinst /url="maniaplanet:///:TMDirt"

Re: how to make MP open manialink from another program?

Posted: 29 Jun 2015, 20:59
by Alexey85
Thank you!