Post Reply

Forums -> UltraMon™ -> Default monitor 2 on the LEFT (sometimes)
Arkarma   2007-07-31 17:51
Hi All,

Just wanted to let you know of a solution cobbled together from the swap monitor script mentioned here.

Basically my issue was thus, I have a laptop, with a desktop monitor which sits to the left. When I start up initially I have to tell XP that monitor 2 is on the left. If I reboot then XP remembers this.

However If I power down the laptop, then power up elsewhere (ie sans extra monitor) then when I boot up in work with my secondary monitor I have to again tell XP that the secondary monitor is on the left.

Removing some of the info from the MoveSecondaryMonitorLeftOrRight.vbs you can set the secondary display to always be on the left if there are 2 monitors present.

'Copyright 2001 by Realtime Soft Dim mon, mon2, monP, sys Set sys = CreateObject("UltraMon.System") If sys.NumActiveMonitors <> 2 Then WScript.Quit End If For Each mon In sys.Monitors If mon.Enabled = True Then If mon.Primary = False Then Set mon2 = mon Else Set monP = mon End If End If Next If IsObject(mon2) = True And IsObject(monP) = True Then 'move secondary monitor to the left mon2.Left = -mon2.Width sys.ApplyMonitorChanges End If

Hope this can be of use to someone, was great for me so just had to share....

Arkarma..
Forums -> UltraMon™ -> Default monitor 2 on the LEFT (sometimes)

Post Reply