Posts: 2
Threads: 2
Joined: Jul 2014
RECT r; SetRect &r 527 552 756 623
int w1=win("Alliance of Valiant Arms" "LaunchUnrealUWindowsClient")
if(scan("color:0x4D43AC" child() r 16 5))
0.1
lef
0.1
lef
0.1
lef
0.1
lef
I want to loop leftclick when detect the specified color.
but it not work
Posts: 12,073
Threads: 140
Joined: Dec 2002
Example with Calculator.
Macro
Macro2368
RECT r; SetRect &r 0 0 30 30
int w=win("Calculator" "CalcFrame")
w=id(135 w) ;;push button '5'
if(scan("color:0xF9F4B1" w r 1|16 5))
,rep 4
,,0.1
,,lef