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


Click here to return to the 'A shell script to mute volume for a set length of time' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A shell script to mute volume for a set length of time
Authored by: jacobolus on Jan 13, '06 01:32:06PM
If we want it even shorter still, the tell block isn't necessary:

#!/bin/csh
osascript -e 'set volume with output muted'
if ( $# != "0" ) then
sleep $1
osascript -e 'set volume without output muted'
endif


[ Reply to This | # ]