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

Re: [MacPerl] How to kill apps?



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.

-- 
Chris Nandor       |     pudge@pobox.com      |     http://pudge.net/
Andover.Net        | chris.nandor@andover.net | http://slashcode.com/

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