OnTheFly Posted February 11, 2007 Share Posted February 11, 2007 Yes, I want my script to search for a specific color in the active window. How can i do this? Link to comment Share on other sites More sharing options...
BALA Posted February 11, 2007 Share Posted February 11, 2007 Try PixelSearch() [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
J0ker Posted February 11, 2007 Share Posted February 11, 2007 (edited) A little scanner$Deccolor = " Your Decimal color" For $i = 100 to 300 ; x coordinates For $j = 150 to 800 ; y coordinates $color = PixelGetColor($i, $j) If $color = $Deccolor Then ConsoleWrite("(" & $i & "," & $j & ")" & @CRLF) Next NextThis script will give you each coordinates of your "Specific color". Edited February 11, 2007 by J0ker 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