Hi
Im trying to write a script for quark that will select all the even or odd numbered pages? Is there a way to do this without a repeat loop???
Thanks
Marshall
A simple way of finding odd or even:
if x mod 2 = 0 then --it's even
I don’t think Quark has a facility for selecting odd pages. I tried this, which didn’t work:
tell application "QuarkXPress 4.11"
tell document 1
get object reference of every page whose page number mod 2 = 0
end tell
end tell
However, this did:
get object reference of every page whose page number =
And, I imagine, so would this:
get object reference of every page whose page number is in {2,4,6,8,10}
HTH
Andrew