Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
number recognition macro
#5
i found this in other post
RECT r; r.left=100; r.top=100; r.right=300; r.bottom=300
rep
,if(!scan("test.bmp" 0 r))
,,break ;;exit loop when not found
,;found
,out "x=%i y=%i width=%i height=%i" r.left r.top r.right-r.left r.bottom-r.top
,;...
,0.5 ;;wait

do you think it will work? all i need it to do is find a number between 2-6 in a small section of the screen. let say if i just use the pic of those number and make the macro keep searching that image of number it till found.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)