Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
found color not work..
#1
Code:
Copy      Help
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
#2
Example with Calculator.
Macro Macro2368
Code:
Copy      Help
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


Forum Jump:


Users browsing this thread: 3 Guest(s)