Jump to content
Sign in to follow this  

imagesearch help

Recommended Posts


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)
        $glitterfound = $glitterfound + 1
        $bootyfound = $bootyfound - 1
        TrayTip("Test", "error somethings wrong", 2, 1)

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this