Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Make future dmd close if already running, while playing pinball fx2 table with Pinballx


Recommended Posts

Posted

I was wondering if I am the only one with this issue, I couldn't find anything relevant in the forum.

I'm using Pinballx FE, using the future dmd plugin. I have 3 monitor pinball cab.

How do you make future dmd close if it is already running?
I want future dmd running to enjoy benefit of stats during the menus, so i load it on win764 startup, once i go into a fx2 table, the future dmd is on top of the fx2 dmd on my 3rd monitor. So i would like to close it first, then re load it when i exit fx2 table. I tried just using close=1 for parameters, but it doesnt work, it loads another instance.

Or if there is a better way. What are others doing?

Thanks

Posted (edited)

Probably best if this were in the PBX section, it will certainly grab the attention of more experienced users there.

<edit> Welcome to the forums :)

Edited by tthurman
  • 2 months later...
Posted

I finally made this work by creating this kill.vbs file to kill the dmd when entering FX2 and then loading another instance of futuredmd when exiting the FX2 table.

Found similar problem on another forum, modify for my FX2 needs.

O.k. Got it working in Pinballx.

Download or create a kill.vbs file. Like this

Mark4par says:

open txt editor and copy this into it and save and exit

taskKill = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & taskKill & "\root\cimv2")

Set processlistFull= objWMIService.ExecQuery _
("Select * from Win32_Process Where name = 'FutureDMD.exe'")

For Each killPro In processlistFull
killPro.Terminate()
Next

Save and change .txt to .vbs.

Now just direct pinballx in the Pinball FX2 settings to close FutureDMD with this kill.vbs script at launch and then open futuredmd on exit.

  • 10 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...