Adjusting a Mac's System Volume on the Command Line
The article discusses how to adjust a Mac's system volume using the command line. It provides a script that simplifies the process of changing the volume and controlling music playback. The author shares their preference for command line tools over apps with tracking and in-app purchases.
- ▪The article explains how to use AppleScript to adjust the system volume on a Mac.
- ▪A bash script is provided to simplify volume control commands.
- ▪The script allows users to set, increment, or decrement the volume easily.
Opening excerpt (first ~120 words) tap to expand
Adjusting a Mac's System Volume on the Command Line Posted on February 10, 2022 · 611ish words · 2 minute read var date = Date.parse(document.getElementById("postedon").getAttribute("datetime")); document.getElementById("postedago").innerHTML = ago(date); Because I’m approximately 270 years old and listen to music (MP3 files, no less!) on my computer instead of a smart speaker, sometimes I find myself wanting to adjust my Mac’s system volume without needing to, say, get up from the couch. I’m sure there’s plenty of iOS apps that can do that with varying amounts of tracking and in-app-purchases, but because, once again, I’m practically 270 years old, I prefer to SSH into my computer and run a command.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Excessivelyadequate.