Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pixel/Colour on specific location
#1
Hi,

I'm new with quick macros and need some assistance. I'm having a problem on detecting the specific location of pixel/colour. It's a progress bar. I wanted it to detect the colour/pixel at 70% then do some action. My problem was QM always detect at 1% of the colour/pixel. Please advise.

My macro example :

Macro Macro2
Code:
Copy      Help
int w=win("NoxPlayer" "Qt5QWindowIcon")
if(scan("color:0xDBAD9B" w 0 16))
,goto suicide

Thanks in advance.
#2
if(pixel(500 400 w 1)=0xDBAD9B) ;;change the x y numbers
#3
Hi Gintaras,

Thank you so much. It works.


Forum Jump:


Users browsing this thread: 1 Guest(s)