Find screen pixel color without screenMouseLoc

Dar Scott dsc at swcp.com
Wed Jan 28 21:54:12 EST 2004


On Wednesday, January 28, 2004, at 05:56 PM, Ops wrote:

> I've searched, and cannot find an answer to this question.  Can I find 
> the color of a particular pixel of a (windows) screen without having 
> to change the screenMouseLoc (and then using mouseColor).  Doing it 
> that way is annoying and confusing to my users when the pointer moves 
> "for no reason" (according to their perception)..

export the screen to an invisible image (or to a variable and then to 
image).  Get the imageData.  Get the pixel.

Dar Scott



More information about the use-livecode mailing list