Learn how to launch an application after a delay on OS X after logging in.
How to make your scripts wait for the user to log out before continuing. In this recipe we use Power Manager's await log out action.