Jump to content

command for looking for color under cursor?


Guest bp_968
 Share

Recommended Posts

I need to make an if statement that waits for a certain Hex code of a color to appear under the mouse. I want it to get to that peice of code and either wait, or loop until it gets the correct color under it, then left click twice.

If you look at the code I would like to place the statment at the bottom of the code block and then when it gets the correct color have it click twice and then loop back to the top of the code.

Thanks!!

Here is what I am using now.

MouseClick ("left", 262, 409, 1)

Mouseclick ("left")

Sleep(5326)

Send("5")

sleep(5732)

Send("9")

Sleep(5523)

Send("5")

Sleep(4583)

Send("6")

Sleep(6835)

Send("2")

sleep(3532)

Send("5")

Sleep(5012)

Send("6")

Sleep(7273)

Send("1")

Sleep(4923)

Send("1")

Sleep(6352)

Send("3")

Sleep(5594)

Mouseclick ("left")

sleep(726)

Mouseclick ("left")

Link to comment
Share on other sites

  • 2 months later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...