CODE:
int Image[99][99];
loadimage (#Image[0][0], "C:\Image_0.bmp");
int PosX[99], PosY[99];
int r = 5;
int count = findimage(sizearray(PosX), #Image[0][0], 0, #PosX[0], #PosY[0],0,0,1920,1080,r,r,r,r,r,r,100,1,-1);
for(int i=0; i<count; i++)
{
mousemove(PosX[i], PosY[i]);
pause(500);
}
loadimage (#Image[0][0], "C:\Image_0.bmp");
int PosX[99], PosY[99];
int r = 5;
int count = findimage(sizearray(PosX), #Image[0][0], 0, #PosX[0], #PosY[0],0,0,1920,1080,r,r,r,r,r,r,100,1,-1);
for(int i=0; i<count; i++)
{
mousemove(PosX[i], PosY[i]);
pause(500);
}
Вроде через goto, но как оформить не знаю.