Sign in to follow this  
Followers 0
Sabiancym

Can autoit do this?

5 posts in this topic

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

Share this post


Link to post
Share on other sites



Yes, to both.

Ok, so do I accomplish this using the pixelSearch function? Or is there something else I need to be using?

Share this post


Link to post
Share on other sites

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.  

Share this post


Link to post
Share on other sites

look at PixelGetColor() & PixelSearch(), you can check multiple points, and different colors with each function.

Cool, thanks for the help.

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  
Followers 0