tell application "Pages"
activate
tell document "Untitled.pages"
repeat with i from 1 to number of pages
set thispage to item i of pages
(* do something
-- variable i is the page number
-- variable thispage is the page itself
*)
end repeat
end tell
end tell