I want to be able to find the color of the pixel at the mouse coordinate on a web browser control. then i want to be able to clik it,(example: hover over a green link, it sees its green, and automatically clicks).. ty very much if this can work
Printable View
I want to be able to find the color of the pixel at the mouse coordinate on a web browser control. then i want to be able to clik it,(example: hover over a green link, it sees its green, and automatically clicks).. ty very much if this can work
Take a look at GetPixel API and mouse_event API at www.allapi.net
okay, i see that but it uses the mouse move event to find the color. a webbrowser control doesn't have a mouse move event.
Is there a way to get the color of a pixel on the screen, no matter what control it is. It can be on the form say at 1000,1000. Plz help
Use GetCursorPos API in a timer along with GetPixel API to get the pixel at the cursor's position.
Hope that helps! :thumb: