Search code examples
beyondcompare3

Edit Default rules from script in Beyond Compare


I have two files which I compare using Data Compare and I want to edit default rules from the script. I tried manually from BC interface and it worked, but I need to manipulate the rules within the script.

This is my script so far:

data-report layout:side-by-side &
  options:ignore-unimportant,display-mismatches,line-numbers &
  output-to:"%3" output-options:html-color "%1" "%2"

Any ideas how could I do that? I am using Beyond Compare 3.

Thanks in advance.


Solution

  • Beyond Compare doesn't support editing Data Compare session settings with a scripting command.

    As a workaround, open a graphical Data Compare session. Click the Rules toolbar button (referee icon). In the Columns tab, edit the column settings you want to use in your script. Change the dropdown at the bottom of the dialog from Use for this view only to Also update session defaults before you click OK. The modified default session settings will affect your script.