Four simple Apple Automator apps:
- Shutdown.app
- Restart.app
- Sleep.app
- Log Out.app
Copy these apps to your application folder. Use Spotlight Search to shut down your Mac.
Just download Apps.zip
and copy the apps into your application (~/Applications
) folder.
Shut down without showing a confirmation dialog.
Apple Script:
tell app "System Events" to shut down
Restart without showing a confirmation dialog.
Apple Script:
tell app "System Events" to restart
Go to sleep without showing a confirmation dialog.
Apple Script:
tell app "System Events" to sleep
Log out after showing a confirmation dialog.
Apple Script:
tell app "System Events" to log out
If you modify and save the app with Apple Automator, the icon will be reset.
You can set the icon again:
rm "~/Applications/Log Out.app/Icon"*
cp images/logout.icns "~/Applications/Log Out.app/Contents/Resources/AutomatorApplet.icns"