Page 1 of 1

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

PostPosted: Wed Mar 10, 2021 8:14 am
by MacOCD
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.

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

PostPosted: Wed Mar 10, 2021 9:52 am
by Mr_Noodle
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.

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

PostPosted: Wed Mar 10, 2021 10:01 am
by MacOCD
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.