Func Start()
$result = _ImageSearch("1.bmp",1,$x1,$y1,0)
if $result=1 then
MsgBox(0, "", "ok")
EndIf
if not $result=1 then
MsgBox(0, "", "bug")
EndIf
EndFunc
--> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop
C:\Program Files (x86)\AutoIt3\Include\ImageSearch.au3 (40) : ==> Subscript used with non-Array variable.:
if $result[0]="0" then return 0
if $result^ ERROR
->15:37:23 AutoIT3.exe ended.rc:1
>Exit code: 1 Time: 3.118
Modifié en dernier par MeGaTrOn le ven. 19 juil. 2013 17:28, modifié 1 fois.