How to Launch an Application Shortly After Log In

Learn how to launch an application after a delay on OS X after logging in.

Launching applications immediately after logging in is great. Sometimes too much happens at once and spacing out the burst of activity would be helpful. With Power Manager you can do this and go far beyond OS X’s built-in abilities.

OS X includes the ability to launch applications and open files when you log in. This feature is called Login Items and is in the System Preferences > Users & Groups settings.

OS X Login Items

Sometimes the log-in trigger can occur too soon, when your Mac has begun logging in but is not ready to launch new applications or open documents. Adding a delay to your log in triggered event can ensure the Mac is settled and ready.

Let’s create an event that opens a presentation movie one minute after logging in. You can use this approach to launch applications, run Automator workflows, or execute scripts.

This recipe will use the Schedule Assistant to create a traditional launch at log in event. In the second part we will customise that event by adding a one minute delay.

Create a Launch at Log in Event

  1. Launch Power Manager.app

  2. Click Add… to create a new event

    Click Add… to begin creating the event

  3. Select the Launch an application on log in task

    Select the Launch an application on log in task

  4. In Launch step, choose the application or document to launch.

Choose the application or document to launch

  1. Continue twice passed the Time Constraints and Interactive Constraints steps.

    Continue passed the Time Constraints for this recipe

    Continue passed the Interactive Constraints for this recipe

  2. Continue to the Why step and describe your event

    Name and describe your new event

  3. Continue and Add the event.

    Confirm the event can be created

The first half of the event is complete. If you trigger the event now by logging out and back in, the chosen application or document will launch.

As an aside, we have noticed on OS X 10.10 that the launch may not happen. On OS X 10.10 it seems the log in notification happens too early. This means the second part of this recipe, where we add a delay, is essential.

Next, we will extend the event with a one minute delay action. The final event will have two actions. The first action will wait until a minute has passed and the second action will launch the chosen application or document.

  1. Open the event in the event editor; do this by holding down the Option or Alt key and double-clicking on the event.

    Open the event in the event editor

    Add an action from below the last action

  2. Select Add an action and select Await Relative Date > Wait One Minute.

    Select the Wait One Minute action

    Add a Wait One Minute action

  3. With the action added, click and drag the Wait for 1 minute. above the Open documents. action; use the gray bar across the top of the action to drag.

Move the wait action

  1. Save the changes to the event.

Your delayed log in event is ready

The event is ready to test. When you log in, the event will immediately be triggered and begin performing.

The first action in the event is to wait one minute. After one minute the event will move onto the second action.

At this point the Open document or Launch application action begins. This action will launch your chosen application or document in the front most user’s session.