Quantcast
Channel: krypted – krypted
Viewing all articles
Browse latest Browse all 1241

Scripting Volume Control in OS X

$
0
0

I’ve always found the easiest way to script the volume of an OS X computer (and when I say volume I mean sound level, not a logical volume created from partitioning a hard drive – but I have articles for scripting those as well) is using the osascript command to invoke an Applescript command that sets the volume to zero. To put some syntax around this:

osascript -e "set volume 0"


Viewing all articles
Browse latest Browse all 1241

Trending Articles