Post Reply

Forums -> UltraMon™ -> re-setting monitor ids with a script
Eric Taylor   2018-03-03 14:39
I need a script to reset monitor numbers every so often as windows and UM seem to get confused. I can use the action menu, but that's tedious.

However, I don't know what identifier to use in the code for the current monitor setup:

Set sys = CreateObject("UltraMon.System")
Set mon2 = sys.Monitors("2")
mon2.SetID 3

The "2" above is not always the monitor I want to change to id 3. That's what gets messed up. I need a way to address the monitor in a way that won't change. Is there a way to script this?

I have 2 display adapters (intel integrated, and a radeon 460) with 1 monitor on the intel and 3 on the radeon).
Christian Studer   2018-03-04 12:56
You could try if you can reliably identify the different monitors using the Name, SerialNumber or TargetId properties.

I'm not sure though why this would be necessary, I would first run FixMonIds.vbs with all 4 monitors enabled, maybe that already fixes the issue.

Christian Studer -
Forums -> UltraMon™ -> re-setting monitor ids with a script

Post Reply