Seagul Posted October 12, 2009 Posted October 12, 2009 What am I why wont it find my image, is there an error in my function. Func FindGlitter() $imageresult = _ImageSearchArea("glitter.bmp", 1, 17, 17, $xx1, $yy1, $xx2, $yy2, 0) If $imageresult=1 Then TrayTip("Test", "bmp found", 2, 1) $bootyfound = $bootyfound + 1 MouseClick($Click, $imageresult[0], $imageresult[1], 1, 0) Sleep($loottime) $glitterfound = $glitterfound + 1 $bootyfound = $bootyfound - 1 Else TrayTip("Test", "error somethings wrong", 2, 1) EndIf EndFunc
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