9 Replies Latest reply on Jun 19, 2017 12:20 AM by Laubender

    change CheckBox Appearance

    sangeethak65390815 Level 1

      Hi,

           I'm using indesign cs6. I want change the checkBox states of Normal On to Normal Off state using indesign scripting. I'm trying more but i can't find it. Pls guide me.

       

      var mySelect=app.selection[0]

      var str=mySelect.states;

      for(var i=0;i<str.length;i++)

      {

          if(str[i].name=="Normal On")

          {

          str[i].statetype==StateTypes.DOWN_ON,1181970022

          }

      }

       

      Thus, the above code was I'm tried,

       

      The following Image is Require Output

      The following Image is given InputOutput.png

      Input.png

       

       

       

       

      Thanks,
      Sangeetha.K