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

Click here to return to the 'Set incredibly precise volume levels using AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set incredibly precise volume levels using AppleScript
Authored by: david-bo on Mar 03, '10 07:02:50AM

A quick test on the command line since I am not at home.

To get the volume in iTunes (which support 100 levels)

% osascript -e 'tell application "iTunes" to set A to sound volume'


To set the volume in iTunes

% osascript -e 'tell application "iTunes" to set sound volume to 1'

I would be surprised if you couldn't call System Events or similar to set the volume level with the same accuracy but I can't test that right now. Someone else?

[ Reply to This | # ]