I am trying to control Windows Media Center in Windows 7 64bit. I have my remote and Ir receiver working correctly. At first I used the remote events to trigger Emulate Keystrokes to control Windows Media Center. This worked fine as long as Windows Media Center was the top window in focus. I then discovered the Windows Media Player plugin. I then changed my remote events to trigger actions in the Windows Media Player plugin such as Windows Media Player: Next Track, or Windows Media Player Fast Forward. This works great when listening to music because I can have the Media Center out of focus, i.e. have a web browser up, and still control the music. However, this doesn't work at all for controlling the playback of movies in Windows Media Center.
1. Is there a better way to control the Windows Media Center, i.e. another plugin that works for both movies and music?
2. How can I bring the Windows Media Center window into focus in a python script, then I could send the Emulate Keystrokes to it and not use the Windows Media Player plugin?
3. Is there a better option than the above?
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Windows 7 MCE control
Re: Windows 7 MCE control
As for 2nd
I have assigned a key to bring MCE to front and making MCE context folder - enable exclusive
This is part of standard EG
here is how I have it
An action to start or bring MCE on top
- find MCE (EG has standard way to find a window)
- if successful go to make MCE top
- if not successful go to run MCE
make MCE top - is a macro that
- finds MCE
- brings the focus to the window
- enable exclusive the MCE context folder
run MCE - is a macro that
- starts MCE
- waits for 0.5 sec
- finds MCE
- brings focus to the window
- enable exclusive the MCE context folder
I have all my apps setup like that
I have assigned a key to bring MCE to front and making MCE context folder - enable exclusive
This is part of standard EG
here is how I have it
An action to start or bring MCE on top
- find MCE (EG has standard way to find a window)
- if successful go to make MCE top
- if not successful go to run MCE
make MCE top - is a macro that
- finds MCE
- brings the focus to the window
- enable exclusive the MCE context folder
run MCE - is a macro that
- starts MCE
- waits for 0.5 sec
- finds MCE
- brings focus to the window
- enable exclusive the MCE context folder
I have all my apps setup like that
Re: Windows 7 MCE control
Theres actually an easier way to do this, just assign a button to emulate the keystrokes {Win+Alt+Enter}
This will either launch MCE/WMC or it will bring it to the front (i think in full screen). Basically, that's the command that the Green button on an MCE remote sends (except the keyboard shortcut still works when remote HID is disabled, obv).
WMC Keyboard Shortcuts: http://windows.microsoft.com/en-us/wind ... -shortcuts
This will either launch MCE/WMC or it will bring it to the front (i think in full screen). Basically, that's the command that the Green button on an MCE remote sends (except the keyboard shortcut still works when remote HID is disabled, obv).
WMC Keyboard Shortcuts: http://windows.microsoft.com/en-us/wind ... -shortcuts