I have scanned a 64 page folder, by releasing the staples and scanned all the pages in a document scanner. Now I’m looking for an easy way to split the pages, sort them and create a PDF.
Example: Front and Back are scanned together.
Page 1 and 63 are scanned together.
Page 2 and 62 are scanned together.
…and so on…
When I have done this kind of work before I have splitted it all manually in Photoshop, and stitched all together in Acrobat Pro. But there surely must be an easier way?
When you say “scanned together”, you may mean “scanned both onto one page side-by-side”. When you say “split … manually” you may mean “split … in two halves manually”.
You would benefit in this case by a PDF app or a PDF shell script that can be scripted to crop the pages. I can recommend pdfCropMargins.
Here is an example AppleScript that I use to reset the margins on a PDF document from an app that always seems to generate a PDF with 0.5in left margin and 1.5in right margin.
(*
crop PDF document margins
author: jjw
version 1.0
*)
use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
property pdfcrop : "/usr/local/bin/pdf-crop-margins -gsp '/usr/local/bin/gs' -p 0 -a -72 -mo -o "
on run {}
tell application "Finder" to set theFile to selection
if theFile is {} then return
if the kind of item 1 of theFile is not "PDF document" then return
tell application "Finder" to set theFileAlias to selection as alias
set theFilePath to POSIX path of theFileAlias
set theFileDir to my get_sourceFolder(theFilePath) & "/"
set theSource to the quoted form of theFilePath
set theFolder to the quoted form of theFileDir
set pdfCMD to pdfcrop & theFolder & " " & theSource
set theResult to do shell script pdfCMD
end run
on get_sourceFolder(theFilePath)
set tid to AppleScript's text item delimiters
set AppleScript's text item delimiters to "/"
set theReturn to (text items 1 through -2 of theFilePath) as text
set AppleScript's text item delimiters to tid
return theReturn
end get_sourceFolder