Here is the script im using:
I want to add a function to screenshot the area of x.bmp when its found and before it clicks y.bmp.
Code: Select all
//Find FIRST image FindImagePos>C:\x.bmp,SCREEN,.99,1,XArr,YArr,NumFound,CCOEFF If>NumFound>0 //If FIRST image found, get position of image TWO and click on THAT FindImagePos>C:\y.bmp,SCREEN,0.9,1,XArr,YArr,NumFound,CCOEFF If>Image2Found>0 MouseMove>XArr_0,YArr_0 LClick Let>FoundAnImage=TRUE Endif Endif
A few questions:
1) How do i make it so macro scheduler will take screenshots in succession and name them differently.
2) How do i define the size and coordinates of the screenshot (its going to be a little bigger than the x.bmp, honestly i dont care if it takes a full screenshot of the whole desktop if necessary, but it doesnt need to capture that much).
Any help would be appreciated... if you can write the part that needed completely that would be even better.