Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sultanoflondon

macrumors 6502
Original poster
Dec 3, 2013
342
16
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

else

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.