• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using Quark Dictionary Words in a List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Using Quark Dictionary Words in a List (From: Jay Young <email@hidden>)

  • Prev by Date: Re: Script Editor problem in 10.2
  • Next by Date: Fwd: Shell problems
  • Previous by thread: Using Quark Dictionary Words in a List
  • Next by thread: Are these bugs?
  • Index(es):
    • Date
    • Thread