Skip navigation.
 
mlRe: Login Item
FROM : Nir Soffer
DATE : Wed Jun 28 20:33:15 2006

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_removed> 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_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>



Best Regards,

Nir Soffer

Related mailsAuthorDate
mlLogin Item Aalok Jun 28, 11:25
mlRe: Login Item George Orthwein Jun 28, 17:00
mlRe: Login Item Sean McBride Jun 28, 18:08
mlRe: Login Item Jerry Krinock Jun 28, 18:31
mlRe: Login Item Nir Soffer Jun 28, 20:33
mlRe: Login Item Nir Soffer Jun 29, 00:00
mlRe: Login Item Uli Kusterer Jun 29, 00:36
mlRe: Login Item Jerry Krinock Jun 29, 17:40