Pages Extraction Script #4327
Replies: 2 comments 1 reply
-
|
Not bad but you can use one cmd line to extract a single page or a whole file without slower VBS as an intermediate. Using |
Beta Was this translation helpful? Give feedback.
-
|
Your suggestion is a bit ambiguous - would it ask for page ranges (e.g. 10,17-20) and destination file (e.g. r:\lamium.pdf) ? (On a side note I would say though that VBS isn't slow; one of its virtues is it is very responsive, and here allows you to customise responses such as output name.) d |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I thought this script I made might be helpful for anyone who wants to save extracts of what they have open in Sumatra directly from Sumatra.
If you have or put pdftk.exe on your system (it often is there from other installed programs) then, the following will add a menu item to extract page ranges (which can be gapped ranges) - you need to change 'D:\Scripts\pdf-extract.vbs' to wherever you put the script -
and the script itself as follows which can be saved somewhere, and tweaked however you wish, you can also add it to the explorer "Send To" menu using the same command line as you used just above (for that, run shell:sendto to get to that folder), you will need to change 'C:\Unreg\PdftkBuilderEnhanced\pdftk.exe' to be the location of pdftk.exe on your computer -
Beta Was this translation helpful? Give feedback.
All reactions