Jump to content
Sign in to follow this  
SteeLpwnage

scanning pixels in selected window

Recommended Posts

SteeLpwnage

how could I scan pixel color in the selected window not the whole screen :blink:

Share this post


Link to post
Share on other sites
Maximus1

$coordcol=PixelSearch( 100,100,100,100, $color)

searches the pixel at 100x100 for a defined color and brings 0(color not found) or 1(color found).

after that you can use...

If Not @error Then
    ...do anything...
Edited by Maximus1

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  

×