2words4uready Posted July 17, 2008 Share Posted July 17, 2008 what size rectangle would this create i think im doing it wrong i want the pixelsearch to search the entire screen what size rectangle would this create PixelSearch(0, 0, 1279, 799,00000170) Link to comment Share on other sites More sharing options...
Paulie Posted July 17, 2008 Share Posted July 17, 2008 (edited) To pixelsearch the entire screen: $Color = 0xFF0000 While 1 $Search = PixelSearch(0,0,@DesktopWidth,@DesktopHeight,$Color) If NOT @error IsArray($Search) then MsgBox(0,"Found","Pixel ("&Hex($Color,6)&") found at"&@CRLF&"("&$Search[0]&","&$Search[1]&")") EndIf WEnd Edited July 17, 2008 by Paulie 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