Quote:

hmm...
so, next question is, do we want all displays that have been attached or just current.




Hmm...

On my machine (which has a couple of monitors defined) it only reports the active one.

I use the check for the "Control" subkey to determine if it is current as that's how it seemed to work for me. If you want all monitors, remove the check for the "Control" subkey.

Dealing with multiple active video cards / monitors is an exercise left to the reader