Question
[AS] auto page number?
Hi
Im trying to get page numbers returned using the below code, the number returned is supposed to go into a text frame,
but all i keep getting in the text frame is this «constant nSPcSApn, , I have two pages so would have expected pageNum on
page 1 to be "1" and pageNum on page 2 to be "2", any ideas why this is happening or how I can fix this wee glitch?
set pageNum to auto page number
set mySlug to make text frame with properties {contents: docName & "Page:" & " " & pageNum}
cheers
Kev
Im trying to get page numbers returned using the below code, the number returned is supposed to go into a text frame,
but all i keep getting in the text frame is this «constant nSPcSApn, , I have two pages so would have expected pageNum on
page 1 to be "1" and pageNum on page 2 to be "2", any ideas why this is happening or how I can fix this wee glitch?
set pageNum to auto page number
set mySlug to make text frame with properties {contents: docName & "Page:" & " " & pageNum}
cheers
Kev