Posts: 14
Threads: 6
Joined: Jun 2019
06-13-2019, 04:03 AM
(This post was last modified: 06-13-2019, 04:04 AM by yiifm.)
According to what I know, scan read the screen from left to right top to bottom. Is there any chance for me to change the direction of scan example read screen from bottom to top?
Posts: 12,090
Threads: 142
Joined: Dec 2002
06-13-2019, 04:54 AM
(This post was last modified: 06-13-2019, 04:56 AM by Gintaras.)
No. But can get array and use its last element.
Macro
Macro284
ARRAY(RECT) a
int w=win(" - Mozilla Firefox" "MozillaWindowClass")
if(!scan("image:h4123CB22" w 0 2|16 0 a)) out "not found"; ret
RECT r=a[a.len-1] ;;last
mou (r.left+r.right/2) (r.top+r.bottom/2)
Posts: 14
Threads: 6
Joined: Jun 2019
Thank you bro. you save my life