title: InDesign script searching for a word and printing page number(s)
body: <p>I need an InDesign script that does the following:</p>
  
  <ul>
  <li>Searching for a specific word in a specific paragraph style throughout the document</li>
  <li>Printing the page number(s) to the console or as a .txt (I mean not the amount of pages, but the page number(s), i.e. p6, p11, p48 etc)</li>
  </ul>
  
  <p>I am using CS6 and JS.</p>