View Single Post
Old 03-08-2019, 01:01 AM   #17
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,826
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Ah, of course

That Android for Dummies has a small EPUB as well as the PDF, and I have the Use preferred output format if available option checked, and my Preferred output is EPUB -- now you know why i have books for Dummies

I used the calibre counting method. But if the Use preferred output if available option is checked, and Behaviour->Preferred Output is set to PDF, and there is a PDF, the method is irrelevant because 'get it from the book' is implicit.

To be honest I'd rather see something explicit - like a Preferred Format in the Count Pages preferences. The one in Behaviour is about Conversions. Piggy backing CP on the back of it has always gone against the grain with me.

So the OP should make sure the settings are as described and do the counts - I just tried it on the A 4 D book and it got 320.

However, I do think the OP has a a point regarding speed. It took CP longer to extract the count from a PDF than it took me to open a PDF, and press Ctrl+D to open the Document Properties - and that included starting PDF Xchange.

If I was faced with the issue on a large PDF library - I would look to getting a directory listing of the PDFs in my library, with the Page Counts, from xplorer˛; then wrangle that into a CSV suitable for the Import List PI to populate the Pages column.

If you can update custom columns from the command line you could wrangle the directory list with page counts into a script. I'm not sure about that, you can list custom columns from the cmd line, but can you update them ?.

BR

Last edited by BetterRed; 03-08-2019 at 01:51 AM.
BetterRed is offline   Reply With Quote