Re: width of paragraph
Re: width of paragraph
- Subject: Re: width of paragraph
- From: Hans Haesler <email@hidden>
- Date: Mon, 28 Jul 2003 17:32:36 +0200
On Mon, 28 Jul 2003, Feldman, Don wrote:
>
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.
[snip]
>
Can you tell me why it works in Quark 5, but stops working after
>
a few pages in Quark 4.11?
Don,
the script returns "0 pt" when it addresses a text box which is
linked but isn't the first one in the chain. This is a known problem
with QXP 4.x.
A workaround? Duplicate the box, get the value, delete the temp box:
---
duplicate text box TxBx of page allDocPgs to before text box TxBx of page allDocPgs
set horizontalLength to width of paragraph Para of text box TxBx of page allDocPgs
delete text box TxBx of page allDocPgs
horizontalLength
---
Hans Haesler <email@hidden>
_______________________________________________
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.