Page 1 of 1

Different Compare Tools for binary and text files

Posted: 2006-12-27, 20:23 UTC
by Norbert
Is there a possibility to use the internal compare tool for binary files and the compare tool defined by the CompareTool variable for text files?

Regards, Norbert

Posted: 2006-12-28, 07:57 UTC
by roentgen
In TC 7 there are two different commands:

- cm_CompareFilesByContent - calls the external compare tool.
- cm_IntCompareFilesByContent - forces the use of internal compare tool.

You should assign these commands for menus or buttons.

Posted: 2006-12-28, 12:09 UTC
by Norbert
Thank you , that's a first step. How I get this command in the "synchronize directory" "right click menu"?

Posted: 2006-12-28, 12:37 UTC
by roentgen
How I get this command in the "synchronize directory" "right click menu"?
I knew you'd ask something like that :D.

Of course this qualifies for a feature request as it seems that you may only call the external compare tool if one is defined.

Posted: 2006-12-28, 19:07 UTC
by Flint
roentgen666 wrote:Of course this qualifies for a feature request as it seems that you may only call the external compare tool if one is defined.
Not exactly. Ctrl+F3 calls the external tool (if defined), Ctrl+Shift+F3 calls the internal tool.

Posted: 2006-12-28, 19:12 UTC
by roentgen
Not exactly. Ctrl+F3 calls the external tool (if defined), Ctrl+Shift+F3 calls the internal tool.
Says the history.txt... I know :wink:
Thanks.

Posted: 2006-12-28, 20:02 UTC
by sqa_wizard
Well, the (default) main menu says Ctrl+F3 is "sort by name" and that is what Ctrl+F3 does for me ... unless the author himself has reassigned his own shortcuts ;)

But nevertheless both internal cm_* commands work fine, no matter which shortcut you have assigned.

Posted: 2006-12-28, 21:16 UTC
by Flint
sqa_wizard wrote:Well, the (default) main menu says Ctrl+F3 is "sort by name"
This is in the main TC window. But I was talking about Sync Dirs dialog.