1
Hello, I wanted to assemble a script in c++ capable of detecting the color of the pixel on the cursor and if detecting run the click function Here to detect the color of the pixel: https://stackoverflow.com/questions/17307526/get-pixel-color-at-mouse-position-fastest-way
Here to click: https://stackoverflow.com/questions/11379375/mouse-click-with-c
I even found these articles,but I don’t know how to assemble the code and I also wanted to use more specific colors
How can I assemble the code?