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


Click here to return to the 'How do we set the volume via command line?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How do we set the volume via command line?
Authored by: henryhbk on Apr 17, '09 09:59:07AM

For ease you can create aliases:

alias full='sudo osascript -e "set Volume 4"'
(4 seems to max out our macs' volume)

For true hilarity, ssh into someone's mac, (assuming they aren't playing music) execute the above statement, then do :

say -v whisper "<insert funny whispered quote here>"

Sit back and watch the hilarity ensue. This works as the speaker is a shared resource between all jobs on the system, rather than the display which is not. So while you can't pop up things on the user's screen, feel free to have a mac talk to them.

---
Henry Feldman, MD
Medical Informatics
NYU School of Medicine



[ Reply to This | # ]
How do we set the volume via command line?
Authored by: chimerical on Apr 17, '09 11:34:45PM
http://xkcd.com/530

:)

also, thanks for the tips, guys!

[ Reply to This | # ]