Hello All,
I would like to be able to modify a few settings in a plist (Property List) file, specifically the com.apple.sidebarslist.plist file found in the ~/Library/Preferences/ folder.
The items I wish to modify are the three options within the CustomListProperties dictionary within the networkbrowser key. I can use “defaults read” to read the values, however, the “defaults write” command will not let me modify the values as it does not deal with nested entities, the CustomListProperties being a dictionary within a dictionary (networkbrowser).
I’ve come across this article on Apple’s site that details the ability to read/write Property Lists and I think this might allow me to do what I want, but I need some help understanding the terminology I should be using, plus I need to ascertain if it will indeed let me do what I wish.
So, in the most basic terms, I would like to be able to change the value of the key “com.apple.NetworkBrowser.bonjourEnabled” from Yes to No. Can someone provide me with details, if possible, of how to use System Events to do this.
Thanks in advance ![]()