On Jan 12, 2012, at 16:00, Torsten Curdt wrote:

> I am a little confused about login items and the sandbox.
> 
> The documentation says:
> 
> "With App Sandbox, you cannot create a login item using functions in
> the LSSharedFileList.h header file. For example, you cannot use the
> function LSSharedFileListInsertItemURL."
> 
> Yet after enabling the sandbox it still seems to work just fine. Maybe
> the sanbox is not active?
> 
> Is there a good way to check for the sandbox at runtime?
> 
> Anyone aware of sample code for the suggested helper app that manages
> the login items via SMLoginItemSetEnabled?
> 

Well, you can check your app in Activity Monitor if you choose to display the 
"Sandbox" column...

-Laurent.
-- 
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin                                 
http://www.nemesys-soft.com/
Logiciels Nemesys Software                                      
laur...@nemesys-soft.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to