[Pythonmac-SIG] How do you find the app that matches a creator
type
Bob Ippolito
bob at redivi.com
Mon Jan 31 13:50:53 CET 2005
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
More information about the Pythonmac-SIG
mailing list