Dear,

Information about your monitor you can get with following code.

code:

$ikey="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Monitor\0000"
IF (Exist($ikey) <> 1)
? "monitor = "+ReadValue($ikey,"DriverDesc")
? "monitor.resolution (max) = "+ReadValue($ikey,"MaxResolution")
ENDIF
$ikey="HKEY_LOCAL_MACHINE\Config\0001\Display\Settings"
IF (Exist($ikey) <> 1)
? "monitor.resolution (current) = "+ReadValue($ikey,"Resolution")
ENDIF

Example of run:

code:

monitor = Philips 107A
monitor.resolution (max) = 1600,1200
monitor.resolution (current) = 1024,768

Greetings.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA