AppleScript to control Mac display, volume
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Dim Up / Dim Down for macOS

This repository contains custom AppleScripts to control the brightness and volume of your Mac. Tested on macOS 10.14 (Mojave).

Uses: Automatically dim display to zero (black) and mute Mac at night, and bring brightness and volume back up in morning.


  1. Place .app files in a location on your mac eg (~/scripts).
  2. Grant macOS access to automation in System Preferences -> Security & Privacy -> Privacy -> Automation.
  3. Setup cron jobs to dim up / dim down your Mac.

macOS System Prefs panel screenshot

Best paired with CronniX

Manage cron jobs on macOS with CronniX:

CronniX screenshot


Released under the MIT license