cageman Posted February 17, 2008 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:)
James Posted February 17, 2008 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
cageman Posted February 17, 2008 Author Posted February 17, 2008 (edited) JamesB said: $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
quacky Posted March 11, 2008 Posted March 11, 2008 cageman said: 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!!!
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