Jump to content
Sign in to follow this  

Newb Looking for Help

Recommended Posts

How could I make an autoit sequence that would search for a color then hover the mouse over the color and start a new script, but if there's no color it would simply exit the script.

Share this post

Link to post
Share on other sites

Check out PixelCheck in the helpfile.

You Mean PixelSearch()

Try this

$color = PixelSearch(5,5,@DesktopWidth-5, @DesktopHeight-5, *Hex for Color*)
          If IsArray($color) then
               MouseMove($color[0], $color[1],0)
              ;Run other script here

Share this post

Link to post
Share on other sites

Use the Do...Until loop



Until <Condition>

F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]

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...