Get the current page content
Hi,
Although I have fetched the content of the InDesign document, I need the current page content. Could you please assist me with this?
To get the InDesign document's content, I used this.
var myDoc = app.activeDocument;
var myText= "";
for (var i = 0; myDoc.stories.length > i; i++)
myText += myDoc.textFrames[i].texts[0].contents;
alert("Document contains " + myText );
