• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How does OS X launch login items hidden?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How does OS X launch login items hidden?


  • Subject: How does OS X launch login items hidden?
  • From: Rick Mann <email@hidden>
  • Date: Wed, 18 Mar 2009 16:01:45 -0700

I'm using

bool success = [[NSWorkspace sharedWorkspace] launchAppWithBundleIdentifier: @"com.apple.itunes"
options: NSWorkspaceLaunchAndHide
additionalEventParamDescriptor: nil
launchIdentifier: nil];


But NSWorkspaceLaunchAndHide does exactly that: it lets the app launch visible, and then hides it. We'd rather it be hidden throughout. Login items launched hidden manage to never show, so I'm curious as to how those are done.

Thanks!

--
Rick

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How does OS X launch login items hidden?
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: NSLog fixes output, but why?
  • Next by Date: Re: NSTableView behavior changes
  • Previous by thread: Re: NSLog fixes output, but why?
  • Next by thread: Re: How does OS X launch login items hidden?
  • Index(es):
    • Date
    • Thread