• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Login Item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Login Item
      • From: Nir Soffer <email@hidden>
References: 
 >Re: Login Item (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: using NSURLConnection to get only the HTTP header
  • Next by Date: Is there another way to do performSelectorOnMainThread?
  • Previous by thread: Re: Login Item
  • Next by thread: Re: Login Item
  • Index(es):
    • Date
    • Thread