How to jump between two volume levels quickly? I'm on a MacBook with a touchbar – that's how I control volume levels.
In practice, I only use two volume levels: &quot;silent&quot; (two bars) and &quot;loud&quot; (13 bars). It is a bit annoying to go through all the in-between levels when I want to go from one to the other.
Is there a trick or a touchbar app to allow me to define &quot;silent&quot; and &quot;loud&quot; levels and then jump between them quickly?
You can control the volume with AppleScript. For example:
set volume output volume 100
will set the volume to 100%
set volume output volume 5
will set it to 5%.
Via shell script, the commands would look like this:
osascript -e 'set volume output volume 100'
So that's part one: how to jump between 2 volume levels.
Part two is &quot;How do I invoke those commands?&quot;
I don't know any way to do it via the Touch Bar, but if I was committed to using that, I would look at BetterTouchTool.
My preferred solution would be a keyboard shortcut using Keyboard Maestro.
You could also use FastScripts.