User Defined Global Keyboard Shortcuts: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Media Center 12.0.240 and later support user defined keyboard shortcuts. These shortcuts can be made global so that they are available even with Media Center minimized.
Media Center supports user defined keyboard shortcuts. These shortcuts can be made global so that they are available even with Media Center minimized.


Currently, defining these shortcuts requires working with XML in a text editor. Below we'll step through how to get them up and running.
Currently, defining these shortcuts requires working with XML in a text editor. Below we'll step through how to get them up and running.
Line 9: Line 9:


In this folder: (you'll need to create the Custom Resources folder)<br>
In this folder: (you'll need to create the Custom Resources folder)<br>
C:\Program Files\J River\Media Center 12\Data\Custom Resources\Resource.xml<br><br>
C:\Program Files\J River\Media Center 13\Data\Custom Resources\Resource.xml<br><br>


Then edit this file with Notepad. It has some instructions at the top of the file.<br><br>
Then edit this file with Notepad. It has some instructions at the top of the file.<br><br>


The shortcuts specified in this file will be merged with the default keyboard shortcuts specified here:<br>
The shortcuts specified in this file will be merged with the default keyboard shortcuts specified here:<br>
C:\Program Files\J River\Media Center 12\Data\Default Resources\Resource.xml<br><br>
C:\Program Files\J River\Media Center 13\Data\Default Resources\Resource.xml<br><br>


''' Commands '''
''' Commands '''
Line 20: Line 20:
You can use any MCC (MC Command) in this file. They are described here:<br>
You can use any MCC (MC Command) in this file. They are described here:<br>
http://wiki.jrmediacenter.com/index.php/Media_Center_windows_messages<br><br>
http://wiki.jrmediacenter.com/index.php/Media_Center_windows_messages<br><br>

You can also run any program using Type="Program" for the command. In this case, the command is the executable and the param is the arguments to pass the executable.


''' Sample '''
''' Sample '''
Line 25: Line 27:
The sample shows how to make global shortcuts so that:<br>
The sample shows how to make global shortcuts so that:<br>
Shift;1...5 will act as player controls<br>
Shift;1...5 will act as player controls<br>
Shift;6 will run a program (requires Media Center 13.0.145 and later)<br>
Ctrl;Shift;1...9 will play designated playlists<br><br>
Ctrl;Shift;1...9 will play designated playlists<br><br>

''' MCE Remote '''

It would be possible to create a shortcut block to support the MCE remote. Please share it on Interact (or here) if you do this.

Revision as of 20:21, 30 March 2009

Media Center supports user defined keyboard shortcuts. These shortcuts can be made global so that they are available even with Media Center minimized.

Currently, defining these shortcuts requires working with XML in a text editor. Below we'll step through how to get them up and running.

Setup

Place this sample file:
ftp://ftp.jriver.com/pub/downloads/music/misc/Resource.xml

In this folder: (you'll need to create the Custom Resources folder)
C:\Program Files\J River\Media Center 13\Data\Custom Resources\Resource.xml

Then edit this file with Notepad. It has some instructions at the top of the file.

The shortcuts specified in this file will be merged with the default keyboard shortcuts specified here:
C:\Program Files\J River\Media Center 13\Data\Default Resources\Resource.xml

Commands

You can use any MCC (MC Command) in this file. They are described here:
http://wiki.jrmediacenter.com/index.php/Media_Center_windows_messages

You can also run any program using Type="Program" for the command. In this case, the command is the executable and the param is the arguments to pass the executable.

Sample

The sample shows how to make global shortcuts so that:
Shift;1...5 will act as player controls
Shift;6 will run a program (requires Media Center 13.0.145 and later)
Ctrl;Shift;1...9 will play designated playlists