Re: Using Quark Dictionary Words in a List
Re: Using Quark Dictionary Words in a List
- Subject: Re: Using Quark Dictionary Words in a List
- From: Shane Stanley <email@hidden>
- Date: Mon, 09 Sep 2002 08:40:52 +1000
On 9/9/02 6:45 AM +1000, Jay Young, email@hidden, wrote:
>
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
You're close. You need to coerce x to text, and you build records a bit
differently:
tell application "QuarkXPress 4.11"
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 end of TabLoc to {justification:TabJust, position:((x + 1) as text) &
"\""}
end repeat
end tell
--
Shane Stanley, 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.