Re: Quark - setting justification dynamically
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.