Re: Quark Paragraph Numbers and Other Quark Newbie Questions
Re: Quark Paragraph Numbers and Other Quark Newbie Questions
- Subject: Re: Quark Paragraph Numbers and Other Quark Newbie Questions
- From: email@hidden
- Date: Mon, 20 Nov 2000 11:59:28 -0700
Missed part of this thread. But here is an idea for working with selection.
Select some text in a Quark document and run the following:
tell application "QuarkXPress? 4.11"
set theSel to object reference of selection
set style of line 1 of paragraph 1 of theSel to bold
set style of word 2 of line 1 of paragraph 1 of theSel to underline
set style of line 1 of paragraph 3 of theSel to italic
end tell
This demonstrates that using the object reference of selection allows one
to refer to each of the paragraphs of the selection as paragraph 1, etc.
(Note that setting a style to bold, italic, or underline as above, toggles
the style; if the text is already styled, the text becomes "unstyled".)
Hope this gives you an idea for working with paragraph "numbers".
Shirley Hopkins
FaceSpan Support
"AppleScripting QuarkXPress", "AppleScripting InDesign"