Compare by content warning message
Moderators: white, Hacker, petermad, Stefan2
Compare by content warning message
I'm sorry if this function was already suggested before, i've been searching but haven't found any topic about it.
I'd like to suggest that Tc displays a warning message if cm_IntCompareFilesByContent is used when more than 2 files are selected on the same panel (Normal or Branch view modes).
If this command only serves to compare 2 files in my opinion it is a mistake that it works the same way if more than 2 files are selected.
This becomes more important if by mistake more than 2 files are selected in directories in which there are multiple versions of the same file, and therefore it is more difficult to realize that the files you really want to compare are not being compared.
Thanks
Re: Compare by content warning message
No RC shouldnt especially as Tools like WinMerge can compare 3 at the same time.
Hoecker sie sind raus!
Re: Compare by content warning message
I was talking about cm_IntCompareFilesByContent not about cm_CompareFilesByContent, so AFAIK WinMerge will not be affected at all.
I hope Christian will consider it, and meantime i have added a warning message using Ahk.
Re: Compare by content warning message
2Galizza
As a workaround you can use this button:
As a workaround you can use this button:
Code: Select all
TOTALCMD#BAR#DATA
%COMSPEC% /C
%Qif not exist "%P" ((echo Drive not supported) & pause) else if exist "%P%S1\*" ((echo Do not select folders!) & pause) else if not "*%C3"=="*" ((echo More than two files are selected!) & pause) else if "*%S1"=="*%S2" ((echo Only on file is selcted!) & pause) else start %%COMMANDER_EXE%% /i="%%COMMANDER_INI%%" /O /S=C "%C1" "%C2"
wcmicons.dll,49
Compare Contents - only if two files are selected
-1
It will only open the Compare by Contens dialog if excactly two files are marked in the same panel - otherwise you will get an error shown in a DOS consiole. It will not work inside archives or on FTP sites and File system plugins.To make the button:
1. Mark the text in the box here above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctrl+C).
3. Right click on TC's buttonbar and choose "Paste".
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Compare by content warning message
Thankspetermad wrote: As a workaround you can use this button