2010-09-01, 15:50
*MODS* Please move this tot he How-To Section.
My goal was to be able to watch both Live and Recorded TV along with Netflix in Windows MCE then move over to XBMC fluidly with the remote only. This will be expanded to PowerDVD, Hulu, and possibly Boxee.
First start off with downloading AutoHotKey http://www.autohotkey.com/download/ This will allow us to script a function key to shut down WinMCE and start XBMC or vise versa. Here is my script.
Obviously check and update the paths (italicized text above) but that should work for most. The beauty of this is it will start the desired program and if the other isn't running it won't freak. I started out just using Alt+F4 but that is flawed.
On to the Harmony remote. In my basic setup I have 3 devices.
Then I have then set everything up as "activities". I'll let you all worry about setting the key maps to your preference inside your activities.
List of Keyboard shortcuts by program to make life easier.
XBMC
WinMCE
Boxee
Power DVD
My goal was to be able to watch both Live and Recorded TV along with Netflix in Windows MCE then move over to XBMC fluidly with the remote only. This will be expanded to PowerDVD, Hulu, and possibly Boxee.
First start off with downloading AutoHotKey http://www.autohotkey.com/download/ This will allow us to script a function key to shut down WinMCE and start XBMC or vise versa. Here is my script.
Code:
;Run XBMC
;Pressing F12 starts this.
F12::
;If WinMCE is running it will be closed
IfWinExist, ahk_class eHome Render Window
WinClose, ahk_class eHome Render Window
;This waits for 2seconds because if the resolution hasn't changed back quick enough sometimes XBMC crashes on startup
Sleep 2000
;Starts XBMC
Run [i]C:\Program Files (x86)\XBMC\XBMC.exe[/i]
return
;Run MCE
;Pressing F9 starts this.
F9::
;If XBMC is running it will be closed
IfWinExist, ahk_class XBMC
WinClose, ahk_class XBMC
;This waits 2 seconds so the resolution changes back to normal
Sleep 2000
;Starts XBMC
Run [i]C:\Windows\ehome\ehshell.exe[/i]
return
Obviously check and update the paths (italicized text above) but that should work for most. The beauty of this is it will start the desired program and if the other isn't running it won't freak. I started out just using Alt+F4 but that is flawed.
On to the Harmony remote. In my basic setup I have 3 devices.
- My TV to control source, volume, and mute.
- The MCE Keyboard so I can map all the XBMC keyboard shortcuts to each button.
- The MCE so I can control WinMCE
Then I have then set everything up as "activities". I'll let you all worry about setting the key maps to your preference inside your activities.
- Watch TV - This brings up WinMCE and goes to live TV. I do this by setting up the activity to hit F9 via the MCE Keyboard to close XBMC, Open WinMCE and then you can set where it goes inside WinMCE.
- Watch XBMC - This its F12 and switches to XBMC then has all the keyboard keys mapped properly.
List of Keyboard shortcuts by program to make life easier.
XBMC
WinMCE
Boxee
Power DVD