How to detect background color on hover Python?
How to detect background color on hover Python? Question: Does anyone know, how you can detect the color on which you’re hovering with your cursor with python and returning the color to a string? Asked By: YeagerCS || Source Answers: Solution for Windows: def get_cursor_color(): # Get the cursor position pt = ctypes.wintypes.POINT() ctypes.windll.user32.GetCursorPos(ctypes.byref(pt)) # …