Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Call idle handler many times - what happens?



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.