Created
January 30, 2018 16:08
-
-
Save judismith/2bcd1ade329c4a54ceef88e7ee1656bc to your computer and use it in GitHub Desktop.
Apple Script to reverse page order in PDFPen Pro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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