System/Library/Frameworks/amework/Versions/A/Frameworks/LaunchServices.
Hope somebody knows what i m missing to achieve it.Īnswer Found : defaults write LSHandlers -array-add "" Category: None (default) Level: Computer Level (default) Distribution Method: Install Automatically (default) Scroll down to the Application & Custom Settings tab, select External Applications, click Add and use Custom Schema as Source to use for the preference domain.
But the files are not opened with the specified application. RCDefaultApp is a Mac OS X 10.2 or later preference pane that allows a user to set the default application used for various URL schemes, file extensions.
It added an entry in /Library/Preferences/. I have tried the following to get it done. Set default application of file "/Users/test/Desktop/file.abc" to "/Applications/TextEdit.app"īut I want to set the same application as default for all the files having the filetype or extension as "abc". Using the below apple script, we can set the default application for the specific "file.abc". If you’ve given an app like Adobe Reader, for example, permission to set itself as. Click the app you'd like to set as the default. Click the drop-down next to Default Mail Reader. Click Mail in the menu bar at the top of the screen. Here's how: Launch Mail from your dock or the Finder.
If you double click on a PDF file or a PNG file, chances are that your Mac will open it in Preview, Apple’s default PDF and image file app. Mail is likely the default email app on your Mac, but just in case you have others downloaded, you can set the default reader. In Mac OSX lion, I'm trying to set default application for specific file types. In OS X, all file types have a default application that opens when you double click on them.