Using Quark Dictionary Words in a List
Using Quark Dictionary Words in a List
- Subject: Using Quark Dictionary Words in a List
- From: Jay Young <email@hidden>
- Date: Sun, 8 Sep 2002 15:45:53 -0500
Hello,
If I was going to set up different amounts of tabs in different
documents, I was wondering if there was a way to set up a List with the
needed tab information. In the example at the bottom, I'm trying to
set up a list for 4 tabs. I'd like the example to end up being:
----------------------------------------------
{{justification:centered, position:"2\""}, {justification: right
justified, position:"3\""}, {justification:centered, position:"4\""},
{justification:centered, position:"5\""}}
----------------------------------------------
so I could use this in a tab list. But I can't figure out if this is
possible. I'm working with QuarkXPress 4.11 on OS 10.2 . Thanks for
your help.
Jay
---------------------------------------
tell application "QuarkXPress"
set TabLoc to {}
repeat with x from 1 to 4
if x is 2 then
set TabJust to right justified
else
set TabJust to centered
end if
set TabLoc to TabLoc & {justification:TabJust, position:(x + 1) &
"\""}
end repeat
end tell
---------------------------------------
_______________________________________________
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.