• 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: Quark Paragraph Numbers and Other Quark Newbie Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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"


  • Prev by Date: ignore icon file how?
  • Next by Date: Re: applescript novice
  • Previous by thread: RE: ignore icon file how?
  • Next by thread: [ANN] November BAUG Meeting
  • Index(es):
    • Date
    • Thread