2 Replies Latest reply on Mar 28, 2014 5:47 AM by Russ Ward

    apply a conditional tag  to all occurences of a pragraph

    MeeraPRV Level 1

      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

        • 1. Re: apply a conditional tag  to all occurences of a pragraph
          Arnis Gubins Adobe Community Professional & MVP

          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).

          • 2. Re: apply a conditional tag  to all occurences of a pragraph
            Russ Ward Level 4

            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