Sign in to follow this  
Followers 0
demonachize

Wait for a certain color under pointer

3 posts in this topic

#1 ·  Posted (edited)

I am wondering if there is a built in function to pause a script until a certain color appears under the mouse pointer. I am trying to set up a program that for some reason has a flash based TOU that stays up seemingly different amounts of time. I would like to move the pointer to the I agree button and then wait for it to turn white then click thereafter since using the longest length of time it seems to stay up means a lot of time wasted.

I attempted a search but apparently "color" is a disallowed search term.

Edited by demonachize

Share this post


Link to post
Share on other sites



Loop MouseGetPos, PixelGetColor, and Sleep.


IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]

Share this post


Link to post
Share on other sites

Loop MouseGetPos, PixelGetColor, and Sleep.

Perfect. Thanks a bunch.

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