INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Windows => Topic started by: DocLotus on February 11, 2015, 08:57:10 pm

Title: Minimize / Maximize MC with same key...
Post by: DocLotus on February 11, 2015, 08:57:10 pm
I open (and maximize) MC with a HotKey to MC20...
"C:\Program Files (x86)\J River\Media Center 20\Media Center 20.exe".

I want to minimize MC with the same HotKey (so it can cycle between Minimize &  Maximize).

Is this possible?

Thanks;
Doc
Title: Re: Minimize / Maximize MC with same key...
Post by: 6233638 on February 12, 2015, 06:52:52 am
+1

Well in my case, the button is bound to mc20.exe /start (http://yabb.jriver.com/interact/index.php?topic=85765.msg588150#msg588150)
But it would be nice if this minimized MC when it has focus, so that the button can be used as a toggle.
Title: Re: Minimize / Maximize MC with same key...
Post by: Matt on February 12, 2015, 09:23:13 am
Next build:
Changed: The launcher (MC20.exe) takes a /MinMax command to toggle the minimized / maximized state of the program.
Title: Re: Minimize / Maximize MC with same key...
Post by: 6233638 on February 12, 2015, 09:26:13 am
Will that still launch MC if it's not running?
Title: Re: Minimize / Maximize MC with same key...
Post by: Matt on February 12, 2015, 10:04:27 am
Will that still launch MC if it's not running?

No, I don't think so.  It only looks for a running MC.

I could make it start MC, but it's not really clear to me that it's an improvement.
Title: Re: Minimize / Maximize MC with same key...
Post by: DocLotus on February 12, 2015, 10:37:16 am
I have always used the HotKey to both load MC (if it is not running) AND to maximize MC (if it is already running) so it would definitely be an improvement.

Thanks Matt for your interest in this.

Doc
Title: Re: Minimize / Maximize MC with same key...
Post by: Matt on February 12, 2015, 10:46:47 am
I have always used the HotKey to both load MC (if it is not running) AND to maximize MC (if it is already running) so it would definitely be an improvement.

Thanks Matt for your interest in this.

Doc

Well wouldn't you want something different, more of a /StartMax command that starts if it's not running and then maximizes it?

Next build:
NEW: Added a /StartMax command to the launcher to start the program maximized (and show and maximize if it's already running).
Title: Re: Minimize / Maximize MC with same key...
Post by: 6233638 on February 12, 2015, 11:25:52 am
I could make it start MC, but it's not really clear to me that it's an improvement.
What I'm looking for is a button that, when mapped will:

That way you just need one "Media Center" button mapped to the keyboard to show MC, issue a command, and then hide it again and return to what you were doing.
I think that is what DocLotus is looking for as well.
Title: Re: Minimize / Maximize MC with same key...
Post by: DocLotus on February 12, 2015, 12:26:42 pm
Quote
What I'm looking for is a button that, when mapped will:
Launch Media Center if it is not already running.
Bring Media Center to the front if it is running.
Minimize Media Center if it currently has focus.

That way you just need one "Media Center" button mapped to the keyboard to show MC, issue a command, and then hide it again and return to what you were doing.
I think that is what DocLotus is looking for as well.

PERFECT... EXACTLY what I'm looking for.

Thanks;
Doc
Title: Re: Minimize / Maximize MC with same key...
Post by: 6233638 on February 14, 2015, 02:07:51 am
4. NEW: The launcher (MC20.exe) takes a /MinMax command to toggle the minimized / maximized state of the program.
This just seems to minimize or maximize Media Center, irresepective of whether it has focus.
It won't launch Media Center either, if it is not already running.