Find/Replace limited to a text selection or the active story! …
hi all,
i can't find syntax limit research!
placing cursor in story or selecting story text frame:
var myselectedcontent = app.selection[0].parentstory.contents;
… or selecting text:
var myselectedcontent = app.selection[0].contents;
… after!? …
app.findgreppreferences = app.changegreppreferences = null; app.findgreppreferences.findwhat = "……"; ……
thanks in advance!
(^/)
More discussions in InDesign Scripting
adobe
Comments
Post a Comment