Created
December 15, 2011 19:14
-
-
Save echoz/1482401 to your computer and use it in GitHub Desktop.
Increment current volume by 5 and plays the volume beep
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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