Q: volume level
Hi,
I can change the volume level from the command line using this command, for example:
osascript -e 'set Volume 3'
Is there a way to detect the current volume level using a similar command and a way to assign it to a variable?
And just for good measure, are there similar commands for detecting and setting the current balance?
Thanks for your help,
Andynic
iMac, Mac OS X (10.6.7), MySQL 5.1, Perl 5.10, Apache 2.2
Posted on May 7, 2012 7:56 AM
by twtwtw,Solvedanswer
osascript -e 'output volume of (get volume settings)'
there's no direct way to get or manipulate balance through applescript. there might be an osax or app somewhere that does it, but I don't know of one.
Posted on May 7, 2012 9:09 AM