Apple mail open at startup closed?

Discussion in 'macOS' started by computerman-8, Dec 19, 2007.

  1. computerman-8 macrumors member

    Oct 11, 2007
    I was wondering if there was any script or anything that could open Apple Mail at startup without opening the main window? I just want it to be closed on the dock to keep an eye on new emails.

  2. aeryk71 macrumors newbie


    Oct 27, 2007
    Not exactly what you are looking for, but...

    Assuming you are running Leopard, you could set the mail app to open in a different space. That should open it automatically, but not on space 1... (Although I have not tested to verify...)

    Hope this helps,

  3. yellow Moderator emeritus


    Oct 21, 2003
    Portland, OR
    I would do it with an AppleScript. It should be pretty easy.

    There are tons of basic AppleScripting infos online. Look around.

    But basically it would function something like this:

    Tell Finder to open
    Tell to Hide.

    Then put the script in as a login item.
  4. Mernak macrumors 6502

    Apr 9, 2006
    Kirkland, WA
    You could just add Mail to login items and change the option to hide to true (check the box) if you don't mind it just being hidden in the background. Or if you do go the Applescripting route, you could you something like
    tell application "Mail" to close every window

Share This Page