Quark: Can script return actual page number

I am hoping there is a way to return the actual page number of a Quark doc (i.e. p82) instead of the generic doc layout page 1, 2, 3 etc.

Any ideas?

Thank you,

Steven.

OS9.2.2
AS1.6
Quark4.11

The number of the page is the index and the displayed page number (as set through Page>Section>Numbering…) is the name. Try this:

What you’ll get back is a string, not a number. You can try to coerce the string to an integer but it will fail if you’ve used a Roman numeral for the page number or included a prefix such as “A-”.

Jon

That worked exactly as I needed it to.

Thank you!

Steven.