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

si77hay

macrumors regular
Original poster
Nov 29, 2008
119
0
Stirling
Does anybody know the best solution to mute a mac at Shutdown? I assumed this would be fairly simple with AppleScript? But I can find little mention on Google, and what articles I have found reference Shutdown scripts that I cannot find on 10.5.6

My problem is that I like Shutting my Mac down rather than using Sleep. It wakes itself up everyday at 07:00, and if I've forgot to Mute it before Shutdown (doh!), I start hearing mail being received, Skype and iChat logging in etc.

Any direction appreciated!
 

si77hay

macrumors regular
Original poster
Nov 29, 2008
119
0
Stirling
For anybody else who may need it. This is "monk's" work, not mine!

Code:
display dialog " Are you sure you wish to shut down?"
--mute the volume
set volume 0
--shut down OS X
tell application "Finder"
	shut down
end tell
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.