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.

Advertisement

0 Responses to “Volume Control”



  1. Leave a Comment

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s





Follow

Get every new post delivered to your Inbox.