I don't have access to Adobe Acrobat myself so i couldn't tell you how to script this using AppleScript, but perhaps recording your actions with Automator ( built into OS X) will give you the foundation of a script that you can then build on.
Though I've not had a need for recording macros in the past, I am aware of the Automator feature. But, I'm not familiar with AppleScript. My understanding is that both AppleScript and FM have their origins with Apple Corp. So, is AppleScript triggered from within FM? Does AppleScript "control" FileMaker? Or, does it hand off a script step?
In sum, before diving in, I would find it helpful to have the perspective of which software controls the ball or if it's a ping-pong match, if that makes sense. Once I have the perspective, I'm sure I can figure out the mechanics. Thanks.
I would use the free BaseElements plugin to read a list of the files in folder A.
then loop through that list, extracting the text of the pdf using the 360works.com Scribe plugin
and then use the BaseElements plugin to move the file to folder B
Hope that helps,
The 'dangerous' thing about asking questions here is receiving information about valuable resources... and not having the time to fully explore them! After reading more about both AppleScript and BaseElements I have need for both. However, the BaseElements plugin is the one I need for my present project. Thank you Ruben.
You are making an assumption there that the PDF contains text - or what you consider to be text when the content is copied.
Yes, jrenfrew - that is the assumption. In my case, for my immediate-ongoing need, this assumption is valid.
Yet, I can see how, in other circumstances, this might be an issue.... Do you have ideas for an alternative which might be more "complete" for circumstances beyond my immediate need.
Not simply.. but two scenarios are that:-
A: This is a scanned document, or that parts of the document are scanned
B: this has been created by a designed from, say Illustrator, and all the text has been convereted to outlines.
In both cases then OCR might be your best friend.
In the case of a scan you can check whether there is an image the same size as the page layout if it results in no text.
Otherwise if no text assume it's glyphs
Two more:- no, make that four:
C: You can also have PDF files which are password protected against text extraction
D: The PDF could be presented as a document but the data could be held in form fields
E: The PDF could be a collection ( wrapper for other file(s) )
F: The PDF could be blank ( or faked ) and the real data held in an attachment
It is core to understanding the nature of PDF as a file type that you know that is is a container format designed to allow the viewer to see the intent of the creator, across platforms and time, and not a word-processing format. There are a gazillion was of making a legal PDF - just as there are as many ways of designing a car.
I see that you'll be pursuing other avenues here but just for the record, FileMaker can both call Applescript via the Perform Applescript script step and also be manipulated using Applescript.