Do you want Photos to show its library selection dialog when it opens? Here’s one solution without the Option key.
defaults
Preference files are involved in many Mac problems, and are often their solution. Using them now isn’t simple: here is some guidance.
Inside all those hidden settings which control App Nap to Trackpad scaling factors: what they are and how to set them.
Source code workthrough of one method of checking for and automatically downloading updates to an app, in Swift 5 for macOS 10.11-10.14.
Maintaining a menu gathered across all the open documents could be tricky. Here’s a simple solution using UserDefaults and NotificationCenter.
Where to find hidden global default settings, and how to change them without paying for a utility like MacPilot.
How much more difficult is it to write your own code to handle user preferences, rather than letting UserDefaults handle them?
Developers should consider letting users export and import suites of settings, to determine an app’s persona, or flavours of working environment.
The current macOS implementation of preferences is appalling design in every respect, and is essentially undocumented even for developers. Is this the way that macOS is heading?