PDF-ShellTools > Ideas/Suggestions

Utility to compare PDF pages.....

(1/1)

Rick:
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...

RTT:
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 functionality, you can easily set up a external tool, such as the diff-pdf, to run form the PDF-ShellTools shell context menu, with a script like this.


--- Code: ---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);
}

--- End code ---

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.

Navigation

[0] Message Index

Reply

Go to full version