RE: Numbers and Lists and Quark
RE: Numbers and Lists and Quark
- Subject: RE: Numbers and Lists and Quark
- From: "Mossey, Nan" <email@hidden>
- Date: Fri, 7 Sep 2001 10:22:29 -0400
Let Quark do some of the work. In each style sheet, set "Next Style" to the
name of the style sheet that should come next. When working with only two
style sheets, you just set their "Next Styles" to each other, but I use this
to set seven or eight different style sheets in sequence.
tell application "QuarkXPress"
tell document 1
tell current box
set style sheet of every paragraph to null
set style sheet of paragraph 1 to "theHead"
repeat with i from 1 to number of paragraphs
set theNextStyleofPreviousParagraph to next
style of style sheet of paragraph i
set style sheet of paragraph (i + 1) to
theNextStyleofPreviousParagraph
end repeat
end tell
end tell
end tell
-----Original Message-----