Sign in to follow this  
Followers 0
waffels

Multi-PixelSearch()

4 posts in this topic

Hey guys,

I'm kinda new to the whole AutoIt thing, but loving it so far!

I'm trying to make a script that checks the screen at several places for a specific pixel. I've attached a file that shows the logic behind it.

I wrote some code... but its pretty non-optimal (basically nested IFs).

 

Any help would be appreciated!

pixelsearch.jpg

Share this post


Link to post
Share on other sites

Pixelsearch is one of the worst solutions to automate a application. For most applications there are better solutions possible, so to help us for get a better solution post the name of the application.

Share this post


Link to post
Share on other sites

I believe only PixelSearch() will do the trick, since I'm making a photoshop script that auto-edits certain parts of an image with large height. It needs to look for a specific color in it so it presses a button and applies a filter.

Share this post


Link to post
Share on other sites

With GDIPlus.au3 it's also possible to manipulate images, i think it's a good solution but a hard way to get the knowhow.

 

 

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