PDF-ShellTools > General

Displaying PDF Page Size in Windows Explorer

<< < (2/4) > >>

nightslayer23:
Sometimes the PDFs I'm needing to look at are actually mixed sizes..

Is there a way to look at each page and then list the page sizes it finds?

I've managed to get the output to display as their A1,A2,A4 etc.. but it doesn't alert or display a multi-sized file.

This would be ultra handy if possible..

nightslayer23:
How do we get it to display the dimensions in the correct orientation..?

I want say, A1's that are Portrait to display as: 594 x 841 and A1's that are Landscape to display as 841 x 594..

RTT:

--- Quote from: nightslayer23 on May 23, 2017, 05:24:32 AM ---Sometimes the PDFs I'm needing to look at are actually mixed sizes..

Is there a way to look at each page and then list the page sizes it finds?

I've managed to get the output to display as their A1,A2,A4 etc.. but it doesn't alert or display a multi-sized file.

This would be ultra handy if possible..

--- End quote ---
And show this info in a Windows Explorer column? How to format such data?

RTT:

--- Quote from: nightslayer23 on May 24, 2017, 03:38:32 AM ---How do we get it to display the dimensions in the correct orientation..?

I want say, A1's that are Portrait to display as: 594 x 841 and A1's that are Landscape to display as 841 x 594..

--- End quote ---
In the above script, change the lines
var w = Math.min(Page.Width, Page.Height);
var h = Math.max(Page.Width, Page.Height);
to
var w = Page.Width;
var h = Page.Height;

nightslayer23:

--- Quote ---And show this info in a Windows Explorer column? How to format such data?

--- End quote ---
Commas?
A1,A4,A3 etc.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Reply

Go to full version