• 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
Re: How does OS X launch login items hidden?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does OS X launch login items hidden?


  • Subject: Re: How does OS X launch login items hidden?
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 19 Mar 2009 10:58:40 -0400
  • Organization: Rogue Research Inc.

On 3/18/09 4:01 PM, Rick Mann said:

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

They probably use a Launch Services API, instead of NSWorkspace.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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

References: 
 >How does OS X launch login items hidden? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Weird NSTableView with checkboxes issue
  • Next by Date: Re: Get the list of Places in Finder?
  • Previous by thread: How does OS X launch login items hidden?
  • Next by thread: Array of Preferences
  • Index(es):
    • Date
    • Thread