Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting as Startup Item?



On Sat, 4 Dec 2004 09:28:23 +0100, M. Uli Kusterer
<email@hidden> wrote:
> At 10:20 Uhr +0200 04.12.2004, Mihkel Tammepuuu wrote:
> >How can an application determine if it was launched as a Startup
> >Item on logging in to Mac OS or a usual way like (double)clicking
> >it's icon?
> 
>   IIRC you get some additional parameters to your main() function when
> you're launched from Finder.

I don't think that this is documented behaviour, and anyway I think
that this happens regardless of who launches your application (as long
as it was done via Launch Services).

 -- Finlay
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.