Question
Moving text frame contents to new document (JS, CS2)
I suspect that this is very simple, but I am JS amateur and I just haven't quite been able to put it together.
In the most general terms, here is what I hope to do with a script:
Copy the contents of an active text frame in a working document
Open an existing template (ie. myTemplate.indt)
Insert the copied contents into a target text frame on the newly opened template
As a bonus, it would be awesome to autoflow (adding pages as necessary) the text in the new document.
I think that I have pieces of this working, but trying to learn and understand what each step needs to be. Thank you very, very much in advance for any help.
Cheers!
-Scott
In the most general terms, here is what I hope to do with a script:
Copy the contents of an active text frame in a working document
Open an existing template (ie. myTemplate.indt)
Insert the copied contents into a target text frame on the newly opened template
As a bonus, it would be awesome to autoflow (adding pages as necessary) the text in the new document.
I think that I have pieces of this working, but trying to learn and understand what each step needs to be. Thank you very, very much in advance for any help.
Cheers!
-Scott
