cageman Posted February 17, 2008 Share Posted February 17, 2008 i want to search all color except white $color=Pixelsearch(Startx,Starty,Endx,Endy,color) what do i need to input so it only searches for colors unequal to 0xFFFFFF thx:) Link to comment Share on other sites More sharing options...
James Posted February 17, 2008 Share Posted February 17, 2008 $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. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
cageman Posted February 17, 2008 Author Share Posted February 17, 2008 (edited) $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 February 17, 2008 by cageman Link to comment Share on other sites More sharing options...
quacky Posted March 11, 2008 Share Posted March 11, 2008 i might have been unclearwhat 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now