Jump to content

Can autoit do this?


Recommended Posts

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

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

Yes, 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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...