External Programs Options (Tools Menu > Options)

Tab Items
SAW can be configured with the viewing/editing application of the user's choice. The View
and Edit commands will automatically open files using the utility configured here. If this box is left blank, SAW will open files with their
associated Windows application.
This option is used to specify an external application for visual diff/merge
on files or directories. The SAW Diff/Merge tool MergeHero is configured by
default.
Note: If MergeHero is configured, the following arguments items will be
invalid.
Arguments for diff files
This option allows you to specify the arguments to supply to the diff tool
for files diff when the diff tool is invoked. The following macros are available
(the macros are case-sensitive):
- %FIRST_FILE% - expands to the path of the file that will be
supplied for the left side of the diff output.
- %SECOND_FILE% - expands to the path of the file that will be
supplied for the right side of the diff output.
- %FIRST_LABEL% - expands to the label that will be supplied to the
file being diffed on the left side of the diff output.
- %SECOND_LABEL% - expands to the label that will be supplied to the
file being diffed on the right side of the diff output.
Arguments for diff directories
This option allows you to specify the arguments to supply to the diff tool
for directories diff when the diff tool is invoked. The following macros are
available (the macros are case-sensitive):
- %FIRST_DIR% - expands to the path of the directory that will be
supplied for the left side of the diff output.
- %SECOND_DIR% - expands to the path of the directory that will be
supplied for the right side of the diff output.
- %FIRST_LABEL% - expands to the label that will be supplied to the
directory being diffed on the left side of the diff output.
- %SECOND_LABEL% - expands to the label that will be supplied to the
directory being diffed on the right side of the diff output.
Arguments for two-way merge:
This option allows you to specify the arguments to supply to the merge tool
for two-way merge when the merge tool is invoked. The following macros are
available (the macros are case-sensitive):
- %FIRST_FILE% - expands to the path of the first file that will be
supplied for the left side of the merge output.
- %SECOND_FILE% - expands to the path of the second file that will be
supplied for the right side of the merge output.
- %RESULT_FILE% - expands to the path of file that will be saved when
the user merges the files together.
- %FIRST_LABEL% - expands to the label supplied by the merge tool to
put on top of the first file being merged.
- %SECOND_LABEL% - expands to the label supplied by the merge tool to
put on top of the second file being merged.
Arguments for three-way merge:
This option allows you to specify the arguments to supply to the merge tool
for three-way merge when the merge tool is invoked. The following macros are
available (the macros are case-sensitive):
- %BASE_FILE% - expands to the path of the file that is the common
ancestor, or baseline between the two files being merged.
- %YOURS_FILE% - expands to the path of the first file that is being
merged.
- %THEIRS_FILE% - expands to the path of the second file that is
being merged.
- %RESULT_FILE% - expands to the path of file that will be saved when
the user merges the files together.
- %FIRST_LABEL% - expands to the label supplied by the merge tool to
put on top of the first file being merged.
- %SECOND_LABEL% - expands to the label supplied by the merge tool to
put on top of the second file being merged.