This shortcut extracts specified pages and page ranges from a PDF file selected in a Finder window. It is similar to the shortcut in post 1 above, except that multiple pages and page ranges can be extracted, Also this shortcut contains additional error correction, although it does not check the number of pages in the source PDF. The following screenshot only shows a portion of the shortcut.
The shortcut included below is similar to that noted above, differing only in that the shortcut works on a PDF being viewed in the Preview app. I successfully ran the shortcut by way of Spotlight and FastScripts but not the Preview app Services menu.
I was uncertain what should happen after the PDF pages are extracted and saved. Options I considered are:
BTW, the shortcut does not check to verify that a page entered by the user exists. If this occurs, the shortcut may add a blank page in the new PDF for the page that doesn’t exist in the source PDF. The shortcut can be modified to check for this, but it slows matters considerably.