Can I create my own direct keyboard shortcuts within WMC?

Post Reply
tamorgen

Posts: 11
Joined: Mon Dec 19, 2011 1:33 pm
Location:

HTPC Specs: Show details

Can I create my own direct keyboard shortcuts within WMC?

#1

Post by tamorgen » Mon Dec 19, 2011 2:10 pm

I've created shortcuts in Windows 7 to both the My Movies and TV series strips (both part of the My Movies program). From the Windows desktop, they will launch when I press CTRL + F5 or CTRL + F6, respectfully. However, once WMC7 is launched, those keyboard shortcuts no longer work to bring me to that particular strip of WMC. WMC has built in keyboard shortcuts for Pictures, Videos, etc, and I want to be able to do the same thing with My Movies, namely so I can use those keyboard shortcuts with my Harmony universal remote, the way you would with a standard MCE remote (red, green blue, and yellow keys launch DVD, Music, Pictures, and TV). The remote does work for me from the Windows desktop, but not from WMC, same as the keyboard.

Does anybody know how to do this exactly?

hopscotching

Posts: 13
Joined: Thu Jun 09, 2011 9:47 pm
Location:

HTPC Specs: Show details

#2

Post by hopscotching » Tue Dec 20, 2011 8:26 pm

This is very possible, i have the same thing running on my system. That is to say i have a mymovies button programed on my harmony one, if pressed it will launch mymovies, i have a few other custom buttons too. I will post software etc later today.
refugee from the old greenbutton mess

User avatar
STC

Posts: 6808
Joined: Mon Jun 06, 2011 4:58 pm
Location:

HTPC Specs: Show details

#3

Post by STC » Tue Dec 20, 2011 8:41 pm

Check out autohotkey. I'm on Tapatalk at present and in a rush so can't tell you much about it right now.
By the Community, for the Community. 100% Commercial Free.

Want decent guide data back? Check out EPG123

tamorgen

Posts: 11
Joined: Mon Dec 19, 2011 1:33 pm
Location:

HTPC Specs: Show details

#4

Post by tamorgen » Wed Dec 21, 2011 2:23 am

stonethecrows wrote:Check out autohotkey. I'm on Tapatalk at present and in a rush so can't tell you much about it right now.
I hadn't heard of that one yet. Just took a look. Looks complicated, like a lot of scripting. What exactly would I need to do? Thanks.

hopscotching

Posts: 13
Joined: Thu Jun 09, 2011 9:47 pm
Location:

HTPC Specs: Show details

#5

Post by hopscotching » Wed Dec 21, 2011 3:47 pm

ok i use a program called "hotkeyP"

http://download.cnet.com/HotkeyP/3000-2 ... 47871.html

each keyboard shortcut runs a vbs script that points to .bat file, not as hard as it sounds.

here is the vbs

Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\Program Files (x86)\HotkeyP-4.4\mymovies.bat" & Chr(34), 0
Set WshShell = Nothing

here is the .bat

%SystemRoot%\ehome\ehshell.exe /entrypoint:{07002340-f744-4df2-a829-969f40f7ab83}\{c820956c-5258-4202-a5bf-466aff76b30b}

let me know how you get on
refugee from the old greenbutton mess

tamorgen

Posts: 11
Joined: Mon Dec 19, 2011 1:33 pm
Location:

HTPC Specs: Show details

#6

Post by tamorgen » Wed Dec 21, 2011 4:20 pm

hopscotching wrote:ok i use a program called "hotkeyP"

http://download.cnet.com/HotkeyP/3000-2 ... 47871.html

each keyboard shortcut runs a vbs script that points to .bat file, not as hard as it sounds.

here is the vbs

Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\Program Files (x86)\HotkeyP-4.4\mymovies.bat" & Chr(34), 0
Set WshShell = Nothing

here is the .bat

%SystemRoot%\ehome\ehshell.exe /entrypoint:{07002340-f744-4df2-a829-969f40f7ab83}\{c820956c-5258-4202-a5bf-466aff76b30b}

let me know how you get on
Does this work within WMC, as in, when you already have it running? I already have a shortcut using the contents of your .bat above, and I created a Keyboard shortcut for it. It only works when WMC is not running. I'd like to do this so if I'm within another app in WMC, I can jump back to the My Movies strip, same as you would with the built in hotkeys for Video, Music, Pictures, etc.

hopscotching

Posts: 13
Joined: Thu Jun 09, 2011 9:47 pm
Location:

HTPC Specs: Show details

#7

Post by hopscotching » Sat Dec 24, 2011 5:13 am

It does if you use the software combined with the vb script and the bat file.

I have programed into my harmony one;

mymovies and music browser, these are buttons on the touchscreen. Both work from with in media center, the trick is to find the entrypoint in the registry. Just remember it may never work as well as a built in hot key, but i am happy with the result i have.
refugee from the old greenbutton mess

Post Reply