Open Mail at login, but hidden!... how?

Discussion in 'macOS' started by kellah, Sep 3, 2007.

  1. kellah macrumors regular

    Joined:
    Apr 29, 2007
    Location:
    East Lansing, MI
    #1
    I've been trying to figure this out for a while now and haven't been able to get it working. I want Mail to open when I log in, but I do not want the window to display. I simply want the application running so it will automatically check for new mail in the background.

    I thought this would be accomplished by going to System Preferences > Accounts > Login Items, and then adding Mail and checking the "Hide" box. This does not do the trick. Am I missing something?

    Thanks
     
  2. TBi macrumors 68030

    TBi

    Joined:
    Jul 26, 2005
    Location:
    Ireland
    #2
    I'd like to know how to do this too.

    I'll try it myself at home when i get a chance.
     
  3. AdeFowler macrumors 68020

    AdeFowler

    Joined:
    Aug 27, 2004
    Location:
    England
    #3
    I don't think it's ever worked in Tiger, despite many requests. Maybe it's do-able in Leopard.
     
  4. D.G. macrumors member

    Joined:
    Oct 24, 2006
    #4
    As a workaround, instead of launching mail.app on login, you should be able to launch an applescript which does what you want. Something like:

    Code:
    run application "Mail"
    tell application "Mail"
    	close front window
    end tell
    
    I'll step back and let real applescripters improve upon this very rudimentary version.

    DG
     
  5. jdavtz macrumors 6502a

    Joined:
    Aug 22, 2005
    Location:
    Kenya

Share This Page