Contract Tools User Preferences

You can configure default values of user preferences by modifying PaperSoftwareContractTools.dll.config in Contract Tools’ installation folder (see Installation Folder to learn more) before Word loads Contract Tools for the first time (see Configuring LoadBehavior). PaperSoftwareContractTools.dll.config is an XML file that contains default values of preferences in setting elements like this:

<setting name="PreferenceName" serializeAs="String">
    <value>DefaultValue</value>
</setting>

You can use PowerShell to modify setting elements. For example, when Contract Tools is installed for all users on a 64‑bit operating system, you can modify a preference named PreferenceName to have a default value of Default with this PowerShell script:

$installationFolder = "${Env:ProgramFiles(x86)}\Paper Software\Contract Tools"
$absolutePath = "$installationFolder\PaperSoftwareContractTools.dll.config"
[xml]$xml = Get-Content $absolutePath
$xml.SelectSingleNode('//setting[@name="PreferenceName"]').value = 'Default'
$xml.Save($absolutePath)

See Configuring Contract Tools to Be Turned Off When Documents Open for a PowerShell script that configures the preference named EnableAutomatically so that Contract Tools is turned off when documents open.

If you want to configure default values of user preferences after Word has loaded Contract Tools, you can delete the folder in which Word saves Contract Tools preferences, and then configure default values of user preferences as you otherwise would. To delete the folder in which Word saves Contract Tools preferences, enter in PowerShell:

$preferencesFolder = "$Env:LOCALAPPDATA\Microsoft_Corporation"
Remove-Item "$preferencesFolder\PaperSoftwareContractTool_*" -Recurse

Note: This PowerShell script immediately deletes the folder in which Word saves Contract Tools preferences. It doesn’t move the folder to the Recycle Bin.

Here are names (in bold) of Contract Tools user preferences that you can configure.

Whether Contract Tools Turns On Automatically

Contract Tools Pane

  • AlwaysShowPane True to show the Contract Tools pane when opening documents, False otherwise. Default is True.

  • PanePosition Right to position the Contract Tools pane on the right side of a Word window by default, Left to position the pane on the left side. Default is Right.

  • SwitchPaneViewsUsingButtons True to use buttons to show Contract Tools pane views, False to use a pop‑up menu. Default is False.

  • IncludePageNumbersWhenCopying True to include page numbers with items copied from Contract Tools pane views, False otherwise. Default is False. Copying page numbers can take several seconds.

Analysis

  • AnalyzeBeforeSave True to analyze when saving a document, False otherwise. Default is True.

  • AnalyzeOnSync True to analyze when syncing a document to a server, False otherwise. Default is True.

  • UpdateAnalysis True to update an analysis after editing text (for example, typing and deleting), False otherwise. Default is True.

  • AnalysisUpdateDelay Time in milliseconds between the last edit and an analysis update, as an integer between 0 and 1000. Default is 250.

  • SyncAnalysisWithDocument True to keep an analysis in sync with a document while there are unanalyzed changes, False otherwise. Default is True.

  • FindAnalysisBookmark True to automatically find a scope of analysis (saved as a hidden bookmark) when opening documents, False otherwise. Default is True.

  • SaveAnalysisSettings True to save analysis settings (including ignored drafting errors) with documents as custom XML data in Word 2010 and later, False otherwise. Default is True. You can also configure whether Contract Tools saves analysis settings using a Registry value; see Configuring Other Settings to learn more.

  • AnalyzeWhenPaneIsHidden True to analyze a document when saving or syncing to a server while the Contract Tools pane is hidden, False otherwise. Default is True.

Highlighting and Underlining

  • UnderlineInstancesOfSelectedDefinedTerm True to underline instances of the selected defined term, False otherwise. Default is True.

  • HighlightMarkersOfSelectedInlineList True to highlight markers of the selected inline list or proviso list, False otherwise. Default is True.

  • HighlightSelectedMatchedBrackets True to highlight matched parentheses and brackets when selected, False otherwise. Default is True.

  • HighlightDraftingErrors True to highlight drafting errors, False otherwise. Default is True.

  • DraftingErrorHighlightColor Comma-separated ARGB color of drafting error highlighting. Default is 30, 220, 35, 35.

  • UnderlineDraftingErrors True to underline drafting errors, False otherwise. Default is False.

  • DraftingErrorUnderlineColor Comma-separated RGB color of drafting error underlining. Default is 245, 210, 40.

Completion Menu

  • CompletionMenuShowsDefinedTermUses True to show defined terms in the Completion menu, False otherwise. Default is True.

  • CompletionMenuShowsSnippets True to show snippets in the Completion menu, False otherwise. Default is True.

  • RightArrowKeyInsertsCompletions True to insert completions using the Right Arrow key, False otherwise. Default is True.

  • ShowCompletionInstructions True to show instructions for choosing a completion in the Completion menu, False otherwise. Default is True.

  • DoubleClickNavigates True to make double-clicking defined terms and cross-references cause navigation, False otherwise. Default is True.

  • ShowLocationWhenScrolling True to show location while dragging the vertical scroller, False otherwise. Default is True.

Snippets

  • SnippetInsertionKeepsFormatting True to preserve formatting when inserting snippets, False otherwise. Default is False.

  • SnippetsViewWarnsBeforeDeletingSnippets True to show an alert before deleting snippets, False otherwise. Default is True.

  • SnippetsViewShowsCategories True to show building block categories in the Snippets view, False otherwise. Default is False.

  • SnippetsViewShowsAllAutoTextAndQuickParts True to show all AutoText and Quick Parts in the Snippets view, False otherwise. Default is False. See Sharing Text as Snippets for a PowerShell script that configures this preference.

  • SnippetsTemplatePath Path of a Word template (DOTX) file for snippets. If the value of this preference is empty when Contract Tools starts, Contract Tools attempts to use the path of an already-existing template file or the path of a newly-created template file. Default is empty.

  • SnippetsLoadWhenStarting True to load snippets when Contract Tools starts, False otherwise. Default is True.

Issues Pop‑Up Menu

  • IssuesIncludeUnusedDefinedTerms True to include unused defined terms in the Issues pop‑up menu, False otherwise. Default is True.

  • IssuesIncludeDefinedTermsUsedOnce True to include defined terms used only once in the Issues pop‑up menu, False otherwise. Default is True.

  • IssuesIncludeToDos True to include to‑dos in the Issues pop‑up menu, False otherwise. Default is True.

  • IssuesIncludeUnknownCrossReferences True to include cross-references to unknown items in the Issues pop‑up menu, False otherwise. Default is True.

Updating

  • CheckForUpdates True to check for updates when Contract Tools starts, False otherwise. Default is True. You can also configure whether Contract Tools checks for updates using a Registry value; see Configuring Other Settings to learn more.