Re: delaying until I'm fully "logged in"
Re: delaying until I'm fully "logged in"
- Subject: Re: delaying until I'm fully "logged in"
- From: Neil Faiman <email@hidden>
- Date: Sun, 2 Dec 2007 23:11:52 -0500
On Dec 2, 2007, at 2:07 PM, Randal L. Schwartz wrote:
I have about 15 things in my Login Items. What can I use an an
Applescript to
say "wait until everything in my login items is pretty much done
launching" so
that I can then display a dialog to ask a question?
Can you get the login-items list (either by reading the preference
file, or by scripting the accounts preference pane)? If so, you could
build a list of login items, then poll every few seconds and remove
items from the list as the get fully started. When the list is empty,
you know it's safe to proceed. (You'd need a timeout, in case one of
them fails to start, and you'd have to be prepared to deal with non-
application startup items (folders and documents).
Regards,
Neil Faiman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden