Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Screen pixel color recognition by using VBScript?

Status
Not open for further replies.

aldopervanic

Programmer
Nov 30, 2007
1
CZ
There's possibility to get pixel from window as object in Javascript. But, is there a possibility in VBScript to get color of pixel from complete screen (absolute coordinates - for example 327,142)?


Software has to be Simple and Smart.
Aldo Pervani? :)
 
May be possible if you interface with VML but that is only for htas or things that use IE.
 
You don't say what script host you're using or why you want to do this.

Considering how unusual your request is I don't think you'll find such a function lying around ready-made. The obvious answer would seem to be to create an ActiveX library to do this for you. Maybe it's more common than I imagine though and you can find some 3rd party library that already offers this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top