• 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
Call idle handler many times - what happens?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Call idle handler many times - what happens?


  • Subject: Call idle handler many times - what happens?
  • From: Simon Forster <email@hidden>
  • Date: Wed, 8 Jun 2005 12:53:37 +0100

I have a stay open script with an idle handler which returns 60. i.e. It will be run again in circa 60 seconds. The idle handler is initially called by the run handler.

The run handler will be called many times and will, in turn, call the idle handler many times. What happens in this situation?

I'm hoping that the idle functions will run immediately and then will drop back to checking every 60 seconds (unless the run handler calls it again). i.e. That there's just the one "instance" of the idle process ticking along - but I don't know and I can't think of a sensible test at this time.

Does this make sense? Anyone got an answer?

TIA

Simon Forster
_____________________________________________________
 LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
 Tel: +44 (0)70 9230 5244   Fax: +44 (0)70 9230 5247
_____________________________________________________

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Call idle handler many times - what happens?
      • From: Brian Johnson <email@hidden>
  • Prev by Date: Re: path to scripts folder from system domain
  • Next by Date: Re: OT: Re: Shit - it's all true
  • Previous by thread: Re: path to scripts folder from system domain
  • Next by thread: Re: Call idle handler many times - what happens?
  • Index(es):
    • Date
    • Thread