Order pages: to move pages 3 to 5 before 1, just type "3-5 1" in field
Delete pages: to delete pages 3-6, just type "1-2 7-end" in field
Extract pages: to extract pages 2-6, just type "2-6" in field
Rotate files (+90°/-90°/180°)
Protect selected PDF files with password
Unprotect selected PDF files
Compress PDF files
All buttons can be right clicked to display DOS prompt
PDFtk installation and configuration
Download and install PDFtk Free from here PDFtk - The PDF Toolkit.
By default, installation path is "C:\Program Files (x86)\PDFtk" but you can choose another path (USB device for example).
To make the toolbar buttons work, you need to have a Folder Alias "/pdftk" of path installation. See below.
You can copy "AlbatorV-PDF Toolbar.dop" file to "/dopusdata/buttons"
Or you can import "AlbatorV-PDF Toolbar.dop" file from Customize/File/Import toolbar
You need to localise "pdftk.exe" file, select this file (just select, not double clic) and click "Localise pdftk.exe" button in the Toolbar Help menu. This action add new Folder Alias "/pdftk" and buttons should work.
Notes
v3: Updated toolbar and link to current version of PDFTK 2.0.2 24/08/2013
v2: Updated download link to current version of PDFTK 1.44 3/1/11
This is VERY cool. I have been using PDFTK every few weeks for several years, and this has great promise to simplify the tasks I often do.
Now I need to play around with some modified scripting. What I most often do is something like take a few pages from Document A, then a few from Document B, then the rest of Document A. Sometimes I might have a dozen or so such instructions on the command line.
Almost three years after your last edit of the original post, I'm giving this toolbar a try.
I had a few problems, so I made the following changes to my setup of your toolbar:
Installed it into /home\Tools\pdftk (leaving off the version number)
Had to fix the rotate commands to use 1-endright, 1-endleft, and 1-enddown instead of the 1-endR, 1-endL, and 1-endS. I'm guessing they deprecated the R, L, and S shorthand?
Modified the rotate left command as it was not a complete path:
Old version: pdftk {allfile$} cat 1-endL output "{file|noext}_(+90°).pdf"
New version: /home\Tools\pdftk\pdftk.exe {allfile$} cat 1-endleft output "{file|noext}_(+90°).pdf"
Reminder: I removed the version number from the folder name.
All of that being said, I absolutely love this toolbar. I work with PDFs quite a bit in my job and this will save me a lot of steps without needing to ask management for a full copy of Acrobat.
I had the need to rotate a pdf, and remembered your toolbar.. o)
@Albator
Did you update the toolbar to reflect DesertDwarfs findings? I ask because I also have some difficulties.
The rotate buttons don't seem to work?
Did not investigate much, but the commandline options of pdftk are not very straightforward. Why does "cat 1-endeast" rotate right and why isn't the "rotate" argument used for this operation as one would expect. Strange. o)
Thanks, I may stick to what I said, what a weird commandline! o)
I created a menu-button (PDF-Toolkit Menu (PDF merge, extract, protect, unprotect, organize)) from the work you already put into your toolbar. Fixed some texts and prompts and the commandlines in the buttons contained. Thank you! o)
Hi, I know this is quite an old forum at this point, but the functionality of this tool would be indispensable if it could be made to work! I have tried the solutions from previous comments but am afraid PDFtk may have changed up their commands perhaps?