Sign in to follow this  
Followers 0
SteeLpwnage

scanning pixels in selected window

3 posts in this topic

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



#3 ·  Posted (edited)

$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  
Followers 0