Page 1 of 1

Loop throught pdf to create multiple merged pdf

Posted: 16 Jul 2012 12:36
by rjobaan
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

Re: Loop throught pdf to create multiple merged pdf

Posted: 18 Jul 2012 05:56
by Squashman
rjobaan, I would just keep your existing thread going about creating these merged PDF files then starting a new thread about the topic.

Re: Loop throught pdf to create multiple merged pdf

Posted: 18 Jul 2012 12:18
by rjobaan
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

Re: Loop throught pdf to create multiple merged pdf

Posted: 18 Jul 2012 12:22
by Squashman
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.

Re: Loop throught pdf to create multiple merged pdf

Posted: 18 Jul 2012 12:27
by rjobaan
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