Read Roberts wrote:
Now that mcfs.py is deprecated, what is an alternative for the now unsupported FindApplication?
from LaunchServices import LSFindApplicationForInfo from Carbon.CoreFoundation import kCFURLPOSIXPathStyle
creator = 'ttxt' path = LSFindApplicationForInfo(creator, None, None)[1] \ .CFURLCopyFileSystemPath(kCFURLPOSIXPathStyle).toPython() print path
LaunchServices is due for inclusion in MacPython 2.4. Meantime, you can find it on SourceForge CVS or just use the pre-packaged copy from my site:
http://freespace.virgin.net/hamish.sanderson/appscript.html
HTH
has -- http://freespace.virgin.net/hamish.sanderson/ _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig