_ImageSearch

04/25/2012 19:06 smrodek11#1
ImageSearch is searshing all pixels, but i want this searsh only my, selected area, how do this?
04/25/2012 19:14 Freddy​#2
You have to use _ImageSearchArea(), there are very good tutorials on youtube and google
04/25/2012 19:41 smrodek11#3
Can you say any example of your function? Please :F

Ok, polish guys help me, now fuck and close thread :D:D::D:D
04/25/2012 20:41 Achat#4
I got this from the include file.

Code:
_ImageSearchArea($findImage,$resultPosition,$x1,$y1,$right,$bottom,ByRef $x, ByRef $y, $tolerance)
Hope it helps!
04/25/2012 22:22 smrodek11#5
Code:
_ImageSearchArea("pathToYourImage",1,x-1,y-1,x-2,-y-2,$x,$y,5)
x-1,y-1 = from xy cords
x-2,-y-2 = to xy cords

This is easiest :P