• 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
Newbie Quark Question Cont...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie Quark Question Cont...


  • Subject: Newbie Quark Question Cont...
  • From: Rob Stott <email@hidden>
  • Date: Mon, 23 Jul 2001 13:29:19 +0100

Hi, many thanks to everyone who has offered solutions to my previous query -
I've made some progress but I'm still stuggling with the justification
issue.

I need to be able to right justify text or centre it according to various
conditions set elsewhere. To centre it I'm using;


tell application "QuarkXPress"
tell front document
tell generic box 1
tell story 1
set justification to centered
set style to italic
end tell
end tell
end tell
end tell



...and that works fine. However the bit that should right justify the text
doesn't work, I've tried;



tell application "QuarkXPress"
tell front document
tell generic box 1
tell story 1
set justification to right
set style to italic
end tell
end tell
end tell
end tell



I get the error;

QuarkXPress got an error: Can't set justification of story 1 of generic box
1 of document 1 to right of story 1 of generic box 1 of document 1.



I've tried "rght" and "right justified" in place of the word 'right' but the
same thing happens.

Can anyone suggest anything else I could try?

Thanks in advance
Rob



PS. For the record, I'm running OS 9.1, Quark 4.0 & Script Editor 1.6


  • Prev by Date: Re: [Rant] Will mount volume EVER work the way it is supposed to?!
  • Next by Date: Got it sussed!
  • Previous by thread: Re: Incrementing digits in a file name
  • Next by thread: Got it sussed!
  • Index(es):
    • Date
    • Thread