find icons in the map > until all icons found and left clicked > move the map to the right > search again for icons to find in the map.
thats all.
here is the script
Code: Select all
WaitWindowOpen>ZMaps: DigiPoint v1 - Mozilla Firefox
//Get bounds
Wait>2
GetActiveWindow>ZMaps: DigiPoint v1 - Mozilla Firefox,0,0,XPos,YPos
Label>image_search
Wait>2
//Capture the IE Window to a bitmap
IfFileExists>c:\temp\screen.bmp
DeleteFile>c:\temp\screen.bmp
EndIf
ScreenCapture>0,0,XPos,YPos,c:\temp\screen.bmp
//find busicon
FindImagePos>c:\temp\busicon.bmp,c:\temp\screen.bmp,50,1,XPos,YPos,NumFound1
Wait>2
if>NumFound1>0
Goto>image_found
else
Goto>image_notfound
endif
Label>image_found
Wait>1
//Capture the infoWindow to a bitmap and save location
Wait>1
MouseMove>XPos_0,YPos_0
LClick
Wait>1
Goto>image_search
Label>image_notfound
//Capture a small IE Window to a bitmap
IfFileExists>c:\temp\screen2.bmp
DeleteFile>c:\temp\screen2.bmp
EndIf
ScreenCapture>200,200,600,300,c:\temp\screen2.bmp
//find position of the goright button in a small screen
FindImagePos>c:\temp\goright.bmp,c:\temp\screen2.bmp,20,1,XPos,YPos,NumFound2
Wait>2
MouseMove>XPos_0,YPos_0
Wait>2
LClick
Goto>image_search