• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quark guide placement scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>


  • Prev by Date: Re: tell syntax - specifying the APPL with a preset string
  • Next by Date: Re: Altering IE homepage URL
  • Previous by thread: Re: Quark guide placement scripting
  • Next by thread: Re: tell syntax - specifying the APPL with a preset string
  • Index(es):
    • Date
    • Thread