MACSCRPT Archives

July 2015

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Proportional Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Mime-Version:
1.0
Content-Type:
text/plain; charset="UTF-8"
Date:
Fri, 31 Jul 2015 01:22:28 -0400
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
Content-Transfer-Encoding:
quoted-printable
Message-ID:
Sender:
Macintosh Scripting Systems <[log in to unmask]>
From:
SUBSCRIBE MACSCRPT Inyo55 <[log in to unmask]>
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