Files
MacAdmin/Jamf Pro/Scripts/info_DefaultApplication.md
Zack T 79eb138672 Extra Documention
Extra Documention
2017-08-30 10:53:40 -07:00

3.2 KiB

Documentation

So I had a request to set the default Mail application in macOS from another tech. I did a bit of looking into this and found it was not the easiest thing to do. There are several third-party 'solutions' out there (see some below). While some work quite well (specifically most people use dutil), some only did half of what I was wanting to accomplish. And mostly, I didn't want to have to package these utilities and deploy them, just to perform this task, if I didn't absolutely have too.

This script was inspired by @thoule & @scheb and miketaylr@GitHub. It will allow you to set the default application for both URL Schemes and Content Types (i.e. File Extensions). I wrote this for use in a JAMF environment utilizing JSS Script Parameters, but it isn't required obviously and those entries can be manually set.

Apple Official Documentation on Launch Services

Other 'complied' utilities that perform this task as well

Other random mentionings regarding configuring Launch Services