Jump to content

Recommended Posts

Posted

ive been trying for a couple day to fix imagesearch.. cant get it work -_- ive put the imagesearch dll on c//windows i have a image, my script and the imagesearch.au3 file on my deskup when i start my script i get no error but nothing happen.. whats going on? my english isnt verry good doing best as i can ! help me :) let me know your trick

#include <ImageSearch.au3>

Hotkeyset("S", "Start")

$x=0

$y=0

Func Start()

$Search = _ImageSearch('Search.Bmp', 0, $X, $Y, 0)

if $search = 1 Then

mousemove($X, $Y, 10)

EndIf

EndFunc

while 1

Sleep(100)

WEnd

this is my simple script.. what im doing wrong ?

Posted

refer to this post on another thread since you asked the same question twice:

sadly, you made this thread THEN started looking for help with the search feature. you are much closer to getting your script to work in the other thread.

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
×
×
  • Create New...