4 Replies Latest reply on Jul 8, 2014 10:47 AM by gkaiseril

    Finding pages with comments/markup in many documents (need help)

    Acphire Level 1

      I'm trying to make a script that will find all pages with comments and markup (annotations) for a batch of many documents. The details like which pages have those should be logged to the console, and the user should be alerted if a document does indeed have comments.


      Here's my code: [JavaScript] Find Markup - Pastebin.com

      It works flawlessly when I just run it on one document, but when I add it to an action and run it on many, it becomes very unreliable. Some documents with comments are logged with only a few of the commented pages, and others seem to be completely ignored. Any thoughts on what might be causing this?