• 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: Chip Howland <email@hidden>
  • Date: Tue, 6 Apr 2004 22:20:33 -0500

On Apr 6, 2004, at 9:04 PM, Lists <email@hidden> wrote:

This works:

set theJust to "cent"

...
tell text box "Heading1"
tell story 1
set the justification to theJust
end tell
end tell
...

Further, I've been able to lookup all the relevant constants I've
needed so far as Apple Event 4-letter codes using Script Debugger's
AEPrint in the results window.

This seems like a lot of extra work, since centered is an application keyword. As long as it's enclosed in an appropriate tell block, it works without quotation marks:

tell application "QuarkXPress"

set theJust to centered

...
tell text box "Heading1"
tell story 1
set the justification to theJust
end tell
end tell
...

end tell

--
Chip Howland
So act that the maxim of your actions shall become,
through your will alone, a major motion picture.
_______________________________________________
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: Lists <email@hidden>
  • Prev by Date: Re: applescript-users digest, Vol 3 #2591 - 14 msgs
  • Next by Date: Re: applescript-users digest, Vol 3 #2591 - 14 msgs
  • Previous by thread: Re: Quark - setting justification dynamically
  • Next by thread: Re: Quark - setting justification dynamically
  • Index(es):
    • Date
    • Thread