• 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
idle handlers and computer sleep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

idle handlers and computer sleep


  • Subject: idle handlers and computer sleep
  • From: Donald Hall <email@hidden>
  • Date: Thu, 16 Oct 2003 00:32:50 -0600

If no one has already done this, I'll do some experimentation and report back. However, if someone knows the answers it will save some work. :-)

Does anyone know what happens to a stay open script application that has an idle handler when the computer goes to sleep?

1. Is the amount of time remaining before the idle handler is to run again remembered? (For example, the idle handler has a return of 30 seconds, and the computer goes to sleep 10 seconds into this time. On awakening, does the system wait 20 seconds to run idle again, or some other time (such as 30 or 0)?

2. What happens if the script application is in the middle of the idle handler when the computer goes to sleep? On awakening, presumably execution resumes where it left off in the idle handler, and the idle handler return time gets reset at the end of the handler.

Thanks for any insights,

Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: [OT] Anti-Spam solution for web pages.
  • Next by Date: Re: Category on an Entourage Contact
  • Previous by thread: Re: [OT] Anti-Spam solution for web pages.
  • Next by thread: Re: idle handlers and computer sleep
  • Index(es):
    • Date
    • Thread