Re: Deleting paragraphs in quark
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