0

I'm looking for any way to switch mac screen to black and white mode programmatically.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Linkorn
  • 417
  • 1
  • 4
  • 13

1 Answers1

0

Function CGDisplayForceToGray and blacktree-nocturne sources has helped me.

Linkorn
  • 417
  • 1
  • 4
  • 13
  • 1
    This no longer works in macOS 13. – HappyFace Nov 27 '22 at 14:20
  • It was non-public function in the Core Graphics framework. Now we have real grayscale mode, check https://github.com/rkbhochalya/grayscale-mode or apple script way https://discussions.apple.com/thread/252763839 – Linkorn Nov 29 '22 at 05:35