Sign in to follow this  
Followers 0
Guest bp_968

command for looking for color under cursor?

2 posts in this topic

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")

Share this post


Link to post
Share on other sites



Guess meanwhile you've solved that "issue", isn't it?

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0