Jostein Posted November 25, 2007 Posted November 25, 2007 (edited) 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") do $value = PixelGetColor (19, 241) sleep(1) msgbox(2, $value, "Still not the right color", 15) until $value = (16777215) func terminate() Exit EndFunc Solved:D Must have missed this code in the Help file:P Opt ( "PixelCoordMode" ,0 ) Edited November 25, 2007 by Jostein
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now