Created
November 15, 2014 07:04
-
-
Save cockscomb/ed3b2ea23a58d4aa1e43 to your computer and use it in GitHub Desktop.
本の自炊で間違って逆順にスキャンしてしまったときAcrobatで順番を修正するJavaScript
This file contains 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
function reorder() | |
{ | |
var lastPage = this.numPages - 1; | |
for (var i = 0; i <= lastPage; ++i) { | |
this.movePage(0, lastPage - i); | |
} | |
} | |
reorder(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment