Jump to content

Recommended Posts

Posted

Ok guys quick question, on an active window how can i get the mouse to wait in one x, y position for a pixel change, then when that pixel change occurs to go of and complete other actions, then return to the same x, y pisition to wait for the pixel change again. i also want to keep this in one never ending loop.

Posted

while 1
while pixelgetcolor (x, y) <> "your color"; maybe store your color in a variable
sleep (10)
wend
;perform other actions
wend

this should do the job

hope that helps

thanks i will try it.

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