Hello i found this
And when i run it aplication don't show error so it found picture but don't press on image.
Code:
#include <ImageSearch.au3>
Global $x, $y
$prison = _ImageSearch("check.bmp",1,$x,$y,50)
If $prison = 1 then
MouseClick("right", $x, $y)
Else
MsgBox(048,"Attention","I didnt found the picture.")
EndIf