AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

pdftk and merging pdf files in proper order

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
biotech



Joined: 24 Feb 2006
Posts: 145

PostPosted: Wed Jun 04, 2008 4:10 pm    Post subject: pdftk and merging pdf files in proper order Reply with quote

i have this problem
around 20 pdfs named like this 1.pdf,2.pdf...etc
when i run this command pdftk *.pdf cat output combined.pdf

they are not in that order in the combined.pdf

is there a proper command to dort this out, i searched the web but nothing
useful came up!

thanks in advance
Back to top
View user's profile Send private message
HugoV



Joined: 27 May 2007
Posts: 499

PostPosted: Wed Jun 04, 2008 4:25 pm    Post subject: Reply with quote

I do it all the time:
pdftk 1.pdf 2.pdf 3.pdf etc... cat output merged.pdf
With AHK you use a loop (filepattern) to get the PDFs from a directory and get them in the correct order
Back to top
View user's profile Send private message
biotech



Joined: 24 Feb 2006
Posts: 145

PostPosted: Wed Jun 04, 2008 7:50 pm    Post subject: Reply with quote

ok, thanks i managed to do it this way
thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group