Is there a way to count the number of pages in a PDF?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Is there a way to count the number of pages in a PDF to use as a trigger condition?

Example: If PDF is smaller than 2 pages then complete actions?

I've tried using file size, but it's not reliable enough as page content can make a big difference to file size.

Thanks.
MacOCD
 
Posts: 44
Joined: Fri Sep 26, 2014 11:02 am

In the attribute pop-up, if you select "Other" you will be presented with all the available attributes on your system. On mine, I do see a "Pages" attribute which may do what you want.
Mr_Noodle
Site Admin
 
Posts: 11240
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

I've never spotted that "Other" before. Fantastic, exactly what I need.
Thanks you. :D

Mr_Noodle wrote:In the attribute pop-up, if you select "Other" you will be presented with all the available attributes on your system. On mine, I do see a "Pages" attribute which may do what you want.
MacOCD
 
Posts: 44
Joined: Fri Sep 26, 2014 11:02 am


Return to Support