New sub-menu on command for Files ext. comparison

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

New sub-menu on command for Files ext. comparison

Post by *AntonyD »

We have a command "cm_CompareFilesByContent" to call a third party file comparison tool instead of the built-in cmd (cm_IntCompareFilesByContent). And that's good - and it works.
BUT! files are different and the means of comparing them are also different often, and sometimes the tool that is well suited for files of type A is completely inconvenient for comparing files of type B. Therefore, it is proposed to enter in the GUI-settings! not in the mode of manual editing of the wincmd.INI file! LIST of external comparison tools and display a MENU with their names when calling an external comparison command. So that you always will have the opportunity to choose the ideal tool for the operation "Compare" on 2 files.
#146217 personal license
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: New sub-menu on command for Files ext. comparison

Post by *Gral »

How is TC supposed to know about any file diff tools? If you haven't downloaded and installed anything, TC is supposed to download and install some tools itself? Even if TC installs 10 different tools, you may still not have the one that is needed for specific files, and it exists somewhere on the net.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: New sub-menu on command for Files ext. comparison

Post by *Horst.Epp »

I do that job with a button using the %c1 %c2 parameters.
This button as menu allows any number of comparision tools.
Most of the time Beyond Compare configured as comparison tool
is enough as its supports already many file types.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: New sub-menu on command for Files ext. comparison

Post by *AntonyD »

How is TC supposed to know
I thought I written all perfectly:
" it is proposed to enter in the GUI-settings! not in the mode of manual editing of the wincmd.INI file! LIST of external comparison tools"
I will create a list of installed by me in my OS all comparison tools - a list INSIDE the GUI-settings of TC!
I will directly supply in this list full path to the tool itself and the name of this comparison tool.
The TC is only responsible for holding of this list and make from it the corresponding menu which should arise above the mouse cursor when I will call TC's command for external compare process starting.
#146217 personal license
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: New sub-menu on command for Files ext. comparison

Post by *AntonyD »

Horst.Epp wrote: 2022-07-27, 17:52 UTC I do that job with a button using the %c1 %c2 parameters.
Mostly the compare process is starting from inside the Synchronize Dir window. Which is not holding the ability to have some buttons on some toolbar ...
#146217 personal license
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: New sub-menu on command for Files ext. comparison

Post by *Gral »

So maybe a more universal solution request then - allow call user toolbar from Synchronize Directories window.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: New sub-menu on command for Files ext. comparison

Post by *Horst.Epp »

AntonDudarenko wrote: 2022-07-27, 17:58 UTC
Horst.Epp wrote: 2022-07-27, 17:52 UTC I do that job with a button using the %c1 %c2 parameters.
Mostly the compare process is starting from inside the Synchronize Dir window. Which is not holding the ability to have some buttons on some toolbar ...
For me Ctrl-F3 in the synchronize window starts the configured CompareTool Beyond Compare.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: New sub-menu on command for Files ext. comparison

Post by *AntonyD »

Gral wrote: 2022-07-27, 18:04 UTC So maybe a more universal solution request then - allow call user toolbar from Synchronize Directories window.
Probably most intuitive and pleasant))) option, but, IMHO - will require much more efforts in order for implement this in comparison))) with my idea - show only simple context menu.
#146217 personal license
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: New sub-menu on command for Files ext. comparison

Post by *AntonyD »

Horst.Epp wrote: 2022-07-27, 18:06 UTC For me Ctrl-F3 in the synchronize window starts the configured CompareTool Beyond Compare.
But this ins only the one tool - I suggest to allow for user (if he|she will want it at all - at the settings) - to get the context menu araised where all available tools will be listed - so user can choose on-the-fly - by which tool to continue the comparison process.
#146217 personal license
Post Reply