Hi. I am looking for a file explorer that can read the dimensions (blueprint dimensions) from pdf and show them in the column. Is there a way XYplorer can do it and if so can you help me configure it?
Thank you, Juraj.
PDF dimensions in a column
-
highend
- Posts: 14925
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: PDF dimensions in a column
Get poppler: https://github.com/oschwartz10612/poppl ... s/releases
Get the necessary Visual C++ Runtime (at least Visual C++ 2015 Update 1 (14.0) x64) and install them
Add a custom column and add this script (adapt the path to pdfinfo.exe^^)...
Get the necessary Visual C++ Runtime (at least Visual C++ 2015 Update 1 (14.0) x64) and install them
Add a custom column and add this script (adapt the path to pdfinfo.exe^^)...
Code: Select all
$pdfinfo = "D:\Users\highend\Downloads\Release-23.01.0-0\Library\bin\pdfinfo.exe";
$output = runret("""$pdfinfo"" ""<cc_item>""", "%TEMP%", 65001);
return gettoken(regexmatches($output, "^page size:.+?(?=\r?\n|$)"), 2, ":", "t", 2);
To see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club