var myInlineTextFrame = myPage.textFrames.add();
with (myInlineTextFrame) {
bla, bla, bla... (настроили);
}
myInlineTextFrame.select(SelectionOptions.replace);
copy();
var myBaseTextFrame = myPage.textFrames[0];
myBaseTextFrame.insertionPoints[N].select(SelectionOptions.replace);
paste();