INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: JaredH on January 24, 2005, 07:46:53 am

Title: Is There A Hotkey to Show/Hide MC?
Post by: JaredH on January 24, 2005, 07:46:53 am
Self explanatory. I like to use the "Minimize to tray" option. Are there any keyboard shortcuts/hotkey combinations for hiding and showing MC?
Title: Re: Is There A Hotkey to Show/Hide MC?
Post by: JaredH on January 25, 2005, 10:02:34 am
Two or three letters are all I need... a.k.a. Yes or No... no detail... just a simple answer.

 :-\
Title: Re: Is There A Hotkey to Show/Hide MC?
Post by: JimH on January 25, 2005, 10:57:15 am
MC 11 uses control 1,2,3, etc.
Title: Re: Is There A Hotkey to Show/Hide MC?
Post by: Krazykanuck on January 25, 2005, 11:16:44 am
CTRL # doesn't seem to restore or minimize.
Going through the numbers once it is up changes views but not minimize.
Title: Re: Is There A Hotkey to Show/Hide MC?
Post by: Alweb on January 25, 2005, 12:34:56 pm
Hi

I use to mimimize:
- In Options/General/Interface, the option Minimize to System Tray was enabled.
- When MC is on the top, press: Window + m

To show, i don't know any shortcut!

Alweb
Title: Re: Is There A Hotkey to Show/Hide MC?
Post by: lee269 on January 25, 2005, 12:45:16 pm
[Alweb beat me to it whilst I was typing. Nice new board feature. But this is slightly different.]

Dont think there is an easy way. Best I could come up with was this:-

To minimise: Windows key+D twice minimises everything and restores all except MC.

To restore from tray: Assign a shortcut key to MC in your start menu, eg Ctrl+Alt+M. Will restore MC if its already running.

Horrible kludge though.
Title: Re: Is There A Hotkey to Show/Hide MC?
Post by: JaredH on January 27, 2005, 07:16:12 am
For those of you who use MC and use Girder and are operating on a laptop. I have found a way to Hide/Show MC with a hotkey.

Step by step, this is pretty simple.

Step 1.

Create two new commands. Label one "MC Show" and the other "MC Hide" (or whatever creative names you wish)

Step 2.

On "MC Show" go to your O.S. action tab and choose "Execute" from your first drop down box.
Then either type or browse to the location of your Media Center.exe file.
Leave "Step Size" and "Startup Options" alone.
Right click on the 'MC Show" command in the tree and click "State Settings"
On "State Count" enter 2.
On "Begin State" enter 2.
check the "Execute on all states except 1" box.

Step 3.

On "MC Hide" go to your "Window" action tab and click the "Target" button.
In the "Target" window in the upper left corner is a little target icon. Im assuming if you use Girder, you know how to use the "Target" window by now.
Target the MC Titlebar. Then clear the childclass checkbox at the bottom of the "Target" window. Click "OK"
In the dropdown box, choose "Hide"
Right click on the "MC Hide" command in the tree and click "State Settings"
On "State Count" enter 2.
On "Begin State" enter 1.
leave the "Execute on all state except 1" box unchecked.

Step 4.

Set the same keyboard (or button) even for both commands.

And you're done.

This is for those of you who like to use the "Minimize to Tray" option. Otherwise, the process it slightly different.

If it doesnt work, then either my instructions are subpar, or you've done something wrong.
Title: Re: Is There A Hotkey to Show/Hide MC?
Post by: JaredH on January 27, 2005, 08:55:37 am
Ok, so after some use, I found this idea to be functional at best. I wouldnt call it a dead-on hide/show key, but it works, somewhat. I personally would like to suggest to you guys on the MC crew to consider some kind of Activate/Minimize command to be added to the command list. Something that would at least be programmable to a key in the "Remote Control" section of the "Options" dialog.

I use MC for everything. It is the one program that runs the most on my computer next to explorer.exe. I would be absolutely more than super efficient to have some sort of command that would Activate/Hide MC depending on its state. I would even say that it is essential. Please look into this, guys.

J
Title: Re: Is There A Hotkey to Show/Hide MC?
Post by: lee269 on January 27, 2005, 01:15:34 pm
Jared

Agree a hotkey would be useful. Except that even the existing hotkeys, for transport controls etc, dont work for me when MC is minimised. I suspect its more difficult/complicated than it looks.

However, I think I just got a bit closer. I just found the Media Core Command List (http://www.musicex.com/mediacenter/DevZone/MCCommands.h) (in the Command Line Parameter (http://www.musicex.com/mediajukebox/DevZone/CommandLine.html) page). A lot of the command list is getting into programming over my head, but as far as using them as command line parameters I find that:

mjextman /MCC 10013 - will show the MC window
mjextman /MCC 10014 - will minimise the MC window

Creating Windows shortcuts to these commands with suitable hot keys work fine for me. The only thing is that there isnt a single parameter that will allow you to have a single key combination act as a toggle AFAIK, but I havent explored this exhaustive list of commands further.

Hope this helps.