Go Back   Scooter Forums > Beyond Compare 3 Discussion > Scripting
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 07-Nov-2011, 03:39 AM
patel1984 patel1984 is offline
New User
 
Join Date: Nov 2011
Posts: 2
Default Text compare output file (formatting)

Hello Support,

I am having 2 different folders:
1) sample 1
2) Sample 2

Both folders contain same amount of Text files with same name in each folder.

I am comparing those text files between different folders. I am successfully filtering the mismatch data and can see them in Red marking.

I am in need of a report for comparison of those files.

Report should include following:

1) File name.
2) Line no.
3) mismatch words from both files.

Can above report be generated in tabular format?

I have attached 2 sample files. i have renamed the other file to differentiate you understandings.

Please help me.

Thanks.
Denil Patel.
Attached Files
File Type: txt 51 (1).txt (5.4 KB, 3 views)
File Type: txt 51 (1) - Renamed.txt (5.4 KB, 2 views)
Reply With Quote
  #2  
Old 11-Nov-2011, 03:38 PM
Aaron Aaron is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 5,447
Default

Hello,

It appears your two sample files do not contain any different words?

I would suggest using the graphical interface first to determine the report you want to generate. Once found, we can then help with the script to generate that report configuration.

You can generate either a Folder Report or Text Report from our Folder Compare session. To generate the Folder Report, issue an Edit menu -> Expand All command, and then the Session menu -> Folder Compare Report. To generate a Text Report, issue an Edit menu -> Expand All command, Edit menu -> Select All Files command, then Actions menu -> File Compare Report.

Would a Text Report, layout side by side, showing Mismatches be what you are looking for?
__________________
Aaron P Scooter Software
Reply With Quote
  #3  
Old 11-Nov-2011, 08:45 PM
patel1984 patel1984 is offline
New User
 
Join Date: Nov 2011
Posts: 2
Default

Hello Aaron,

Thanks for your reply.

How to use graphical interface with BC3?

Is there any plugins to be used or download? If yes, where to download it from?

Yes, i am looking for Text Report, layout side by side, showing Mismatches in color differences.

Thanks
Reply With Quote
  #4  
Old 14-Nov-2011, 09:12 AM
Aaron Aaron is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 5,447
Default

Hello,

We have a Basics video here:
http://www.scootersoftware.com/moreinfo.php?zz=videos

You can boot up the graphical interface by launching the program from the start menu or desktop shortcut, which will take you to the Home screen. On the left are buttons for each of the session types, you can then select Text Compare to launch into that one. You can then browse or drag and drop your files into the empty Text Compare panes to start the comparison.
__________________
Aaron P Scooter Software
Reply With Quote
  #5  
Old 14-Nov-2011, 09:15 AM
Aaron Aaron is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 5,447
Default

One potential script:

Code:
load "c:\folder1" "c:\folder2"
expand all
select files.newer files.older files.different
text-report layout:side-by-side options:display-mismatches output-to:"c:\bcreport.html" output-options:html-color
__________________
Aaron P Scooter Software
Reply With Quote
Reply

Tags
output, report, scripting

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 01:31 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.