Sign in to follow this  
Followers 0
Mark J S

Possible ImageSearch function ?

4 posts in this topic

Is there any interest to add a new function which:

Compares a bmp or jpg file to a section of the screen. This would be similar to PixelSearch() function.

I am comparing this to the new image library found in Macro Scheduler at www.mjtnet.com. It has a function to do just as I described above.

Some of the parameters would be the screen location, bmp file, mask file, search tolerance and so on.

The function would return a true or false.

Any thoughts?

-Mark

Share this post


Link to post
Share on other sites



Is there any interest to add a new function which:

Compares a bmp or jpg file to a section of the screen. This would be similar to PixelSearch() function.

I am comparing this to the new image library found in Macro Scheduler at www.mjtnet.com. It has a function to do just as I described above.

Some of the parameters would be the screen location, bmp file, mask file, search tolerance and so on.

The function would return a true or false.

Any thoughts?

-Mark

I am not a developer, but I think you may want to consider a work around, or even search the Scripts and Scraps as I seem to remember something in there about that.

The work around that I would suggest it using PixelChecksum... it will allow you to check the sum of an area. Check your screen area, and open your jpg or something in your favorite viewer, and checksum that pic. That will tell you if its different.

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

I doubt this will be added to AutoIt. These things that we can work around rarely seem to be added.

Share this post


Link to post
Share on other sites

These things that we can work around rarely seem to be added.

The only reason that these things cannot be added when there is a perfectly good solution is because the developers dont have time to add things to AutoIt when it is certainly not in the direction they are wanting the program AND there is already a great way to get the same done.

I know I certainly am not looking for more functions in AutoIt. I personally am waiting for the plugins to be completed, then you could create your own ImageSearch function. :whistle:

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

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