title: Detect that OS X app was launched as login item?
body: <p>My app is sometimes set to launch at login.</p>
  
  <p>If it is automatically started because of a login I do not want to show it's window.</p>
  
  <p>The app has a status bar item that will run when the user logs in, but the user doesn't want to have the window pop up every time I log in.</p>
  
  <p>How can I tell during my application's startup that this was an automatic start so the window can be made invisible?</p>