Jump to content

Cant find an Image using ImageSearch


CT83
 Share

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 comment
Share on other sites

  • Jos locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...