Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
find only first image
#1
Hello.
It is difficlt to understand why macros find only first picture image:h73818D64 (background search) aero enabled.
I try to write another the same macros and it work. But this does not work.
Macro Macro2
Code:
Copy      Help
int w1990=win("" "TFrmDesktop")
RECT r1; r1.left=277; r1.top=300; r1.right=320; r1.bottom=337 ;;rectangle in w client area coordinates (flag 16)
int Ah = wait(0.01 S "image:h73818D64[]image:hD14D5D6C[]image:h6EF99DE2[]image:hF8D98F10" w1990 r1 16|0x1100 9);err
if Ah=1
,out "find"
#2
Pls, anybody tell me, is anything ok with this part?
In last time support was amaising, that is why I buy QM.. I know that nobody doesnot must to help me and my questions is not high programming, but I need help..
#3
Maybe the rectangle is too small. Try to add flag 128, then r1 will be used only for results.
16|0x1100|128
#4
(11-25-2017, 06:40 PM)Gintaras Wrote: Maybe the rectangle is too small. Try to add flag 128, then r1 will be used only for results.
16|0x1100|128

I think I click "Use a list of image" in More Options and it work


Forum Jump:


Users browsing this thread: 1 Guest(s)