PopSmith Posted February 27, 2007 Posted February 27, 2007 I was experimenting with the Active Window Info tool and I noticed the "Hex" use for Pixel Color under mouse. I was wondering how I could get my script to perform the following action based on the hex color of the pixel located at : 1248 , 1004. I want it to check the pixel at 1248, 1004, and I want the script to pause until the pixel at 1248, 1004 is Hex Color 0xE4E4E4 but I am not sure how to do this. The Help File didn't offer much and I couldn't get it to work when I messed around for a few minutes with it. Thanks for any help that is provided. Peace
flyingboz Posted February 27, 2007 Posted February 27, 2007 I want it to check the pixel at 1248, 1004, and I want the script to pause until the pixel at 1248, 1004 is Hex Color 0xE4E4E4 but I am not sure how to do this. The Help File didn't offer much and I couldn't get it to work when I messed around for a few minutes with it.got a code snippet? Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.
Paulie Posted February 27, 2007 Posted February 27, 2007 Do Sleep(100) $Color = Hex(PixelGetColor(1248, 1004),6) Until $Color = "E4E4E4" ;Do whatever
PaulIA Posted February 27, 2007 Posted February 27, 2007 Another n00b, another fish. <sigh> Auto3Lib: A library of over 1200 functions for AutoIt
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