6 Replies Latest reply on Jul 5, 2016 8:58 AM by Loic.Aigon

    Script to remove graphic is text frame is empty


      I am new to scripting. I need to create a script that will remove a graphic if a text frame is empty.  The text frame is labeled q2 and the graphic is labeled q2Mark.

      Something like:


      if (q2.content == "")





      Can you point me into the right direction?