Sign in to follow this  
Followers 0
Sparrowlord

PixelSearch

3 posts in this topic

I can find the color I want easy but I'm trying to make this faster by narrowing down the pixel rectangle it looks in but I have no idea how to find the coordinates of rectangle that I want to search in.

Help?

Share this post


Link to post
Share on other sites



I can find the color I want easy but I'm trying to make this faster by narrowing down the pixel rectangle it looks in but I have no idea how to find the coordinates of rectangle that I want to search in.

AutoIt Window Info tool (Au3Info.exe). It is included with AutoIt, and described in the help file.

:rolleyes:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

...but I have no idea how to find the coordinates of rectangle that I want to search in...

http://www.autoitscript.com/forum/index.ph...showtopic=19722 is a tool that will let you see/move/resize the area to be searched and will put one line of AutoIt PixelSearch code into the Windows clipboard for you to paste into your script.

Several that I've pointed to this tool come back with - "I don't want to put all of that code into my script". They don't understand that it is just a tool to help you write your script... Having said that, parts of the "tool" could be added to a script to let you toggle the splashscreen on and off to verify the area being searched - just in case you suspect that some aspect of the window being searched has changed.

-MSP-


[size="1"][font="Arial"].[u].[/u][/font][/size]

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