0

I would need to copy all the text, formatting and images to another textframe. I've tried with text but it only copies the first textframe and not all the text from the threaded textframe.

thanks

Totty.js
  • 15,563
  • 31
  • 103
  • 175

1 Answers1

4

Here's a 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();
Josh Voigts
  • 4,114
  • 1
  • 18
  • 43