Answered
Paste text in a new text frame with styling intact (scripting)
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!
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);
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.