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: Startup item



Thanks, I think LSSharedFileList API is what I'm looking for.

On Oct 31, 2009, at 9:01 PM, Jean-Daniel Dupas wrote:


Le 31 oct. 2009 à 02:05, Ryan Joseph a écrit :

I would like my app to have a simple preference users can toggle which make it launch at startup. The only reference I found is this file:///Developer/ADC%20Reference%20Library/documentation/MacOSX/Conceptual/BPSystemStartup/index.html#//apple_ref/doc/uid/10000172i

but it suggests that I need to create a separate bundle, which doesn't seem right to copy the entire app (a symbolic link makes more sense). Is there another more simple way to do this? Using Cocoa is OK if there's not a descent Carbon solution. Unix or a shell script would also be ok if that's easiest. Thanks.

What do you mean by at startup ? Is i a login ? If this is the case, what you want is the LSSharedFileList API.

http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPSystemStartup/Articles/CustomLogin.html

-- Jean-Daniel





Regards,
Josef

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-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.