Sabiancym Posted August 28, 2010 Share Posted August 28, 2010 Basically, I need a script that will scan an area for certain items going across the screen. When it finds one it will click on it, but there are other items that look similar, but have a red ring around them that I don't want it to click on. Example: Script finds a blue circle, it clicks on it. Script finds a blue circle with a red ring around it, it ignores it. Is it possible to do this? Or can it only search for one pixel color? Thanks Link to comment Share on other sites More sharing options...
JohnOne Posted August 28, 2010 Share Posted August 28, 2010 Script finds a blue circle, it clicks on it.Script finds a blue circle with a red ring around it, it ignores it.Is it possible to do this? Or can it only search for one pixel color?ThanksYes, to both. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Sabiancym Posted August 28, 2010 Author Share Posted August 28, 2010 Yes, to both.Ok, so do I accomplish this using the pixelSearch function? Or is there something else I need to be using? Link to comment Share on other sites More sharing options...
Realm Posted August 28, 2010 Share Posted August 28, 2010 look at PixelGetColor() & PixelSearch(), you can check multiple points, and different colors with each function. My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. Link to comment Share on other sites More sharing options...
Sabiancym Posted August 29, 2010 Author Share Posted August 29, 2010 look at PixelGetColor() & PixelSearch(), you can check multiple points, and different colors with each function.Cool, thanks for the help. Link to comment Share on other sites More sharing options...
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