Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image scaning
#13
In "Find Image" dialog uncheck "error if not found", then it will create code with if:
Macro Macro2544
Code:
Copy      Help
int w=win("Firefox" "MozillaWindowClass")
if(scan("image:hEF1EB8D3" w 0 1|16))
,

Then add else, goto, and labels above steps 45 and 80:
Macro Macro2544
Code:
Copy      Help
int w=win("Firefox" "MozillaWindowClass")
if(scan("image:hEF1EB8D3" w 0 1|16))
,out "found"
,goto step45
else
,out "not found"
,goto step80
;...
;step45
out "step45"
;...
;step80
out "step80"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)