2 Replies Latest reply on May 6, 2016 5:35 AM by JustOneBren

    Find/Change Preference - Include Locked Layers and Locked Objects (Find Only)

    JustOneBren Level 1

      Hi All,


      Wondered if anyone can help, I am trying to make sure the "Include Locked Layers and Locked Objects (Find Only)" option on the Find/Change box is active when the script below is run because when it is deactivated the Find/Change text will not search locked layers and objects.

      In InDesign this icon can be found in the Find/Change Dialog box, just under the "Search:" drop-down menu, left hand icon.


      //Replace 'Page Type' Text

      app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;

      app.findTextPreferences.findWhat = "Page Type";

      {finds = app.activeDocument.findText()[i].contents = "STET";}


      Any help would be great thanks, Brendan