Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with copy-paste in Firefox
#26
Macro Macro1451
Code:
Copy      Help
ARRAY(RECT) a
RECT r
int i

;find all images
for i 1 1000000 ;;the 1000000 is just some number greater than the number of images
,if(!scan("Macro1451.bmp" 0 r 128 0 i)) break ;;find image 1, 2, and so on. Exit the loop when not found more.
,a[]=r ;;add coordinates of current image to array

;move mouse to each image
for i 0 a.len
,r=a[i] ;;store a[i] to r. Not necessary, but I like r.left better than a[i].left etc.
,mou r.left r.top
,wait 1
-----------

Quote:how can i syntax-highlight the code?

In QM, copy using menu Edit -> Other formats -> first item. Then simply paste here.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)