Am 30.01.2008 um 21:05 schrieb Quinn <email@hidden>:
At 22:01 +0100 29/1/08, Mike Fischer wrote:
This is just one of the problems you encounter when accessing this
file directly. From your question it seems that you want to add and
remove Login Items, correct? As you probably noticed there are no
official APIs for this.
Actually, that's changed in 10.5, where we now have a proper API to
modify both the per-user and global login items list. See
"LSSharedFileList.h" for details.
Cool! I hadn't seen that yet, even thought it is mentioned in TN2083.
Alas, I haven't yet had time to write a sample that shows how to use
this. It's a pretty simple API though.
It could also use a bit more documentation. But I agree, that it is
basically usable.
Thanks!
Mike
--
Mike Fischer Softwareentwicklung, EDV-Beratung
Schulung, Vertrieb
Note: I read this list in digest mode!
Send me a private copy for faster responses.