Skip to main content
Participating Frequently
March 25, 2014
Question

apply a conditional tag to all occurences of a pragraph

  • March 25, 2014
  • 2 replies
  • 502 views

Is it possible to write an extend script to apply a conditional tag  to all occurences of a pragraph tag in a document? Are there any samples of a script like this

This topic has been closed for replies.

2 replies

Legend
March 28, 2014

Meera,

I thought this sounded like a great idea for a sample script. I thought I would write one and add it to my free samples collection on my website, but it turns out that I just cannot get it to work. I gave it several hours but no luck. I'm nearly certain there is some kind of bug here. There is another thread where others have had the same problem, with no resolution posted:

http://forums.adobe.com/message/6138877

If a resolution becomes available, I'll post a sample script that does this. Otherwise, I'm out of ideas.

Russ

Arnis Gubins
Inspiring
March 25, 2014

You can also accomplish this using only the standard Find/Change function.

1. USe the Copy Special to load the required Conditional Text Setting already applied somewhere.

2. Use Find to look for the Paragraph Tag.

3. Use the Change > By Pasting to apply the conditional setting to that paragraph.

4. Do this as a Change All to apply to all the desireed paratags and you can specify the scope to be the book or document (or selection).