HazeOver dimming state and settings can be read, controlled, and automated with Shortcuts App, Automations, Focus Filters, third-party tools, and AppleScript. Combine that with other apps, conditions, and system settings to set up your perfect environment.
For example, a keyboard shortcut or some automated event can enable HazeOver dimming, turn on Dark Mode and Do Not Disturb for you.
Other ideas: hide the Dock and menu bar, set HazeOver intensity or color, and launch your productivity app, all in one step after a bit of initial setup.
The Shortcuts app lets you combine multiple steps across apps into a single action. HazeOver’s dedicated actions let you control dimming, intensity, and display modes as part of any workflow. Run them from a keyboard shortcut, Siri, the menu bar, Control Center, or via Automations.
To create a shortcut:
Click ▶ Run to try it out, or set up one of the following:
In macOS Tahoe, you can run shortcuts from Spotlight with Quick Keys:
In macOS Tahoe, you can run shortcuts from Control Center or the menu bar:
Add multiple tiles for different intensities or modes.
000000 for black or FF0000 for red.In macOS Tahoe, shortcuts can run automatically in response to external events.
HazeOver actions pair naturally with Automations, for example:
For a dedicated Focus integration with automatic revert, see Focus Filters.
Focus Filters apply custom HazeOver settings when a Focus mode is turned on, and revert them automatically when it’s turned off (unless you changed them manually in the meantime). A Focus mode can be switched automatically during set hours, when a certain app is open, or when you’re at a certain location. For example, enable dimming while at work and have it revert when you’re done.
Click Add Schedule… to configure this Focus to be active during a set time, at a location, or while an app is open. Use Automations to adjust for events without a Focus mode, such as Wi-Fi changes, battery level, or sunset.
HazeOver works with Raycast via the HazeOver Controls extension. Install it from the Raycast Store to get instant access to these commands:
Other tools like Alfred, BetterTouchTool, and Keyboard Maestro can control HazeOver through AppleScript and wire up its properties as macro actions.
ActionShortcuts is built for running AppleScript files from the menu bar or with keyboard shortcuts, and includes sample scripts to get you started.
To explore available HazeOver properties and commands, add HazeOver to the Script Editor library:
You’ll find available scripting properties in HazeOver Suite > application section. These can later be found by selecting Window > Library menu, then HazeOver app in the list.
enabled (boolean): HazeOver on (true) or off (false).tell application "HazeOver" to set enabled to not enabled
intensity (number): Dimming level from 0 (transparent) to 100 (opaque).tell application "HazeOver" to set intensity to 75
color (text): 6-character hex value, e.g. 000000 for black or FF0000 for red.tell application "HazeOver" to set color to "5EA1Ed"
duration (number): Animation duration between 0 (instant) and 5 seconds.tell application "HazeOver" to set duration to 0.5
multiFocus (boolean): Highlight one (false) or all (true) front windows of the active app.tell application "HazeOver" to set multiFocus to true
multiScreen (boolean): Dim everything on secondary displays (false), or highlight one window on each (true).tell application "HazeOver" to set multiScreen to false
updateDimming: Use this command when some other action or app reorders windows but dimming doesn't update. This should only be necessary in rare cases with third-party apps.tell application "HazeOver" to updateDimming
Contact me if you need help coming up with or setting up HazeOver automation.