2012-12-25, 01:02
Hey again.
I just realized that when I launch into Windows Media Center/Netflix, it doesn't work right since I have EventGhost wired to utilize XBMC. I don't want to kill/suspend EventGhost, since I want to be able to exit with my remote. So I made a different EventGhost profile for Netflix, but I'm having trouble constructing a batch file to Suspend XBMC, Exit/Relaunch EventGhost into the Netflix compatible profile, Resume XBMC when Netflix is closed and Exit/Relaunch into XBMC Event Ghost profile.
This works individually for changing EventGhost profiles:
So I tried something like this:
But it doesn't seem to launch the EventGhost profiles. Any help with the batch file? Or perhaps an Autohotkey or Autoit script that does the same thing?
I just realized that when I launch into Windows Media Center/Netflix, it doesn't work right since I have EventGhost wired to utilize XBMC. I don't want to kill/suspend EventGhost, since I want to be able to exit with my remote. So I made a different EventGhost profile for Netflix, but I'm having trouble constructing a batch file to Suspend XBMC, Exit/Relaunch EventGhost into the Netflix compatible profile, Resume XBMC when Netflix is closed and Exit/Relaunch into XBMC Event Ghost profile.
This works individually for changing EventGhost profiles:
Code:
cd "C:\Program Files (x86)\EventGhost\"
start EventGhost.exe Netflix.xml
So I tried something like this:
Code:
nircmd win min process XBMC.exe
pssuspend XBMC.exe
pskill EventGhost.exe
cd "C:\Program Files (x86)\EventGhost\"
start EventGhost.exe Netflix.xml
cd "C:\Program Files (x86)\XBMC\Advanced Launcher\"
snetflix.exe %1
pssuspend -r XBMC.exe
pskill EventGhost.exe
cd "C:\Program Files (x86)\EventGhost\"
start EventGhost.exe XBMC.xml
nircmd win max process XBMC.exe
But it doesn't seem to launch the EventGhost profiles. Any help with the batch file? Or perhaps an Autohotkey or Autoit script that does the same thing?