Using Quicksilver Mac and AppleScript to Adjust System Volume
Extendible to command linePublished on 15 January 2013
I’ve been using Quicksilver for a while, and I’d heard of how powerful but never taken advantage of it. I wanted to adjust the system volume through Quicksilver: right now, I have to use
f12 to adjust volume, since I chose to have
f12 map to the normal keys.
It seems that there’s actually no Quicksilver plugin for system volume – only iTunes volume – but it’s pretty simple to do with AppleScripts. It’s not documented everywhere, so I thought I’d add it here.
The AppleScripts below will adjust the system volume, which is measured on a scale of 0 - 100. Here’s a download link for these three scripts. To use them in Quicksilver, add them to the catalog, and opening them in Quicksilver should run them by default.
Using in command line
To run an AppleScript file in the command line, run:
These files have spaces in them so that it looks cleaner in Quicksilver, but you can alias the commands appropriately.