CC property for number-of-pdf-pages?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
klownboy
Posts: 4403
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440

Re: CC property for number-of-pdf-pages?

Post by klownboy »

I'm using PDF-Xchange viewer, but I'm unable to see the pages for any of my PDF files using the snippet. I do see the pages for doc files so something is working and the CC is configured properly. It also doesn't work if I simply use a standard property for pages in lieu of a CC. Could I be missing some other setting for this? PDF X-change viewer works fine for everything else (e.g., thumbnail display, etc.).

On a strange note in my experimenting, I found out if I change that prop command to <prop Pages:> Pages with the colon after Pages with or without the *, the property box for every PDF file in the folder is displayed. :whistle: :eh:

admin
Site Admin
Posts: 65180
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: CC property for number-of-pdf-pages?

Post by admin »

*Pages will only work in English Windows. In German Windows you would use *Seiten.
klownboy wrote:On a strange note in my experimenting, I found out if I change that prop command to <prop Pages:> Pages with the colon after Pages with or without the *, the property box for every PDF file in the folder is displayed. :whistle: :eh:
Whoops, wow. Gonna check...

klownboy
Posts: 4403
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440

Re: CC property for number-of-pdf-pages?

Post by klownboy »

admin wrote:*Pages will only work in English Windows...
I'm using "English" Windows 7 x64.

kunkel321
Posts: 646
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: CC property for number-of-pdf-pages?

Post by kunkel321 »

gks wrote:@kunkel321
could you please share a screen shot what values you had put while creating the custom column
I can't seem to upload to Imgur right now.... But it's exactly like the above screenshot, except I changed the commas to semicolons in the filter box...

EDIT: Blah. After posting that, I did find a .docx file that is not getting its number of pages calculated...
ste(phen|ve) kunkel

klownboy
Posts: 4403
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440

Re: CC property for number-of-pdf-pages?

Post by klownboy »

Thanks Don, confirmed Beta 14.00.0004 takes care of the <prop Pages:> Pages issue. I still can't get the actual pages to display using PDF X-Change Viewer for what ever reason. The pages are displayed in the "PDF Information" tab of that Properties dialog. I'll try it on my Windows 8 desktop.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: CC property for number-of-pdf-pages?

Post by SkyFrontier »

Joining the chant.
-any way to retrieve this info WITHOUT 3rd parties...?
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

autocart
Posts: 1356
Joined: 26 Sep 2013 15:22

Re: CC property for number-of-pdf-pages?

Post by autocart »

Would be cool if the page-count (for pdf or where-ever applicable) would be cached (whether originally retrieved by help of 3rd-party or not).
Right now it quite often is a PITA to me when XY hangs for a moment (sometimes 2-3 seconds) when navigating to folders with a number of (and "too" big?) pdfs.

BTW, I do know of the different settings for "Trigger".
Right now I have "List: Column is triggered when the items are listed. Only the currently visible items are processed. This option will be much faster than "Browse" on long lists, but the scrolling will be not as smooth."
But XY still hangs for a moment as mentioned above.
"Click" is no option in this case for me.

Thx.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: CC property for number-of-pdf-pages?

Post by bdeshi »

autocart wrote:Would be cool if the page-count (for pdf or where-ever applicable) would be cached
[...]
But XY still hangs for a moment as mentioned above.
That delay is not specific to CCs only, XYplorer ALWAYS re-reads ALL metadata when visiting a folder.
That's why I made this desperate wish: http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=14568
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

autocart
Posts: 1356
Joined: 26 Sep 2013 15:22

Re: CC property for number-of-pdf-pages?

Post by autocart »

SammaySarkar wrote:That delay is not specific to CCs only, XYplorer ALWAYS re-reads ALL metadata when visiting a folder.
That's why I made this desperate wish: http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=14568
would sound like a good idea to me :tup:
+1

autocart
Posts: 1356
Joined: 26 Sep 2013 15:22

Re: CC property for number-of-pdf-pages?

Post by autocart »

only giving some feedback here:

It seems to me that browsing with a custom column containing
return property("#148", <cc_item>);
is a little faster than if it contained
return property("*Seiten", <cc_item>);

In the company where I work at, we have a rather slow server too, I think.

Post Reply