Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with copy-paste in Firefox
#25
Code:
Copy      Help
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:


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)