At 5:47 pm +0100 31/03/97, Pete Steacy wrote:
~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?
You can use the GTQ applescript addition.
Run gensuitemodule on the 'Is application running' addition and then add
the resulting mdoule and class to the finder class inheritance. You will
have to keep any addition you use in the extention folder.
This works for any scripting addition, but if they extend the object model
then you will have to add the new clases to your aetypes modulde
I have an osax module that gives an inteface to the apple standard
scripting additions if any one wants a copy.
-----------------------------------------------------------------------
Bill Bedford Designer of Photo-Etches
billb(a)mousa.demon.co.uk
owner Brit_Rail-L --- british railways historical list
-----------------------------------------------------------------------
_______________
PYTHONMAC-SIG - SIG on Python for the Apple Macintosh
send messages to: pythonmac-sig(a)python.org
administrivia to: pythonmac-sig-request(a)python.org
_______________