MACSCRPT Archives

July 2015

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
SUBSCRIBE MACSCRPT Inyo55 <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 31 Jul 2015 01:22:28 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (10 lines)
Chris, lol.
Osx = Yosemite.  App to see code from recording is Acrobat Pro 9. 

 My goal:
Convert supplied PDF to text using pdftotext utility.
Build a list of pages using grep search, returning item groups according to a code on the pages.
From that list have the applescript make new separate pdf files of varying page amounts, according to the constant code that was grepped above.

Scripting the Acrobat is where I wanted to record the steps to bring into the applescript.  Say, extract pages 1 thru 12, save new file.  Then go back to original pdf, extract pages 13 thru 42, whatever, save as new file.  Repeat as required

ATOM RSS1 RSS2