Jump to content

Pixelsearch() problem


cageman
 Share

Recommended Posts

$PixelSearch = PixelSearch($startx, $starty, $endx, $endy, $color)
If $color <> "0xFFFFFF" Then
     MsgBox(0, @ScriptName, "Found anything but white!")
EndIf

Don't know if it works.

i might have been unclear

what your script does is checking if the script searched for colors unequal to white.

i want that it searches for all colors unequal to white. dont know if its possible.

edit: i found another solution to the problem. Thx for the help tho.

Edited by cageman
Link to comment
Share on other sites

  • 4 weeks later...

i might have been unclear

what your script does is checking if the script searched for colors unequal to white.

i want that it searches for all colors unequal to white. dont know if its possible.

edit: i found another solution to the problem. Thx for the help tho.

Mind sharing your solution? I need the same function. Thanks!!!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...