Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to hide Mail app on startup ? (ticking hide from 'login Items' doesn't work)

I am new to mac. For some days I thought mail notifications don't work but later found that app has to be running to get new mail notifications, so I added it to open at Login list.


However the window still opens even if 'Hide' option is ticked in Login Items settings. Is there any workaround ?

iMac with Retina 5K display, OS X Yosemite (10.10.3), null

Posted on Apr 24, 2015 2:22 AM

Reply
Question marked as Best reply

Posted on Apr 24, 2015 4:14 AM

That checkbox rarely works.

Write an Applescript to launch Mail and then Hide.


Here is the script:

tell application "Mail" to launch

tell application "Finder"
  set visible of process "Mail" to false
end tell


Open Script Editor, create a new script, and paste that into it.

Save the Script as an Application.

Add that Application to the Login Items instead of Mail.

6 replies
Question marked as Best reply

Apr 24, 2015 4:14 AM in response to NajamQ

That checkbox rarely works.

Write an Applescript to launch Mail and then Hide.


Here is the script:

tell application "Mail" to launch

tell application "Finder"
  set visible of process "Mail" to false
end tell


Open Script Editor, create a new script, and paste that into it.

Save the Script as an Application.

Add that Application to the Login Items instead of Mail.

Jun 5, 2015 9:59 AM in response to benwiggy

No. There is an option to 'hide' applications when you start then on login. This does not seem to work with Mail, Calendar, Address Book, Reminders and Notes. So, it appears you have to use this hack of creating an apple script to launch and hide the application. I like to have certain app running when I login. But i don;t want my desktop cluttered with app windows.

How to hide Mail app on startup ? (ticking hide from 'login Items' doesn't work)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.