• 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: Can't quit from Dock or cmd-Q
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't quit from Dock or cmd-Q


  • Subject: Re: Can't quit from Dock or cmd-Q
  • From: Paul Berkowitz <email@hidden>
  • Date: Fri, 25 Oct 2002 18:09:46 -0700

On 10/25/02 5:45 PM, "Paul Berkowitz" <email@hidden> wrote:

> on quit
> set _stop to true -- optional due to ErrorHandler
> my ErrorHandler("", -128) -- corrected
> -- continue quit -- makes no difference
> end quit

Actually, I didn't get that quite right. Since there is an

if _stop then error number -128

at the top of my two main repeat loops, _that_ leads to the ErrorHandler
anyway with the cleanup commands and a final error number -128 to really
quit.

I don't call the ErrorHandler from the quit handler - that makes it go
around 3 times, what with all the forced errors involved.

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Can't quit from Dock or cmd-Q (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: filtering a list of items with Finder
  • Next by Date: Re: Dialog Director - Quit action
  • Previous by thread: Re: Can't quit from Dock or cmd-Q
  • Next by thread: rename a disk - Mac OS 9
  • Index(es):
    • Date
    • Thread