Jump to content
Sign in to follow this  
gcue

grabbing dos output and processing

Recommended Posts

gcue

not sure if anyone is familiar with DUMPEDID (it's a neat tool that can tell you which monitors are connected to a remote machine!)

among all the data fields it outputs, i need two of them:

Registry Key : DISPLAY\ENC1709\4&231e80bd&0&80861100&00&02

Serial Number : 239828323

reason: this utility tracks any monitor that has been used on this machine in the past. but to know which monitors are actively being used on the machine, there's a "Control" Subkey under the key above (so Hkey_local_machine\system\controlset001\enum\display\ENC1709\4&231e80bd&0&80861100&00&02\control)

i can grab one at a time (reg, then serial)

but i need to grab both fields at the same time to be able to identify which serial is actively being used

any ideas?

hope im making sense.

$reg_file = (@TempDir & "\regs.txt")
    RunWait(@ComSpec & ' /c dumpedid.exe \\d0079214 | find "Registry Key             : " >' & $reg_file)
    
dim $reg
_FileReadToArray($reg_file, $reg)
_ArrayTrim($reg, 27)
_ArrayDisplay($reg)

Share this post


Link to post
Share on other sites
martin

not sure if anyone is familiar with DUMPEDID (it's a neat tool that can tell you which monitors are connected to a remote machine!)

among all the data fields it outputs, i need two of them:

Registry Key : DISPLAY\ENC1709\4&231e80bd&0&80861100&00&02

Serial Number : 239828323

reason: this utility tracks any monitor that has been used on this machine in the past. but to know which monitors are actively being used on the machine, there's a "Control" Subkey under the key above (so Hkey_local_machine\system\controlset001\enum\display\ENC1709\4&231e80bd&0&80861100&00&02\control)

i can grab one at a time (reg, then serial)

but i need to grab both fields at the same time to be able to identify which serial is actively being used

any ideas?

hope im making sense.

$reg_file = (@TempDir & "\regs.txt")
    RunWait(@ComSpec & ' /c dumpedid.exe \\d0079214 | find "Registry Key             : " >' & $reg_file)
    
dim $reg
_FileReadToArray($reg_file, $reg)
_ArrayTrim($reg, 27)
_ArrayDisplay($reg)
Have you tried using StdOut? The example in the help seems to do what you want.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
gcue

yes i tried using stdreadout but i didnt know how to get two fields at a time.

Edited by gcue

Share this post


Link to post
Share on other sites
martin

yes i tried using stdreadout but i didnt know how to get two fields at a time.

If you used the example in help then instead of

While 1

$line = StdoutRead($foo)

If @error Then ExitLoop

MsgBox(0, "STDOUT read:", $line)

Wend

)

use

[bWhile 1

$line &= StdoutRead($foo)

If @error Then ExitLoop

Wend

MsgBox(0, "STDOUT read:", $line)

and move the


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
gcue

ok here's what i got. (i had to do it this way bc it was handling the entire output as 1 line!)

problem is that i cant add the serial number as a column in the array just as additional rows

Local $reg = Run(@ComSpec & ' /c ' & @ScriptDir & '\dumpedid.exe \\d0079214 | find "Registry Key             : "', @SystemDir, @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD)
Local $line

Dim $array[1] = [0]

While 1
    $line = StdoutRead($reg)
    If @error Then ExitLoop
    
    If StringInStr($line, "Registry Key") <> 0 Then
    $regpaths = StringTrimLeft($line, 27)
    _ArrayAdd($array, $regpaths)
    EndIf

Wend
    
Local $sn = Run(@ComSpec & ' /c ' & @ScriptDir & '\dumpedid.exe \\d0079214 | find "Serial Number            : "', @SystemDir, @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD)

While 1
    $line = StdoutRead($sn)
    If @error Then ExitLoop
    
    If StringInStr($line, "Serial Number") <> 0 Then
    $serialnos = StringTrimLeft($line, 27)
    _ArrayAdd($array, $serialnos)
    EndIf
Wend

_ArrayDisplay($array)
Edited by gcue

Share this post


Link to post
Share on other sites
martin

ok here's what i got. (i had to do it this way bc it was handling the entire output as 1 line!)

But I think that's what you want!

If dumpedid outputs the data then terminates I think you should get all the output in one string using $line &= and only when it's finished try to work out what is in it.You could use StringSplit or StringInStr or StringRegExp. If you try to deal with a bit at a time as it is sent out you might get part of a line so it won't make sense. (My guess).


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
gcue

i think its easier to deal with it in an array.. because

if registry entry 1 doesnt have a control subkey then i know serial 1 is not an active monitor (easier to reference)

if i try to use the output which comes jarbled into one $line, its hard to track which registry belongs to which serial... (for pcs that have multiple monitors)

But I think that's what you want!

If dumpedid outputs the data then terminates I think you should get all the output in one string using $line &= and only when it's finished try to work out what is in it.You could use StringSplit or StringInStr or StringRegExp. If you try to deal with a bit at a time as it is sent out you might get part of a line so it won't make sense. (My guess).

Share this post


Link to post
Share on other sites
gcue

I need to be able to cross reference registry entry 1 with serial entry 1 (in the envent there are several monitors attached)

Does this not do what you need?

While 1
$SOR = StdoutRead($foo)
If $SOR <> '' Then $line &= $SOR & @CRLF
If @error Then ExitLoop
Wend
MsgBox(0, "STDOUT read:", $line)

Share this post


Link to post
Share on other sites
gcue

heres an example output (pc has 4 actual monitors but theres alot more reported.. so id have to look at the registry paths to see which one has a "Control" subkey to see which ones are the actual active ones)

DumpEDID v1.01

Copyright © 2006 Nir Sofer

Web site: http://www.nirsoft.net

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010E\5&1313cc5b&0&11335577&01&00

Monitor Name : SyncMaster

Serial Number : HCHY400612

Manufacture Week : 13 / 2005

ManufacturerID : 11596 (0x2D4C)

ProductID : 270 (0x010E)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : No

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010E\5&1313cc5b&0&11335578&01&00

Monitor Name : SyncMaster

Serial Number : HCJX811463

Manufacture Week : 32 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 270 (0x010E)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : No

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\5&10b2d97e&0&11335588&0a&0c

Monitor Name : SyncMaster

Serial Number : HMEXC19748

Manufacture Week : 52 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\5&1313cc5b&1&11335587&01&00

Monitor Name : SyncMaster

Serial Number : HCJX812159

Manufacture Week : 32 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\5&1313cc5b&1&11335588&01&00

Monitor Name : SyncMaster

Serial Number : HCJX812159

Manufacture Week : 32 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\6&1ca771f&0&11335588&00&c920

Monitor Name : SyncMaster

Serial Number : HMEXC19748

Manufacture Week : 52 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\6&1ff8d1eb&0&11335588&00&c920

Monitor Name : SyncMaster

Serial Number : HCJX812159

Manufacture Week : 32 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\7&19ff8407&0&11335587&03&00

Monitor Name : SyncMaster

Serial Number : HCJX723081

Manufacture Week : 31 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\7&19ff8407&0&11335588&03&00

Monitor Name : SyncMaster

Serial Number : HCJX812159

Manufacture Week : 32 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\7&19ff8407&1&11335587&03&00

Monitor Name : SyncMaster

Serial Number : HCJX723081

Manufacture Week : 31 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\7&19ff8407&1&11335588&03&00

Monitor Name : SyncMaster

Serial Number : HCJX812159

Manufacture Week : 32 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\7&19ff8407&2&11335587&03&00

Monitor Name : SyncMaster

Serial Number : HCJX723081

Manufacture Week : 31 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\7&19ff8407&2&11335588&03&00

Monitor Name : SyncMaster

Serial Number : HCJX812159

Manufacture Week : 32 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\7&19ff8407&3&11335587&03&00

Monitor Name : SyncMaster

Serial Number : HCJX723081

Manufacture Week : 31 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\7&19ff8407&3&11335588&03&00

Monitor Name : SyncMaster

Serial Number : HCJX812159

Manufacture Week : 32 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\7&19ff8407&4&11335587&03&00

Monitor Name : SyncMaster

Serial Number : HCJX723081

Manufacture Week : 31 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM010F\7&19ff8407&4&11335588&03&00

Monitor Name : SyncMaster

Serial Number : HCJX812159

Manufacture Week : 32 / 2004

ManufacturerID : 11596 (0x2D4C)

ProductID : 271 (0x010F)

Serial Number (Numeric) : 1296707897 (0x4D4A3139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM01BB\5&10b2d97e&0&11335587&0a&0c

Monitor Name : SyncMaster

Serial Number : HVFLB26412

Manufacture Week : 47 / 2006

ManufacturerID : 11596 (0x2D4C)

ProductID : 443 (0x01BB)

Serial Number (Numeric) : 1212231993 (0x48413139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1280 X 960 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM01BB\5&10b2d97e&0&11335588&0a&0c

Monitor Name : SyncMaster

Serial Number : HVFLB26412

Manufacture Week : 47 / 2006

ManufacturerID : 11596 (0x2D4C)

ProductID : 443 (0x01BB)

Serial Number (Numeric) : 1212231993 (0x48413139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1280 X 960 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM01BB\5&1313cc5b&0&11335587&01&00

Monitor Name : SyncMaster

Serial Number : HVFL400079

Manufacture Week : 14 / 2006

ManufacturerID : 11596 (0x2D4C)

ProductID : 443 (0x01BB)

Serial Number (Numeric) : 1212231993 (0x48413139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1280 X 960 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM01BB\5&1313cc5b&0&11335588&01&00

Monitor Name : SyncMaster

Serial Number : HVFLB26412

Manufacture Week : 47 / 2006

ManufacturerID : 11596 (0x2D4C)

ProductID : 443 (0x01BB)

Serial Number (Numeric) : 1212231993 (0x48413139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1280 X 960 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM01BB\5&1313cc5b&1&11335587&01&00

Monitor Name : SyncMaster

Serial Number : HVFL400079

Manufacture Week : 14 / 2006

ManufacturerID : 11596 (0x2D4C)

ProductID : 443 (0x01BB)

Serial Number (Numeric) : 1212231993 (0x48413139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1280 X 960 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM01BB\6&1ca771f&0&11335587&00&c920

Monitor Name : SyncMaster

Serial Number : HVFLB26412

Manufacture Week : 47 / 2006

ManufacturerID : 11596 (0x2D4C)

ProductID : 443 (0x01BB)

Serial Number (Numeric) : 1212231993 (0x48413139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1280 X 960 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM01BB\6&1ff8d1eb&0&11335587&00&c920

Monitor Name : SyncMaster

Serial Number : HVFL400079

Manufacture Week : 14 / 2006

ManufacturerID : 11596 (0x2D4C)

ProductID : 443 (0x01BB)

Serial Number (Numeric) : 1212231993 (0x48413139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1280 X 960 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM01BB\7&158b8ccc&0&11335587&04&00

Monitor Name : SyncMaster

Serial Number : HVFLB26412

Manufacture Week : 47 / 2006

ManufacturerID : 11596 (0x2D4C)

ProductID : 443 (0x01BB)

Serial Number (Numeric) : 1212231993 (0x48413139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1280 X 960 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM01BB\7&158b8ccc&0&11335588&04&00

Monitor Name : SyncMaster

Serial Number : HVFL400079

Manufacture Week : 14 / 2006

ManufacturerID : 11596 (0x2D4C)

ProductID : 443 (0x01BB)

Serial Number (Numeric) : 1212231993 (0x48413139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1280 X 960 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM01BB\7&158b8ccc&1&11335587&04&00

Monitor Name : SyncMaster

Serial Number : HVFLB26412

Manufacture Week : 47 / 2006

ManufacturerID : 11596 (0x2D4C)

ProductID : 443 (0x01BB)

Serial Number (Numeric) : 1212231993 (0x48413139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1280 X 960 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM01BB\7&158b8ccc&1&11335588&04&00

Monitor Name : SyncMaster

Serial Number : HVFL400079

Manufacture Week : 14 / 2006

ManufacturerID : 11596 (0x2D4C)

ProductID : 443 (0x01BB)

Serial Number (Numeric) : 1212231993 (0x48413139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1280 X 960 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM01BB\7&158b8ccc&2&11335587&04&00

Monitor Name : SyncMaster

Serial Number : HVFLB26412

Manufacture Week : 47 / 2006

ManufacturerID : 11596 (0x2D4C)

ProductID : 443 (0x01BB)

Serial Number (Numeric) : 1212231993 (0x48413139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1280 X 960 60 Hz

1152 X 864 75 Hz

*****************************************************************

*****************************************************************

Computer Name : \\d0075931

Registry Key : DISPLAY\SAM01BB\7&158b8ccc&2&11335588&04&00

Monitor Name : SyncMaster

Serial Number : HVFL400079

Manufacture Week : 14 / 2006

ManufacturerID : 11596 (0x2D4C)

ProductID : 443 (0x01BB)

Serial Number (Numeric) : 1212231993 (0x48413139)

EDID Version : 1.3

Display Gamma : 2.20

Vertical Frequency : 56 - 75 Hz

Horizontal Frequency : 30 - 81 KHz

Image Size : 37.6 X 30.1 cm (19.0 Inch)

Maximum Image Size : 38 X 30 cm (19.1 Inch)

Maximum Resolution : 1280 X 1024

Support Standby Mode : No

Support Suspend Mode : No

Support Low-Power Mode : Yes

Support Default GTF : No

Digital : Yes

Supported Display Modes :

720 X 400 70 Hz

640 X 480 60 Hz

640 X 480 67 Hz

640 X 480 72 Hz

640 X 480 75 Hz

800 X 600 56 Hz

800 X 600 60 Hz

800 X 600 72 Hz

800 X 600 75 Hz

832 X 624 75 Hz

1024 X 768 60 Hz

1024 X 768 70 Hz

1024 X 768 75 Hz

1280 X 1024 75 Hz

1280 X 1024 60 Hz

1280 X 960 60 Hz

1152 X 864 75 Hz

*****************************************************************

Edited by gcue

Share this post


Link to post
Share on other sites
DW1

Something like this? Tell me if my goal is incorrect here... maybe I am misunderstanding the issue.

#include<array.au3>
#include<file.au3>
Local $array

RunWait(@ComSpec & ' /c ' & FileGetShortName(@ScriptDir & '\dumpedid.exe') & ' | find "Registry Key             : " > "' & @TempDir & '\dumpedidTEMP.txt"');, @SystemDir);, @SW_HIDE)
$Array = DumpedidFileToArray(@TempDir & '\dumpedidTEMP.txt')
_ArrayDisplay($Array)

Func DumpedidFileToArray($file)
    Dim $temparray
    _FileReadToArray( $file, $temparray)
    ReDim $temparray[UBound($temparray) - 1]
    $temparray[0] = $temparray[0] - 1
    For $a = 1 To UBound($temparray) - 1
        $temparray[$a] = StringReplace($temparray[$a], 'Registry Key             : ', '')
    Next
    Return $temparray
EndFunc   ;==>DumpedidFileToArray

EDIT: had an extra include from testing

Edited by danwilli

Share this post


Link to post
Share on other sites
gcue

that looks good but what about the serial numbers? =)

how can i cross reference each of reg entries to the corresponding serial numbers =/

Share this post


Link to post
Share on other sites
DW1

that looks good but what about the serial numbers? =)

how can i cross reference each of reg entries to the corresponding serial numbers =/

Like this?

#include<array.au3>
#include<file.au3>
Local $array

RunWait(@ComSpec & ' /c ' & FileGetShortName(@ScriptDir & '\dumpedid.exe') & ' > "' & @TempDir & '\dumpedidTEMP.txt"');, @SystemDir);, @SW_HIDE)

$RegArray = DumpedidFileToArray(@TempDir & '\dumpedidTEMP.txt', "Registry Key             : ")
_ArrayDisplay($RegArray)

$SerArray = DumpedidFileToArray(@TempDir & '\dumpedidTEMP.txt', "Serial Number            : ")
_ArrayDisplay($SerArray)

Func DumpedidFileToArray($file, $searchstring)
    Dim $temparray, $filterarray[1]
    _FileReadToArray( $file, $temparray)
    For $a = 1 To UBound($temparray) - 1
        If StringInStr($temparray[$a], $searchstring) Then _ArrayAdd( $filterarray, StringReplace($temparray[$a], $searchstring, '') )
    Next
    $filterarray[0] = UBound($filterarray) - 1
    Return $filterarray
EndFunc   ;==>DumpedidFileToArray

Share this post


Link to post
Share on other sites
gcue

looks nice but it doesnt give me the info i need..

ie: serial number =)

here's what im doing.

finding out which monitors the PC is actually currently using

then by using the serial number, i look up our database to see who the registered owner is

and compare that user to the user whose actually using them

vioala! automatic inventory check!

Share this post


Link to post
Share on other sites
gcue

ahh ok that looks good..

i guess i dont really need them in the same array.. bc the numbers will be the row numbers will be the same anyway.. if i reference both arrays..

cool this looks good!

thanks mate =)

Like this?

#include<array.au3>
#include<file.au3>
Local $array

RunWait(@ComSpec & ' /c ' & FileGetShortName(@ScriptDir & '\dumpedid.exe') & ' > "' & @TempDir & '\dumpedidTEMP.txt"');, @SystemDir);, @SW_HIDE)

$RegArray = DumpedidFileToArray(@TempDir & '\dumpedidTEMP.txt', "Registry Key             : ")
_ArrayDisplay($RegArray)

$SerArray = DumpedidFileToArray(@TempDir & '\dumpedidTEMP.txt', "Serial Number            : ")
_ArrayDisplay($SerArray)

Func DumpedidFileToArray($file, $searchstring)
    Dim $temparray, $filterarray[1]
    _FileReadToArray( $file, $temparray)
    For $a = 1 To UBound($temparray) - 1
        If StringInStr($temparray[$a], $searchstring) Then _ArrayAdd( $filterarray, StringReplace($temparray[$a], $searchstring, '') )
    Next
    $filterarray[0] = UBound($filterarray) - 1
    Return $filterarray
EndFunc   ;==>DumpedidFileToArray

Share this post


Link to post
Share on other sites
gcue

any idea why im getting an array error here?

ive been staring at it too long perhaps =/

even if i take out the regread and just leave the msgbox i get an error...

$RegArray[0][0] should be valid

any ideas?

For $u = 1 To $RegArray[0][0]

;MsgBox(0,"", $RegArray[$u][0])

RegRead("\\d0079214\hklm\system\controlset001\enum\" & $RegArray[$u][0] & "\control", "")
    If Not @error = 1 Then 
        MsgBox(0, "", $SerArray[$u][0] & " is a monitor in use.")
    EndIf

Next
Edited by gcue

Share this post


Link to post
Share on other sites
DW1

It's only a 1 dimension array right now, so you can't use "$RegArray[$u][0]", you CAN use "$RegArray[$u]" and I think you will get the results you are expecting

EDIT:

For $u = 1 To $RegArray[0]

;MsgBox(0,"", $RegArray[$u])

RegRead("\\d0079214\hklm\system\controlset001\enum\" & $RegArray[$u] & "\control", "")
    If Not @error = 1 Then
        MsgBox(0, "", $SerArray[$u] & " is a monitor in use.")
    EndIf

Next
Edited by danwilli

Share this post


Link to post
Share on other sites
gcue

works perfectly..

one problem...

theres a trailing space after the $regarray and $serarray values

i do this in the for loop.. stringtrimright($RegArray[$u], 1) for each of them

but i think it would be best to do it before the for loop

not sure at what point to do it

many thanks!!

Edited by gcue

Share this post


Link to post
Share on other sites
DW1

I am not seeing the trailing space when I test...

#include<array.au3>
#include<file.au3>
Local $array

RunWait(@ComSpec & ' /c ' & FileGetShortName(@ScriptDir & '\dumpedid.exe') & ' > "' & @TempDir & '\dumpedidTEMP.txt"', @SystemDir, @SW_HIDE)
$RegArray = DumpedidFileToArray(@TempDir & '\dumpedidTEMP.txt', "Registry Key             : ")
$SerArray = DumpedidFileToArray(@TempDir & '\dumpedidTEMP.txt', "Serial Number            : ")

For $a = 1 To $RegArray[0]
    If StringRight( $RegArray[$a], 1 ) = ' ' Then MsgBox(0, "Test", "Trailing space found in $RegArray[" & $a & "]")
    If StringRight( $SerArray[$a], 1 ) = ' ' Then MsgBox(0, "Test", "Trailing space found in $SerArray[" & $a & "]")
Next

Func DumpedidFileToArray($file, $searchstring)
    Dim $temparray, $filterarray[1]
    _FileReadToArray( $file, $temparray)
    For $a = 1 To UBound($temparray) - 1
        If StringInStr($temparray[$a], $searchstring) Then _ArrayAdd( $filterarray, StringReplace($temparray[$a], $searchstring, '') )
    Next
    $filterarray[0] = UBound($filterarray) - 1
    Return $filterarray
EndFunc   ;==>DumpedidFileToArray

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×