I'm designing a creative / funny prank for OSX via command line. By running in the background, most users would not notice it when she/he first starts using the computer.
say command with creepy voice (
Deranged) is my best bet. Setting volume to very low during saying the sentences is even more creepy! My problem is, I don't know how to grab current current volume to set it to the same volume after
sascript -e "set Volume 2" say "Naaame I see you" -v Deranged -r 20 sascript -r "set Volume 0" sleep 600 sh thisscript.sh
Can I get the current volume and store it in a variable using unix shell scripts?