DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Adjusting a Mac's System Volume on the Command Line

Quality: 8/10 Relevance: 9/10

Summary

The article demonstrates adjusting macOS system volume using AppleScript via the osascript command, with examples to set, mute, and query volume. It provides a bash wrapper script (vol) to simplify volume control and a guide to using AppleScript to control media players (iTunes/Music/Swinsian) from the command line. It's a practical, code-heavy guide for local automation on macOS.

🚀 Service construit par Johan Denoyer