Hi, I have searched thoroughly but couldn't find any easy answer.
Is it possible to highlight the files if the filename is same in both panels?
Thank you
Compare filename in two panels (left and right) and highlight the same files with same filename.
Moderators: Hacker, petermad, Stefan2, white
Re: Compare filename in two panels (left and right) and highlight the same files with same filename.
This button should do it:
If you only want it to work with files and not folders you can use this button:
Code: Select all
TOTALCMD#BAR#DATA
cm_SelectAllBoth,cm_CopyNamesToClip,cm_FocusTrg,cm_GoToFirstEntry,cm_ClearAll,cm_LoadSelectionFromClip,cm_CopyNamesToClip,cm_FocusTrg,cm_ClearAll,cm_LoadSelectionFromClip
wcmicons.dll,72
Mark files and folders that exist in both windows
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".
If you only want it to work with files and not folders you can use this button:
Code: Select all
TOTALCMD#BAR#DATA
cm_SelectAllFiles,cm_CopyNamesToClip,cm_FocusTrg,cm_GoToFirstEntry,cm_ClearAll,cm_LoadSelectionFromClip,cm_CopyNamesToClip,cm_FocusTrg,cm_ClearAll,cm_LoadSelectionFromClip
wcmicons.dll,70
Mark files that exist in both windows
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Compare filename in two panels (left and right) and highlight the same files with same filename.
To petermad
As it is now, the previous markings on the folders from command: 'Mark files and folders that exist in both windows'
are NOT removed, when you subsequently use 'Mark files that exist in both windows'
Therefore I have a suggestion for your button: 'Mark files that exist in both windows':
If you put these commands in front of the other commands:
then older markings will always be deleted first.
PS. It could also be used as a header in 'Mark files and folders that exist in both windows' -and many other places.
As it is now, the previous markings on the folders from command: 'Mark files and folders that exist in both windows'
are NOT removed, when you subsequently use 'Mark files that exist in both windows'
Therefore I have a suggestion for your button: 'Mark files that exist in both windows':
If you put these commands in front of the other commands:
Code: Select all
cm_ClearAll,cm_FocusTrg,cm_ClearAll,cm_FocusTrg
PS. It could also be used as a header in 'Mark files and folders that exist in both windows' -and many other places.

HerbieH*
-Keep on makin' music!
-Keep on makin' music!
Re: Compare filename in two panels (left and right) and highlight the same files with same filename.
2HerbieH
It is only for the "Mark files that exist in both windows" button that it is necessary to clear the list first - so I only need to put cm_ClearAll in the front - the target was already cleared.
It is only for the "Mark files that exist in both windows" button that it is necessary to clear the list first - so I only need to put cm_ClearAll in the front - the target was already cleared.
Code: Select all
TOTALCMD#BAR#DATA
cm_ClearAll,cm_SelectAllFiles,cm_CopyNamesToClip,cm_FocusTrg,cm_GoToFirstEntry,cm_ClearAll,cm_LoadSelectionFromClip,cm_CopyNamesToClip,cm_FocusTrg,cm_ClearAll,cm_LoadSelectionFromClip
wcmicons.dll,70
Mark files that exist in both windows
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar