Brian Dunning's FileMaker Custom Functions

pdfPageCount ( container ; result )

Returns the pdf's number of pages

  Average rating: 4.4 (23 votes) Log in to vote

Daniele Raybaudi   Daniele Raybaudi
ACI
http://www.aci.it

Share on Facebook Share on Twitter

  Sample input:
PDFPageCount ( container ; "" )
  Sample output:
6 (if the container contains a pdf with 6 pages )

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Returns the pdf's number of pages.
Needs Filemaker 14.
Result parameter must be empty.
I purposely left $count and $t to facilitate the reading of the function, but should be renamed with something like: $CFpdfPageCount and $CFpdfData

 

Comments

EncryptedFile   EncryptedFile, Redondo Beach, CA
Sep 28, 2015
How difficult would it be to reverse engineer this to show me how many pages are in an Excel workbook?
I don't see anything in this code that appears to be specifically for .PDF files.

I'm going to install this, and see if I can get it to do the above request, or if anyone knows of a Custom Function that is specifically intended to show/log/display the amount of pages in a Microsoft Office Excel Worksheet (.xlsx) page.
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.