No announcement yet.

Help - Including a criteria in Script

  • Filter
  • Time
  • Show
Clear All
new posts

  • Help - Including a criteria in Script

    Hi, this is the script Iīm making, unfortunately it doesnīt work, what I want is to send the output to a file with the result of differences between two files, using the rule of "C++ Source" but I donīt know how to include that...the files have the proper extension and the rule does exist in the program, how can I include this rule since the script seems not to use it.

    criteria rules-based
    file-report layout:side-by-side &
    options:display-mismatches &
    output-to:c:\result.txt c:\testing\version45.cpp c:\version44.cpp

    #C++ Source


  • #2
    Re: Help - Including a criteria in Script

    Does the script not fire or error out? Or does the output just not look like you want it to?

    Does this work for you?:
    file-report layout:side-by-side &
    options:ignore-unimportant,display-mismatches &
    output-to:c:\result.txt c:\testing\version45.cpp c:\version44.cpp

    You can also load a session, and the expand all, select all, and various other methods of selecting files, rather than declaring them in the file-report option (if you need something less specfic).

    Let us know if you have any other questions.
    Aaron P Scooter Software