Quark - setting justification dynamically
Quark - setting justification dynamically
- Subject: Quark - setting justification dynamically
- From: Lists <email@hidden>
- Date: Wed, 31 Mar 2004 17:10:43 -0800
Hi List,
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.
tell story 1
set justification to centered
end tell
works
Do I have to do the following?
tell story 1
if myJust is "centered" then
set justification to centered
else if myJust is "left aligned" then
set justification to left aligned
else
set justification to right aligned
end if
end tell
This is a lot of code. Basically, is there a way to dynamically set a
constant?
Thanks!
Steve
_______________________________________________
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.