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: has <email@hidden>
- Date: Mon, 14 Dec 2009 22:02:21 +0000
Ted wrote:
>> What is/does the process whose name is provided by gScriptName? And
>> how/by who is it launched?
>
> I have a block earlier in the script that gets the name of itself and
> feeds it to the do script command line so I don't have to hard code
> the script name inside itself.
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.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
_______________________________________________
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