3 Replies Latest reply on Aug 31, 2015 10:34 AM by RESlyder

    How to name a text frame to use textFrames.getByName?

    RESlyder Level 1

      I think it's a pretty straightforward question, but I can't find any examples explaining how to name the text frame so I can use the getByName functionality.

       

      Right now I am using a for loop to go through all the text frames and find one matching a text string, but I am worried that by some random chance that same text string will get used in a graphic and the script will change the wrong text.

       

      I found this in an older thread, but couldn't figure out how to apply the name to the text area. Extracting data from Excel To Illustrator javascript or vbscript

       

      Thanks in advance!
      CW