3 Replies Latest reply on Jul 27, 2010 6:01 AM by PankChat

    Removing text variable

    PankChat Level 1

      Hello all,

       

      Can somebody tell me, what is the correct syntax for deleting text variable. I tried following, but getting that variable name is expected.

       

      try{myDoc.textVariables.remove("authorName")}catch(){};

      or

      try{myDoc.textVariables.item("authorName").remove()}catch(){};

       

      authorName is text variable name in this case.

       

      TIA,

      --PC