Jump to content
Sign in to follow this  
sknawt

ImageSearch Area of Search

Recommended Posts

_ImageSearchArea(file name,1,x1,y1,x2,y2,$x,$y,tolerance,transparency)

Hello guys, I'm basically trying to make my script more efficient by limiting what part of the screen is being searched, but unfortunately, the area that I want to search isn't a perfect rectangle! I actually want to omit certain areas of the screen from being searched and I'm not sure on how to go about the imagesearch without having to divide my target area into square/rectangular chunks and searching each chunk one by one. I hope that made sense and I hope there's an efficient way to resolve this problem. Thank you in advance!!! <3

Share this post


Link to post
Share on other sites
_ImageSearchArea(file name,1,x1,y1,x2,y2,$x,$y,tolerance,transparency)

Hello guys, I'm basically trying to make my script more efficient by limiting what part of the screen is being searched, but unfortunately, the area that I want to search isn't a perfect rectangle! I actually want to omit certain areas of the screen from being searched and I'm not sure on how to go about the imagesearch without having to divide my target area into square/rectangular chunks and searching each chunk one by one. I hope that made sense and I hope there's an efficient way to resolve this problem. Thank you in advance!!! <

If this is for a game (it really sounds like it is) and seeing how you are new, I suggest you review the forum rules on asking for help for automating games.

Now if your request is not against forum rules, please forgive my mis-interpretation of your request. 

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  

×
×
  • Create New...