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
MediaPortal 1 Plugins
MPsteam (Starting "Valve Steam" in Big Picture mode)
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="Rick164" data-source="post: 1168777" data-attributes="member: 17766"><p>[USER=86139]@d0ne[/USER] Thanks, normally multi-task the desktop so restore MP manually but it certainly is better for most users <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>Didn't know Task.Destroyed also detected non app shutdowns (i.e. still running background) so that that is very nice, recently had to remove EventGhost altogether as it conflicted with Windows 10 (G key gets stuck):</p><p></p><p><a href="http://www.eventghost.net/forum/viewtopic.php?f=4&t=7752" target="_blank">http://www.eventghost.net/forum/viewtopic.php?f=4&t=7752</a></p><p></p><p>Affects all Windows 10 users which need the Keyboard plugin and not just those with the Xbox app as MS decided to make it always on (even when app is removed) in a update which has yet to be reverted, EventGhost developers are definitely not doing anything about it except a workaround which creates other issues.</p><p></p><p>So created a new script that closes Mediaportal before starting Steam, it finds the correct window and since close is minimize to tray in my setup it moves to tray and then starts Steam in big picture mode.</p><p>Doesn't rely on EventGhost and finds the window directly, no restore option though.</p><p></p><p><strong>Instructions</strong></p><p></p><p><strong>Option 1 - Non-eventghost method (doesn't restore Mediaportal after steam closes)</strong></p><p></p><p>Create a batch file with parameter "CloseMediaportal" like this:</p><p></p><p>SendWindowCMD.exe CloseMediaportal</p><p></p><p>Now save the batch file to for instance "mediaportal_close.bat" and set that in MPsteam config:</p><p></p><p>[ATTACH=full]174042[/ATTACH]</p><p></p><p><strong>Code</strong></p><p></p><p><a href="https://gist.github.com/RickDB/aeff5cddc70bb181811b" target="_blank">https://gist.github.com/RickDB/aeff5cddc70bb181811b</a></p><p></p><p><strong>Option 2 - Eventghost method (restores Mediaportal from tray after steam closes)</strong></p><p></p><p>Import the attached config (mpsteam-eventghost.xml) into Eventghost, enable the Eventghost plugin "Task Create/Switch Event" if needed,</p><p>Next up we create a simple batch file with the following line and name it <strong>mediaportal_EG_close.bat</strong></p><p></p><p>[code]"C:\Program Files (x86)\EventGhost\EventGhost.exe" -e Mediaportal.Close[/code]</p><p></p><p>- Now let MPsteam use the batch script before starting steam.</p><p></p><p><img src="http://dl.team-mediaportal.com/2015/10/257011_mepo_steam.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>- That's it</p></blockquote><p></p>
[QUOTE="Rick164, post: 1168777, member: 17766"] [USER=86139]@d0ne[/USER] Thanks, normally multi-task the desktop so restore MP manually but it certainly is better for most users :) Didn't know Task.Destroyed also detected non app shutdowns (i.e. still running background) so that that is very nice, recently had to remove EventGhost altogether as it conflicted with Windows 10 (G key gets stuck): [URL]http://www.eventghost.net/forum/viewtopic.php?f=4&t=7752[/URL] Affects all Windows 10 users which need the Keyboard plugin and not just those with the Xbox app as MS decided to make it always on (even when app is removed) in a update which has yet to be reverted, EventGhost developers are definitely not doing anything about it except a workaround which creates other issues. So created a new script that closes Mediaportal before starting Steam, it finds the correct window and since close is minimize to tray in my setup it moves to tray and then starts Steam in big picture mode. Doesn't rely on EventGhost and finds the window directly, no restore option though. [B]Instructions[/B] [B]Option 1 - Non-eventghost method (doesn't restore Mediaportal after steam closes)[/B] Create a batch file with parameter "CloseMediaportal" like this: SendWindowCMD.exe CloseMediaportal Now save the batch file to for instance "mediaportal_close.bat" and set that in MPsteam config: [ATTACH=full]174042[/ATTACH] [B]Code[/B] [URL]https://gist.github.com/RickDB/aeff5cddc70bb181811b[/URL] [B]Option 2 - Eventghost method (restores Mediaportal from tray after steam closes)[/B] Import the attached config (mpsteam-eventghost.xml) into Eventghost, enable the Eventghost plugin "Task Create/Switch Event" if needed, Next up we create a simple batch file with the following line and name it [B]mediaportal_EG_close.bat[/B] [code]"C:\Program Files (x86)\EventGhost\EventGhost.exe" -e Mediaportal.Close[/code] - Now let MPsteam use the batch script before starting steam. [IMG]http://dl.team-mediaportal.com/2015/10/257011_mepo_steam.png[/IMG] - That's it [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MPsteam (Starting "Valve Steam" in Big Picture mode)
Contact us
RSS
Top
Bottom