
There are a few settings in DEVONthink not available through the application Settings. Most of them are intended to facilitate customer support but they might be interesting for you as well.
You can toggle or set values for hidden preferences using the defaults command in the Terminal application or clicking the special ON and OFF links for the desired setting. When setting these preferences via the Terminal, DEVONthink should not not be running or the changes may not be preserved when quitting.
To set a preference using the Terminal, noting the commands are case-sensitive, they are written like this (excluding the parentheses): defaults write com.devon-technologies.think (the preference name) (the preference type) (the value). For example, the following command enables the preference by setting a -bool (boolean type) to TRUE:
defaults write com.devon-technologies.think ShouldScaleAttachedImages -bool TRUE
Some hidden preferences require you to specify a numeric value, e.g., CounterDigits. These types of preferences also need to be set via a Terminal command. Use the -int (integer) type before specifying the number, like so:
defaults write com.devon-technologies.think CounterDigits -int 3
Other preferences use a -string type. For example, there is a preference to allow DEVONthink to detect other plain text formats as plain text, AdditionalPlainTextExtensions. As this command replaces the existing list of additional plain text extensions, we recommend that you first read the current list (empty by default) before adding your own to them.
defaults read com.devon-technologies.think AdditionalPlainTextExtensions2014-07-31 08:25:27.101 defaults[21950:3312262] The domain/default pair of (/Users/eb/Library/Preferences/com.devon-technologies.think AdditionalPlainTextExtensions) does not exist# This "error" shows there are no additional formats specified.defaults write com.devon-technologies.think AdditionalPlainTextExtensions -string .otl.todotxtdefaults read com.devon-technologies.think AdditionalPlainTextExtensions.otl.todotxt
Here is a list of the available hidden preferences. Each one includes a description, its data type, and an example value:
-string .dxf.nc .-int 5.-string .mathml .-int 4.-int 5.-bool FALSE or choose: On | Off.-bool TRUE or choose: On | Off
-bool FALSE or choose: On | Off
-bool FALSE or choose: On | Off
-bool FALSE or choose: On | Off
-bool TRUE or choose: On | Off
-bool FALSE or choose: On | Off
-bool FALSE or choose: On | Off
-bool FALSE or choose: On | Off
-bool TRUE or choose: On | Off
-bool TRUE or choose: On | Off
-bool FALSE or choose: On | Off
-bool FALSE or choose: On | Off
-bool TRUE or choose: On | Off
-bool TRUE or choose: On | Off
-bool TRUE or choose: On | Off
-bool FALSE or choose: On | Off
-bool FALSE or choose: On | Off
-bool TRUE or choose: On | Off
-bool TRUE or choose: On | Off
10. In Terminal: -int 15
10. In Terminal: -int 15.-bool FALSE or choose: On | Off
-bool FALSE or choose: On | Off
-bool TRUE or choose: On | Off
-bool TRUE or choose: On | Off
-bool TRUE or choose: On | Off
.opml files as native files instead of parsing and creating groups, feeds, etc. from them. In Terminal: -bool FALSE or choose: On | Off
-bool FALSE or choose: On | Off
-bool TRUE or choose: On | Off
-bool TRUE or choose: On | Off
-bool TRUE or choose: On | Off
WindowToolbarExpanded hidden preference is not used. In Terminal: -bool TRUE or choose: On | Off