• 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: Deleting paragraphs in quark
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting paragraphs in quark


  • Subject: Re: Deleting paragraphs in quark
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 25 Oct 2001 09:04:37 +1000

On 25/10/01 6:53 AM +1000, Jeff Horton, email@hidden, wrote:

> This script works
>
> delete every paragraph of objTB whose color is "black"
>
>
> but how can I get this to work:
>
>
> delete (every paragraph of objTB whose color is "black" and (name of
> style sheet as text) is "ChtBody" or (name of style sheet as text) is
> "ChtLast")

You can't -- and don't need to -- use AS coercions like "as text" in such
whose clauses. Try this:

every paragraph whose color is "Black" and name of style sheet is in
{"ChtBody", "ChtLast"}

--
Shane Stanley, email@hidden


References: 
 >Deleting paragraphs in quark (From: Jeff Horton <email@hidden>)

  • Prev by Date: Re: AS: to Keychain or NOT (opinions please)
  • Next by Date: Re: Need help with Styling text in Quark
  • Previous by thread: Deleting paragraphs in quark
  • Next by thread: run script
  • Index(es):
    • Date
    • Thread