Re: How does OS X launch login items hidden?
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