• 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: Quark - setting justification dynamically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark - setting justification dynamically


  • Subject: Re: Quark - setting justification dynamically
  • From: Hans Haesler <email@hidden>
  • Date: Thu, 1 Apr 2004 08:30:18 +0200

On Wed, 31 Mar 2004, Lists wrote:

>Trying to set the justification of a story using a variable. However,
>Quark seems to only respect constants here. Is there a way to apply
>this neatly.
>
>Quark 4.11, OS 9
>
>set myJust to "centered"
>
>...
>tell story 1
>set justification to myJust
>end tell
>
>doesn't work.

Steve,

use the string equivalent of the constants
("left", "cent", "rght", "full", "frce"):
---
set myJust to "cent"
tell document 1 of application "QuarkXPress 4.11"
tell current box
tell story 1
set justification to myJust
end tell
end tell
end tell
---
works :-)

---
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.


  • Follow-Ups:
    • Re: Quark - setting justification dynamically
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Setting desktop position of disks
  • Next by Date: Re: Illustrator CS - Save Bug
  • Previous by thread: Re: Quark - setting justification dynamically
  • Next by thread: Re: Quark - setting justification dynamically
  • Index(es):
    • Date
    • Thread