I’m trying to make a program that clicks the specified Colors on the screen (RGB). I know how to get the colors from the pixel by position. I’m using the Robot class but it doesn’t have a built in method to do what I want. What can I use to do this?
Thanks 🙂
I’m trying to make a program that clicks the specified Colors on the screen
Share
First you need to do a screen capture:
Then process the image to find your pixel:
Note: this is untested code but mostly gives you all parts needed.