How to copy all the contents of various threaded textframes to another textframe in indesign with javascript? -


i need copy text, formatting , images textframe. i've tried text copies first textframe , not text threaded textframe.

thanks

here's simple solution:

var doc = app.activedocument;  var page = doc.pages[0];  var frame1 = page.textframes[0]; var frame2 = page.textframes[1];  frame1.texts.everyitem().select(); app.copy();  frame2.texts.everyitem().select(); app.paste(); 

Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -