erezlevi Posted May 1, 2008 Posted May 1, 2008 hi, please take a look at the Image attached. now, what I need to do is: I need to know if the color in the > where Normal Mode is, is green or white. and to have an integer according to it. so if the color in the window "Phone Features" in pixels : 511,245 is green then $m=1 and if it is white then $m=0. Thanks,
erezlevi Posted May 1, 2008 Author Posted May 1, 2008 hi, I got it working with this: but.... AutoItSetOption ( "PixelCoordMode" ,1 ) WinActivate ("Phone Features") sleep (500) $t=PixelGetColor (512,214) MsgBox (0,"the color is",$t) is there a way to keep the window down without activating it. I need it minimized. Help me please...
FreeRider Posted May 1, 2008 Posted May 1, 2008 Hi, Try WinSetState function (see Help file for all details) WinSetState ( "Title of the Window", "text", @SW_MINIMIZE ) (If not text then just put "") Bye FreeRiderHonour & Fidelity
therks Posted May 2, 2008 Posted May 2, 2008 Can't get pixel colour without a pixel. My AutoIt Stuff | My Github
erezlevi Posted May 2, 2008 Author Posted May 2, 2008 BUMP, anyone knows a DLL for doing that ? UDF maybe ?
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