Re: Quitting a Stay-open Application
Re: Quitting a Stay-open Application
- Subject: Re: Quitting a Stay-open Application
- From: Philip Aker <email@hidden>
- Date: Sun, 20 May 2007 15:38:07 -0700
On 2007-05-20, at 10:27:55, Luther Fuller wrote:
The question now becomes: If quit can't interrupt a repeat loop,
then why does the "Quitting..." dialog even appear?
When you return a value from an idle handler then it tells the code
implementing applets to wait approximately that amount of time before
the main event loop gives it another chance to service the events it
is eligible for. If an idle handler doesn't return within the
allotted period, it is interrupted by higher powers in order to
provide events to other handlers so they in turn can perform the
tasks they are responsible for. Applets have default handlers
installed on their behalf by the supporting code. If they didn't,
you'd not be able to double click your app or have its dock menu
appear at all.
BTW, what happened to the "DevDocPDF" files that were once
available from ADC. The latest one I have is "Mar07DevDocPDF" which
is damaged. When I tried to download the latest, I couldn't find it.
Not sure. There are March, April, and May updaters for the Xcode docs
available in the Downloads section. But those are probably HTML. The
PDF ones might be a gargantuan separate download.
Philip Aker
email@hidden
_______________________________________________
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