Jump to content
Sign in to follow this  

pixel search help

Recommended Posts

func start()
   $left = False
   $right = False
     PixelSearch (442,373,449,398,2737969,10) 
      if true then = $left 
    PixelSearch (1230,373,1238,398,2737969,10) 
    if true then = $right
    if $left Then
     PixelSearch( 814, 339, 821, 354, 13863956, 10 )
    Until  Not @error
    if $right then  pixelsearch ( 859, 339, 866, 354, 13863956, 10)
  Until Not @error

        $Stopped = false
        Send("{Right Down}")

is the code i have what its intended function is to search for 2 locations of a color if a certain one is found to run the corresponding secondary pixel search and continue with the function

Share this post

Link to post
Share on other sites

First of all, "What is this, I don't even..." Your code doesn't even LOOK like AutoIt code.

Your syntax and Engineer's syntax look awfully similar. Regardless, I've answered this question before with a custom function. See this post here:

Third ...

What are you trying to automate?

Edited by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...