Loop throught pdf to create multiple merged pdf

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
rjobaan
Posts: 30
Joined: 14 Jul 2012 11:16

Loop throught pdf to create multiple merged pdf

#1 Post by rjobaan » 16 Jul 2012 12:36

In my previous post we succeeded in creating one merged pdf with bookmarks.

But now its need to be done for more. (probably we can loop it all)

I have have three pdf's
Report 1.pdf with bookmarks
AA
BB
CC
Report 2.pdf with bookmarks
AA
SALES UK
SALES VS
BB
SALES UK
SALES VS
CC
SALES UK
SALES VS

Report 3.pdf with bookmark
AA
BB
CC

I need to create the following three merged pdf files
MAIN REPORT AA.PDF
MAIN REPORT BB.PDF
MAIN REPORT CC.PDF

How can i loop throught it all?

Please check out my post automatically merge pdf first
http://www.dostips.com/forum/viewtopic.php?f=3&t=3534

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: Loop throught pdf to create multiple merged pdf

#2 Post by Squashman » 18 Jul 2012 05:56

rjobaan, I would just keep your existing thread going about creating these merged PDF files then starting a new thread about the topic.

rjobaan
Posts: 30
Joined: 14 Jul 2012 11:16

Re: Loop throught pdf to create multiple merged pdf

#3 Post by rjobaan » 18 Jul 2012 12:18

No that's not the case, the other threads are different.
Maybe i can just start new tread, because im alos a little bit lost....im trying to explain what i what but its difficult.
I will start new threat explain current code and adjusted requirement

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: Loop throught pdf to create multiple merged pdf

#4 Post by Squashman » 18 Jul 2012 12:22

rjobaan wrote:No that's not the case, the other threads are different.
Maybe i can just start new tread, because im alos a little bit lost....im trying to explain what i what but its difficult.
I will start new threat explain current code and adjusted requirement


And there lies the root of the problem. Your initial questions when you joined this forum were really not what your intended result was suppose to be. Foxidrive just pointed that out in one of your threads. He wrote a script it worked but then you changed the parameters of what you needed for output. When you change the parameters of the script it could mean a complete rewrite of the script.

rjobaan
Posts: 30
Joined: 14 Jul 2012 11:16

Re: Loop throught pdf to create multiple merged pdf

#5 Post by rjobaan » 18 Jul 2012 12:27

Squashman wrote:
rjobaan wrote:No that's not the case, the other threads are different.
Maybe i can just start new tread, because im alos a little bit lost....im trying to explain what i what but its difficult.
I will start new threat explain current code and adjusted requirement


And there lies the root of the problem. Your initial questions when you joined this forum were really not what your intended result was suppose to be. Foxidrive just pointed that out in one of your threads. He wrote a script it worked but then you changed the parameters of what you needed for output. When you change the parameters of the script it could mean a complete rewrite of the script.


I know, but i thought let me start small. Its also difficult to explain. And i did not know you guys where that great in helping me and understanding me.
And i also did not know that any change, is a rewrite of the script.
Sorry for that. but im also learning

Post Reply