[Pythonmac-SIG] creating file associations with apps via bundlebuilder?

Kevin Altis altis at semi-retired.com
Wed Aug 18 18:48:22 CEST 2004


Hopefully, this is the last question. The standalone appears to build 
correctly and the Info.plist is being copied. I also added a 
MacOpenFile method per Kevin Ollivier's instructions at:

http://wiki.wxpython.org/index.cgi/Optimizing_20for_20Mac_20OS_20X

I can drag a file onto the application icon and the file opens as 
expected. Also, I can choose the CodeEditor application via the Get 
Info dialog Open With->Other... for the .py file association. If I 
choose Change All then CodeEditor shows up in the list of options for 
Open With, but if I change the default back to PythonLauncher then 
CodeEditor disappears from the menu, while PythonIDE, SubEthaEdit, and 
WorldText persist. Perhaps there is a critical line in the Info.plist 
that I botched or is there some other API I have to call to register my 
application for some file types so the Finder remembers the 
application?

The Info.plist I'm using is cobbled together from PythonIDE and 
SubEthaEdit.

Thanks for all the help Bob!

ka



More information about the Pythonmac-SIG mailing list