INTERACT FORUM

More => Old Versions => Media Center 15 (Development Ended) => Topic started by: steveklein on June 17, 2010, 11:50:17 am

Title: How do I create a keyboard shortcut in Windows to go to J River
Post by: steveklein on June 17, 2010, 11:50:17 am
What I'm trying to do is program my remote control to work with J River. I need a button on the remote that, regardless of what's going on on the PC, to put J River into focus. That way the other shortcuts like play next track etc will work with it.

I'd like to just program, say F9 on my keyboard to always focus the J River window, or, if it isn't open, to run the program and then keep the program window in focus.

How do I do this?

Thanks,
Steve
Title: Re: How do I create a keyboard shortcut in Windows to go to J River
Post by: Robo983 on June 17, 2010, 12:09:08 pm
 do you already know about the Resource.xml file?

http://wiki.jrmediacenter.com/index.php/User_Defined_Global_Keyboard_Shortcuts

Only thing is I do not believe there is a MCC command for bringing MC into focus.
Title: Re: How do I create a keyboard shortcut in Windows to go to J River
Post by: rick.ca on June 17, 2010, 02:39:31 pm
From The Command Line (http://wiki.jrmediacenter.com/index.php/The_Command_Line) in the wiki...

mc15.exe /Mode [modename] If Media Center is not currently running, this starts Media Center in the specified mode, otherwise this switches Media Center to the specified mode.

    [modename] can be one of the following:

        * Standard, Megame, or Windowed Standard View
        * Minime Mini View
        * Fullscreen Display View
        * Theater Theater View

    Note: An empty [modename] is the same as the user's chosen startup mode if Media Center is not running, or Standard if it is already running.