button bar button action: specify two files on same side?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
marlon
Junior Member
Junior Member
Posts: 6
Joined: 2006-08-03, 22:56 UTC
Location: Virginia, USA

button bar button action: specify two files on same side?

Post by *marlon »

When configuring action of a button.....is there a way to specify "parameters" for two files on same (i.e. both on either target or source) side?

Specifying parameters=%p%n %t%m works fine if one file is on either side. But I want to send 2 files in, say, Target dir, to my external file compare program. When I highlight 2 files and select Files/Compare_by_content (the internal file compare utility) TC has no problem figuring out what I want to do. But I can't seem to find any way to send the same 2 files to an external program.

THanks.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3896
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

But I want to send 2 files in, say, Target dir, to my external file compare program
For this special case of an external compare program, just add a line to your wincmd.ini:

Code: Select all

CompareTool=c:\WinTools\WinMerge\WinMerge.exe
Just edit the path and name of your tool accordingly.
#5767 Personal license
marlon
Junior Member
Junior Member
Posts: 6
Joined: 2006-08-03, 22:56 UTC
Location: Virginia, USA

Post by *marlon »

Seems like I used to know that at one time. :) That works fine and with cm_CompareFilesByContent my button for file compare remains the same!

Having made the change, does there remain any way to call the internal compare tool? (The internal tool is faster than "Compare It!" so I use it sometimes.)

THanks.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3896
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

does there remain any way to call the internal compare tool?
Yes, you just have to use "cm_IntCompareFilesByContent" (at button, menu or shortcut)

I defined my shortcuts as Alt-C / Shift-Alt-C

Code: Select all

[Shortcuts]
A+C=cm_CompareFilesByContent
AS+C=cm_IntCompareFilesByContent
#5767 Personal license
marlon
Junior Member
Junior Member
Posts: 6
Joined: 2006-08-03, 22:56 UTC
Location: Virginia, USA

Post by *marlon »

Cool. Very convenient.
I should have noticed cm_IntCompareFilesByContent!

THanks much for the help. Wish everything worked as slick as TC!
Post Reply