RSS - Ian's Blog RSS - All content RSS - The Media Center Show Subscribe via iTunes  Subscribe with Zune Twitter
mControl for Windows
 Media Center

How to launch 3rd Party MCE add-in with a Logitech Harmony remote

 

Following up on my recent post entitled How to launch Media Center directly in to a 3rd party app, I’ve been looking at how to launch My Movies and RadioTime MCE using a Logitech Harmony 550 universal remote control.

Searching on the internet it seems some people on Vista Media Center were using macros to move the cursor up / down, left /right on the MCE menu to click on the My Movies icon, which is not ideal and wouldn’t work on 7mc anyways.

Others were using software such as Intelliremote or ControlRemote however I did not want any additional software installed and running in order to achieve this.

So I have used a keyboard shortcut method, however there is one issue with this, you need a Microsoft MCE 2005 IR keyboard to teach the Harmony the IR codes of the keyboard shortcuts. Luckily for me I had one of these MCE keyboards kicking about the place.

First thing I did was to create two new shortcuts for Windows Media Center one to launch My Movies and the other to launch RadioTimeMCE. I used the method I described in my last post here to create these shortcuts. I didn’t want them on the desktop so I created a folder in my Start Menu called MCE Custom Shortcuts.

In this folder are my two Media Center shortcuts:

Windows Media Center – My Movies

Target: %windir%\ehome\ehshell.exe /entrypoint:{8984aed5-7c9d-42f0-b2ad-c39bbcf04a25}\{810d7b87-1300-4aed-a700-1c6179f8f14b}

Windows Media Center – RadioTime MCE

Target: %windir%\ehome\ehshell.exe /entrypoint:{4c36cf23-bf48-4f93-86c5-78009734d21a}\{4c36cf23-bf48-4f93-86c5-78009734d21b}

Windows Media Center - HeatWave

Target: %windir%\ehome\ehshell.exe /entrypoint:{07bb2735-4d20-4404-bc1a-aa13761f3e9e}\{574a685e-fc95-4f8d-9c37-500d772e526a}

 

image

Now we need to assign some keyboard shortcuts to these Windows Media Center shortcut icons.

Note: Important, only create your keyboard shortcut key after you have moved the custom shortcuts to the start menu. As the first time I created the icons on the desktop, then set the keyboard shortcut keys and then moved them from the desktop to the start menu, however I found the keyboard shortcuts then did not work so I had to remove them and add them again.

Creating the keyboard shortcut keys:

Right click on the first Windows Media Center shortcut from the start menu as shown above in this case the My Movies one. Select properties from the menu.

Click in to the Shortcut key field with your mouse and then enter a key combination on the keyboard. You can probably use any thing you like here I used Ctrl + Alt + M

Click Apply and then OK.

image

Now repeat this process for any other icons you are setting up, in this case the RadioTime MCE one.

For this one I used Ctrl + Alt + R

image

Test that they work by entering the newly created Keyboard shortcut keys and ensure Media Center is launched into the correct 3rd party add-in.

Ok now our Media Center PC is configured we need to use the MCE 2005 IR keyboard and the Harmony software.

I am presuming your have already added your Media Center PC so just click the Learn IR button under the Media Center PC device.

Click for larger image

Harmony1

Scroll down to the bottom of the list and in the Learn a New Command type “My Movies” and then click the Learn New Command button.

Click for larger image

Harmony2

Now this is where the MCE 2005 IR keyboard comes in to play, line it up with the Harmony remote control and then enter the keyboard shortcut key you setup earlier on the Media Center PC. In this case it was Ctrl + Alt + M

It should then say Key Detected, the Harmony software will ask you to confirm this key again and hopefully after that it has learnt the new IR code.

Click for larger image

Harmony3

Click for larger image

Harmony4

Once you have successfully learnt the IR code repeat the process for any other shortcuts you are setting up, in my case I got the Harmony to learn another command called RadioTime using the Ctrl + Alt + R keyboard shortcut key.

Finish the wizard and click Done

Now you need to assign your new commands, in the Harmony software go back to the Device tab and click the Settings button on the Media Center PC device. Then select Adjust Inputs from the list and click Next.

On this screen I chose to delete the My DVDs and Radio inputs as these are for the inbuilt DVD / Movie Library and Radio area’s of Media Center which I won’t be using.

I then added two new inputs one called “My Movies” and one called RadioTime”

Click for larger image

Harmony5

On this next screen you assign the new inputs to your newly created commands that will now appear in the drop down list.

Assigning My Movies input to the My Movies command

Click for larger image

Harmony6

Assigning RadioTime input to the RadioTime command

Click for larger image

Harmony7

Finish the wizard and click Done.

Now save the changes to the remote control.

On my model the Harmony 550, I click the Devices button on the remote control, select Media Center and I can then scroll through the pages on the screen and see the new options My Movies and Radio time, when I press either one Media Center is launched in to the correct 3rd party application. Job done!

In addition you could assign your new commands to a custom button such as A or B for example.

Summary

I think this wasn’t such a bad way to set this up as you don’t need to install any additional software, the only downside is you need an MCE 2005 IR keyboard which you might not currently have.

Next I need to figure out how to change the page layout and item order that shows up on the remote controls LCD screen and bring my new entries to the first page.


Posted Nov 06 2009, 09:55 AM by cw-kid
Filed under: ,

Comments

Mynstrel wrote re: How to launch 3rd Party MCE add-in with a Logitech Harmony remote
on 11-06-2009 1:53 PM
..

HI, the option to change what appears in the remote control is fairly staright forward.

It depends on if you wish to change the order of you activites or the option that appear for the device once you in the activity.

I going to assume you are in an activity, so you will need to go into the device menu on the logitech software and then choose the option, which I think is additional buttons and you can move them up and down in there.

(why do I know this, because i like all my device power options to appear on my LCD and they never do by standard setup:-) )

cw-kid wrote re: How to launch 3rd Party MCE add-in with a Logitech Harmony remote
on 11-06-2009 3:31 PM
..

I tried what you suggested but my LCD on the remote was still not as I want it. Its the device options I want to change not the activity.

I press the device button, then select Media Center and then I see the options and pages, it's this I need to change.

cw-kid wrote re: How to launch 3rd Party MCE add-in with a Logitech Harmony remote
on 11-09-2009 4:17 AM
..

Just an update on a couples of things, first I managed to sort out my LCD display and re-order the items as I required.

Secondly I've noticed that when pressing these new commands I've created on the remote control when Media Center is in full screen mode they don't work / do anything. I guess it's because Media Center is already open and effectively our keyboard shortcuts are trying to launch Media Center (ehshell.exe) again in to a certain entrypoint.

However if Windows Media Center is in windowed mode  I'am able to press the new commands on the remote control and Media Center will jump into My Movies and RadioTime and vice-versa.

I've also added a new command to launch the Heatwave weather add-in.

So I guess my summary is if you just want a button(s) on your Logitech remote control that will launch Media Center in to a certain add-in then this works great.

But if  you wanted to use the same buttons to jump around in Media Center once it's launched in to full screen mode it then kinda doesn't work unless you are in windowed mode.

If anyone has any ideas or comments please feel free.

Mike.Clarke wrote re: How to launch 3rd Party MCE add-in with a Logitech Harmony remote
on 11-11-2009 4:56 AM
..

I have also noticed that the shortcuts keys don't fire when in media center full screen mode.

I wanted to use a key to run a script in the background but the script wouldn't fire unless media center is not in full screen mode.

Any info on fixing this would be great!!!

Mike.Clarke wrote re: How to launch 3rd Party MCE add-in with a Logitech Harmony remote
on 11-12-2009 8:57 PM
..

FYI I was able to make my own shortcuts that work while in media center using Autohotkey:

www.autohotkey.com/.../Hotkeys.htm

They worked great.

MC

cw-kid wrote re: How to launch 3rd Party MCE add-in with a Logitech Harmony remote
on 12-01-2009 3:58 AM
..

Mike,

thanks for the tip, I've started using AutoHotKey and I have deleted the desktop shortcuts I created in as above.

My AutoHotKey script can launch the following:

My Movies - Ctrl + Alt + M

HeatWave - Ctrl + Alt + H

RadioTime - Ctrl + Alt + R

You can download my AutoHotKey script from this link

cid-3c26ff3a8c4b8643.skydrive.live.com/.../AutoHotkey.ahk

This does work and I can now press these buttons on the Harmony remote control (When MCE is in full screen mode) and the 3rd party add-ins load up ok.

However I have one issue with RadioTime when this loads it does not load properly into full screen and looks like this screen shot:

cid-3c26ff3a8c4b8643.skydrive.live.com/.../RadioTime.jpg

I've tried this on two PC's and it does the same on both.

Mike.Clarke wrote re: How to launch 3rd Party MCE add-in with a Logitech Harmony remote
on 12-01-2009 4:41 AM
..

yo yo

you could try starting using a batch file.  something like this:

start /max d:\MameUI32\MameUI32.exe

that is what i do to start mame maximized.

[You must be signed in to comment]

Links: Cisco Routers electronics
(c) Ian Dixon 2009