• 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: Got it sussed!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Got it sussed! (From: Rob Stott <email@hidden>)
 >Re: Got it sussed! (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Got it sussed!
  • Next by Date: RE: Time Triggered Scripts
  • Previous by thread: Re: Got it sussed!
  • Next by thread: Time Triggered Scripts
  • Index(es):
    • Date
    • Thread