• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why Doesn't This Script.app Quit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Why Doesn't This Script.app Quit?
      • From: "Stockly, Ed" <email@hidden>
References: 
 >Re: Why Doesn't This Script.app Quit? (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Why Doesn't This Script.app Quit?
  • Next by Date: Re: Why Doesn't This Script.app Quit?
  • Previous by thread: Re: Why Doesn't This Script.app Quit?
  • Next by thread: Re: Why Doesn't This Script.app Quit?
  • Index(es):
    • Date
    • Thread