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