Re: force quit a classic app
Re: force quit a classic app
- Subject: Re: force quit a classic app
- From: Sander Tekelenburg <email@hidden>
- Date: Thu, 25 Apr 2002 02:26:47 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 11:20 -0500 UTC, on 23-04-2002, Michael G O'Leary wrote:
>
sorry if this has been answered before:
>
>
In OS X, I can go to the Aqua Apple Menu and manually do a Force Quit of a
>
misbehaving Classic app.
>
>
How can I use an applescript to do the same thing?
>
Ideally I would leave Classic running.
>
>
I checked the archive, and have looked through the dictionary of the Finder
>
to no avail.
>
I tried just sending a "quit" to the app, but if there's a modal dialog or
>
if the app is hosed, I want to be able to nuke it.
No solution, but just a suggestion on how to approach this:
I would look into making use of the power of unix through AppleSript's "do
shell script". In the unix layer you can mercilessly kill a process, referred
to by its id. The only thing to figure out then is how to get the id of the
process that you want to kill. (You can through "top", but there is probably
a more useful utility available.)
HTH
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <
http://www.pgp.com>
iQA/AwUBPMdNNesywKfXgqKdEQKU3wCgpxoBjNo3Ek1QAaDTh1YGWIrmcGIAnREa
PNkx4bilmBl753nppeAX8pGm
=a/5q
-----END PGP SIGNATURE-----
--
Sander Tekelenburg, <
http://www.euronet.nl/~tekelenb/>
_______________________________________________
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.