• 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: Autostart item in user profile.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autostart item in user profile.


  • Subject: Re: Autostart item in user profile.
  • From: Ken Thomases <email@hidden>
  • Date: Thu, 25 Sep 2008 22:25:40 -0500

On Sep 25, 2008, at 6:58 PM, Gregory Weston wrote:

Sandro Noel wrote:

I would like my application to have the option to auto-start itself
when the user log's in but I cant seem to find information on how to do
it in the documentation.
I'm probably not looking for the right keywords, could someone point
me in the right direction ?

I believe this is the officially preferred solution:

<http://developer.apple.com/samplecode/LoginItemsAE/index.html>

Actually, Leopard introduced the LSSharedFileList API, which is the new preferred solution. Unfortunately, this API is undocumented. The only documentation (other than a brief mention in the release notes) is the header file:


/System/Library/Frameworks/CoreServices.framework/Frameworks/ LaunchServices.framework/Headers/LSSharedFileList.h

Cheers,
Ken

_______________________________________________

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


  • Follow-Ups:
    • Re: Autostart item in user profile.
      • From: Jerry Krinock <email@hidden>
References: 
 >Re: Autostart item in user profile. (From: Gregory Weston <email@hidden>)

  • Prev by Date: Re: Use other key than "tab" to cycle through text fields
  • Next by Date: Re: Use other key than "tab" to cycle through text fields
  • Previous by thread: Re: Autostart item in user profile.
  • Next by thread: Re: Autostart item in user profile.
  • Index(es):
    • Date
    • Thread