macOS - Programmatically controlling Zoom and Invert Colors accessibility features

App Development

Does anyone know if there is an API allowing for turning on/off Zoom and Invert Display Colors?

I'm currently using Quartz Events for simulating the keyboard shortcuts that activate those features, but it is far from ideal.

I use invert colors / zoom a billion times per day and want to automate it.




Submitted by Michael on Wednesday, March 8, 2017

Hi, I am working on an AppleScript that will change zoom features as well It changes from Full screen zoom to the picture in picture window. This may be an easier method than using the quartz events.