I run two external monitors + my MBP display in OSX Yosemite. My middle external monitor is also connected to my PC.
The monitor will automatically switch to an active input, so for example if my mac is running all three monitors and my PC is on, I Can sleep my mac and the monitor will switch to my PC. Same thing fro switching from PC back to mac.
However, the mac will still consider the middle monitor as active, so items and the mouse disappear when on the middle monitor.
I'd like to have a terminal command or shell script I can quickly fire with finder to enable/disable either the external monitor or the HDMI port.
Plugging/unplugging the monitor every time (several times a day) is not an option. I know about SwitchResX but have no need for 95% of it and don't think it should be necessary to pay to disable a piece of hardware.