On 20 Jul 2015, at 3:45 PM, John Richardson <[email protected]> wrote:
> Apologies if this is a newbie question or better posted on another mailing
> list [tell me which if so…].
>
> Is there a manual on the developer website that gives all the options for the
> defaults command?
>
> Example: defaults write com.apple.doc ?????? where the question marks are the
> options and their values/parameters.
>
> Searching, all I get is how to make your own and other references that return
> amusing but irrelevant documents that do not list defaults options.
>
> Is it simply a matter of looking at the plist file for the dock? [and the
> plist file for mail,…]
Close. There are no standard keys or formats for user defaults. The man page
for the `defaults` tool is all that can be said. Every developer makes them up.
The best you can do is
defaults read {application ID}
which you’d do well to pipe into `less` or the command-line version of your
favorite text editor.
The most you will get out of the exercise is amusement. User-defaults schemas
are not API. They are subject to change in any particular with any version of
any application. In many circumstances, you can’t read or write them.
Bare Bones publicizes some of the defaults keys for BBEdit and TextWrangler for
“advanced” configuration, and some developers publish them for internal things
like configuring logs, but that’s rare.
— F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com
This email sent to [email protected]