Sign in to follow this  
Followers 0
ArmandoXS

Image Searching

4 posts in this topic

#1 ·  Posted (edited)

Is there a way to find a certain specified image in a program or window(not file saved onto a drive)

If so please give the command and an example using the command :idea:

Edited by DarkDragon

Share this post


Link to post
Share on other sites



Is there a way to find a certain specified image in a program or window(not file saved onto a drive)

If so please give the command and an example using the command :idea:

There's a few things you could do.

One is to use the pixelsearch() function and search for a unique colour to that picture; if the picture is unique and you know where the picture will show up, use the pixelchecksum() function to determine if there is a match. Check out the AutoIt help file for examples; you need to be very specific with what you want to do.

Share this post


Link to post
Share on other sites

thanks

Share this post


Link to post
Share on other sites

Search in the "Example Scripts" section of the forum. There have been several UDF libraries with this kind of functionality (searching for images/bitmaps on the screen)

Some are faster than others, others have more features... (like transparency or color variation support)... it depends on what you're trying to do.

Hope that helps!

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