I am having an issue in looping the script. I need it to run every 85secs (or so). I cannot use the scheduler as this is limited to 1minute intervals. I tried adding a Label/Goto command(with a wait command embedded for 80sec), but after the first pass the script stops operating. I am clearly missing something. Any advise would be appreciated.
Code: Select all
ScreenCapture>1379,191,1509,856,%TEMP_DIR%\screenrect.bmp
//Find and Left Click To the Right of the
FindImagePos>%BMP_DIR%\image_4.bmp,%TEMP_DIR%\screenrect.bmp,0.7,8,XArr,YArr,NumFound,CCOEFF
If>NumFound>0
MouseMove>{%XArr_0%+1379+80},{%YArr_0%+191}
LClick
Endif
Wait>1
MouseMove>960,783
Wait>1
LClick
Wait>80
ScreenCapture>1377,185,1516,845,%TEMP_DIR%\screenrect.bmp
//Find and Left Click To the Right of the
FindImagePos>%BMP_DIR%\image_3.bmp,%TEMP_DIR%\screenrect.bmp,0.7,8,XArr,YArr,NumFound,CCOEFF
If>NumFound>0
MouseMove>{%XArr_0%+1377+80},{%YArr_0%+185}
Wait>1
LClick
Endif