Re: Copy text from pdf to TextEdit
Re: Copy text from pdf to TextEdit
- Subject: Re: Copy text from pdf to TextEdit
- From: Christopher Stone <email@hidden>
- Date: Thu, 19 Jun 2014 21:25:35 -0500
On Jun 19, 2014, at 05:00, Guido Tangorra <email@hidden> wrote:
For starters I have wrote this piece of code, that use Skim application to extract questions as TIFF image.
But is a mess set the cropBounds properly...
______________________________________________________________________
Install SMILE, and you might be able to do something like this:
------------------------------------------------------------------------------------------- set _text to readtext alias ((path to home folder as text) & "test_directory:PDF_TEST.pdf") set _transactions to find text "(^\\d+/.+\\r^ID:.+)" in _text using "\\1" with regexp , all occurrences and string result -------------------------------------------------------------------------------------------
Depending upon the formatting of the PDF.
-- Best Regards, Chris
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden