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                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to