RTTSoftware Support Forum
PDF-ShellTools => Ideas/Suggestions => Topic started by: Rick on February 20, 2013, 11:18:31 PM
-
Do you have a utility or can you add it to PDFShell Tools to compare the contents of two or more PDF files...(side-by-side)?
Preferably highlighting the differences, word count, size, etc, etc.
Thanks for considering....
Rick...
-
Something to think about, but I have some doubts on how useful a tool like this may be, and if there is enough interest in such functionality. In what kind of scenarios is this needed?
But, using the PDF-ShellTools My Scripts (http://www.rttsoftware.com/Manuals/STIndex.htm?pageURL=ST/English/MyScripts.htm) functionality, you can easily set up a external tool, such as the diff-pdf (http://vslavik.github.com/diff-pdf/), to run form the PDF-ShellTools shell context menu, with a script like this.
if (pdfe.Arguments.length > 1) {
var params = '--view "' + pdfe.Arguments(0) + '" "' + pdfe.Arguments(1) + '"';
var filepath = pdfe.Arguments(0).substr(0, pdfe.Arguments(0).lastIndexOf('\\') + 1);
var objShell = new ActiveXObject("Shell.Application");
objShell.ShellExecute("C:\\diff-pdf\\diff-pdf.exe", params, filepath);
}
The script assumes the diff-pdf tool is installed at "c:\diff-pdf\", and that two PDF files are selected when invoked.
Check attached screenshots for more details.