Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

computerman-8

macrumors member
Original poster
Oct 11, 2007
65
0
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.

Thanks.
 
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,

Aeryk
 
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 Mail.app.
Tell Mail.app to Hide.

Then put the script in as a login item.
 
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
Code:
tell application "Mail" to close every window
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.