Re: Script Application handles an event, then quits
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