#ИнтересноиПонятно выдает ошибку

D

deny

Guest
Код:

#include <ImageSearch.au3>


HotKeySet("{F10}","Stop")
Func stop()
Exit
EndFunc
$x1 = 0
$y1 = 0
$x2 = 0
$y2 = 0
$x3 = 0
$y3 = 0
$res = 0
$res3 = 0
$res2 = 0
While 1
Sleep (250)
$res = _ImageSearch("razdel.bmp",1,$x1,$y1,50)
If $res = 1 Then Return
Sleep (150)
MouseClick('left',$x1, $y1,2)


Sleep (2150)
Else
$res3 = _ImageSearch("boi.bmp",1,$x2,$y2,50)
If $res3 = 1 Then Return
Sleep (150)
MouseClick ("left",$x2, $y2,2)

else
Sleep (250)
$res2 =...


выдает ошибку

Читать далее...
 
Верх