Automator Help - Quick action to split first page of pdf

Hello,


I am in need of a solution to efficiently split the first page of multipage-PDFs. Currently, there are about 100 PDF-Documents in my folder where I need to print the first page of each PDF.


@VikingOSX did already presented a solution for another user here: Automator help - quick action to split th… - Apple Community


As it is an older post, I cannot reply to the old thread, hence this one.


I am still using OS X 10.9 and the script presented in the other thread causes a problem in my Automator: when adding the script text, Automator immediately comes up with an error message that it cannot locate "PDFKit". I just checked: I have the framework installed, but it is within a different folder for whatever reason (see screenshot), so I have no clue if @VikingOSX´script would not work at all for that my OS X is too old or simply not because there is a problem with the path (which could easily be fixed).


Any help appreciated. Thanks a lot!


Jeff



Posted on Feb 11, 2024 6:46 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 11, 2024 7:36 AM

Your operating system is too old for AppleScript/Objective-C scripts and AppleScript older than v2.4. I have no installation of Mavericks (OS X 10.9.5) installed to code and test a Python solution either. Also, Apple does not offer a separate download of OS X Mavericks, so no means to install as a VM guest.


Best bet is to collect those PDFs and take them to a Mac running macOS Yosemite or later, and then use the Automator solution from my older referenced post.

Similar questions

5 replies
Question marked as Top-ranking reply

Feb 11, 2024 7:36 AM in response to Peter999a

Your operating system is too old for AppleScript/Objective-C scripts and AppleScript older than v2.4. I have no installation of Mavericks (OS X 10.9.5) installed to code and test a Python solution either. Also, Apple does not offer a separate download of OS X Mavericks, so no means to install as a VM guest.


Best bet is to collect those PDFs and take them to a Mac running macOS Yosemite or later, and then use the Automator solution from my older referenced post.

Feb 11, 2024 10:02 AM in response to Peter999a

Find another Mac with something newer than Mavericks on it.


Apple licensing would be infringed by posting any Apple licensed product in the cloud, and the Apple hosts of these public support communities would immediately remove any such link. For the same reason and result, privacy information is also removed from these communities.


I was tempted to write and test Python code on OS X Yosemite (10.10.6) that splits the first page from PDFs, but Python is real fussy about its indented code structure and you would need a programmer's editor that recognizes and respects Python indents to copy and paste correctly from code posted here.


The other issue about that linked code that I posted in 2021 is that it is custom code per that OP's specific requirements. It splits out a first page of the PDF as a separate PDF, and then removes that first page from the original PDF.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Automator Help - Quick action to split first page of pdf

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.