• 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: Script Application handles an event, then quits
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Application handles an event, then quits


  • Subject: Re: Script Application handles an event, then quits
  • From: email@hidden
  • Date: Thu, 11 Jan 2001 20:31:22 -0500

Oops. I left out "continue quit"

On Wed, 10 Jan 2001 21:37:27 -0500, I wrote,

> Here's a sample that illustrates the sequence of control. First, the
> instrumented script, which uses the "say" command from Standard Additions from
> AppleScript 1.3.7 or better.
>
[...]

> on quit
> say "Quit"
> end quit

Of course, the quit handler should say,

on quit
say "Quit"
continue quit
end quit

Thanks to Patrick S. Page-McCaw <email@hidden> for pointing this out.
--
Scott Norton Phone: +1-703-299-1656
DTI Associates, Inc. Fax: +1-703-706-0476
2920 South Glebe Road Internet: email@hidden
Arlington, VA 22206-2768 or email@hidden


  • Prev by Date: Re: Highlights of AppleScript 1.5.5 in Mac OS 9.1
  • Next by Date: Re: Sucking photos out of Quark, compressing and sending the whole mess to the Internet
  • Previous by thread: Script Application handles an event, then quits
  • Next by thread: Re: Script Application handles an event, then quits
  • Index(es):
    • Date
    • Thread