Re: Quark guide placement scripting
Re: Quark guide placement scripting
- Subject: Re: Quark guide placement scripting
- From: Hans Haesler <email@hidden>
- Date: Tue, 6 Nov 2001 22:31:29 +0100
BTW, the width of an eventual frame should be considered, too. So:
---
property posList : {}
tell document 1 of application "QuarkXPress 4.11"
tell current box
set nPage to page number of page 1
set x1 to left of bounds as point units as real
set wF to width of frame as real
end tell
set xOff to horizontal offset of selection as point units as real
set hPos to (x1 + wF + xOff)
set end of posList to hPos
tell page nPage
make vertical guide at beginning with properties {position:(hPos & "pt") as text}
end tell
end tell
posList
---
Hans Haesler <email@hidden>