Jump to content

How would I accomplish this pixel search?

Recommended Posts

I need a possible way to search for a pixel, if that pixel is there, then click a button and continue the loop. If it is not there, I need it to pixel search a different pixel and if that comes back true then press a different button (button 2, lets call it) at a different pixel. Then it will continue pixel searching and clicking button 2 until the pixel search comes out false. Once it comes out false, it needs to start the whole process over again.

This is what I would imagine it could be.

While 1
If Not @error then
Continue Loop
If @error then Exit Loop
End If
While 1
If Not @error Then
If @error then
End If
RestartAll ;unsure how to do this, it must restart from the beginning
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...