[PYTHONMAC-SIG] Application Running?

Jack Jansen Jack.Jansen@cwi.nl
Tue, 01 Apr 1997 13:03:39 +0100


> I need to be able to test if an application that I launched with
> findertools.launch(file) is still running. Can anyone tell me how to do
> that in Python?

If the app supports appleevents you could poll it with an appleevent, that's 
the only way you can currently do this easily in Python. An alternative could 
be to use calldll to generate an interface to the process manager.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@cwi.nl      | ++++ if you agree copy these lines to your sig ++++
http://www.cwi.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm 



_______________
PYTHONMAC-SIG  - SIG on Python for the Apple Macintosh

send messages to: pythonmac-sig@python.org
administrivia to: pythonmac-sig-request@python.org
_______________