2012-12-18, 20:20
(2012-12-18, 13:56)Angelscry Wrote:(2012-12-18, 10:27)harSon Wrote:Actually your script may do the job... If not, it could be effectively be related to a problem of delay between each command linked to a problem of previous application activity/focus/state when you start the next one. I do not know why the game do not start. Does Xpadder start correctly after starting Explorer?Code:nircmd win min process XBMC.exe
pssuspend XBMC.exe
c:\windows\explorer.exe
C:\Xpadder\xpadder.exe controller1.profile controller2.profile
cd "C:\Program Files (x86)\Activision\Call of Duty Black Ops II\"
t6sp.exe %1
pskill -t explorer.exe
pskill -t xpadder.exe
pssuspend -r XBMC.exe
nircmd win max process XBMC.exe
And while this definitely minimizes and suspends XBMC like I want it to, and explorer.exe starts properly, the game I launched does not actually start up. Unless I reclose explorer.exe, then it will start. I was wondering if you knew how I could make my batch so XBMC is minimized/suspended, explorer.exe starts (so the programs I need to start can be started), the game launches and then at the very least, upon exiting the game - explorer.exe is closed again and XBMC is resumed and maximized. I don't know if it's possible, but I'd rather the explorer.exe close shortly after it's executed (and the game is still open), like a delay in between it's startup and closing. I'm assuming I'd use the timeout command, or something like "ping -n 30 127.0.0.1 > nul" to create the necessary delay?
I know this isn't entirely relating to Advanced Launcher, but i'd appreciate the help.
Thank you so much!
It starts, but not because of the batch script. I only starts because I have it set to start upon Windows starting, but when I take that away in the program's settings, it fails to boot up when I launch the batch file.