giving media portal the focus (1 Viewer)

locka

Portal Member
February 26, 2008
31
0
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
 

Users who are viewing this thread

Top Bottom