08-28-2010, 05:15 PM
ARRAY(RECT) a
RECT r
int i
;find all
for i 1 1000 ;;can find up to 1000 pictures?
,if(!scan("Macro1451.bmp" 0 r 128 0 i)) break ;;what does break? Stop when all images found?
,a[]=r
;display coordinates of all
for i 0 a.len ;;instead of display i can use this to click the images?
,r=a[i] ;;this saves the coordinates of the click-area in the array a?
,out F"{r.left} {r.top} {r.right} {r.bottom}"If i would play the for loop, will it click all images "at the same time"? Or does it click only one image per code?
Can you tell me if im right with my thaughts?
Btw.: how can i syntax-highlight the code? :oops:
