Page 1 of 1

file compare using plugins

Posted: 2017-04-18, 15:31 UTC
by billiebub
I'm not sure if this already exists or has been covered but wouldn't it make sense that when you compare two files that are in binary format to also have the option to compare the files from the output of plugins (say a lister plugin)?

Posted: 2017-04-18, 16:22 UTC
by MVV
Sorry, WLX interface doesn't support returning output.

But WDX interface allows comparing files via special compare functions...

Posted: 2017-04-18, 16:34 UTC
by sqa_wizard
You may use your own program to do a (binary) file compare just by adding a line to wincmd.ini.

e.g. for WinMerge:

Code: Select all

CompareTool=C:\Tools\WinMerge\WinMergeU.exe

Posted: 2017-04-18, 18:20 UTC
by billiebub
Sorry, WLX interface doesn't support returning output.

But WDX interface allows comparing files via special compare functions...
Take for example anycmd lister plugin which returns the output and displays it within lister. How difficult is it to to get these outputs and compare? Right now you're stuck at saving the outputs and then compare.

You may use your own program to do a (binary) file compare just by adding a line to wincmd.ini.

e.g. for WinMerge:
Code:
CompareTool=C:\Tools\WinMerge\WinMergeU.exe
The issue is not comparing the binary data but more like comparing the output of plugins such as lister plugins.

Posted: 2017-04-18, 19:51 UTC
by MVV
How difficult is it to to get these outputs and compare?
Lister plugins create their own windows and can do anything with these windows, and there is no common way of retrieving text from them.