Tutorial: Quit All Applications and Log Out Application

With Mac OS X Lion, having to click the check box every time you want to quit all applications when you log out can be a real pain. This set of instructions will show you how to make a Mac application using Automator to quit all your open applications and log out in a simple double-click.

You will need:

  • Automator (Version 2.2.1)
Instructions:
  1. Open Automator
  2. Select “Application” and click “Choose”
  3. Find “Quit All Applications” in the Library and drag it into the workflow
  4. Find “Run Applescript” in the Library and drag it into the workflow after “Quit All Applications”
  5. Clear the default text and copy and paste the following into the text area:
    tell application "System Events"
    log out
    end tell
  6. Click “Options” and select “Ignore this action’s input” for both actions
  7. Click “File” and “Save…” and save to application to your desktop (or other desired location)
If you would like to assign the same icon shown on the logout window to your new application follow the following instructions:
  1. Find “GenericHome.png” (Macintosh HD/System/Library/CoreServices/SecurityAgentPlugins/HomeDirMechanism.bundle/Contents/Resources)
  2. Download and install Pixadex version 2.0.2 by Panic / Iconfactory (Click Here to Download)
  3. Open Pixadex and drag “GenericHome.png” into “My Icons”
  4. Right-click the icon, mouse over “Export” and click “Icon…”
  5. Save to desired location
  6. Right-click your new application and click “Get Info”
  7. Drag the “GenericHome” icon into the thumbnail icon in the top left corner of the Info window
Did you find this article helpful? Leave us a comment.

Leave a Reply

Your email address will not be published. Required fields are marked *