first au3 file
#include <ImageSearch2015.au3>
#include <MsgBoxConstants.au3>
$x1=0
$y1=0
$picture = "C:\Program Files (x86)\AutoIt3\ImageSearch2015\test1.bmp"
while 1
do
$result = _ImageSearch($picture,1,$x1,$y1,0,0)
;_ImageSearch($findImage,$resultPosition,ByRef $x, ByRef $y ,$tolerance , $transparency = 0)
ConsoleWrite($result)
Until $result = 1;
if $result = 1 Then
MouseMove($x1,$y1, 0 )
MouseClick("left" , $x1 , $y1 , 1 , 0)
else
MsgBox(0,"MSG","END")
EndIf
WEnd
$x1=0
$y1=0
$picture = "C:\Program Files (x86)\AutoIt3\ImageSearch2015\test2.bmp"
while 1
do
$result = _ImageSearch($picture,1,$x1,$y1,0,0)
;_ImageSearch($findImage,$resultPosition,ByRef $x, ByRef $y ,$tolerance , $transparency = 0)
ConsoleWrite($result)
Until $result = 1;
if $result = 1 Then
MouseMove($x1,$y1, 0 )
MouseClick("left" , $x1 , $y1, 1 , 0)
else
MsgBox(0,"MSG","END")
EndIf
WEnd
second file
while 1
MouseWheel("up",50)
sleep(2500)
MouseWheel("down",50)
sleep(2500)
WEnd
third file