Change page sequence in a .pdf-file automatically with enfocus switch
Maybe a really simple problem...!? But how can I change page sequence automatically in a .pdf-file with enfocus switch? My problem is: my first page of .pdf-file (one file with 48 pages) should change into the last and otherwise (last page into the first). I looking for a flow. May somebody can give me a advice.
Change page sequence in a .pdf-file automatically in enfocus switch
-
dkelly
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
Use SplitPDF then Rename to change the 1st and last page file names and finally MergePDF to put them back together.
If you have more complex needs, you could write a simple routine to rename the files in the correct order.
If you have more complex needs, you could write a simple routine to rename the files in the correct order.
-
steffen.m.maier
- Newbie
- Posts: 4
- Joined: Mon Feb 03, 2014 3:08 pm
Dear dkelly, thanks for your post. But I will not manually change/rename pages. I need a application which I can integrate in switch...
Of course you do not have to rename the files manually. That is what the "Rename job" element is there for. There is one thing you have to consider: after "Split PDF" the 48 individual PDF files are in a folder, so you have to change the "Files inside job folder" from "Leave alone" to "Rename files".
For the rename actions use "Search and replace" on the filename proper and I recommend to use "Define regular expression" with value _01$. The replace string is of course _048. And there is a second action to change _048 to _01.
Freddy
For the rename actions use "Search and replace" on the filename proper and I recommend to use "Define regular expression" with value _01$. The replace string is of course _048. And there is a second action to change _048 to _01.
Freddy
-
steffen.m.maier
- Newbie
- Posts: 4
- Joined: Mon Feb 03, 2014 3:08 pm
Dear Freddy, thanks a lot for your kind help. But my created flow doesn't work, with your properties.
-
dkelly
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
I created a simple flow that renames 1st and last files in a job folder using just the Rename files element.
https://www.dropbox.com/s/zmhgng9l64psh ... iles.sflow
Dwight Kelly
Apago, Inc.
https://www.dropbox.com/s/zmhgng9l64psh ... iles.sflow
Dwight Kelly
Apago, Inc.
-
steffen.m.maier
- Newbie
- Posts: 4
- Joined: Mon Feb 03, 2014 3:08 pm
Dear dkelly, thank you very much for your help. Now my flow is working perfectly and I'am really satisfied.
Once again, great job! Greetings Steffen
Once again, great job! Greetings Steffen