home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Problem with Myprograms
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="EasyTargeT" data-source="post: 109140" data-attributes="member: 24285"><p>I don't think it's possible using a batchfile... </p><p>You should be able to create a .vbs file using the .SendKeys and .AppActivate Methods using windows script host, but I have'nt tried that.</p><p></p><p>This is the bat file I am using to shut down MP, start a game, Play a while, and when closing the game the bat file starts MP and exits.</p><p></p><p>REM Shutdown MP</p><p>taskkill /f /im MediaPortal.exe</p><p>REM make a call to the application, leaving the batchfile to wait for program exit</p><p>call "C:\Program Files\Acclaim Entertainment\Re-Volt\revolt.exe"</p><p>REM when closing the program the batch file jumps to MP's folder</p><p>CD "C:\Program Files\Team MediaPortal\MediaPortal\"</p><p>REM and then starts MP</p><p>start MediaPortal.exe</p><p>REM and exit the CMD window</p><p>exit</p></blockquote><p></p>
[QUOTE="EasyTargeT, post: 109140, member: 24285"] I don't think it's possible using a batchfile... You should be able to create a .vbs file using the .SendKeys and .AppActivate Methods using windows script host, but I have'nt tried that. This is the bat file I am using to shut down MP, start a game, Play a while, and when closing the game the bat file starts MP and exits. REM Shutdown MP taskkill /f /im MediaPortal.exe REM make a call to the application, leaving the batchfile to wait for program exit call "C:\Program Files\Acclaim Entertainment\Re-Volt\revolt.exe" REM when closing the program the batch file jumps to MP's folder CD "C:\Program Files\Team MediaPortal\MediaPortal\" REM and then starts MP start MediaPortal.exe REM and exit the CMD window exit [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Problem with Myprograms
Contact us
RSS
Top
Bottom