Re: login item for all users
Re: login item for all users
- Subject: Re: login item for all users
- From: Chad Jones <email@hidden>
- Date: Thu, 17 Feb 2005 15:01:02 -0600
Is there any way to create a login item for all users?
Yes please email Apple DTS email@hidden and request the LoginItemAPI
sample code. This sample code shows how to add LoginItems for a single
user as well as for all users on the system. It is the "Apple
recommended" way of solving your particular problem. DTS will not bill
you a incident and will give you the sample code free of charge.
Assuming you'd like to know how:
<http://www.bombich.com/mactips/loginhooks.html>
Honestly, I'm tired of seeing the loginhook recommended. It is one of
the the worst of all methods available to solve these problems for 3rd
party developers. Loginhook only allows one program to register for
the hook which makes it unsupportable like the old Mac OS 9
patching/trapping APIs of old. Many developers never had to live
through the "patching hell" of Mac OS 9 so they are unaware of the
problems that come with it. The lessons learned from Mac OS 9 are why
the LoginItem and similar mechanisms exist on MacOSX (so we never have
to return to those problems).
Probably not the best solution. I wonder if mach_init_per_user.d would
work?
3rd party developers should never edit this file. Incorrect editing of
this file can damage the system software to the point where Mac OS X
does not even boot. You don't want your product known as the one that
brought a user's system down to its knees. Again there are other,
better mechanisms available. In this case use LoginItems.
Oh, and DTS will provide you with an API for modifying the login items
if you ask them.
Thank god. At least the truth is out there somewhere.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden