Announcement

Collapse
No announcement yet.

How do I create a script to create a text report with an orphan file

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • How do I create a script to create a text report with an orphan file

    Hi,
    I have manged to make a script where I can generate a html report of the differences between to files. I would like to output an html file as a report even if the file is orphaned on one side.

    The other side of the report should just be blank for the orphaned file.

    Thanks for any help you can give me in advance.

  • #2
    Hello,

    This would depend a little on your existing script, but one way would be to include linked file reports in a folder report, such as:
    load "c:\a" "c:\b"
    expand all
    folder-report layout:side-by-side options:include-file-links output-to:"c:\reports\report.html" output-options:html-color

    All present files would use the current default text compare reports (generate a text report in the interface to configure it once).

    Or, you can use the select command and then generate a report on the selection, which can be only orphans or a combination of comparison status
    load "c:\a" "c:\b"
    expand all
    select left.orphan.files right.orphan.files
    folder-report layout:side-by-side output-to:"c:\reports\report.html" output-options:html-color

    How do these work for you?‚Äč
    Aaron P Scooter Software

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎