shutdown

In general, the chime upon startup of my Macbook Pro is welcome. However, there are those times that I” onclick=”return TrackClick(”,’applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell’)”d rather much rather boot up in silence, such as a meeting or other relatively quiet event. I” onclick=”return TrackClick(”,’applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell’)”ve found myself in that situation more times that one would expect and needed a way to work around this. Applescript is one approach.

What follows are two short applescripts, one to mute the volume on shutdown/restart, and one to reset the volume at bootup. I run the first script when I want to shutdown my machine (in place of using the system menus to accomplish the same).

 onclick= Click here to paste the code below into the Mac Script Editor

tell application " onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")"Finder" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")"
  display dialog " onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")"What would you like to do?" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")" buttons
      {" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")"Shutdown" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")", " onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")"Restart" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")", " onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")"Cancel" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")"}
      default button " onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")"Shutdown" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")" with icon caution
  if button returned of result is " onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")"Shutdown" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")" then
    set volume 0
    shut down
  else if button returned of result is " onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")"Restart" onclick="return TrackClick(" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"," onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')"applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell" onclick="return TrackClick('','applescript%3A%2F%2Fcom.apple.scripteditor%3Faction%3Dnew%26amp%3Bscript%3Dtell%2520application%2520%2522Finder%2522%250A%2520%2520display%2520dialog%2520%2522What%2520would%2520you%2520like%2520to%2520do%253F%2522%2520buttons%2520%257B%2522Shutdown%2522%252C%2520%2522Restart%2522%252C%2520%2522Cancel%2522%257D%2520default%2520button%2520%2522Shutdown%2522%2520with%2520icon%2520caution%250A%2520%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Shutdown%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520shut%2520down%250A%2520%2520else%2520if%2520button%2520returned%2520of%2520result%2520is%2520%2522Restart%2522%2520then%250A%2520%2520%2520%2520set%2520volume%25200%250A%2520%2520%2520%2520restart%250A%2520%2520end%2520if%250Aend%2520tell')")" then
    set volume 0
    restart
  end if
end tell

I saved the code as an application with the name ShutdownScript, and set the Run Only option. I then placed this application in the Dock. When run, the dialog below is shown:

The code to set the volume at boot time is all of one line:

set volume 5

As before, I saved this as an application and this time I added it to the login items so it is run whenever I boot my system.

You can also change the icon that appears by replacing to caution to either note or stop. The results are shown below:

With these short scripts, you can now boot up in silence.