Is it possible to access nested keys using PrefsStorageLib? For example, how might I get/set the value of arrangeBy
in this snippet?
<key>DesktopViewSettings</key>
<dict>
<key>IconViewSettings</key>
<dict>
<key>arrangeBy</key>
<string>grid</string>
<key>backgroundColorBlue</key>
<real>1</real>
<key>backgroundColorGreen</key>
<real>1</real>
</dict>
</dict>
I understand that defaults
can’t do this and plutil
can, but would prefer to use a single tool if possible. (A single tool I’m really enjoying - thanks, Shane, for the Libraries.)
—Bryan