User Defined Global Keyboard Shortcuts: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by 2 users not shown)
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.



'''Setup'''
'''Setup'''


You will need to create a file:
Place this sample file:<br>
ftp://ftp.jriver.com/pub/downloads/music/misc/Resource.xml<br><br>
C:\Program Files\J River\Media Center 12\Data\Custom Resources\Resource.xml


In this folder: (you'll need to create the Custom Resources folder)<br>
Here is a sample file:
C:\Program Files\J River\Media Center 16\Data\Custom Resources\Resource.xml<br><br>
[[Media:Keyboard Shortcuts Resource.xml]]

(Replace "Media Center 16" with the version you have.)

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>
C:\Program Files\J River\Media Center 16\Data\Default Resources\Resource.xml<br><br>


''' Commands '''
''' Commands '''


You can use any MCC (MC Command) in this file. They are described here:
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
http://wiki.jriver.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 '''

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

Latest revision as of 11:51, 1 May 2011

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 16\Data\Custom Resources\Resource.xml

(Replace "Media Center 16" with the version you have.)

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 16\Data\Default Resources\Resource.xml

Commands

You can use any MCC (MC Command) in this file. They are described here:
http://wiki.jriver.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:
Ctrl;1...5 will act as player controls
Ctrl;6...7 will run a program (requires Media Center 13.0.145 and later)
Ctrl;Shift;1...9 will play designated playlists