How does Mac OS X know what program to open when you double click on a file?
January 31, 2006 1:41 PM
Subscribe
How does Mac OS X know what program to open when you double click on a file?
I'm sure there's some kind of database file somewhere that associates the file name extension or the resource fork with the application, but where is that file? And when I install or drag and drop an application to my drive, how or when does the app tell the Finder 'hey i'm here! I can open these sort of applications!'.
posted by sammich to computers & internet (6 comments total)
1) See the section above on the Launch Services database.
2) Applications are automatically registered just by being on your disk. Right click the app and choose "Show Bundle Contents". There's a file called info.plist that contains all the data.
posted by cillit bang at 1:49 PM on January 31, 2006