CoordMode, Pixel, Screen CoordMode, Mouse, Screen F1:: MouseGetPos, vx, vy PixelGetColor, set, %vx%, %vy%, RGB MsgBox, %set% return F2:: ExitApp