Sign in to follow this  
Followers 0
Guest korban

Pixelsearch

1 post in this topic

Hello People of AutoIt -This Program is a really great program, but somehow it didn't get the PixelSearch to work. It only does the while thing without changing to the step beyond:

Opt("MouseCoordMode",0)
WinWaitActive("MyPictures")
While PixelSearch(490, 360, 505, 370, 0x719FF7, 10)
MouseMove(425,263)
MouseDown("left")
MouseUp("left")
Sleep(4000)
MouseMove(500,365)
WEnd
MsgBox(0, "Yes", "Found It!")
MouseMove(640,475)

What did I wrong?

THX

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  
Followers 0