Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If regular search does not work, try the built in scripting, of which you can use Javascript, Visual Basic Script, or AppleScript to code. I'm going with JS...</p> <p>I'm no expert, but I found this code snippet from page 101 of <a href="http://www.adobe.com/products/indesign/scripting/pdfs/InDesignCS5_ScriptingGuide_JS.pdf" rel="nofollow noreferrer">InDesignCS5_ScriptingGuide_JS.pdf</a> and modified it a bit:</p> <pre><code>var folder = new Folder("C:/Path/To/Files"); var files = folder.getFiles('*.indd'); for (var i=0; i&lt;files.length; i++) { var file = files[i]; open(file): var myDocument = app.activeDocument; //Clear the find/change text preferences. app.findTextPreferences = NothingEnum.nothing; app.changeTextPreferences = NothingEnum.nothing; //Search the document for the string "Important Text". app.findTextPreferences.findWhat = "Important Text"; //Set the find options. app.findChangeTextOptions.caseSensitive = false; app.findChangeTextOptions.includeFootnotes = true; app.findChangeTextOptions.includeHiddenLayers = true; app.findChangeTextOptions.includeLockedLayersForFind = true; app.findChangeTextOptions.includeLockedStoriesForFind = true; app.findChangeTextOptions.includeMasterPages = true; app.findChangeTextOptions.wholeWord = false; //Perform search var myFoundItems = myDocument.findText(); if (myFoundItems.length) { alert("FOUND!"); break; } app.findTextPreferences = NothingEnum.nothing; app.changeTextPreferences = NothingEnum.nothing; myDocument.close(); } </code></pre> <p>Don't quote me on that, I did not actually run the code, but that's the idea.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload