Posts: 34
Threads: 14
Joined: Feb 2017
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
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"
Posts: 34
Threads: 14
Joined: Feb 2017
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..
Posts: 12,074
Threads: 141
Joined: Dec 2002
Maybe the rectangle is too small. Try to add flag 128, then r1 will be used only for results.
16|0x1100|128
Posts: 34
Threads: 14
Joined: Feb 2017
(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