edward_freedom
Осваивающий
- Сообщения
- 200
- Репутация
- 44
Код:
#include <ImageSearch.au3>
HotKeySet("{F9}","Start")
HotKeySet("{F10}","Stop")
while 1
sleep(1000)
WEnd
$x1 = 0
$y1 = 0
Func Start()
$result = _ImageSearch("123.jpg",1,$x1,$y1,0)
If $result = 1 Then
MouseMove($x1, $y1, 1)
Else
MsgBox(1, "Not", "Not")
EndIf
EndFunc
Func stop()
Exit
EndFunc
$result = _ImageSearch("123.jpg",1,$x1,$y1,0)
$result = _ImageSearch("123.jpg",1,^ ERROR
Garrett HELP