Auto quit application on idle

Discussion in 'Mac Basics and Help' started by maxxaddict, Apr 29, 2009.

  1. maxxaddict macrumors newbie

    maxxaddict

    Joined:
    Dec 21, 2005
    Location:
    Saskatchewan, Canada
    #1
    Is there a way to automatically shut down an application if it is left idle for say 5 or 10 mins? I have to be able to access one email account from 7 different computers, if I connect to it with more then 4 it blocks the last 3.

    I have told the staff to simply shut down the mail application when it isn't in use to try to alleviate the problem but we are still running into issues. It's really bad when you have to phone back to the office long distance and tell them to shut down the mail application.
     
  2. i.shaun macrumors 6502a

    i.shaun

    Joined:
    May 1, 2008
    Location:
    Canada
    #2
    I'm not too sure about a free method of doing so, perhaps the latest version of OS X can do it, maybe even some apple scripts.


    As for what I do know (because I just tested it on a 1 minute time limit):


    The program "Keyboard Maestro" (Shareware, about $20 for single lisence) has the ability to set a macro in the following way:

    Macro activates upon the launch of mail.app (so it will run whatever command it is given upon opening the app, no hot keys to press).

    Command:
    Quit specific application: Mail.app after 1 minute.



    I tested it out, and after one minute from launching mail, it quit on me. Maybe you'd need a little more time before having it auto-close, but I set it to 1 minute for a test. To quickly check e-mail, i'm sure 5-10 minutes should do, 20-25 for long e-mails. It could even be set for hours.
     
  3. Consultant macrumors G5

    Consultant

    Joined:
    Jun 27, 2007

Share This Page