Subject: QuarkXpress current page number
Subject: QuarkXpress current page number
- Subject: Subject: QuarkXpress current page number
- From: George Mack <email@hidden>
- Date: Fri, 17 Nov 2000 14:28:52 -0500
Glenn Kowalski <email@hidden> asked:
Does anyone know if there is a way to get the current page number
from QuarkXpress? Something like "set thePage to current page?"
In my experience, the "current page" is a bit squirmier than some
other constructs: it seems to have its own class. Try
tell application "QuarkXPress 4.11"
get properties of current page of document 1
--> {best type:null, class:page, default type:null,
object reference:page 3 of document "Document1", bottom margin:"3p",
bounds:{"3p", "51p", "69p", "102p"}, column count:1, gutter
width:"6p", left margin:"3p", master spread:spread 1 of master
document "Document1", name:"3", page number:3, right margin:"3p", top
margin:"3p"}
end tell
I would ask for name of current page, then call
tell page PageName
etc.
Hope this helps
--
GEORGE MACK DESIGN Scituate, MA 02066 (781) 544-3880
Design-Illustration-Desktop Publishing-Miscellaneous Magic