Re: Got it sussed!
Re: Got it sussed!
- Subject: Re: Got it sussed!
- From: Hans Haesler <email@hidden>
- Date: Mon, 23 Jul 2001 17:04:42 +0200
On Mon, 23 Jul 2001, Robert Poland wrote:
>
> set justification to "rght"
>
Do I understand you right - "right" should be spelled "rght"?
>
What does the Quark dictionary say?
Bob,
the dictionary says:
justification
left justified/right justified/centered/fully justified/force
-- justification for lines of text
But Rob is right: you can use "rght". This is the string-four version
of 'right'. String-four means "four characters" and they had to skip
one of the five characters of 'right'.
Try it: select a text box with one right-justified paragraph and run this:
---
tell document 1 of application "QuarkXPress 4.11"
tell current box
tell paragraph 1
justification
end tell
end tell
end tell
--> right
Now add 'as text':
---
tell document 1 of application "QuarkXPress 4.11"
tell current box
tell paragraph 1
justification as text
end tell
end tell
end tell
--> "rght"
When setting the justification you may use either...
---
set justification to "rght"
---
...or...
---
set justification to right justified
Note that with QXP 4.04 'right justified' didn't work. You had to
use "rght". This bug has been fixed with v4.1.
Regards,
Hans
---
Hans Haesler | email@hidden