Copy link to clipboard
Copied
Hi
Is there a way to take a paragraph I've found via scripting and paste it in a new text frame but preserving it's style not just the contents?
thanks!
Use myParagraph.duplicate()
var s = aNewFrame.parentStory;
myFoundGraph.duplicate(LocationOptions.AT_BEGINNING, s);
Copy link to clipboard
Copied
Use myParagraph.duplicate()
var s = aNewFrame.parentStory;
myFoundGraph.duplicate(LocationOptions.AT_BEGINNING, s);