Originally posted by TheGreatButcher:
What are the commands to raise and to lower the sound level by one notch?
Caught my curiosity so i did a little investigation... here's the solution to raising/lowering the sound volume.
1) Download the "FadeAway" freeware scripting addition from Scriptweb
http://www.osaxen.com/home.taf?id=fadeaway
2) Drop it into your System Folder's Scripting Additions folder.
3) Cut and past the following script into Script Editor and save as a app, assign it to your favorite Function key and you've got a one-stop volume up script (change the + sign to a - sign for volume down.
That's it!
(FYI: the +/- 32 is due to the fact that the MacOS lists sound volumes from 0 ->255, but the standard volume adjustment only increments 7 steps (255/7 = 32). If you want a finer volume control just type in whatever value you'd like.
Best of luck
Speed
Here's the script...
set currentVolume to GetLeftChannelVolume
SetLeftChannelVolume (currentVolume + 32)
SetRightChannelVolume (currentVolume + 32)