Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
I have a script that will depending on your screen resolution and if you’re running dual monitors place a dialog either on the main monitor or the 2nd monitor. The only problem is I can not find something to "key on" to determine if dual monitors are being used on the system. I can test for the screen resolution by using:
Width = WinMetrics(0) Hight = WinMetrics(1)I have been looking in the registry and have found the HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\VIDEO Key that shows all the drivers/video devices on the system but nothing stands out that I can "key on" to see if dual monitors are being used.
If anyone has someway of determining this I would be grateful
nummonitors = WinMetrics( 80 ) Message( "Number of Monitors", nummonitors )
Article ID: W16992
File Created: 2007:07:03:14:27:30
Last Updated: 2007:07:03:14:27:30