Re: QuarkXpress current page number
Re: QuarkXpress current page number
- Subject: Re: QuarkXpress current page number
- From: Hans Haesler <email@hidden>
- Date: Fri, 17 Nov 2000 08:15:01 +0100
On Thu, 16 Nov 2000, Glenn Kowalski wrote:
>
Does anyone know if there is a way to get the current page number
>
from QuarkXpress? Something like "set thePage to current page?"
Glenn,
'page number' returns an integer: the position in the layout palette
'name' returns a string: the "printing" page number
The two results are different when a Section start has been defined.
If your document begins with page "17" and the current page is the
sixth page then you get:
---
tell document 1 of application "QuarkXPress 4.11"
tell current page
set curPage to page number
end tell
end tell
-->6
---
tell document 1 of application "QuarkXPress 4.11"
tell current page
set curPage to name
end tell
end tell
-->"22"
Hans
---
Hans Haesler | email@hidden