How add app in startup item (global login item)?
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