• We hope you have a fantastic holiday season to close out 2025! Thank you all so much for being part of the Tom's Guide community!

How to launch/close a program automatically after opening/exiting a game

AudioBeast

Honorable
Jan 27, 2014
9
0
10,510
Hopefully the title wasn't confusing. I posted this elsewhere but this section seems more appropriate.

What I am trying to do is launch a video game controller program such as MotionJoy or Pinnacle Game Profiler once a specific game (Amnesia: Dark Descent) is started through XBMC or Steam Big Picture. Now that I think about it I don't know if it will work with Steam Big Picture. The reason I want to run MotionJoy is because I want to use my Xbox 360 controller from my couch when playing on my HTPC. Anyways, I know there must be a way to trigger a program to open once the game starts and then close it once I exit the game. Is this possible using EventGhost? Or through a batch file in the executable file for the game? Your help is much appreciated!

Thanks
 
Just make a bat file and type the URL of both the apps in place of app a and app b

cd "C:\\AppA"
start /min A.exe
cd "C:\\AppB"
start B.exe
 
Solution
I found a solution to my problem. I messed around with the Pinnacle Game Profiler (as I have only used MotionJoy) and it has the capability to detect when the game is launched and it will only then use its configuration on your selected controller. Once I exit the game it no longer will affect the controllers configuration. So I am able to go back and forth between games that require keyboard and mouse to a Xbox 360 controller.

Thanks anyways Arsh Techie for helping me out!
 


No problem just select my reply as solution that will help others solve the same issue 😀