Hi all
I know how to get the word count for the whole document:
tell application "Pages"
tell document 1 to return word count
end tell
but I can’t figure out how to do it for a particular page. I’ve tried all kinds of things:
tell application "Pages"
tell document 1
tell page 1 to return word count
end tell
end tell
tell application "Pages"
tell document 1 to return word count of page 1
end tell
and various permutations thereof. Nothing seems to work. Is it even possible?
TIA