[ACCEPTED]-How to set a boolean value in an array object in a plist-plist
Accepted answer
This is how you do it Michael. I was looking 3 for the same thing, and I happened to come 2 across the answer. Thought I'd share. Example 1 shown below.
defaults write com.apple.dashboard layer-gadgets -array-add "<dict><key>32bit</key><false/></dict>";
These are the data types:
<string></string>
- string<false/><true/>
- boolean<real></real>
- real<integer></integer>
- integer
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.