4 Replies Latest reply on Dec 27, 2012 4:31 AM by rajnikids

    speed up to do the task...

    rajnikids Level 1

      Hi forum,

       

      I'm trying to apply overprint to all characters, with has the fill color, name: Finishing.

       

      //

      var mytxts=mydoc.stories.everyItem().paragraphs.everyItem().characters.everyItem().getElement s();

      for (......) {

      if (mytxt.fillColor.name == "Finishing") {

      mytxt.overprintFill = true;

      }

      }//

       

      but when i do this, (lets assume the document has 50 pages....) the script get slower to complete the task... i think becaue of charcters assigned inside the variable....

       

      how can i speed up the script...

       

      thanks

      rkids...