Sign in to follow this  
Followers 0
FifteenFifty

Referance from an image?

4 posts in this topic

I got the screenshot, how do i make autoit do something when a thing on the screenshot shows on the screen?

like if the object that is on the screenshot comes on the screen in thesame place, autoit clicks it

i hopt tou can understand me :whistle:

Share this post


Link to post
Share on other sites



PixelCheckSum()?


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

but would that just check a pixel? i need it to check a piece of the image like a smiley face for example

Share this post


Link to post
Share on other sites

1) Use PixelCheckSum to get the checksum of the image.

2) Use PixelSearch to search for the upper-left pixel of the image

3) Iterate though the results, PixelCheckSumming until you ge the same checksum as before

4) Click on that location.

#)

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