Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.7: Fine volume control' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Fine volume control
Authored by: Zettt on Aug 26, '11 03:26:36AM
I would like to add the following line to this script, which plays the volume changing sound after it has been altered. Just like with the normal volume controls.

-- play volume changing sound at new volume
do shell script "afplay /System/Library/LoginPlugins/BezelServices.loginPlugin/Contents/Resources/volume.aiff"


[ Reply to This | # ]
10.7: Fine volume control
Authored by: Anonymous on Mar 03, '12 05:43:58AM
It's more convenient to use:

do shell script "afplay /System/Library/LoginPlugins/BezelServices.loginPlugin/Contents/Resources/volume.aiff > /dev/null 2>&1 &"

Then you can trigger the script faster in succesion. This way - when assigned to a key - you can change the volume as fast as you would with the default volume buttons.

I got this hint at http://apple.stackexchange.com/q/42347/13414

[ Reply to This | # ]