INTERACT FORUM

More => Old Versions => Media Center 17 => Topic started by: dhiggins on February 24, 2012, 06:56:36 am

Title: /MonitorSwitch syntax?
Post by: dhiggins on February 24, 2012, 06:56:36 am
Anyone know what a valid monitorswitch command line looks like?

I tried this according to the Wiki

mc17 /mode Theater /Monitorswitch display1:1024x768

It DOES go into theater mode, but at full resolution (I'd looking to force theater mode to a smaller window size to help in debugging a skin I'm working on for a small size display, but debug it on a large widescreen)
Title: Re: /MonitorSwitch syntax?
Post by: Matt on February 24, 2012, 03:51:51 pm
I think your example may be missing the bitdepth and refresh rate parameters.

MonitorSwitch and SoundcardSwitch are self-documenting.  So run these commands and read the message:
MC17.exe /MonitorSwitch
MC17.exe /SoundcardSwitch

If you're flipping between two monitors, this is useful:
MC17.exe /MonitorToggle
Title: Re: /MonitorSwitch syntax?
Post by: dhiggins on February 24, 2012, 06:16:01 pm
HI Matt

Thanks for the reply. Did not know about the command line help like that. I might suggest that info should also be on the Wiki, but at least I know where to find it now.

In my case I'm not toggling monitors

I have a jukebox that has a 1024x768 touchscreen in it, but it'd be a pain to build a skin on that box, so I'm building the skin on my workstation, but it runs a big Dell 24" monitor, so the screen sizes (even aspect ratio) don't match up.

But I just realized that I can easily switch my second screen (a 22" dell widescreen) into 1024x768 mode so I can edit things on my main screen and test it out on my secondary screen without too much hassle.

I think it'd be nice (but maybe a tad esoteric) to be able to specify the screen size to run theater mode in, so you could be easily build skins. Maybe one for the back burner?
Title: Re: /MonitorSwitch syntax?
Post by: MrC on February 24, 2012, 06:20:58 pm
Thanks for the reply. Did not know about the command line help like that. I might suggest that info should also be on the Wiki, but at least I know where to find it now.

FYI: It is already there.

   http://wiki.jriver.com/index.php/The_Command_Line (http://wiki.jriver.com/index.php/The_Command_Line)

See /MonitorSwitch
Title: Re: /MonitorSwitch syntax?
Post by: dhiggins on February 24, 2012, 06:46:39 pm
True, but the help from the command line is much more complete, and includes examples and a description of the Display number, etc. That Wiki page exists, but it's not enough to actually explain how you'd use the switch.
Title: Re: /MonitorSwitch syntax?
Post by: MrC on February 24, 2012, 07:09:06 pm
Sure, but it also says:

  "Use /MonitorSwitch without arguments for usage information."

:-)
Title: Re: /MonitorSwitch syntax?
Post by: dhiggins on February 24, 2012, 09:53:03 pm
Doh!  :-[

Now you tell me that, sure enough.

If it was a snake......