Automator Service to Split PDFs


Joined
Jan 29, 2017
Messages
1
Reaction score
0
Hello

I was looking for a way to split large PDFs in Preview to multiple smaller PDFs. I found this link below, which was helpful, but this turns every page into a PDF. Is there a way to modify either his service, or this code below to do every 8 pages? I appreciate your help. I'm not that great with this stuff. Just following step by step to the best of my ability. Thanks.

http://www.documentsnap.com/how-to-split-pdf-documents-into-single-pages-using-mac-osx/

Code Below
------
on run {input, parameters}
set pathList to {}
repeat with itemNum from 1 to count of input
tell application "System Events"
copy POSIX path of (container of (item itemNum of input)) to end of pathList
end tell
end repeat
return pathList
end run
------
 
Ad

Advertisements

Cory Cooper

Moderator
Joined
May 19, 2004
Messages
8,904
Reaction score
342
Hello and welcome.

Sorry for the delayed response.

We aren't very well versed in AppleScript/Automator either. The folks over at MacScripter could probably help you out better.

Hope that helps, and let us know how it goes.

C
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top