in

Quark Forums

Text Justify

Last post 08-06-2004 12:20 AM by ritche_m. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-05-2004 3:41 AM

    Text Justify

    How can i justify the text in a text box?

    i tried:
    set justification of text box "Text1" to right

    but won't work, an error occured: "Can't set justification of text box "Text1" of document 1 to right of document 1."
  • 08-05-2004 12:46 PM In reply to

    Text Justify

    Hi again Ritche,

    Justification is not a "text box" propperty, the text will justify within a box but you have to send the command to a paragraph.
    [code:1:a57040ae1b]tell application "QuarkXPress Passport™ 4.11"
    tell document 1
    tell page 1
    tell text box 1
    set justification of paragraph 1 of story 1 to right justified
    end tell -- text box 1
    end tell -- page 1
    end tell -- document 1
    end tell -- Quark
    [/code:1:a57040ae1b]

    Hope this helps!

    Michel Lemieux
    Click here --> to visit my PUBLISHING & SCRIPTING FORUM

  • 08-06-2004 12:20 AM In reply to

    Text Justify

    Thanks again Michel :)
Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems