i need to get value from locked text frame
i tried with the following code
app.findGrepPreferences.appliedParagraphStyle = paraStyle;
var paragraphs= doc.findGrep();
the value which i want to get is in the locked text frame, so its not coming in paragraphs= doc.findGrep();
Please suggest me with solution.
app.findChangeGrepOptions.includeLockedLayersForFind = true;
app.findChangeGrepOptions.includeLockedStoriesForFind = true;
Add this piece of code in before the findPreferences code.