Skip to content

Instantly share code, notes, and snippets.

@echoz
Created December 15, 2011 19:14
Show Gist options
  • Save echoz/1482401 to your computer and use it in GitHub Desktop.
Save echoz/1482401 to your computer and use it in GitHub Desktop.
Increment current volume by 5 and plays the volume beep
-- Useful if you want to implement keyboard shortcuts with apps like Alfred App
-- Recreate this by changing the + to - for the volume down script
set curVol to (get (output volume of (get volume settings)))
set volume output volume (curVol + 5)
do shell script "afplay /System/Library/LoginPlugins/BezelServices.loginPlugin/Contents/Resources/volume.aiff"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment