INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started by: raym on January 23, 2006, 05:00:34 pm
-
When Theater View is used to launch another app, would it be possible for MC to minimize itself rather than leaving itself in the "megame" state? This would look really slick coz you wouldn't even see MC working in the background.
Cheers.
-
If it's just one app you want to launch and
your launching it by hitting a button
then you could create a batch file or VBScript
which first runs the command
"mc11.exe /MCC 10014"
and then what ever is needed to launch your program.
-
If it's just one app you want to launch and
your launching it by hitting a button
then you could create a batch file or VBScript
which first runs the command
"mc11.exe /MCC 10014"
and then what ever is needed to launch your program.
The thing is tho, MC won't return to Theater View automatically when the app exits calling it via vbs. I really like this feature...
-
I just had another go at this.
I presumed last time that because calling MC11.exe /MCC 10014 directly
doesn't work, plonking it in a script wouldn't work either....
I was wrong :)
-
.exe Binary available here (http://www.ezupload.org/dl/e5u1r)
Requires .NET Framework 1.1
source available here (http://www.ezupload.org/dl/e5u1z)
Written in C#
Usage
TVAppStart [Application to start] [Arguments]
Example:
TVAppStart notepad.exe C:\ReadMe.Txt
Minimizes Theatre View
Starts Notepad and opens readme.txt
On exit of Notepad Theatre View is restored.
If no application is supplied then Notepad is started.
Additional note
06/03/06 07:25pm GMT Added Check to see if file exists, if not messagebox shown.
For long file names enclose in quotes
TVAppStart "M:\program files\Office\Winword.exe"
-
This is great! Thankyou very much!!!! I just wonder though, you still see MC in standard view flash on the screen for a brief period before resuming or hiding Theater View. Is there no way of hiding this transition?
Thanks again.
-
This is great! Thankyou very much!!!! I just wonder though, you still see MC in standard view flash on the screen for a brief period before resuming or hiding Theater View. Is there no way of hiding this transition?
Thanks again.
Your welcome,
I think the flash to Standard view is beyond my power to change.
The source code is there if any one else wants a go though!