I now have this working thanks to you guys,
Below is my batch file for switching between 2 TV (Multi-monitor) zones.
REM This script is called from MC Remote commands
REM #1 button on remote calls "TV ZoneSwitching.bat B1" = Activate Bedroom 1 (TV) Playback Zone
REM #2 button on remote calls "TV ZoneSwitching.bat LA" = Activate Living Area (TV) Playback Zone
@echo off
if exist current.bat call current.bat
if not "%1"=="" goto %1
set mode=:eof
set /p mode="Set display mode - "B1" for Bedroom 1 "LA" for Living Area followed by the enter key or press enter to end:"
goto %mode%
:LA
if not "%current%"=="LA" c:\windows\system32\mc17.exe /command stop
if not "%current%"=="LA" c:\windows\system32\mc17.exe /monitorSwitch 0:1360x768x32x60 1:1920x1080x32x25xprimary
if not "%current%"=="LA" c:\windows\system32\mc17.exe /monitorSwitch 0:disable 1:1920x1080x32x25xprimary
c:\windows\system32\mc17.exe /mode theater
c:\windows\system32\mc17.exe /mcc 10011, 0
echo set current=LA>current.bat
goto :eof
:B1
if not "%current%"=="B1" c:\windows\system32\mc17.exe /command stop
if not "%current%"=="B1" c:\windows\system32\mc17.exe /monitorSwitch 0:1360x768x32x60xprimary 1:1920x1080x32x25
if not "%current%"=="B1" c:\windows\system32\mc17.exe /monitorSwitch 0:1360x768x32x60xprimary 1:disable
c:\windows\system32\mc17.exe /mode theater
c:\windows\system32\mc17.exe /mcc 10011, 1
echo set current=B1>current.bat
I have noticed though that with the /mcc commands I needed to use the numbers to get it to work reliably as when I used the Labels i.e. /mcc MCC_SET_ZONE I got unpredictable results.
Matt,
You can also link zones, but this is for when you want to play in both zones at once.
you mention linking zones, I am aware that this can be done in standard view but is it possible via command line?
Is this something that will be added to theater view functionality in the future?