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
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 mails | Author | Date |
|---|---|---|
| Aalok | Jun 28, 11:25 | |
| George Orthwein | Jun 28, 17:00 | |
| Sean McBride | Jun 28, 18:08 | |
| Jerry Krinock | Jun 28, 18:31 | |
| Nir Soffer | Jun 28, 20:33 | |
| Nir Soffer | Jun 29, 00:00 | |
| Uli Kusterer | Jun 29, 00:36 | |
| Jerry Krinock | Jun 29, 17:40 |






Cocoa mail archive

