- Thread starter
- #11
Right I found a fudge for the issue by doing the following I've create a vb script which starts my program and once closed tries to run mediaporta and because it still running gives it back the focus as below. Hope this helps other people with a similar problem
strProgramPath1 = """C:\Program Files\Silverjuke\Silverjuke.exe ""--kiosk"""
set objShell = createobject("Wscript.Shell")
objShell.Run strProgramPath1,1,true
strProgramPath2 = """C:\Program Files\mp\MediaPortal.exe"""
set objShell = createobject("Wscript.Shell")
objShell.Run strProgramPath2
wscript.quit
strProgramPath1 = """C:\Program Files\Silverjuke\Silverjuke.exe ""--kiosk"""
set objShell = createobject("Wscript.Shell")
objShell.Run strProgramPath1,1,true
strProgramPath2 = """C:\Program Files\mp\MediaPortal.exe"""
set objShell = createobject("Wscript.Shell")
objShell.Run strProgramPath2
wscript.quit