October 23 2009 • 9:20 AM

Scripted Document Differencing

A while back I posted a tip about using the Difference blend mode to compare documents. This method can reveal even the most subtle differences at a glance, but it is rather labor intensive…until now. Kasyan Servetsky, the InDesign scripter who took Find-Change scripting to a new level, has created a script to automate document differencing. It’s called Compare Two Documents, and it takes most of the time and effort out of visual differencing.

The script places all the pages from two documents you choose into a new third document and applies the Difference blend mode. You also get to choose whether differences show up against a white or black background.

Compare two documents dialog box

Once it’s done, the differences have nowhere to hide.

differences on a white background

One tip: make sure your links are up to date before you run the script, since InDesign will ask you if it’s OK to place each page with missing or modified links.

missing or modified links dialog box

Thanks for another great script, Kasyan!

6 Responses discussing this post. Add yours below.

  1. October 23rd, 2009 • 6:23 pm • Link

    That is a seriously excellent and simple piece of work. Thanks a lot, Kasyan!
    Olaf

  2. October 23rd, 2009 • 6:25 pm • Link

    And by simple I don’t mean the scripting–I mean how it simplifies a tedious but often necessary task so it’s something I’ll never again postpone or skip.

  3. Colin Flashman
    October 24th, 2009 • 10:38 pm • Link

    this script rocks out… it’s for winners!

  4. October 25th, 2009 • 6:12 am • Link

    Nice!!!

  5. Nadya Miloserdova
    October 26th, 2009 • 3:31 am • Link

    In my CS4 I encountered the same bug you’ve described for CS3 : “These open documents have not been saved since they were created, please save them and try again.” — though all the documents actually have been saved.
    Anyway, it’s great piece of work! I say, a masterpiece. Thank you!

  6. October 28th, 2009 • 10:17 am • Link

    Nadya-

    I think Kasyan has fixed the “save” bug in the latest version of the script (1.4).

Subscribe to the Discussion

Get the ongoing discussion surrounding "Scripted Document Differencing" delivered to you. Click here to subscribe via RSS.

Leave a Reply

You can use limited HTML tags, such as <em></em> for emphasis/italics and <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

InDesignSecrets reserves the right to edit and/or remove posts and comments.