Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Recognizing a color of a spot
#1
So I want a macro, which waits for a color change in a specific spot and then click it. Example code under(just replace the GetColor-function):
Code:
Copy      Help
rep
(tab)  if(GetColor(100,100) = 123)
(tab)(tab)    lef 100,100
GetColor would be like this:
Code:
Copy      Help
input (x,y)
output (color)
#2
this will do but i'm not able to go into detail at this time.
you can get more info in the help under "wait" and then look at the info for "C".

Code:
Copy      Help
wait C
An old blog on QM coding and automation.

The Macro Hook
#3
ken gray Wrote:this will do but i'm not able to go into detail at this time.
you can get more info in the help under "wait" and then look at the info for "C".

Code:
Copy      Help
wait C
Thanks..

EDIT: I found pixel-function and used it..


Forum Jump:


Users browsing this thread: 1 Guest(s)