Jump to content
Sign in to follow this  

PixelGetColor Question

Recommended Posts


What I want is for the Pixelgetcolor to focus on a window, and not the entire screen. But somhow i dont manage to do it. Is that posible or?

#include "color.au3"
HotKeySet("{esc}", "terminate")
$value = PixelGetColor (19, 241)
msgbox(2, $value, "Still not the right color",  15)
until $value = (16777215)
func terminate()

Solved:D Must have missed this code in the Help file:P

Opt ( "PixelCoordMode" ,0 )

Edited by Jostein

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.