Set incredibly precise volume levels using AppleScript

Mac OS X's default volume control hot keys change the volume in huge steps, but you can use Shift-Option and the Volume Up or Down keys for quarter-step changes (see this hint). Still not fine enough for you? AppleScript to the rescue, once again. Though it has some oddities, AppleScript can be used to set the volume based on an entered number. Here's the first quirk: the number of squares filled in on the HUD will be twice the number you typed in. So, typing set volume 1 sets the volume to level two. (There are 16 squares total, so you can enter a number from 1 to 8). You can use decimals to set the volume by individual square, too: set volume .5 fills in one square. You can, amazingly, extend this functionality to even greater levels of precision. Want to set the volume to three and one-fifth squares (i.e. 3.2)? Type set volume 1.... view original article
Tue, 02 Mar 2010 16:30:00 +0100

more MacOSXHints.com articles