I am new to indesign scripting.
I need to add the Framebreak at the end of textframe.
can anyone help me???
Select the particular frame and try the following code:
var myFrame = app.selection;
myFrame.parentStory.insertionPoints.item(-1).contents = SpecialCharacters.frameBreak;
I hope this will work for your requirement.
It works fine. Thanks for your quick reply.