Jump to content

ImageSearch, mouseclick is broken?

Recommended Posts

Hi, i use this UDF:

and got X,Y cords, but when I want to use MouseMove(x,y) mouse is shifted on right-down, every time. Don't move exactly on finded img. Any ideas?

#include "_ImageSearch_UDF.au3"
#include "_ImageSearch_Tool.au3"

Local $_Image_1 = @ScriptDir & "/image.png"
    Local $return = _ImageSearch($_Image_1)
            MouseMove($return[1], $return[2])

tried with #RequireAdmin..

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...