Code to be evaluated! [007] // Grep Research and Text Frame …
Hi Scripters,
I make a Grep research on a "XXX" para style and I want, after, to manipulate the text frame containing the paras I found!
So, is this code correct to begin?
var myDoc = app.activeDocument;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.appliedParagraphStyle = "XXX";
var myFound = myDoc.findGrep();
for(var F = 0; F < myFound.length; F++)
{
var myTextFrame = myFound
.parent.textFrames; //………
}
Thanks in advance! ![]()
(^/)