• 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
width of paragraph
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

width of paragraph


  • Subject: width of paragraph
  • From: "Feldman, Don" <email@hidden>
  • Date: Mon, 28 Jul 2003 10:32:44 -0400

I wrote a line in for Quark 5 using "width of paragraph " which worked fine.
Then, I was told a branch office of our company wanted to use the program
for jobs in Quark 4.11. It would work for a few pages, and then start
returning the value of "width of paragraph " as 0. Below is a small
section of the program. The longer program calculates the x,y coordinates
for the beginning and end of the paragraph so I can draw a box over it. I
plan on using the coordinates to draw a link box in Adobe Acrobat. Can you
tell me why it works in Quark 5, but stops working after a few pages in
Quark 4.11?

tell application "QuarkXPress(tm) 4.11"
tell document 1
set the vertical measure to points
set the horizontal measure to points

set allDocPgs to 3
set TxBx to 1
set Para to 2

set horizontalLength to the width of paragraph Para of text
box TxBx of page allDocPgs
end tell
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Dock Control
  • Next by Date: Re: text Files
  • Previous by thread: Re: Dock Control
  • Next by thread: Re: width of paragraph
  • Index(es):
    • Date
    • Thread