[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] How to kill apps?



At 4:31 PM -0400 5/27/00, Chris Nandor wrote:
>At 19.37 +0000 2000.05.27, Sveinbjorn Thordarson wrote:
> >Is it possible to kill apps using MacPerl?  As in, running a script and
> >the script can kill the application, no problem?
>
>You can send an application an Apple event to tell it to quit.
>Mac::Apps::Launch, on CPAN and part of cpan-mac, has a QuitApps function.

On a related note, how about sending MacPerl a "cmd-." to make it 
stop executing a script? Can this be accomplished similarly?

--
Joseph A. DiVerdi, Ph.D., M.B.A.
<mailto:diverdi@XTRsystems.com>             970.221.3982 (voice)
<http://www.XTRsystems.com>                 970.224.3723 (fax)
%PGPKey=('D50A9E33',[1024,'D790 3F87 2944 1E65 3286 1AD4 1A10 C5E1 D50A 9E33'])
PAUSE userid=DIVERDI
--

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org