Archive for the 'Audio' Category

Volume Control

Adjusting the audio volume via applescript can be very useful. Here’s how to raise the volume on your system 10 notches (out of 100):

 -- volume up 10
 set current_volume to output volume of (get volume settings)

 if current_volume is less than 100 then
 	set current_volume to current_volume + 10
 end if

 set volume output volume current_volume

If you are using a using a keyboard that isn’t designed for the Mac and doesn’t have functioning multimedia controls, variations of this script can come in handy when assigned to keyboard shortcuts.