Re: Application Bundle won't quit at Shutdown
Re: Application Bundle won't quit at Shutdown
- Subject: Re: Application Bundle won't quit at Shutdown
- From: "Stockly, Ed" <email@hidden>
- Date: Mon, 14 Dec 2009 14:10:46 -0800
- Thread-topic: Application Bundle won't quit at Shutdown
>>> There is something very hokey with your script's design if you feel a need
to 'kill' it. You wouldn't happen to have an infinite loop with a 'delay'
command, by any chance? If so, it'll permanently block your app's main event
loop, preventing it from handling incoming events (e.g. quit), and you need to
replace it with an 'idle' handler, which won't.
I don't know about that. I have a script that spends most of its time in an
idle handler, and has an quit handler, but won't quit if users select "Quit"
from the doc (which works for some scripts) or from the menu.
This has been a longstanding issue for me, and more than a year ago I asked
on the list if there was a way to identify an applet's process for the
purpose of doing a force quit.
I'll try kill method from this thread instead.
ES
On quit
Continue quit
End quit
_______________________________________________
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