Skip to content

Instantly share code, notes, and snippets.

@Snuupy
Snuupy / VitalSource Bookshelf to PDF.scpt
Created May 7, 2017 04:49
Automatically outputs VitalSource books (probably your textbooks) to non-DRM'd PDF.
set totalPages to 1000 -- put total number of pages here
set startPage to 0
set authorName to "YOUR AUTHOR HERE -- put author name here
tell application "VitalSource Bookshelf"
activate
repeat with theIncrementValue from startPage to totalPages - 1 by 5
if (theIncrementValue = 0) then
set thisValue to "1" -- if we're just starting, start at 1
else
### Keybase proof
I hereby claim:
* I am snuupy on github.
* I am snuupy (https://keybase.io/snuupy) on keybase.
* I have a public key ASD1TF3BFHLy4n1xgAcNl1cTmUWP0_FSFQObyBs739w7HAo
To claim this, I am signing this object: