INTERACT FORUM

More => Old Versions => Media Center 15 (Development Ended) => Topic started by: MarkCoutinho on August 20, 2010, 01:29:33 am

Title: Start up MC maximized
Post by: MarkCoutinho on August 20, 2010, 01:29:33 am
It must be me, but I can not find the answer in the Wiki, Help or whatever to this question:

what is the right command to start MC maximized?

Something like: c:\program files\MC15\MC15.exe /maximized, if you catch my drift.

I know there is information about all these slash-commands (I've seen them in the past) but I just can't find them anymore.

Thanks for your help!
Title: Re: Start up MC maximized
Post by: marko on August 20, 2010, 01:44:51 am
The command line page is here: http://wiki.jrmediacenter.com/index.php/The_Command_Line

I think what you're looking for is taken of by windows though...
Right click on the MC icon (on your desktop or in your start menu) and choose properties, see the 'run' options? Is that what you're after?

(http://www.theganghut.co.uk/pics/ia/15/shortcutprops.jpg)

-marko
Title: Re: Start up MC maximized
Post by: MarkCoutinho on August 20, 2010, 05:28:45 am
Thanks for your answer, Marko, but it hasn't helped me any further.
1) I start MC in a batch together with several other programs so I don't have to click all these items one by one (and I don't want to put them in the Startup-folder of Windows because sometimes I'm in a hurry and don't want all these programs to start)
2) your example has nog influence on a command line startup.

This is my commandline: "C:\Program Files\J River\Media Center 15\Media Center 15.exe"

On the command line Wiki (thanks for the webaddress) there's nothing about starting up maximized.

So: anyone else, please: how do I start MC in a maximized window from a command-line?
Title: Re: Start up MC maximized
Post by: gappie on August 20, 2010, 05:40:53 am
you could add
mc15.exe /10027,0
to the batch. but it must be after mc15 started up, because it is not starting mc on its own, but does maximaze mc. so there might be some need for a timer inbetween.

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

 :)
gab

ps, or you could add the shortcut, as marco showed to the batch.. no?
Title: Re: Start up MC maximized
Post by: Alex B on August 20, 2010, 05:44:00 am
It should work if you include a shortcut instead of the program file in your command line.

For instance,  C:\Test\mc15max  works for me.

mc15max is the name of the shortcut file. I created a copy of the standard MC15 shortcut, renamed it, and set it to run MC in the maximized state.

Edit

gappie posted while I was testing the behavior...
Title: Re: Start up MC maximized
Post by: Lasse_Lus on August 20, 2010, 06:16:15 am
this can be an option for you as well http://www.southbaypc.com/AutoSizer/
havent tried it myself though  :P
Title: Re: Start up MC maximized
Post by: gappie on August 20, 2010, 06:39:57 am
actually this seems to work in a bat file:
start "" /MAX "C:\Program Files\J River\Media Center 15\Media Center 15.exe"


 :)
gab
Title: Re: Start up MC maximized
Post by: rick.ca on August 20, 2010, 07:07:02 am
Or how about mc15 /mode megame—like the wiki says? ;)
Title: Re: Start up MC maximized
Post by: MarkCoutinho on August 20, 2010, 10:23:35 am
Gappies answer did the trick!
start "" /MAX "C:\Program Files\J River\Media Center 15\Media Center 15.exe" works just fine.
Thanks!

@Rick.ca: mode megagame did not work for me.

Everybody thanks for your contributions!
Title: Re: Start up MC maximized
Post by: rick.ca on August 20, 2010, 01:54:48 pm
Quote
@Rick.ca: mode megagame did not work for me

So you're not an Austin Powers (http://en.wikipedia.org/wiki/Austin_Powers_series) fan. Try megame. ;)