Whenever i try to run the script it keeps printing "falsefalsefalsefalsefalse" ? what am i doing wrong?
#include <ImageSearch2015.au3>
WinActivate("Mozilla Thunderbird")
HotKeySet("{F6}","myExit")
$x1=0
$y1=0
$picture = "C:\Users\Dequality\Documents\Au3_Scripts\Test\UpdateBTN.PNG"
Do
$result = _ImageSearch($picture,1,$x1,$y1,0,0)
;_ImageSearch($FindImage, $resultPosition, ByRef $x, ByRef $y, $tolerance, $transperance = 0)
ConsoleWrite($result)
until $result = 1;
if $result=1 Then
MouseMove($x1,$y1,50)
Else
MsgBox(0,"FK!","Didnt find it sorry.")
EndIf
Func myExit()
Exit
EndFunc
- Dequality, any help will be highly appreciatet!