3 Replies Latest reply on Jun 14, 2016 3:33 PM by cybernetic nomad

    Delete Conditions

    cybernetic nomad

      Hi,

       

      I'm looking for a way to delete a condition via a script

       

      FYI,

       

      myCondition.remove;

       

      Is not what I'm looking for. neither am I looking to delete any text. What I want is for the condition to not appear in the COnditions window

       

      I have tried

       

      myCondition.delete;

       

      but I get an error that "the Object does not support the method 'delete' "

       

      I know I have the correct object as I can apply and remove "myCondition" to text and so on.

       

       

      Javascript, InDesign CS6, MacOS