Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My system understands a file UTI, public.objective-c-plus-plus-source, which conforms to public.source-code

I'd like to use a different extension for certain files that conform to this UTI. I'd like them to be opened with whatever application opens objective-c++ source.

My current thought on how to achieve this is to declare a new UTI, which conforms to objective-c++ source. I'm aware that I could create an application that exports the new type, but that wouldn't work well for me. Is it possible to register the new type with LaunchServices directly via the command line?

share|improve this question
add comment

1 Answer 1

The easiest would be to download and install RCDefaultApp. Go to System Preferences » Default Apps, then the MIME Types tab, or UTIs tab.

http://screencast.com/t/abG2w4m4qndT

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.