Action Wizard - Insert pages based on the name of the original file
- April 18, 2024
- 2 replies
- 2059 views
I am trying to build an Action Wizard but, what I am trying to do might be solved by a Jave Script.
I have a bunch of files with names like LUM08900361.pdf and another file with two pages named LUM08900361_GIS.pdf. I would like to be able to combine these two files. The LUM08900361_GIS.pdf will be the last two pages in the LUM08900361.pdf file.
The problem I have and cannot figure out how to do is, I have to do this same step for 170 files.
So the files that go together would be like:
LUM08900361.pdf <-- Insert at end LUM08900361_GIS.pdf and save and overwrite the first file LUM08900361.pdf after insertion. then move to the next file.
LUM08900362.pdf <-- Insert at end LUM08900362_GIS.pdf and save and overwrite the first file LUM08900362.pdf after insertion. then move to the next file.
LUM08900363.pdf <-- Insert at end LUM08900363_GIS.pdf and save and overwrite the first file LUM08900363.pdf after insertion. then move to the next file.
etc.... for a total of 170 files.
Also, the _GIS.pdf files will be stored in a different directory from the original file.
My directory structure is setup like this:
C:\GIS\Reports\LUM08900361.pdf
C:\GIS\GIS Files\LUM08900361_GIS.pdf
The action Wizard seems to me to be the best choise because it will let me choose the whole folder of files. If this works with a Java Scipt I would also be happy.
I have included files to work with.
Thanks
