• 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: delaying until I'm fully "logged in"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >delaying until I'm fully "logged in" (From: email@hidden (Randal L. Schwartz))

  • Prev by Date: Slightly OT: iPhoto help
  • Next by Date: Re: Buttons with Display Dialog
  • Previous by thread: Re: delaying until I'm fully "logged in"
  • Next by thread: Re: delaying until I'm fully "logged in"
  • Index(es):
    • Date
    • Thread