We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
I have a problem with understanding where indesign stores auto page numbering value. So, i have a master page with auto page numbering and inside script i need to extract page number value, but i couldn't find it. If i extract text frame it contains only text before page number, also i thought it is stored as a variable (for example page.masterPageItems.textVariableInstances), but it is empty.
Can someone advice me where i can find it?
On the master spreads you can only find the page number marker and this is not a text variable! The current page number marker is the SpecialCharacters character.AUTO_PAGE_NUMBER
Thanks for answer. So as far as i understand InDesign uses this marker (SpecialCharacters character.AUTO_PAGE_NUMBER) to replace it with actual page number but there are no way to retrieve this value during script execution, correct?
page.name always contains real formatted page number which appears on a page.