narayanjr Posted June 8, 2007 Posted June 8, 2007 While 1 Sleep(100) $XUNIQUES_Color = 6521492 $coord = PixelSearch( 0, 0, 800, 550, $XUNIQUES_Color, 1) If Not @error Then For $i = 2 to 13 Step 1 For $o = 2 to 50 Step 1 $coord = PixelSearch($coord[0] + $o - 1, $coord[1] + $i - 1, $coord[0] + $o, $coord[1] + $i, $XUNIQUES_Color, 1) MouseMove($coord[0],$coord[1],1) Next Next EndIf WEndoÝ÷ Ù«¢+ØÀÌØíaU9%EUM} ½±½ÈôØÔÈÄÐäÈ($ÀÌØí½½ÉôA¥á±MÉ À°À°àÀÀ°ÔÔÀ°ÀÌØíaU9%EUM} ½±½È°Ä¤(%%9½ÐÉɽÈQ¡¸($%½ÈÀÌØí¤ôÀÌØí½½ÉlÁtѼÄÌMÑÀÄ($$%½ÈÀÌØí¼ôÀÌØí½½ÉlÅtѼÔÀMÑÀÄ($$$$ÀÌØíÙÈôA¥á±Ñ ½±½È ÀÌØí¼°ÀÌØí¤¤($$$%¥ÀÌØíÙÈôÀÌØíaU9%EUM} ½±½ÈQ¡¸($$$$%5½ÕÍ5½Ù ÀÌØí¼°ÀÌØí¤°Ä¤($$$%¹%($$$%¥ÀÌØíÙȱÐìÐìÀÌØíaU9%EUM} ½±½ÈQ¡¸($$$$%á¥Ñ1½½À($$$%¹%($$%9áÐ($%9áÐ(%¹%I need it to search for the screen for the color $UNIQUES and if it finds it then seach a block 50 by 13 (the place where it found the color being the top left of the place to search) for the color again and again and againI need to to check every pixel of the 50 x 13 box and see if they are all the same colorthats two different attempts but neither works i keep getting subscript on not array somethingThanks
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