View Full Version : Command or program to switch monitors?


bryan_chow
04-29-07, 06:34 AM
I have a projector and an LCD connected to my HTPC, controlled by Girder. I have a command to start the projector, and a command to start the LCD.

In the past I could use the ATI Catalyst Hotkey to switch to monitor 1, or switch to monitor 2. But the newer versions of Catalyst only allows me to switch between the monitors. So I can no longer have a button to always send the output to my projector for example.

Is there a command line utility or program that can do it?

Mark_A_W
04-29-07, 07:26 AM
Powerstrip or Ultramon might do it.

bryan_chow
04-29-07, 10:41 AM
I have Powerstrip but it doesn't seem to allow me to switch to a specific display.

Richard Berg
04-29-07, 10:56 AM
Ultramon will do it via COM. You can probably also get it into a hotkey if you ask nicely.

bryan_chow
04-29-07, 12:09 PM
Damn, but Ultramon is another $40. I already paid for Powerstrip! Seems rather silly to pay $40 for such a trivial feature that was previously in the ATI driver itself. :(

Eiffel
04-29-07, 12:29 PM
If you have girder 4.xx you should be able to do this with a simple lua script, such as:


-- example activating head 2
print("Video goes to head 2")
res, error = monitor.SwapPrimaryMonitor(1,2,monitor.LEFT)
-- enables extended mode automatically
if res
then
monitor.DisableMonitor(1)
else
print("Error swapping monitors: "..error)
end

bryan_chow
04-29-07, 09:44 PM
I'm using Girder 3.27 (the last free version) unfortunately.