On Jan 31, 2005, at 1:50, Read Roberts wrote:

Now that mcfs.py is deprecated, what is an alternative for the now unsupported FindApplication?

The LaunchServices package. Python 2.4 ships with it (Carbon.LaunchServices I think?) or you can use this package for 2.3 <http://mail.python.org/pipermail/pythonmac-sig/2004-November/ 012211.html> to get it.


Alternatively, you can use PyObjC 1.2 or later to just wrap the C function directly like this: <http://svn.red-bean.com/pyobjc/trunk/pyobjc/Examples/AppKit/ PyObjCLauncher/LaunchServices.py>.

-bob

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to