Do any of You know how to determine the number of pages of a pdf-file (selected with the openDialog for example)?
Somehow I fail to grasp how to achieve that any way short of actually opening/rasterizing all pages without prior knowledge of the actual number.
I would like to use that information to determine the number of elements for a contact-sheet-like procedure beforehand.
MultiPageImporter2.0.jsx, which is an Indesign-Script by Scott Zanelli, obviously does it, but so far I’ve failed to successfully utilize his functions.
Anyway, have a nice weekend
pfaffenbichler