|
|
A Perl script to manage file types and creators
You can change the default extension application correspondence from the Get Info window, of course. (Select "Open With", pull down to your preference, then "change all" to set a new default.)
What I suspect that you're asking, though, is how can you do this from the command line? That's a good question. I suspect that it lives in a user preference someplace, as it doesn't require an admin action to perform (I don't believe) but I'm not sure if the changes to default apply system-wide or just to the user. The bigger question--if this is indeed a preference, is it kept in XML in a .plist someplace, or is it in Apple Proprietary code?
default extension application
The bigger question--if this is indeed a preference, is it kept in XML in a .plist someplace, or is it in Apple Proprietary code?This is stored in, e.g., /Applications/TextEdit.app/Contents/Info.plist. Open this file in your favorite text editor and search for <key>CFBundleTypeExtensions</key> (one per extension) or, e.g., <string>txt</string>.
default extension application
Looking at that file on my computer it seems that only the file types which are to be opened with TextEdit are stored there. And checking the corresponding file with Acrobat 6.0.1.app shows that the .pdf extension is listed there. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|