Duplicate pages
Hello from Holland!
I just have a simple question.
I am making a script to duplicate al pages in a indesign file.
Now it is a file with a couple of single pages.
Page 1
Page 2
Page 3
Page 4
And so on
With the script i want:
Page 1
Page 1
Page 2
Page 2
Page 3
Page 3
I know i can duplicate with a simple script but i just don't know where to search to make it like above.
This is what i have so far.
if (app.documents.length == 0){
alert ("Please open a document, select an object, and try again.");
exit();
}
var myPage = app.activeDocument.pages[0]
myPage.duplicate(LocationOptions.AFTER, myPage);
Already thanks who wants to help me out!
