It is not really what I am looking for. It's a command, which I can send from an external app/widget, which disable MIDI. I did a show last week, where the entire setup was in use, until 5 minutes before the show started. What I did was I called a spcific Task, which called a studio layout. I then disabled MIDI, and left. 5 minutes later the studio was in use again, but they couldn't override my setup, which was exactly what I wanted. So - my question was: is there a special command, like "enableLayerCond 1$0D" which will diasble MIDI remotely. Maybe a syntax with a boolean value.
Short answer is - No.
There are two kinds of MIDI input supported by WATCHOUT.
"Music" MIDI in the form of MIDI Notes and Continuos controllers.
This is always active, there is no disable of any kind for this type of MIDI support.
(although matkeane's suggestion above is a good solution to that).
MIDI Show Control (MSC) which is enabled / disabled
by a checkbox in File - Preferences - Control.
From what you describe, appears to be what you are using.
As the setting is a preference, it is only changed through the preferences dialog.
I am not aware of any external command that can change any preference.
In a fixed installation, you would have different versions of the show,
one with MSC off and one with MSC on,
and switch between shows from the control system.
Does not sound like what you are looking for though.