Jump to content


Recommended Posts


So im new to Autoit and started to make a basic script that finds a small image within a larger image my problem is the programs detects the image but the mouse doesnt move to its location

#include <ImageSearch2015.au3>

$x = 0
$y = 0

$picture = "test.bmp"

   $result = _ImageSearch($picture, 1, $x , $y, 0, 0)

until $result = 1;

if $result = 1 Then

MouseMove($x, $y, 20)

 ConsoleWrite("Image Found")
   MsgBox(0, "MSG", "End")


Share this post

Link to post
Share on other sites

Update i tried the simplest Code on a new au3 and it my cursor doesnt even move, any help pls how can i move my cursor



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


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.