Hello,
I need to come up with a way of combining daily extracted pdfs in the proper order but am having problems with the number of different publications.
Our naming convention is :
pub date section
--------------------
MM_111412_A01.pdf
MM_111412_A02.pdf
MM_111412_B01.pdf
MC_111412_A01.pdf
WR_111412_A01.pdf
I can do this for one pub easily i.e.
Formatted for
Autohotkey with the GeSHI Syntax Highlighter [
copy or print]
pub = MM
dest = D:\DATA\archives\hot\
filename1 = %pub%_%date%_*.pdf
Runwait %comspec% /c pdftk
%filename1% cat output
%dest%EA_
%date%.pdf
But with 7 different pubs, some of which may or may not appear on a daily basis, I am stuck.
Here's what I came up with but it is not getting every pub and some pages are repeating. I am trying but am an amateur N00B

Also, the pub order is as seen top to bottom.
Formatted for
Autohotkey with the GeSHI Syntax Highlighter [
copy or print]
pub = MM
pub2 = MC
pub3 = FE
pub4 = CS
pub5 = RE
pub6 = VL
pub7 = WR
dest = D:\DATA\archives\hot\
filename1 = %pub%_%date%_*.pdf
filename2 = %pub2%_%date%_*.pdf
filename3 = %pub3%_%date%_*.pdf
filename4 = %pub4%_%date%_*.pdf
filename5 = %pub5%_%date%_*.pdf
filename6 = %pub6%_%date%_*.pdf
filename7 = %pub7%_%date%_*.pdf
FileList =
{
FileList = %FileList%%A_LoopFileName%`n
Runwait %comspec% /c pdftk
%filename1% %A_LoopFileName% cat output MTR_
%date%.pdf
}
Can anyone help?