Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
scan - question?
#2
Macro Macro2
Code:
Copy      Help
;Find picture in specified rectangle region, and get its location:
RECT r; r.left=100; r.top=100; r.right=300; r.bottom=300
;retry
if(scan("test.bmp" 0 r))
,out "x=%i y=%i width=%i height=%i" r.left r.top r.right-r.left r.bottom-r.top
else
,goto retry


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)