• 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
How add app in startup item (global login item)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How add app in startup item (global login item)?


  • Subject: How add app in startup item (global login item)?
  • From: Macarov Anatoli <email@hidden>
  • Date: Tue, 21 Sep 2010 09:58:57 -0700 (PDT)

How add app in startup item ( http://www.cocoadev.com/index.pl?StartingMyAppOnStartup )?
I use LaunchServices/LSSharedFileList.h  from http://cocoakids.net/recipe-3-adding-your-app-to-login-items-using-lssharedfilelist . But change attribute kLSSharedFileListSessionLoginItems on kLSSharedFileListGlobalLoginItems. When add new item with function LSSharedFileListInsertItemURL, return LSSharedFileListItemRef item = 1. This is the correct code?

Sorry for my english.

Macarov Anatoli , www.mas.do.am - iCtrlClip


_______________________________________________

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

  • Prev by Date: Setting the default folder in saveDocumentAs (NSDocument)
  • Next by Date: Registering URL schemes with Launch Services from mounted DMG images
  • Previous by thread: Re: Setting the default folder in saveDocumentAs (NSDocument)
  • Next by thread: Registering URL schemes with Launch Services from mounted DMG images
  • Index(es):
    • Date
    • Thread