Adding Pages?
Learn / Forums / General InDesign Topics / Adding Pages?
- This topic has 22 replies, 7 voices, and was last updated 4 years, 3 months ago by Henry King.
-
AuthorPosts
-
-
March 24, 2017 at 3:59 am #93101Mal LathamParticipant
Hi, I have a document that has 55 pages, I need to add a new page inserted after each one. It is a data merged document, with consecutive serial numbers. The client has now asked for the back of each to be printed. So I need to insert a page after each, with the new copy? Is there a script that can do this? A bit of a long shot but I have 6 of these to do.
-
March 24, 2017 at 5:41 am #93104Kai RübsamenMember
Hi Malcom,
the task is not clear! Insert a page after each is no problem. What do you mean with “new copy”? > Example!
Kai
-
March 25, 2017 at 3:49 pm #93143Dwayne HarrisMember
There is no need for exclamation points or being a pompous ass.
-
-
March 24, 2017 at 8:29 am #93106David BlatnerKeymaster
I don’t think there is any easy way to add more pages after you’ve created the data merge document. But you could create a new PDF and then “collate” them:
https://forums.adobe.com/thread/286654 -
March 24, 2017 at 8:32 am #93107Chris ThompsonMember
“new copy” = “new text” (I guess).
“Copy” is designer-ese for text, as used in “copywriter”, someone whose job is to write for publications/adverts etc.
Chris. -
March 24, 2017 at 9:08 am #93110Kai RübsamenMember
It seems, that Malcolm has no interest anymore and like to do his job by hand. Since this: “So I need to insert a page after each, with the new copy?” is not clear to me, even if this means insert text (which kind of text? by hand? automatically?)
Anyway: If someone wants to add pages between pages:
(function () { var curDoc = app.activeDocument, allPages = curDoc.pages, nPages = allPages.length, curPage, i,p; for (i = nPages-1; i >= 0; i--) { curPage = allPages[i]; p = curDoc.pages.add(); p.move(LocationOptions.AFTER, curPage); } }) ();
-
March 25, 2017 at 3:08 am #93122Mal LathamParticipant
Hi Kai, thanks for the assistance but I don’t think it gives you the right to assume I have lost interest in the matter? To try and simplify it for you, assume I have a 55 page document with a massive number on each page i.e 1-55. I need to insert a page after each one with a massive X on it making a 110 page document with each alternate page having an X on it. It doesn’t have to be “copy” (Text) It could be a PDF or an image. I would create this as a Master Page “B” and then have it alternate pages. Regards, Mal
-
March 25, 2017 at 3:10 am #93123Mal LathamParticipant
Thank you David Blatner for an alternative method, I will try that one for sure.
-
March 25, 2017 at 7:32 am #93124Kai RübsamenMember
Malcom, if you write in an prof. forum, chances are good, that you get an answer within few hours. So if someone has a question, cause he don’t understand the problem, it is good practice to answer this question within few hours too ;-)
Did you test the script? Seems that it would solve your problem. And yes, the script could also apply a Master B.
Kai
-
March 25, 2017 at 9:40 am #93127Dwayne HarrisMember
Kai–many times topics here can go days without an answer or a reply. I don’t think Malcolm returning 24 hours later means he isn’t interested.
-
March 25, 2017 at 11:41 am #93141Mal LathamParticipant
Hi Dwayne, thanks for that but it wasn’t even 24 hours! Forum Software was playing up!, Never mind hopefully I’ll get the issue sorted when I get back to work on Monday, Cheers!
-
March 25, 2017 at 3:47 pm #93142Dwayne HarrisMember
No need to apologize, Malcolm. I realize it was less than 24 hours. I was just going by the times that show up.
In any event-whether it was 2 hours or 24 hours, no member here should accuse someone (i.e., you) of not giving a crap about their post.
I ticks me off that you were treated that way.
-
-
March 25, 2017 at 9:23 am #93126Mal LathamParticipant
Hi Kai, I did try and reply several times but every time I hit submit the post disappeared. I haven’t tried the script yet, finish work at 3pm on a Friday, not back till 8am Monday morning, will try it again. Thanks
-
March 25, 2017 at 10:24 am #93105Mal LathamParticipant
Hi Kai, thanks for responding so promptly, i’ll try and explain it a little better! The current document contains 55 spreads of A5 (2 to view) each is individually numbered. The client now wants these backed up with further information. So after page 1 I need to add a new page to print on the back and so on for all 55 pages. Currently I can do it manually by creating a master page B and dragging it in the page view palette so that it inserts it below page 1 and so on for the 55 pages, making a total of 110 pages. this is so that when I send it to our laser as a duplex document it prints the original front and he new info on the back. I hope this helps?
-
March 25, 2017 at 10:26 am #93139David BlatnerKeymaster
Very sorry, Malcom! Our forum software was holding your post (above) since yesterday. I don’t know why it held it. But yes, you did reply yesterday… our software did not let it through.
–david b.
-
March 26, 2017 at 10:47 am #93144Kai RübsamenMember
Dwayne, your stupid comments are not helpful for anybody and do especially not solve the problem! I would strongly advise you not to say anything if you have nothing to say.
Malcom, thanks for a detailed explanation of the problem. It wasn’t my intention to yelling with you, sorry.
If you want to apply the master B while creating new pages, you could do it in this way:(function () { var curDoc = app.activeDocument, allPages = curDoc.pages, nPages = allPages.length, curPage, i,p, newMaster = curDoc.masterSpreads.itemByName("B-Masterpage"); for (i = nPages-1; i >= 0; i--) { curPage = allPages[i]; p = curDoc.pages.add({appliedMaster: newMaster}); p.move(LocationOptions.AFTER, curPage); } }) ();
Kai
-
March 26, 2017 at 2:33 pm #93146Dwayne HarrisMember
Stupid comments? And you expect me to take your advice of whether I should post or not?
You know you were clearly wrong as you even apologized for yelling at Malcolm.
With that being said, thank you for your latest post helping Malcom. I’m sure it will be helpful and others may find it helpful as well.
I have no intention of getting into a pissing match with you, or trading insults. -
March 26, 2017 at 3:13 pm #93147David BlatnerKeymaster
OK, everyone please take a deep breath. Dwayne and Kai, I know you are both trying to be helpful…
(Dwayne, I think Kai may be referring to something you posted earlier and which you may have deleted.)
We all get frustrated and write things we don’t need to say sometimes. I know I do! But let’s just let this go for now, okay?
Thanks.
-
March 29, 2017 at 2:45 pm #93189Dwayne HarrisMember
David, I’m calmed down. And I should not have taken it personally.
But I don’t recall deleting any of my posts.
-
-
March 27, 2017 at 2:55 am #93148Mal LathamParticipant
Hi Guys, sorry to have caused such a kafuffle! In the end I’ve gone with the Collated PDF route, suggested by David, thanks for all your input though. Cheers, Mal
-
November 10, 2019 at 10:10 pm #14323734Henry KingMember
Hi Kai, I used your script. It worked perfectly, thank you!
-
December 4, 2019 at 10:58 am #14323627Elias GadisaMember
hi everyone, I am new to the scripting & stuff. but I need the exact thing just like Henry King. how can I change the given script code to jsx?
-
December 4, 2019 at 1:37 pm #14323625Elias GadisaMember
nevermind, I figured it out & it works perfectly. thank you very much Kai Rübsamen! you are a life savior.
-
-
AuthorPosts
- You must be logged in to reply to this topic.