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

Bob Ippolito bob at redivi.com
Wed Aug 18 08:10:56 CEST 2004


On Aug 17, 2004, at 8:50 PM, Kevin Altis wrote:

> I have a few bundlebuilder scripts that all seem to be making  
> standalones from my PythonCard/wxPython scripts just fine, so thanks  
> to Bob, etc. for that. However, I can't figure out what I need to do  
> to get file extension assocations for those apps. For example, the  
> CodeEditor standalone should be able to open .txt, .text, .xml, .htm,  
> .html, .py, and .pyw at a minimum. If I try and choose the CodeEditor  
> app I built via the Finder Get Info dialog with a .py file it doesn't  
> think CodeEditor is a recommended application. So, I'm assuming there  
> is some .plist file I have to create as well or do some other magic?

Yes, Info.plist.  It's not magic, everything that LaunchServices knows  
about is in that one file.

http://developer.apple.com/documentation/MacOSX/Conceptual/ 
BPRuntimeConfig/Concepts/PListKeys.html#//apple_ref/doc/uid/20001431/ 
TPXREF107

-bob


More information about the Pythonmac-SIG mailing list