Skip to content

Instantly share code, notes, and snippets.

@judismith
Created January 30, 2018 16:08
Show Gist options
  • Save judismith/2bcd1ade329c4a54ceef88e7ee1656bc to your computer and use it in GitHub Desktop.
Save judismith/2bcd1ade329c4a54ceef88e7ee1656bc to your computer and use it in GitHub Desktop.
Apple Script to reverse page order in PDFPen Pro
tell application "PDFpenPro"
tell document of front window
set totalPages to count of pages
set pageNo to totalPages - 1
repeat while pageNo ≥ 1
move page pageNo to page (totalPages + 1)
set pageNo to pageNo - 1
end repeat
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment