Jump to content

Cant find an Image using ImageSearch


Recommended Posts

#include <imagesearch.au3>

HotKeySet("{ENTER}","_func1")

$x = "230"
$y = "97"

While 1
    Sleep(10)
WEnd

Func _func1()
Do
$search = _imagesearch(@scriptdir & "is.bmp",1,$x,$y,500)
Until $search = 1

MouseClick("left",$x,$y)
EndFunc

Cant find an image using this code ! No errors or an anything, the image was taken using prntscreen- paint method dlls installed, everything copy pasted, and imagesearch.au3 in workingdir too

Link to post
Share on other sites
  • Jos locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...