Hello, experts!
I'm trying to detect when a certain color is behind my cursor, then clicking once that color is true under the cursor
I have the code for emulating mouse clicking and setting mouse position, but I do not know how to detect colors.
I'm hoping for something like
if(ForegroundColor == '52141') {
mouse_event(MOUSEEVENTF_LE
FTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LE
FTUP, x, y, 0, 0);
}
But I don't think it's that easy :(
Start Free Trial