- Make sure scriptcs is installed
- Install packages
scriptcs -install - Run
scriptcs start.csx -- input.pdf output.pdf 1 3 - Pages 1 - 3 from input.pdf will be extracted and saved as output.pdf
The arguments to the script are inputFile outputFile startPage endPage.