Re: Login Item
Re: Login Item
- Subject: Re: Login Item
- From: Nir Soffer <email@hidden>
- Date: Wed, 28 Jun 2006 21:33:15 +0300
With this level of brokeness - how about this little hack: get the
application dock menu, get the "Open at Login" menu item, and perform
its selector - as if the user click it :-)
On 28/06/2006, at 19:31, Jerry Krinock wrote:
on 06/06/28 9:08, Sean McBride at email@hidden wrote:
<http://developer.apple.com/samplecode/LoginItemsAE/index.html>
Yes, I now use LoginItemsAE, but there are several bugs which you
should be
aware of if you're working on a mass release:
1. If you call LoginItemsAE when the system is very busy, in
particular if
the app calling LoginItemsAE is itself a Login Item, you may
receive an
error instead of what you're looking for.
2. I recommend changing timeout in LoginItemsAE.c from 5 seconds
to 10
seconds to support slower G3s.
3. Sometimes LoginItemsAE does not reply. Workaround is to kill and
restart the System Events process when this happens.
4. When compiling, you'll get warnings about LoginItemsAE using a
couple of
depracated functions.
Yes, I've reported all these bugs to Apple.
_______________________________________________
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
Best Regards,
Nir Soffer
_______________________________________________
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