I would like to know if there is a way to check if a box is checked in an program (not ahk one).
I tried with PixelGetColor function but I didn't find how to
WinActivate ahk_exe NLClientApp.exe
PixelGetColor, color, %MouseX%, %MouseY%
if (color="0x212121") ; color of the tick if checked
MouseClick, left, 59, 584 ; so if it's checked, click to uncheck it
Thanks for help