bf2forlife Posted May 15, 2008 Posted May 15, 2008 My code dont work like it should. $x1=0 $y1=195 Func _PixelSearch() While 1 $result = _ImageSearch("lol.bmp",1,$x1,$y1,0) if $result=1 Then Call($aWords[Random(0,UBound($aWords)-1,1)]) EndIf WEnd EndFunc I wanna it search for the lol.bmp in height:195 no matter what the width is, but it searchs the lol.bmp everywhere? lol.bmp: width-18 pixels, height-10 pixels.
PsaltyDS Posted May 15, 2008 Posted May 15, 2008 That was the right place for this post, not here.Duplicate not required. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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