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

Talk about ManiaLink development in this forum

Moderator: NADEO

Post Reply
Alexey85
Posts: 465
Joined: 14 Jul 2012, 10:54

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

Post 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?
Last edited by Alexey85 on 29 Jun 2015, 20:59, edited 1 time in total.
User avatar
Electron
Posts: 797
Joined: 15 Jun 2010, 18:02
Contact:

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

Post 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"
Image
TM²: TrackMania Telemetry Monitor version 1.2.4
Alexey85
Posts: 465
Joined: 14 Jul 2012, 10:54

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

Post by Alexey85 »

Thank you!
Post Reply

Return to “ManiaLink”

Who is online

Users browsing this forum: No registered users and 2 guests