Re: Why Doesn't This Script.app Quit?
Re: Why Doesn't This Script.app Quit?
- Subject: Re: Why Doesn't This Script.app Quit?
- From: "S. J. Cunningham" <email@hidden>
- Date: Thu, 14 Jan 2016 16:23:51 -0500
On Jan 14, 2016, at 4:12 PM, Steve Mills wrote:
> On Jan 14, 2016, at 03:09 PM, "S. J. Cunningham" <email@hidden> wrote:
>
>> Why doesn't this sucker quit? First I tried "return" and then "quit". I also tried a quit handler with "continue quit". It just laughs at me.
>>
>> on run
>> try
>> error "Oopsie!" number 666
>> on error errMsg number errNum
>> display dialog "Error " & errNum & ": " & errMsg
>> tell me to quit
>> end try
>> display dialog "Hah Hah Hah! You can't kill me!"
>> end run
>
> Quits just fine for me. Maybe the applet has the Stay Open bit set (if that would make a difference)?
I tried it both ways, ie stay open and non-stay open. Same result. But even if it were stay-open I would think it would respond to a quit message.
Steve
------------------
OS X 10.6.8, AppleScript 2.1.2
_______________________________________________
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