How to get the current page index of a pdf/ai placed as a PlacedItem via ExtendScript
A pdf/ai can have multiple pages, and when placing it, the user specifies the target page (if not specified, it defaults to 1).
So, is there a way to determine the page of a pdf/ai file that has already been placed as a PlacedItem within a document?
I know there is no direct property to express this. In other words, I am looking for either a workaround method like embedding it first and then examining the PageItem structure, or an unexpected method that elegantly solves this problem.
Similar posts
