Become a MacRumors Supporter for $25/year with no ads, private forums, and more!

Mac AppleScript to automatically set volume to mute during shutdown


macrumors 6502
Original poster
Dec 3, 2013
Hi all,

When I run the following script, an error dialog box is displayed, which states " Syntax Error Expected end of line but found identifier." Can someone help me please?

[start of AppleScript]
tell application "Finder"

during shutdown

set curVolume to get volume settings

if output muted of curVolume is false then

set volume with output muted


set volume without output muted

end if

end tell
[start of AppleScript]

Thank you!
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.