I have a Filemaker 12 pro database. On each record I have a container field that contains a Microsoft Word file, an excel file, or Powerpoint Presentation or a PDF. The fieldname is cMyFile.
The record also has field called nPageCount, and cFileExtension. The cFileExtension contains the extension of the file.
When I import a file into cMyFile, I want the nPageCount field to be populated. In other words, how many pages in the file.
Note that I'm running on a Mac Pro (10.7.5), and I'm also running Office 2011, and Acrobat Professional X. Therefore, if you want to incorporate an AppleScript, I'm good with that.