Preferences Storage Library & Nested Keys

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

No, you will have to get the top-level value, and then parse it. Similarly, writing means doing the same.

A post was split to a new topic: Duplicate Emails

Thanks. That I can do.